googleads-dfa-reporting-samples
googleads-dfa-reporting-samples copied to clipboard
Getting an authorization error while trying to get list of advertiser
We want to explore API route to get data from campaign manager portal.
- Created API Client - Downloaded creds json and enabled campaign manager API.
- Authenticated the user using authenticate_using_user_account.py
- Tried running - get_advertiser.py using the profile ID that has admin level access in CM360.
Also this works on API Explorer on the official documentation.
PS: I am downloading the files that I need locally and triggering the code.
Error Log
Traceback (most recent call last):
File "get_advertisers.py", line 67, in