Automate Google Ads with TypeScript

Manage Google Ads customers, campaigns, budgets, ad groups, responsive search ads, assets, conversions, audiences, and Customer Match lists. Query GAQL reports and react to resource changes.

watch-google-ads.automation.ts
import { automation } from "automate.ax"
import { googleAds } from "automate.ax/google-ads"

export default automation("Watch Google Ads campaigns", () => {
  const change = googleAds.onCampaignUpdated({
    customerId: "1234567890",
  })

  googleAds.getCampaignPerformance({
    customerId: change.customerId,
    dateFrom: "2026-08-01",
    dateTo: "2026-08-31",
  })
})

What you can do

Actions

  • Discover customers and manager-account hierarchies
  • Manage campaigns, budgets, ad groups, ads, and assets
  • Upload conversions and Customer Match members
  • Query GAQL and common performance reports

Triggers

  • Any supported account resource change
  • Campaign and campaign-budget changes
  • Ad-group and ad changes
  • Asset changes

Start automating with Google Ads today

Start building