create_pmax_campaign
Create a paused Performance Max campaign with its first asset group, requiring target CPA and pre-uploaded images for Microsoft Ads management.
Instructions
Draft a Performance Max campaign + first asset group — created PAUSED. time_zone defaults to EasternTimeUSCanada (US-centric default) — override for other markets. target_cpa is required by default (require_pmax_target_cpa setting, default true) — never create PMax without a target; removing one later explodes impressions (hard rule observed on the owner's Google Ads account). Set require_pmax_target_cpa false in advertiser settings to allow a no-target MaxConversions campaign instead. Images are REQUIRED (upload via upload_image_asset first). Each image_media_ids entry must already be in the account media library with MediaType Image1x1 or Image191x100; GenericImage, Image4x1, unknown types, and absent ids raise. Aborts the asset-group add if the campaign add fails. Returns a draft; apply with confirm_and_apply.
Live-verified 2026-07-30 — with an explicit target_cpa: campaign + asset group created and read back with both images carrying the correct per-image SubType; ImageAsset.Id = media id write-proven. NOT live-verified — the require_pmax_target_cpa=false / no-target_cpa path: only exercised against fakes, never run against the live API through this tool. NOT live-verified with non-default time_zone values.
On a mid-apply failure (asset group add raises after the campaign landed) the error carries every landed ID (campaign_ids) — reconcile account state before retrying (a retry re-runs ALL steps, including re-creating the campaign).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| final_url | Yes | ||
| headlines | Yes | ||
| time_zone | No | EasternTimeUSCanada | |
| target_cpa | No | ||
| daily_budget | Yes | ||
| descriptions | Yes | ||
| business_name | Yes | ||
| long_headlines | Yes | ||
| image_media_ids | Yes |