on 07-15-2019 3:33 PM
Hello Alex,
Have you reffered to https://blogs.sap.com/2019/03/15/sap-marketing-cloud-how-to-create-a-facebook-app-for-campaign-and-c...
Thank you.
Best Regrads,
Kunal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alex,
Here is the sample payload.
act_509XXXXXXX61/insights?fields=campaign_id,campaign_name,actions,impressions,spend,inline_link_clicks≤vel=campaign&filtering=[{'field': 'campaign.id','operator': 'IN', 'value':['614XXXXX5166']}]&time_range={'since':'2019-04-21','until':'2019-06-30'} &time_increment=1
where: 509XXXXXXXX61 – is the Add account ID which can be seen when select the add account for authentication
Campaign ID: '614XXXXX5166' – which is generated after the sync takes places from marketing system – or you can use an existing or running campaign ID also.
Also I wanted to know if the authentication is successful and you are able to see the Ad account?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alex, Please follow the steps below
i) Go to graph explorer
https://developers.facebook.com/tools/explorer/
ii) select your app which you are planning to submit
click 'Get token' button, and click 'get user access token'
iii) select checkbox 'ads_management' and click 'Get access token' and type the below url in after /v3.3/..
act_XXX/insights?fields=campaign_id,campaign_name,actions,impressions,spend,inline_link_clicks≤vel=campaign&filtering=[{'field': 'campaign.id','operator': 'IN', 'value':['YYY']}]&time_range={'since':'2019-04-21','until':'2019-06-30'} &time_increment=1
iv) submit
You can continue clicking submit button as long as you get error. You can repeat after some minutes or hour based on ad account limit.
Please use your Facebook Adaccount replacing 'XXX'of above URL.
Please use your Facebook campaign replacing 'YYY' of above URL.
Once you have the API calls above 150 then follow the steps (8 onwards) from the blog :
Regards,
Sandeep Kulkarni
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Sandeep Kulkarni,
Thank you for your response.
What is an example for:
- Facebook Adaccount
- Facebook campaign
So I can type in an exact value?
Is this a correct set up for clicking submit button:
Is the URL syntaxis right here?
me?fields=id,nameact_XXX/insights?fields=campaign_id,campaign_name,actions,impressions,spend,inline_link_clicks≤vel=campaign&filtering=[{'field': 'campaign.id','operator': 'IN', 'value':['YYY']}]&time_range={'since':'2019-04-21','until':'2019-06-30'} &time_increment=1
Thank you for your response in advance,
Alex.
Hi Alex Jakuba,
Please try to authenticate the Marketing cloud campaign with the FB APP in Development status (not live yet)
If the authentication is successful, you can edit the campaign to see the add accounts.
You can make the app live only after you have the app approved with Ads Management standard access given to it.
There are set of rules on which the FB app will be approved, you can follow the link sent by Kunal, along with this you need to make API calls using graph designer tool of Facebook.
Regards,
Sandeep Kulkarni
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.