Skip to content

google_ads_create_custom_audience

Create a custom segment (CustomAudience) from keywords, URLs and Android apps in the selected customer.

View as Markdown

Create a custom segment (CustomAudience) from keywords, URLs and Android apps in the selected customer. Use it by resource name in google_ads_apply_plan: adGroupCriterion.customAudience on Display, or an Audience customAudience segment for Demand Gen groups and Performance Max signals. Preview returns planHash; validateOnly asks Google; confirm requires the matching expectedPlanHash. No automatic retry: after an uncertain result, read custom_audience by name with google_ads_run_gaql.

Kind
Write
Discovery
Reachable through search_tools and run_tool
Account parameter
customerId
Endpoint
https://mcp.getmcpads.com/google-ads/mcp

Parameters

Parameters
NameTypeRequiredNotes
customerIdstringRequiredSelected Google Ads customer ID, not the manager account.
currencystringRequiredActual account currency as a three-letter ISO code; verified natively before writes.
loginCustomerIdstringOptionalOptional MCC ID; defaults to the selected account's inferred manager.
testAccountOnlybooleanOptionalRequire customer.test_account=true before writing.
confirmbooleanOptionalApply only when true and expectedPlanHash matches the exact preview.
expectedPlanHashstringOptionalSHA-256 planHash from the preview of this exact request, required for application.
validateOnlybooleanOptionalAsk Google to validate without creating. Takes priority over confirm.
namestringRequiredUnique custom segment name in this customer.
descriptionstringOptionalOptional description of the segment.
typestringOptionalAUTO lets Google read the members as interests or intent; SEARCH matches people by what they searched on Google. One of: AUTO, SEARCH. Default: "AUTO".
keywordsarrayOptionalKeywords or phrases of the people to reach, at most 10 words each.
urlsarrayOptionalWeb pages whose content these people are interested in.
appsarrayOptionalAndroid package names of apps these people use.

Calling it

json · Through run_tool, since it is not announced
{
  "name": "run_tool",
  "arguments": {
    "name": "google_ads_create_custom_audience",
    "args": {
      "customerId": "<string>",
      "currency": "<string>",
      "name": "<string>"
    }
  }
}

Manage your ads from your AI assistant

Start for free

Free with 1 ad account, no card. Pro is free for 7 days.

Esc

Type to search