Facebook Reach Estimate - not suficient permissions -


i trying follow example on reach estimate in facebook api documentation here. getting error:

{   "error": {     "message": "(#10) not have sufficient permissions perform action",      "type": "oauthexception",      "code": 10   } } 

my approach open https://developers.facebook.com/tools/explorer, generate token giving permissions including ads_management.

and perform call:

act_id/reachestimate?currency=eur&targeting_spec={'countries':['us']} 

where obtain ad account id going ads manager , reading off url (or visiting power editor).

it looks simple, have no idea @ point missing, getting same error while using php api.

all ideas appreciated. thank you.

if using own app generate access token, on standard or basic tier of marketing api. these tiers, need specify each adaccount going use.

in developer too, select app , go apps > settings > advanced. under "advertising accounts" click "ads api" button on right hand side, , list accounts want use.

for more info, see: https://developers.facebook.com/docs/marketing-api/access#standard_accounts


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -