Google Ads
Campaigns, metrics and reports
Managed auth
Authentication
Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.
OAuth 2.0
PKCEYour OAuth appBring your own OAuth app: register one with Google Ads, then create a custom auth config with its client ID and secret and our redirect URI. Setup guide
Registering the OAuth app
- In Google Cloud Console (console.cloud.google.com):
- Create or pick a project and, under “APIs & Services → Library”, enable the APIs of the services you will connect.
- Configure the “OAuth consent screen”.
- Under “Credentials → Create credentials → OAuth client ID” choose “Web application” and add the redirect URI shown below to “Authorized redirect URIs”.
- Copy the client ID and secret. These steps are only needed for your own OAuth app: when this deployment has a managed Google app, Continue connects without them.
Default scopes
https://www.googleapis.com/auth/adwords
Tools (2)
Google Ads API request
GOOGLEADS_SEND_REQUESTAuthenticated call to the Google Ads API (https://googleads.googleapis.com/{version}). Any endpoint of the API is allowed. Examples: GET /customers:listAccessibleCustomers, POST /customers/{id}/googleAds:search with {"query": "SELECT …"}.
Required scopes
No scopes required
Input
Google Ads API request input Name Type Description methodstringHTTP methodOne of: GET,POST,PUT,PATCH,DELETEDefault:"GET"pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link) queryobjectQuery string parameters bodyunknownJSON body formobjectBody as application/x-www-form-urlencoded instead of JSON body_base64stringBinary body, base64 (at most 960000 characters) content_typestringContent-Type of body_base64 headersobjectExtra headers such as Accept. Authentication is added automatically. GAQL query
GOOGLEADS_RUN_GAQL_QUERYRuns a GAQL query on an account (campaigns, metrics, etc.).
Required scopes
No scopes required
Input
GAQL query input Name Type Description accountrequiredstringAccount ID (digits only) queryrequiredstringe.g. SELECT campaign.name, metrics.clicks FROM campaign WHERE segments.date DURING LAST_30_DAYS

