Google ADS API - application type

89 views
Skip to first unread message

Petr Rozkošný

unread,
May 15, 2022, 10:11:42 AM5/15/22
to Google Ads API and AdWords API Forum
Hi,
I'm a marketing freelancer working for several marketing agencies which provides Google Ads campaingns' management.
I've been using Google Ads API for fetching performance reports and optimizing companies.
My workflow is:
- create a project in Google Cloud Console with Google Ads API enabled
- OAuth 2.0 Client IDs
- create a yml file with clients (MCC accounts) credentials

Each agency has its own yml file and every file was used in the same application where I am iterating over agencies and then over their clients.

OAuth consent screen setting was:
- publish status: in production
- user type: external

Today I've tried to set up a Google Ads API project for a new agency, but I am getting error when trying to get refresh token (using this script: googleads-python-lib/generate_refresh_token.py at master · googleads/googleads-python-lib (github.com))
The error says:
400: invalid_request

and (translation in English) that at least one rule for verification was not met.

My question is:
- how to fix this,
- does this have something in common with OAuth out-of-band (OOB) flow depreciationg?

My app is not public, only me can access it while logging into it with a particular agency email.

Thanks for any help
Regards
PR

Google Ads API Forum Advisor

unread,
May 16, 2022, 2:55:39 AM5/16/22
to petr.r...@gmail.com, adwor...@googlegroups.com
Hi PR,

Thank you for reaching out to us.

For us to further check the error you are encountering, could you please provide privately the complete API logs (request and response with request-id ) generated on your end?

You may then send the requested logs 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.

Moving forward, since you are asking if this has something in common with OAuth out-of-band (OOB) flow depreciation, I would recommend you check this documentation for more information.

Best regards,
Google Logo
Heidi
Google Ads API Team
 


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