cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP Marketing Cloud (yMarketing) and Facebook Campaign Integration

0 Likes
963

Hi there,

I’m helping one of my clients integrate Facebook Campaigns into SAP Marketing Cloud, and I’m having trouble getting the Facebook API to work using this guide here: https://blogs.sap.com/2019/03/15/sap-marketing-cloud-how-to-create-a-facebook-app-for-campaign-and-c....

I’ve already gone through the process of creating the App, linking it to my business, and it’s configured similar to what’s above. I think the part I’m stuck on is I’m at a point where I can’t query my own Business account because I don’t have ad_management on my App, but I can’t get those permissions without publishing. And I can’t publish the app, unless I can show the app is working and can make 14k requests in a month. I already looped in my SAP Customer Engagement Manager, but wondering if you guys have any clever ideas?

$ curl -X POST -F 'name="VGTestCampaign"' -F 'objective="LINK_CLICKS"' -F 'status="PAUSED"' -F 'access_token=" "' -F 'special_ad_categories="[]"' https://graph.facebook.com/v7.0/act_ADACCTNUMBERHERE -F 'debug=all'

% Total % Received % Xferd Average Speed Time Time Time Current

Dload Upload Total Spent Left Speed

100 1465 100 630 100 835 4883 6472 --:--:-- --:--:-- --:--:-- 11445{"error":{"message":"Unsupported post request. Object with ID 'act_' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https:\/\/developers.facebook.com\/docs\/graph-api","type":"GraphMethodException","code":100,"error_subcode":33,"fbtrace_id":"AGun9fndfhvlYRlX02Y86vo"},"__debug__":{"messages":[{"link":"https:\/\/developers.facebook.com\/docs\/apps\/versions\/","message":"The app tried to call version v7.0. This app can only call versions v8.0 and higher, so the request defaulted to version v8.0.","type":"warning"}]}}

Using this post (https://developers.facebook.com/community/threads/312575526328116/), I also found that I can’t query here because of permissions too.

{

"error": {

"message": "(#200) Missing Permissions",

"type": "OAuthException",

"code": 200,

"fbtrace_id": "AX15YrQrH93hmyP-ykdqPUa"

}

}

Any ideas on how to continue?

Accepted Solutions (1)

Accepted Solutions (1)

0 Likes

I ended up getting this working. I had to include every single SAP guide on what the integration was, and include a few test users using Facebook's app. I requested ads_management and the other permissions that were required to get that (needed prerequisites).

Finally, I also had to be very clear that this wasn't an app like Farmville and only would be used internally by my client's marketing team (who use SAP Marketing Cloud).

Answers (2)

Answers (2)

0 Likes

Hi Mohannad,

In order to get the Standard access I need to get the API working first and I can't without the ads_management working first. Has anybody had any luck getting the Facebook API work recently (I think they've made it stricter)?

Here's what it says: "To request Ads Management Standard Access your app must successfully make at least 1500 Marketing API calls with an error rate of less than or equal to 10% over a 30-day period." I can't do that without getting this part working.

mohannad_el-jayousi
Product and Topic Expert
Product and Topic Expert
0 Likes

Hello Vernon,

Can you try to make sure your configuration is as follows, as Facebook has introduced new data access levels:

Kind regards,

Mohannad

0 Likes

Hi Mohannad,

In order to get the Standard access I need to get the API working first and I can't without the ads_management working first. Has anybody had any luck getting the Facebook API work recently (I think they've made it stricter)?

Here's what it says: "To request Ads Management Standard Access your app must successfully make at least 1500 Marketing API calls with an error rate of less than or equal to 10% over a 30-day period." I can't do that without getting this part working.