Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get account from config file in custom_audience_utils.py is incorrect #46

Closed
ghost opened this issue Apr 20, 2015 · 2 comments
Closed

Comments

@ghost
Copy link

ghost commented Apr 20, 2015

Should genereate account like this:
my_account = AdAccount('act_' + config['app_act_id'])

Otherwise, it is not working.
Because, according to the link, https://developers.facebook.com/docs/marketing-api/custom-audience-targeting/v2.3#examples

curl request with parameter: act_<AD_ACCOUNT_ID>

@ghost
Copy link

ghost commented Aug 4, 2015

Thank you for reporting this issue and appreciate your patience. We've notified the core team for an update on this issue. We're looking for a response within the next 30 days or the issue may be closed.

@rituparnamukherjee
Copy link
Contributor

The 'act_id' field in config.json file should be set as 'act_<ACCOUNT_ID>'. If this is in place then the my_account generated should be appropriate. Checkout the config.json.example here -https://github.com/facebook/facebook-python-ads-sdk/blob/master/config.json.example for how to set the config properly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant