Error Forbidden



I have try to get data from python like from this link:

but the result i got error "Forbidden: "

anyone can help me to solve this problem?

Twitter API returned a 401 (Unauthorized), This request is not properly authenticated
What should i do to get data from Twitter Ads

Did you check the FAQ? What does 401 unauthorized mean and how do I resolve it? How about 403 Forbidden?

Is your application whitelisted for access to the Ads API?


Following on from @andypiper’s response, please have a look at our documentation, FAQs and ensure you have been whitelisted for accessing the Ads API - you are required to apply in order to be whitelisted, so please do have a look at all relevant resources!