Overview
Connect Google Ads by authorizing Mistle with a Google OAuth client and providing a Google Ads developer token. Mistle uses the OAuth authorization code flow to obtain Google access tokens. The local Google Ads CLI and MCP server run inside the sandbox runtime boundary and call the Google Ads API through Mistle-managed egress, where Mistle injects the refreshed OAuth access token and encrypted developer token into outbound requests. This integration is a thin wrapper around the Google Ads API. The connected Google user, OAuth scopes, developer token approval, and Google Ads account access determine what agents can read or change. Mistle does not grant, inspect, or enforce Google Ads permissions beyond storing connection credentials and routing tool traffic through managed egress.Prerequisites
Before connecting Google Ads:- Create or choose a Google Ads manager or client account.
- Create or choose a Google Cloud project that will own the OAuth client.
- Enable the Google Ads API for that project.
- Make sure the Google account that authorizes Mistle has access to the Google Ads accounts agents should use.
- Create or choose a Google Ads developer token.
- If your Google Auth Platform app is in testing mode, add the authorizing Google account as a test user.
Configure OAuth Consent
In Google Auth Platform, configure branding, audience, and data access for the OAuth app. Add this scope:https://www.googleapis.com/auth/adwords
Create A Google OAuth Client
Create a Web application OAuth client in Google Auth Platform.- In Mistle, open Integrations and choose Google Ads.
- Copy the callback URL shown by Mistle.
- In Google Cloud, open Google Auth Platform > Clients.
- Create an OAuth client with Application type set to Web application.
- Add the Mistle callback URL to Authorized redirect URIs.
- Create the client and copy its Client ID and Client secret.
Connect Google Ads In Mistle
Return to Mistle and enter:| Field | Value |
|---|---|
| OAuth client ID | Google OAuth web client ID |
| OAuth client secret | Google OAuth web client secret |
| Developer token | Google Ads developer token |
Connect Google Ads To A Sandbox Profile
After the Google Ads connection is active:- Open the sandbox profile that should use Google Ads.
- Add the Google Ads integration connection to the profile.
- In Resources & Tools, select the Google Ads CLI, Google Ads MCP server, or both.
- Publish the profile version.
--login-customer-id / login_customer_id. It is a request routing header, not an OAuth authorization setting.
Local Wrapper Decision
Google documents a Google Ads MCP server, but the Mistle integration uses the pinnedmistlehq/tools Google Ads CLI/MCP binary. That keeps the runtime shape consistent with other Mistle thin-wrapper integrations, lets Mistle inject credentials through managed egress, and keeps full API coverage available through raw Google Ads API request commands/tools.
API Version
The target defaults to Google Ads APIv24. Operators can pin a different supported version with api_version in the integration target config.
Self-Hosted Target Config
Self-hosted deployments can enablegoogleads-default with an empty config:
api_version only when your deployment needs to pin a different supported Google Ads API version: