xdevplatform / twitter-python-ads-sdk

A Twitter supported and maintained Ads API SDK for Python.
https://twitterdev.github.io/twitter-python-ads-sdk/
MIT License
189 stars 106 forks source link

Got 403 FORBIDDEN error when getting media_library = MediaLibrary.all(account) #271

Closed BJapac closed 3 years ago

BJapac commented 3 years ago

There is an issue causing 403 FORBIDDEN error when using media_library = MediaLibrary.all(account) to retrieve media library details. This can happen when using code such as: line_item =LineItem.all(account) or if you use campaign = Campaign.all(account) to get lineItem and campaign, and it's working fine.

tushdante commented 3 years ago

On investigation this is likely a permissions issue given that the following works fine MediaLibrary.all(account)