Google Ads API Auth Series - Desktop Flow with the REST API

preview_player
Показать описание

In this episode, we’ll demystify OAuth with the Google Ads API and demonstrate how you can complete the entire OAuth process and make an API request using the Desktop App flow with the REST API in under 20 seconds. We’ll also share some useful scripts to quickly generate access tokens and perform searchStream requests.

Chapters

00:00 - Intro
00:37 - Quick demo
01:34 - Explanation
04:51 - Useful bash scripts
Рекомендации по теме
Комментарии
Автор

As shown in the video, you're using a developer token to generate an access token and a refresh token. How long does a refrash token last with a developer token?

eduardomenezes
Автор

In this video and in previous videos a consent screen pops up to give consent and is based on the email address of the logged in user. That in term allows the generation of the refresh token. Is this a one time thing? Because what is the case for api-to-api scenario? Say I have an api in some cloud (no user login) and this api needs to call google ads api. Do you still need the consent section? And is that the desktop flow? For example imagine a cloud function calling google ads.. Specifically, does google ads support the ouath2 client credentials flow?

soucianceeqdamrashti