google_ads_list_campaigns

List Google Ads Campaigns

Google

Description

List campaigns for a Google Ads account. Supports status filtering, search, and pagination. Results are cached; pass refresh=true for latest data. Use include_criteria to control audience/schedule detail: "none" (fastest), "summary" (default; audiences and locations capped, ad schedules whole), or "full" (uncapped, requires campaign_id/campaign_ids). Every campaign also carries its URL tracking configuration — tracking_url_template, final_url_suffix and url_custom_parameters — always present, and null when the campaign sets none (so "no tracking template here" is a verified answer, not a missing key). ValueTrack macros such as {lpurl} and {campaignid} are returned verbatim. Every campaign's settings also carry its serving settings, whatever include_criteria is: networkSettings under Google's names (targetSearchNetwork is the "search partners" setting, targetContentNetwork is the Display Network; targetPartnerSearchNetwork is the Google Partner Network, not search partners), aiMax { enabled, bundlingRequired } (Search campaigns only, null elsewhere), assetAutomation[], and finalUrlExpansion { status, effective, source }: source "explicit" is the campaign's own setting, "google_default" applies Google's default (off for Search, on for Performance Max), and "unset" means an AI Max Search campaign sets nothing, where the default is not knowable, so effective is null. A null value means Google returned nothing or the setting does not apply, never "off". Ad schedules are never capped (at most 42 per campaign), so the default listing answers ad-schedule questions for the whole account: a campaign with no adSchedules runs at all hours, unless warnings names it as a campaign whose criteria could not be fetched, in which case its schedule is unknown. Paginated: when a response includes nextCursor, call again with the same parameters plus cursor=<nextCursor>, and repeat until nextCursor is absent to get every row.

Read-onlyOpen-world

Usage

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "google_ads_list_campaigns",
    "arguments": {
      "customer_id": "1234567890",
      "reason": "List campaigns"
    }
  }
}

Parameters

NameTypeRequiredDescription
customer_id string Required The Google Ads Customer ID (10 digits, with or without dashes)maxLength: 20, pattern: ^[\d-]+$
reason string Required Why this tool call is neededminLength: 1, maxLength: 500
Optional parameters (11)
NameTypeRequiredDescription
login_customer_id string Optional MCC (Manager) Customer ID; required for managed accountsmaxLength: 20, pattern: ^[\d-]+$
campaign_id string Optional Get a specific campaign by ID. When provided, returns only that campaign and ignores other filters/pagination.maxLength: 20, pattern: ^\d+$
campaign_ids array Optional Get multiple campaigns by ID. Mutually exclusive with campaign_id. When provided, ignores other filters/pagination.
search string Optional Search campaigns by name (case-insensitive partial match)minLength: 1
status array Optional Filter by campaign status: ENABLED, PAUSED, REMOVED
limit integer Optional Number of campaigns per page (default: 20, max: 100)min: 1, max: 100
cursor string Optional Opaque cursor from the previous response's nextCursor. Pass it with otherwise identical parameters to get the next page; a cursor reused with different filters is rejected. Omit for the first page.minLength: 1
refresh boolean Optional Force fresh data from Google Ads API instead of using cache. Defaults to false (cache-first). Only set to true when you need real-time data.
include_criteria string Optional Controls campaign criteria detail level. "none" omits criteria (fastest). "summary" (default) returns audiences and locations capped with total counts, and every ad schedule. "full" returns all criteria uncapped — requires campaign_id or campaign_ids (max 10).
none summary full
label_filter array Optional Filter by labels. Accepts an array whose entries are any of: label name (e.g. "Big Boom"), bare label ID (e.g. "9876543210"), or full label resource name (e.g. "customers/1234567890/labels/9876543210"). Names are resolved against cached labels for the relevant customer scope. Unknown names return an empty result with a warning rather than an error.
connection_id string Optional Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.

Examples

List all

{
  "customer_id": "1234567890",
  "reason": "List campaigns"
}

hopkin google campaigns list --customer-id 1234567890

Filter by status

{
  "customer_id": "1234567890",
  "status": [
    "ENABLED"
  ],
  "reason": "List enabled campaigns"
}

hopkin google campaigns list --customer-id 1234567890 --status ENABLED

Get by ID

{
  "customer_id": "1234567890",
  "campaign_id": "9876543210",
  "reason": "Get campaign details"
}

hopkin google campaigns list --customer-id 1234567890 --campaign 9876543210

Search

{
  "customer_id": "1234567890",
  "search": "brand",
  "reason": "Find brand campaigns"
}

hopkin google campaigns list --customer-id 1234567890 --search brand

Get multiple by ID

{
  "customer_id": "1234567890",
  "campaign_ids": [
    "111",
    "222",
    "333"
  ],
  "reason": "Get details for specific campaigns"
}

hopkin google campaigns list --customer-id 1234567890 --campaign-ids 111,222,333

MCC child

{
  "customer_id": "1234567890",
  "login_customer_id": "9999999999",
  "reason": "List campaigns for MCC child"
}

hopkin google campaigns list --customer-id 1234567890 --login-customer-id 9999999999

Full criteria for campaign

{
  "customer_id": "1234567890",
  "campaign_id": "9876543210",
  "include_criteria": "full",
  "reason": "Get all audiences for campaign"
}

hopkin google campaigns list --customer-id 1234567890 --campaign 9876543210 --include-criteria full

Fast listing (no criteria)

{
  "customer_id": "1234567890",
  "include_criteria": "none",
  "reason": "Quick campaign overview"
}

hopkin google campaigns list --customer-id 1234567890 --include-criteria none