But it looks like you've forgotten to pass googleads.yaml to the script at all.
The penultimate line should be adwords_client = adwords.AdWordsClient.LoadFromStorage("googleads.yaml") # or whatever the right path is Let me know if you have any luck with this. I can interface with the TargetingIdeaService without any permissions issues or errors, but it often returns an empty result set. The API team has recognised that there is a problem with the Python library and I'm waiting to find out when they'll fix it. Cheers, Tom On Saturday, 6 October 2018 00:15:07 UTC+1, gw0...@rmn.com wrote: > > One thing you can try is to provide client_customer_id. Although it is > listed as optional in googleads.yaml, I found out when using > targeting_idea_service > that field is actually required. > > > This e-mail, including attachments, contains confidential and/or > proprietary information, and may be used only by the person or entity to > which it is addressed. The reader is hereby notified that any > dissemination, distribution or copying of this e-mail is prohibited. If you > have received this e-mail in error, please notify the sender by replying to > this message and delete this e-mail immediately. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads 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 --- You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. 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/8ce0c8f4-1531-4c17-a41e-001ef26a85a9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.