Facebook marketing api call, how to get all campaigns and report like power editor in api call -
in main account can see 2 ads account ids,
account 1 https://graph.facebook.com/v2.9/act_1/campaigns returns empty data in json
account 1 https://graph.facebook.com/v2.9/act_2/campaigns returns error ads api call requires user admin of ad account. user not admin on ad account
in power editor have 4 campaigns running associated account 2
next have details can see in power editor advert_name, amount spend, clicks, impressions, mobile app installs [1 day after viewing] mobile app installs [28 days after clicking] etc read document new this, understood little .
please read https://developers.facebook.com/docs/graph-api/using-graph-api/
you have add user token used rest call admin ad account in facebook business explorer.
for creating rest call data need, might try graph api explorer can add fields want read.
Comments
Post a Comment