Closed iPythonezta closed 2 years ago
Hi @BloggingKIng could you share the full stack trace for the error? It's not clear from where in the codebase the error is originating.
Traceback (most recent call last):
File "adwords.py", line 127, in
The detail of the issue is pasted above and sorry for being late. I actually never logged into GitHub for the last 10 days :-)
@BloggingKIng without including any compromising tokens, (i.e. developer token, client ID) could you share how your google-ads.yaml file is formatted? For some reason it appears as though it's being parsed into a string instead of a dictionary, and I'm not sure how that would happen.
@BloggingKIng I'm assuming no news is good news and you've resolved this issue, but if not please reopen this.
I am trying to use Adwords API to access campaigns and reports from Google ADs by using python client libraries. I got the developer token, client ID, client_secret and refresh token by following the necessary steps in the documentation. When I ran the get_campaigns.py, I came across this error- AttributeError: 'str' object has no attribute 'get'. Does this mean that my googleads YAML file is not configured properly? I am new to this. P.S - In general, I would like to understand YAML files better for configuring it in the right way. Are there any links for the same? Kindly help me out on this.