RE: Keep getting this error: error: the following arguments are required in every .py example

39 views
Skip to first unread message
Message has been deleted

Google Ads API Forum Advisor

unread,
Jan 21, 2022, 12:41:18 AM1/21/22
to painn...@gmail.com, adwor...@googlegroups.com

Hi,

Thanks for reaching out to the Google Ads API Forum.

I had to delete your first post on this thread since attaching credential files is not recommended due to privacy reasons. Here’s the below post details for reference: “

Hi i got this problem since i started using google ads api for python and still dont know how to fix it

i use default yaml file in github ( the google-ads.yalm from google-ads-api python)

I think my .py file dont read google-ads.yalm file

Please help

my full error: authenticate_in_web_application.py: error: the following arguments are required: --client_secrets_path”

Could you please confirm if you have followed the guide for Python client library configuration mentioned in here? Also, I do not see the refresh_token value being populated. Kindly re-configure again your python client library and retry your API request. If you still encounter an API error, you may provide us with the complete request and response logs with the request-id generated, so our team can better check.

For the Python library, logging can be enabled by navigating to the Client libraries > Your client library (select Python) > Logging documentation, which you can access from this link. You may then send the requested information via the Reply privately to author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead.

Regards,

Google Logo
Yasar
Google Ads API Team
 


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