Google Ads

Integrate your application with the Google Ads API

🚀 Quickstart

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

Create the integration

In Tenklo (free signup), go to Integrations -> Configure New Integration -> Google Ads. Tenklo doesn't provide a test OAuth app for Google Ads yet. You'll need to set up your own by following the setup guide linked below. After that, make sure to add the OAuth client ID, secret, and scopes in the integration settings in Tenklo.

Authorize Google Ads

Go to Connections -> Add Test Connection -> Authorize, then log in to Google. Later, you'll let your users do the same directly from your app.

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, integration ID, and connection ID:

curl "https://api.tenklo.dev/proxy/googleads/v17/customers" \
  -H "Authorization: Bearer <NANGO-API-KEY>" \
  -H "Provider-Config-Key: <INTEGRATION-ID>" \
  -H "Connection-Id: <CONNECTION-ID>"

Or fetch credentials with the Node SDK or API.

✅ You're connected! Check the Logs tab in Tenklo to inspect requests.

Implement Tenklo in your app

Follow our Auth implementation guide to integrate Tenklo in your app.

To obtain your own production credentials, follow the setup guide linked below.

📚 Google Ads Integration Guides

Tenklo maintained guides for common use cases.

Official docs: Google Ads API Documentation

🧩 Pre-built syncs & actions for Google Ads

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

Others

Function nameDescriptionTypeSource code
create-ad-group-adCreate an ad inside an ad group.Action🔗 Github
create-ad-groupCreate an ad group in an existing Google Ads campaignAction🔗 Github
create-campaign-budgetCreate a campaign budget for one or more campaigns.Action🔗 Github
create-campaign-location-criterionAdd geographic location targeting to a campaign using a geo target constant.Action🔗 Github
create-campaign-negative-keywordAdd a negative keyword criterion at the campaign level.Action🔗 Github
create-campaignCreate a campaign that references an existing budget.Action🔗 Github
create-conversion-actionCreate a conversion action for tracking conversions.Action🔗 Github
create-keyword-criterionAdd a positive keyword criterion to an ad group.Action🔗 Github
create-negative-keywordAdd a negative keyword criterion to an ad group so its ads stop showing for that term.Action🔗 Github
generate-keyword-ideasGenerate keyword ideas and search volume/competition metrics from a seed keyword list or URL.Action🔗 Github
list-accessible-customersList customer accounts directly accessible to the authenticated user.Action🔗 Github
remove-ad-group-adRemove an ad from an ad group by resource name.Action🔗 Github
remove-ad-groupRemove an ad group by resource name.Action🔗 Github
remove-campaign-budgetRemove an unused campaign budget by resource name.Action🔗 Github
remove-campaign-criterionRemove a campaign-level criterion (negative keyword or location target) by resource name.Action🔗 Github
remove-campaignRemove a campaign by resource name.Action🔗 Github
remove-conversion-actionRemove a conversion action by resource name.Action🔗 Github
remove-keyword-criterionRemove a keyword criterion from an ad group.Action🔗 Github
search-google-adsRun a GAQL query and return paged Google Ads rows.Action🔗 Github
search-stream-google-adsRun a GAQL query with streamed resultsAction🔗 Github
suggest-geo-target-constantsLook up geo target constant resource names for location names or codes, for use in campaign location targeting.Action🔗 Github
update-ad-group-adUpdate mutable fields on an ad group adAction🔗 Github
update-ad-groupUpdate mutable fields on an ad group.Action🔗 Github
update-campaign-budgetUpdate mutable fields on a campaign budget.Action🔗 Github
update-campaignUpdate mutable campaign settings.Action🔗 Github
update-conversion-actionUpdate mutable fields on a conversion actionAction🔗 Github
update-keyword-criterionUpdate mutable fields on an ad group keyword criterion.Action🔗 Github
validate-google-ads-mutateValidate a mutate request without applying changes.Action🔗 Github
accessible-customersSync directly accessible Google Ads customer accountsSync🔗 Github
ad-group-adsSync ad group ads for customer accounts in scope.Sync🔗 Github
ad-groupsSync ad groups for customer accounts in scope.Sync🔗 Github
campaign-budgetsSync campaign budgets for customer accounts in scopeSync🔗 Github
campaign-criteriaSync campaign-level criteria (negative keywords and location targeting) for customer accounts in scope.Sync🔗 Github
campaignsSync campaigns for customer accounts in scope.Sync🔗 Github
conversion-actionsSync conversion actions configured on customer accounts in scopeSync🔗 Github
keyword-criteriaSync ad group keyword criteria for customer accounts in scopeSync🔗 Github

On this page