I have a scenario in Paid Media Manager. Suppose today my campaign run has identified few eligible customers with some offers and updated this audience list to Facebook. Next day, some previous customers are no longer eligible for these offers. How will pega send this removal/Updated list to Facebook in order drop them from Audience List.
Thanks for the response provided. Yes, as you mentioned the updateMasterTable is being used to calculate the delta. Based on this, we can determine the action also. But, how do we communicate this to social media platform?
While we publish to social media networks, the logic is like this:
And what exactly the request look a like? What information will be sent to social media platform? How do we check that information? And how can we know that which parameters we need to set before audience sync for different platforms? Could you please let me know if you have more information on this.
Yes, “Request” object is formed by processAudienceByAction java method in java layer which in turn calls Data-paidMediaSyncStaging.CreateAudienceSyncRequest activity. Request is an object of com.pega.mkt.paidmedia.sync.AudienceSyncRequest class which contains list of com.pega.mkt.paidmedia.AudienceAction objects. Please find the attachment for stratucture of AudienceAction.
As part of step 7 itself, there is a call to com.pega.mkt.paidmedia.sync.AudienceSyncService.startSync java method which is responsible for network calls to push audience to respective Ad networks. Then com.pega.mkt.paidmedia.sync.AudienceResponseProcessor.processAudienceResponse will update master table with the responses of the network calls.
The payload you shared above will not be pushed as it is to networks. CustomerID is used for internal purposes to send response from networks back to master table.