Hi Jonathan, This error is returned if you are using sandbox credentials in the production environment, or vice versa. Please ensure you've also update your credentials to be valid for production.
Best, - Eric Koleda, AdWords API Team On Mar 5, 5:00 pm, Jonathan Blake <0.squ...@gmail.com> wrote: > Hi everyone, > > I seem to be having an issue and haven't managed to find any solutions > on google so far. I'm using the new Adwords API (v200909), and > everything works great if I use the adwords-sandbox. domain. As soon > as I try switching to adwords.google.com, I get "Invalid headers for > 'https://adwords.google.com'" errors. > > My code is below, hopefully someone here knows the answer? > > ---- this works: > from aw_api.Client import Client > client = Client(path='.') > targeting_idea_service = client.GetTargetingIdeaService('https:// > adwords-sandbox.google.com', 'v200909') > > ---- this does not: > from aw_api.Client import Client > client = Client(path='.') > targeting_idea_service = client.GetTargetingIdeaService('https:// > adwords.google.com', 'v200909') > > Thanks very much -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Have you migrated to v200909 yet? The v13 sunset is on April 22, 2010. Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en