create_performance_max_campaign
Create a paused Performance Max campaign via two-phase preview and confirm, reusing existing assets for atomic creation.
Instructions
Create a Performance Max campaign, PAUSED. Two-phase: preview, confirm.
Without a token, this validates the whole request against the API (validate_only) and returns a preview plus a confirmation token — nothing is created. Call again with the token to create it for real.
Everything goes in one atomic mutate: budget, campaign, geo/language criteria, negatives, asset group, text assets, and reused image and extension assets. If anything fails, nothing is created.
Image and extension assets are REUSED by ID — this tool never uploads
images. Find existing asset IDs with gaql_query on the asset resource.
Args: customer_id: Account to create in. Must be allowlisted. campaign_name: Name of the new campaign. daily_budget: Daily budget in account currency. final_url: Landing page for the asset group. business_name: Advertiser name, max 25 characters. headlines: At least 3, each max 30 characters. long_headlines: At least 1, each max 90 characters. descriptions: At least 2, each max 90 characters. geo_target_ids: Geo target constant IDs. language_ids: Language constant IDs (1002 = French, 1000 = English). negative_keywords: Phrase-match exclusions, e.g. brand terms. marketing_image_asset_ids: Existing 1.91:1 image asset IDs. square_marketing_image_asset_ids: Existing 1:1 image asset IDs. logo_asset_ids: Existing logo asset IDs. sitelink_asset_ids: Existing sitelink asset IDs to link. callout_asset_ids: Existing callout asset IDs (max 20). bidding: maximize_conversions or maximize_conversion_value. target_cpa: Optional target CPA, account currency. target_roas: Optional target ROAS, e.g. 3.5. confirm_token: Token from the preview call. Omit for a preview.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"customer_id": "<customer_id>",
"campaign_name": "<campaign_name>",
"daily_budget": "<daily_budget>",
"final_url": "<final_url>",
"business_name": "<business_name>",
"headlines": "<headlines>",
"long_headlines": "<long_headlines>",
"descriptions": "<descriptions>"
},
"name": "create_performance_max_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bidding | No | maximize_conversions | |
| final_url | Yes | ||
| headlines | Yes | ||
| target_cpa | No | ||
| customer_id | Yes | ||
| target_roas | No | ||
| daily_budget | Yes | ||
| descriptions | Yes | ||
| language_ids | No | ||
| business_name | Yes | ||
| campaign_name | Yes | ||
| confirm_token | No | ||
| geo_target_ids | No | ||
| logo_asset_ids | No | ||
| long_headlines | Yes | ||
| callout_asset_ids | No | ||
| negative_keywords | No | ||
| sitelink_asset_ids | No | ||
| marketing_image_asset_ids | No | ||
| square_marketing_image_asset_ids | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |