Create a Google Ads campaign via the API (budget, campaign, ad group)

domain: developers.google.com/google-ads/api · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Authenticate with OAuth 2.0 and prepare your developer token and customer ID.
  2. Create a CampaignBudget resource by calling CampaignBudgetService.mutate with a desired amount_micros and delivery method; capture the returned resource name.
  3. Create a Campaign resource via CampaignService.mutate, referencing the budget resource name and setting advertising_channel_type, status, and bidding strategy.
  4. Create an AdGroup resource via AdGroupService.mutate, linking it to the campaign resource name and setting a default CPC bid or target bid.
  5. Optionally batch all three mutate operations into a single GoogleAdsService.mutate call using temporary resource name references (e.g. customers/CUSTOMER_ID/campaigns/-1) to reduce round trips.
  6. Verify creation by running a GAQL query against the campaign and ad_group resources to confirm status and budget linkage.

Known gotchas

Related routes

Create a campaign via TikTok Ads API
ads.tiktok.com/marketing_api/docs · 6 steps · unrated
Create a campaign via Pinterest Ads API
developers.pinterest.com/docs/api/v5 · 6 steps · unrated
Create an advertiser, campaign, ad group, and ad via The Trade Desk Platform API
advertising · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans