Uploaded image for project: 'AdMaxLocal'
  1. AdMaxLocal
  2. AML-4818

Privacy policy is missing or invalid if we use lead_gen as objective

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: Venus
    • Fix Version/s: FB Backlog
    • Component/s: None
    • Labels:
      None

      Description

      Privacy policy is missing or invalid if we use lead_gen as objective

      Steps:

      1. Create an order and deploy
      2. Check listener log

      Exception:

      ID: 3
      Response-Code: 500
      Encoding: UTF-8
      Content-Type: application/json; charset=utf-8
      Headers:

      {Content-Length=[70], content-type=[application/json; charset=utf-8], Date=[Sat, 31 Mar 2018 11:17:01 GMT], Request-Context=[appId=cid-v1:690c908b-aa2b-45a7-9444-c522c4d33ca3], Strict-Transport-Security=[max-age=31536000], X-Correlation-ID=[7f752660-f79f-429d-af13-bf0243be3ff6], X-Frame-Options=[SAMEORIGIN]}

      Payload: {"error":{"code":1,"message":"Privacy policy is missing or invalid."}}
      --------------------------------------
      2018-03-31 11:17:01,917 [pool-6-thread-1] INFO c.t.s.c.t.u.e.i.TPErrorEntityFactory - TP ServiceException Error Found
      2018-03-31 11:17:01,919 [pool-6-thread-1] DEBUG c.t.s.client.tp.util.RestUtils - ******* Error *******
      2018-03-31 11:17:01,919 [pool-6-thread-1] DEBUG c.t.s.client.tp.util.RestUtils - code = 1
      2018-03-31 11:17:01,919 [pool-6-thread-1] DEBUG c.t.s.client.tp.util.RestUtils - message = Privacy policy is missing or invalid.
      2018-03-31 11:17:01,919 [pool-6-thread-1] DEBUG c.t.s.client.tp.util.RestUtils - errorCode = null
      2018-03-31 11:17:01,919 [pool-6-thread-1] DEBUG c.t.s.client.tp.util.RestUtils - details =
      2018-03-31 11:17:01,919 [pool-6-thread-1] DEBUG c.t.s.client.tp.util.RestUtils - errorType = null
      2018-03-31 11:17:01,919 [pool-6-thread-1] DEBUG c.t.s.client.tp.util.RestUtils - index = null
      2018-03-31 11:17:01,923 [pool-6-thread-1] WARN c.t.s.client.tp.impl.request.Request - Could not retry TPResponseException with request
      com.thesearchagency.services.client.tp.impl.TPResponseException: TPErrorEntityFactory Error
      at com.thesearchagency.services.client.tp.impl.request.ResponseMapper.throwExceptionIfTopLevelErrors(ResponseMapper.java:74)
      at com.thesearchagency.services.client.tp.impl.request.ResponseMapper.handle(ResponseMapper.java:43)
      at com.thesearchagency.services.client.tp.impl.serviceclient.CampaignServiceClient$1.sendRequest(CampaignServiceClient.java:101)
      at com.thesearchagency.services.client.tp.impl.request.Request.requestLoop(Request.java:53)
      at com.thesearchagency.services.client.tp.impl.request.Request.call(Request.java:37)
      at com.thesearchagency.services.client.tp.impl.serviceclient.ServiceClient.executeRequest(ServiceClient.java:45)
      at com.thesearchagency.services.client.tp.impl.serviceclient.CampaignServiceClient.addCampaign(CampaignServiceClient.java:105)
      at com.thesearchagency.services.client.tp.impl.TPClient.addCampaign(TPClient.java:90)
      at com.thesearchagency.services.client.tp.diff.CreateTPCampaigns.execute(CreateTPCampaigns.java:60)
      at com.thesearchagency.services.client.tp.diff.UpdateTPAccountStructure.handleCreate(UpdateTPAccountStructure.java:111)
      at com.thesearchagency.services.client.tp.diff.UpdateTPAccountStructure.checkCampaigns(UpdateTPAccountStructure.java:83)
      at com.thesearchagency.services.client.tp.diff.UpdateTPAccountStructure.execute(UpdateTPAccountStructure.java:48)
      at com.thesearchagency.services.client.tp.TPCampaignServiceComponent.createCampaignStructures(TPCampaignServiceComponent.java:169)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
      at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
      at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282)
      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
      at com.sun.proxy.$Proxy20.createCampaignStructures(Unknown Source)
      at com.thesearchagency.searchengines.facebook.FacebookAccountDeployer.createAccountStructure(FacebookAccountDeployer.java:305)
      at com.thesearchagency.searchengines.facebook.FacebookAccountDeployer.createCampaigns(FacebookAccountDeployer.java:241)
      at com.thesearchagency.admaxlistener.worker.SearchEngineCampaignWorker.call(SearchEngineCampaignWorker.java:62)
      at com.thesearchagency.admaxlistener.worker.SearchEngineCampaignWorker.call(SearchEngineCampaignWorker.java:23)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      at java.lang.Thread.run(Thread.java:748)
      2018-03-31 11:17:01,924 [pool-6-thread-1] ERROR c.t.s.c.tp.diff.CreateTPCampaigns - Error while adding campaign to TP [097ad1f3-67cd-4628-8e96-ff8b5c214cce_10002_57_20159_S1] com.thesearchagency.services.client.tp.impl.TPResponseException: TPErrorEntityFactory Error
      2018-03-31 11:17:01,926 [pool-6-thread-1] INFO c.t.s.c.t.i.s.CampaignServiceClient - Adding TP campaign [097ad1f3-67cd-4628-8e96-ff8b5c214cce_10002_57_20159_S2] to account 34a5afce3e3446d7ae6c154457a3a11d
      2018-03-31 11:17:01,941 [pool-6-thread-1] INFO o.a.c.i.LoggingOutInterceptor - Outbound Message
      ---------------------------

        Attachments

          Activity

            People

            • Assignee:
              swaroop Swaroop Lingaraju [X] (Inactive)
              Reporter:
              rahul.honakande Rahul Honakande
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: