Reputation: 1
I'm using the Graph Api Explorer reaying to get available leads setting the AD ID and I'm getting the following error...
/AD_ID/leads
(OAuthException - #274) (#274) The ad account is not enabled for usage in Ads API. Please add it in developer.facebook.com -> application -> settings -> advanced -> advertising accounts -> Ads API. Account XXXX not enabled for application 145634995501895.
If I try to fo the same using the SDK I got the same error.
But if I do the same query using the Form_ID, it works OK.
/FORM_ID/leads
I already set up the AD account "Please add it in developer.facebook.com -> application -> settings -> advanced -> advertising accounts -> Ads API", but I'm still getting the same error.
What is killing me is why the query works with the form_id and with the ad_id don´t.
Please help me :)
Thanks in advance,
Martin.-
Upvotes: 0
Views: 1658
Reputation: 1839
You can not use Graph API Explorer App for Marketing API.
You need to make your own app and then add the ad account in that app.
Upvotes: 2