ValueError: A required field in the configuration data was not found. The required fields are: ('developer_token',)

17 views
Skip to first unread message

Sam

unread,
May 3, 2021, 4:27:11 AM5/3/21
to AdWords API and Google Ads API Forum

I'm trying to run the keyword stats report (file found here: https://github.com/googleads/google-ads-python/blob/master/examples/reporting/get_keyword_stats.py) via the Google Ads API. I have the googleads.yaml file setup already. But when I run the report, I'm getting an error that says: ValueError: A required field in the configuration data was not found. The required fields are: ('developer_token',)

I have all the required fields in my googleads.yaml file. Please see screenshot below for reference. What could have gone wrong in my code? Why is it not reading the 'developer_token' I have in the googleads.yaml file?


Screen Shot 2021-05-03 at 3.50.17 PM.png

Google Ads API Forum Advisor Prod

unread,
May 3, 2021, 11:34:26 AM5/3/21
to jocelyn...@gmail.com, adwor...@googlegroups.com

Hi Sam,

Thank you for reaching out. Could you please share the complete request and response logs along with the googleads.yaml file via the Reply privately to author option for us to further investigate?

Thanks and regards,
Xiaoming, Google Ads API Team

 

Google Logo
Xiaoming
Google Ads API Team
 


ref:_00D1U1174p._5004Q2GJPVT:ref
Reply all
Reply to author
Forward
0 new messages