I've been trying to use adspygoogle 1.1.7 downloaded (uploaded yesterday 
with the release of the new API version) from PyPI just as the extracted 
tarball with v201402
Although this worked fine in the past It won't work for me unless I modify 
the validity checks as I show at the bottom.

I hope this is useful for someone else.
 

adspygoogle.adwords. __init__
Line 47
From:
API_VERSIONS = ('v201306', 'v201309')
To:
API_VERSIONS = ('v201306', 'v201309', 'v201402')

This should make v201402 the default version if none is specified. 

adspygoogle.adwords.AdWordsSanityCheck 
Line 29-32/33 
From: 
_VERSION_SERVER_MAP = { 
'v201306': ('https://adwords.google.com',), 
'v201309': ('https://adwords.google.com',), 
} 
To: 
_VERSION_SERVER_MAP = { 
'v201306': ('https://adwords.google.com',), 
'v201309': ('https://adwords.google.com',), 
'v201402': ('https://adwords.google.com',), 
} 

Adding this line avoids the validation error.


Cheers!
Martin 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to