Support Article
Paid Media Manager Facebook integration fails with exceptions
SA-63884
Summary
The user has Pega Marketing 7.4 on Pega 7.4.
The Paid Media Manager (PMM) Facebook integration fails with exceptions after upgrade of Facebook SDK to 3.1.1.
Error Messages
com.pega.dsm.dnode.api.dataflow.StageException: Exception in stage: Paid Media at com.pega.dsm.dnode.api.dataflow.StageException.create(StageException.java:37) at com.pega.dsm.dnode.api.dataflow.DataFlowStage$StageInputSubscriber.onCompleted(DataFlowStage.java:385) at com.pega.dsm.dnode.api.dataflow.DataFlowExecutor$QueueBasedDataFlowExecutor$5.process(DataFlowExecutor.java:325) at com.pega.dsm.dnode.api.dataflow.DataFlowExecutor$QueueBasedDataFlowExecutor.runEventLoop(DataFlowExecutor.java:194) at com.pega.dsm.dnode.api.dataflow.DataFlow$1.emit(DataFlow.java:284) at com.pega.dsm.dnode.impl.stream.DataObservableImpl.subscribe(DataObservableImpl.java:57) at
Caused by: com.pega.mkt.paidmedia.error.PaidMediaDFRunException: You are calling a deprecated version of the Ads API. Please update to the latest version: v3.1. ... 33 more Caused by: com.facebook.ads.sdk.APIException$FailedRequestException: {"error":{"message":"(#2635) You are calling a deprecated version of the Ads API. Please update to the latest version
Steps to Reproduce
Integrate Facebook in PMM.
Root Cause
A defect in Pegasystems’ code or rules.
When a new Facebook application is created, the API version defaults to v3.1 and the user is unable to choose the lower API version. Hence, PMM Facebook run fails since lower API version was used.
Resolution
Apply HFix-46756 and HFix-46755Restart all the nodes after importing the hotfixes.
Tags:
Published September 18, 2018 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.