Good morning,
I’m setting up a script to automatically import twitter ads performance data in python via API. I followed the quick start for the twitter-python-ads-sdk on github. Once I applied and got my account approved, I created one app, got API keys and tokens, copied them into the script and run. This is the message I get:
<Forbidden object at 0x11b615528 code=403 details=[{‘code’: ‘UNAUTHORIZED_CLIENT_APPLICATION’, ‘message’: ‘The client application making this request does not have access to Twitter Ads API’}]>
For what I have understood, I need to autenticate but I can’t figure out where. Can you please tell me what I’m doing wrong.
Thank you
Davide
b_lw
#2
You need to apply to get access to the Ads API in addition to having a developer account.
Here is the application form: https://developer.twitter.com/en/docs/ads/general/overview/adsapi-application
Once approved you will be able to request Ads API endpoints.
Hope that helps!
1 Like
Amazing! Thanks for your quick answer
Davide