Skip to main content
Google Ads

Overview

This source syncs campaign, ad group, ad, keyword, and performance report data from the Google Ads API (v23). Authentication uses user OAuth (not service accounts) — the connector requires a refresh_token alongside a developer_token. Incremental state is handled inside the connector; stream-level INCREMENTAL selection is not available in the UI, but bookmarks still resume progress across syncs.

Authentication

This connector uses two kinds of credentials:
  • Application credential (developer_token) — identifies your app to the Google Ads API. Issued per manager account via API Center. This is not an OAuth token.
  • User OAuth (refresh_token, oauth_client_id, oauth_client_secret) — proves the user has consented to read their Ads data. The required OAuth scope is https://www.googleapis.com/auth/adwords.

Manual setup vs Mage OAuth Authorize

Service accounts and Application Default Credentials are not supported.

Google

INCREMENTAL Sync

This source handles state internally, meaning INCREMENTAL sync selection is not supported.

Configuration


Sample configs

Using Mage OAuth Authorize (recommended — no OAuth client credentials needed):
Manual OAuth setup with manager account:

How to get login_customer_ids

customerId is the account whose data you want to sync. loginCustomerId is the manager (MCC) account you use to access it — leave it null when there is no manager hop.
  1. Sign in to Google Ads.
  2. Open the account switcher in the top bar.
  3. Copy the numeric ID for each account (strip dashes: 123-456-7890'1234567890').

How to get a developer_token

A developer token belongs to a manager (MCC) account. Client-only accounts cannot open API Center.
  1. Sign in to a manager account.
  2. Open API Center (Tools & Settings → Setup → API Center).
  3. Complete the API sign-up. Your token may start as Test tier; request Basic or Standard access when you are ready for production volume.
  4. Set the token as developer_token in your config.


Generating Credentials

Check out this article
by Sudeep Timalsina for a great guide on generating credentials for Google Ads API access.