Question


HSBC
IN
Last activity: 16 Sep 2021 9:48 EDT
how-post-audience-facebook-using-paid-media-manage
how-post-audience-facebook-using-paid-media-manage
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Updated: 3 Aug 2021 2:54 EDT


Pegasystems Inc.
IN
@praloybiswas Could you please highlight what exactly the issue here? Please share logs if any. Also please verify following steps
The following are steps involved in paid integration
Prereq: Import hot fix to support respective Facebook Ads SDK version based on the Facebook Application version
1) Configure paid destination with valid access token
2) Enable Paid in Actions from Treatments tab
3) Enable paid in NBA Designer
https://community.pega.com/knowledgebase/documents/pega-customer-decision-hub-84-user-guide
Then make sure Agents are enabled as per below article
Once the outbound is triggered you should be able to monitor the paid media sync jobs from App Studio->Settings->Channels->Paid media->Sync tracking
@praloybiswas Could you please highlight what exactly the issue here? Please share logs if any. Also please verify following steps
The following are steps involved in paid integration
Prereq: Import hot fix to support respective Facebook Ads SDK version based on the Facebook Application version
1) Configure paid destination with valid access token
2) Enable Paid in Actions from Treatments tab
3) Enable paid in NBA Designer
https://community.pega.com/knowledgebase/documents/pega-customer-decision-hub-84-user-guide
Then make sure Agents are enabled as per below article
Once the outbound is triggered you should be able to monitor the paid media sync jobs from App Studio->Settings->Channels->Paid media->Sync tracking
Paid media run gets triggered on successful completion of program run.
Verify the audiences that are successfully created in Facebook from App Studio -> Audiences -> Paid Media landing page.
Could you please verify the above steps?
Thanks & Regards,
Matta


HSBC
IN
-
Nitin.N Gupta


Pegasystems Inc.
IN
@praloybiswas could you please check monitor the paid media sync job specific to this Segment paid sync from App Studio->Settings->Channels->Paid media->Sync tracking. That should provide you the the actual reason for this failed job.


Rabobank
NL
@MANNM1 Hi Matta,
Thanks for this insightful reply. Sync tracking helped me too. Even I have completed the setup and ran an NBA campaign from NBAD. In sync tracking, its showing Running but under CDH Portal-> Audiences -> Paid Media, it is not showing anything.
Could you please assist? PFA the screenshot from sync tracking.


Pegasystems Inc.
IN
@ChiranjeetM5260Could you please chack if "PaidMediaSync" Queue processor is enabled? You should see the audiences once the Sync job goes to completed status.


Rabobank
NL
@MANNM1 I checked and the stream node was down so it was not completed. Once I brought the stream node up, it failed. PFA the image. On checking the broken item's logs, I found the following issue:
@MANNM1 I checked and the stream node was down so it was not completed. Once I brought the stream node up, it failed. PFA the image. On checking the broken item's logs, I found the following issue:
<pxException>java.util.concurrent.ExecutionException: com.pega.fnx.stream.spi.StreamServiceException: Invalid configuration. Undefined stream provider end point. at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357) at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1915) at com.pega.dsm.dnode.impl.dataset.stream.StreamServicePublisherFeature.getPublisher(StreamServicePublisherFeature.java:49) at com.pega.dsm.dnode.impl.dataset.stream.StreamSaveOperation.save(StreamSaveOperation.java:109) at com.pega.dsm.dnode.impl.dataset.stream.StreamSaveOperation.doSave(StreamSaveOperation.java:99) at com.pega.dsm.dnode.impl.dataset.stream.StreamSaveOperation.lambda$null$0(StreamSaveOperation.java:92) at com.pega.dsm.dnode.impl.dataset.kafka.metrics.KafkaSaveMetrics.timeSave(KafkaSaveMetrics.java:85) at com.pega.dsm.dnode.impl.dataset.stream.StreamSaveOperation.lambda$save$1(StreamSaveOperation.java:92) at com.pega.dsm.dnode.impl.stream.DataObservableImpl$SafeDataSubscriber.subscribe(DataObservableImpl.java:353) at com.pega.dsm.dnode.impl.stream.DataObservableImpl.subscribe(DataObservableImpl.java:55) at com.pega.dsm.dnode.impl.dataflow.asyncexecutor.QueueProcessorDataSetOperationsImpl.saveToDataSet(QueueProcessorDataSetOperationsImpl.java:187) at com.pega.dsm.dnode.impl.dataflow.asyncexecutor.QueueProcessorDataSetOperationsImpl.queueToDataSet(QueueProcessorDataSetOperationsImpl.java:157) at com.pega.dsm.dnode.impl.dataflow.asyncexecutor.QueueProcessorDataSetOperationsImpl.queueToDataSet(QueueProcessorDataSetOperationsImpl.java:137) at com.pega.platform.executor.queueprocessor.internal.DedicatedQueueProcessorImpl.enqueue(DedicatedQueueProcessorImpl.java:60) at com.pega.platform.executor.queueprocessor.internal.AbstractQueueProcessor.enqueue(AbstractQueueProcessor.java:107) at com.pega.platform.executor.queueprocessor.internal.DedicatedQueueProcessorImpl.enqueue(DedicatedQueueProcessorImpl.java:43) at com.pegarules.generated.activity.ra_action_createaudiencesyncrequest_c7769323cea20feda48af77f80789af8.step5_circum0(ra_action_createaudiencesyncrequest_c7769323cea20feda48af77f80789af8.java:507)
Is this an issue with the stream node or something wrong with my facebook integration configuration?
Thanks,
Chiranjeet Mishra


Pegasystems Inc.
IN
@ChiranjeetM5260 Not having stable stream node while pushing paid meida queue items could be the issue here. Is Stream node normal even after this failure? Could you please run the scenario again if stream node is normal?
Probably you can try Segment sync instead of NBA run for a quick check.


Rabobank
NL
@MANNM1 The issue was resolved and then we were facing an issue for consent which we solved by agreeing to the consent for Custom Audience Terms in Facebook.
Now we are facing a new issue where it says - AudienceSyncException@5a95ef74[paidMediaErrors=[com.pega.mkt.paidmedia.error.PaidMediaError@354852a[paidRunId=PM-1006,dataFlowRunId=N/A,code=2654,message=(#2654) Customer list audiences are not available: Ad accounts owned by businesses that are new to Facebook Products can create customer file Custom Audiences after several weeks of following our policies.
Do you have any idea how to resolve it as the issue seems to be related to some policies at Facebook end.
Thanks,
Chiranjeet Mishra


Pegasystems Inc.
IN
@ChiranjeetM5260 This one is a strange error. Could you please check couple of things
1) AccountID used in destination set up is Ad Account ID and not the business manager Account ID
2) How is the Ad Account associated to Business manager? Please refer https://www.facebook.com/business/help/170456843145568?id=2469097953376494
If this does not help, we need to raise a support request from your Ad account


Rabobank
NL
@MANNM1 I have checked the configuration of Facebook destination and the account id is the ad account id. Someone has posted a similar issue in Facebook developers community but no replies.
I will explore further and please let me know if you find anything as well.
Thanks again!
Chiranjeet


TripleNetAI
US
@ChiranjeetM5260 Are you trying to configure PMM with an ad account belonging to a new business account? Does the client have an established business account already?
The error message from Facebook seems pretty clear: "Ad accounts owned by businesses that are new to Facebook Products can create customer file Custom Audiences after several weeks of following our policies."
If you have your ad account is associated to their existing business manager account you should be able to avoid this.
Regards, Nitin


Rabobank
NL
@guptn1 Thanks for your inputs! Actually, we are currently doing a POC on Facebook integration and if it works successfully, will extend it to actual project.
We have created a new Facebook account and created a page in it. Then we created a business manager account, an ad account, an app in Facebook for Developers and mapped the page created in the Facebook account to the business manager account created.
We are not doing this for any actual business but only for POC purpose so the page is just a POC purpose dummy business page.
Any inputs from you in this regard will be appreciated.
Thanks,
Chiranjeet


Pegasystems Inc.
IN
Hello @praloybiswas
You might be interested to check out the below post:
https://collaborate.pega.com/question/how-post-audience-facebook-using-paid-media-manager