> ## Documentation Index
> Fetch the complete documentation index at: https://nango.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Google Ads

> Integrate your application with the Google Ads API

## 🚀 Quickstart

Connect to Google Ads with Nango and see data flow in 2 minutes.

**1. Create the integration**

In Nango ([free signup](https://app.nango.dev)), go to [Integrations](https://app.nango.dev/dev/integrations) -> *Configure New Integration* -> *Google Ads*.

> [!NOTE]
>
> Nango has a [Nango-managed OAuth app](https://nango.dev/docs/guides/auth/auth-guide.md#nango-managed-oauth-apps) you can use in development and production. Select it when you create the integration.

**2. Authorize Google Ads**

Go to [Connections](https://app.nango.dev/dev/connections) -> *Add Test Connection* -> *Authorize*, then log in to Google. Later, you'll let your users do the same directly from your app.

**3. Call the Google Ads API**

Let's make your first request to the Google Ads API. Replace the placeholders below with your [Environment API key](https://nango.dev/docs/reference/backend/http-api/api-keys.md), [integration ID](https://app.nango.dev/dev/integrations), and [connection ID](https://app.nango.dev/dev/connections):

> [tab] cURL
>
> ```bash theme={null}
> curl "https://api.nango.dev/proxy/googleads/v17/customers" \
>   -H "Authorization: Bearer <NANGO-API-KEY>" \
>   -H "Provider-Config-Key: <INTEGRATION-ID>" \
>   -H "Connection-Id: <CONNECTION-ID>"
> ```

> [tab] Node
>
> Install Nango's backend SDK with `npm i @nangohq/node`. Then run:
>
> ```typescript theme={null}
> import { Nango } from '@nangohq/node';
>
> const nango = new Nango({ apiKey: '<NANGO-API-KEY>' });
>
> const res = await nango.get({
>     endpoint: '/googleads/v17/customers',
>     providerConfigKey: '<INTEGRATION-ID>',
>     connectionId: '<CONNECTION-ID>'
> });
>
> console.log(res.data);
> ```

Or fetch credentials with the [Node SDK](https://nango.dev/docs/reference/backend/backend-sdk/node.md#get-a-connection-with-credentials) or [API](https://nango.dev/docs/reference/backend/http-api/connections/get.md).

✅ You're connected! Check the [Logs](https://app.nango.dev/dev/logs) tab in Nango to inspect requests.

**4. Implement Nango in your app**

Follow our [Auth implementation guide](https://nango.dev/docs/guides/primitives/auth.md) to integrate Nango in your app.

To use your own OAuth app instead of the Nango-managed one, follow the setup guide linked below.

## 📚 Google Ads Integration Guides

Nango maintained guides for common use cases.

* [How to register your own Google Ads OAuth app](https://nango.dev/docs/api-integrations/google-ads/how-to-register-your-own-google-ads-api-oauth-app)\
  Register an OAuth app with Google for Google Ads and obtain credentials to connect it to Nango

* [Google App & Security Review](https://nango.dev/docs/api-integrations/google-shared/google-security-review)
  Pass Google's OAuth app verification to go to production with your own OAuth app (not needed with the Nango-managed app)

Official docs: [Google Ads API Documentation](https://developers.google.com/google-ads/api/docs/start)

## 🧩 Pre-built syncs & tools for Google Ads

Explore Nango-provided tools in your dashboard. Extend and customize them to fit your needs.

### Others

| Function name | Description | Type |
| - | - | - |
| `create-ad-group-ad` | Create an ad inside an ad group. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `create-ad-group` | Create an ad group in an existing Google Ads campaign | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `create-campaign-budget` | Create a campaign budget for one or more campaigns. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `create-campaign-location-criterion` | Add geographic location targeting to a campaign using a geo target constant. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `create-campaign-negative-keyword` | Add a negative keyword criterion at the campaign level. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `create-campaign` | Create a campaign that references an existing budget. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `create-conversion-action` | Create a conversion action for tracking conversions. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `create-keyword-criterion` | Add a positive keyword criterion to an ad group. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `create-negative-keyword` | Add a negative keyword criterion to an ad group so its ads stop showing for that term. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `generate-keyword-ideas` | Generate keyword ideas and search volume/competition metrics from a seed keyword list or URL. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-accessible-customers` | List customer accounts directly accessible to the authenticated user. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `remove-ad-group-ad` | Remove an ad from an ad group by resource name. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `remove-ad-group` | Remove an ad group by resource name. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `remove-campaign-budget` | Remove an unused campaign budget by resource name. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `remove-campaign-criterion` | Remove a campaign-level criterion (negative keyword or location target) by resource name. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `remove-campaign` | Remove a campaign by resource name. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `remove-conversion-action` | Remove a conversion action by resource name. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `remove-keyword-criterion` | Remove a keyword criterion from an ad group. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `search-google-ads` | Run a GAQL query and return paged Google Ads rows. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `search-stream-google-ads` | Run a GAQL query with streamed results | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `suggest-geo-target-constants` | Look up geo target constant resource names for location names or codes, for use in campaign location targeting. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `update-ad-group-ad` | Update mutable fields on an ad group ad | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `update-ad-group` | Update mutable fields on an ad group. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `update-campaign-budget` | Update mutable fields on a campaign budget. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `update-campaign` | Update mutable campaign settings. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `update-conversion-action` | Update mutable fields on a conversion action | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `update-keyword-criterion` | Update mutable fields on an ad group keyword criterion. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `validate-google-ads-mutate` | Validate a mutate request without applying changes. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `accessible-customers` | Sync directly accessible Google Ads customer accounts | [Sync](https://nango.dev/docs/guides/functions/syncs/sync-functions.md) |
| `ad-group-ads` | Sync ad group ads for customer accounts in scope. | [Sync](https://nango.dev/docs/guides/functions/syncs/sync-functions.md) |
| `ad-groups` | Sync ad groups for customer accounts in scope. | [Sync](https://nango.dev/docs/guides/functions/syncs/sync-functions.md) |
| `campaign-budgets` | Sync campaign budgets for customer accounts in scope | [Sync](https://nango.dev/docs/guides/functions/syncs/sync-functions.md) |
| `campaign-criteria` | Sync campaign-level criteria (negative keywords and location targeting) for customer accounts in scope. | [Sync](https://nango.dev/docs/guides/functions/syncs/sync-functions.md) |
| `campaigns` | Sync campaigns for customer accounts in scope. | [Sync](https://nango.dev/docs/guides/functions/syncs/sync-functions.md) |
| `conversion-actions` | Sync conversion actions configured on customer accounts in scope | [Sync](https://nango.dev/docs/guides/functions/syncs/sync-functions.md) |
| `keyword-criteria` | Sync ad group keyword criteria for customer accounts in scope | [Sync](https://nango.dev/docs/guides/functions/syncs/sync-functions.md) |

***


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.