I just upgraded from Python 2.7 to 3.5 and now all of a sudden I get this
weird error message when I try to run my program that updates my ads. It's
like it isn't detecting the developer token in my googleads.yaml file.
Here's what it says:
Traceback (most recent call last):
File "midsql.py", line 19, in <module>
client =
adwords.AdWordsClient.LoadFromStorage('~/documents/gnart/googleads.yaml')
File
"/Users/spencertichenor/Documents/pwnzone/env/lib/python3.5/site-packages/googleads/adwords.py",
line 250, in LoadFromStorage
cls._OPTIONAL_INIT_VALUES))
File
"/Users/spencertichenor/Documents/pwnzone/env/lib/python3.5/site-packages/googleads/common.py",
line 147, in LoadFromStorage
% (path, required_client_values, original_keys))
googleads.errors.GoogleAdsValueError: Your yaml file,
/Users/spencertichenor/documents/gnart/googleads.yaml, is missing some of
the required values. Required values are: developer_token, actual values
are ['developer_token', 'client_customer_id', 'refresh_token', 'client_id',
'user_agent', 'client_secret']
Like what the heck because it says I'm missing the developer_token but then
it lists developer_token in the actual values right after that. The program
still works fine when I run it in a virtual environment in Python 2.7
though.
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/1ae75e02-e6ed-4cc7-bd57-0a0bbf2eaf77%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.