Simple Report Downloads via Adwords API without OAuth2 possible? (PHP)

107 views
Skip to first unread message

Jann Rasenack

unread,
Apr 17, 2020, 10:03:20 AM4/17/20
to AdWords API and Google Ads API Forum
Hello,

im am struggelig to do a simple report download via the api. When i want to generate the OAuth credentials i first have to do some configuration für the OAuth "agreement screen" at that point i can only choose "external" wich i dont want because its only for internal purposes. I cant select Internal because we dont use the google g-suite. Is there any way to generate the OAuth credentials without having G-Suite? (we dont need any of the G-Suite Applications). I have seen that i can also generate an API Key but I cant find any instructions on how to use that key instead of oauth. Any special advises? I am using the php library.

best regards.

Google Ads API Forum Advisor Prod

unread,
Apr 17, 2020, 1:21:11 PM4/17/20
to mcc...@alsa-hundewelt.de, adwor...@googlegroups.com

Hi Jann,

Thank you for reaching out. The Adwords API/Google Ads API use OAuth2 for authentication. Thus you would not be able to use the API key to replace it. When setting up the OAuth consent screen if you choose “Internal” your app will be available to only G Suite users within your organization. If your external users try to use your app, they’ll be blocked with an authorization error screen. If this is what you need then you could choose it as “Internal” otherwise go with the “External” option and the sensitive or restricted user data would be protected by the verification process from Google. Please let me know if you have any further concerns.

Thanks and regards,
Xiaoming, Google Ads API Team



 

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