# Performance Max

> Create and manage Google Ads and Microsoft Ads Performance Max campaigns, asset groups, media, URL options, signals, automation and brand guidelines.

Roasby supports creating and editing **Performance Max** campaigns on both **Google Ads** and **Microsoft Ads** through your AI assistant. Campaigns and new asset groups always start paused, and every edit goes through a preview before anything changes.

## Creating a Performance Max campaign

Your assistant builds a complete Performance Max campaign in one preview (`preview_create_pmax_campaign`, then `apply_change`):

- **Budget & bidding:** daily budget (within your account's **max daily budget**) plus **maximize conversions** (optional target CPA) or **maximize conversion value** (optional target ROAS), within your target guardrails.
- **Targeting:** whole countries, with optional excluded countries.
- **Automation settings (optional):** toggle **final URL expansion** and platform **auto-created assets** (text, images, and on Google Ads videos). Left unset, platform defaults (on) apply.
- **1 to 10 asset groups** (add more later, up to 100 per campaign), each with:
  - Landing page (`https://`), business name (up to 25 chars) and optional URL options.
  - 3–15 headlines (max 30 chars), 1–5 long headlines (max 90 chars) and 2–5 descriptions (max 90 chars).
  - At least 1 landscape (`1.91:1`) and 1 square (`1:1`) image — plus a logo (`1:1`) on Google Ads — from your account's library or direct image links.
  - Optional videos (YouTube links on Google Ads; direct video links on Microsoft Ads) and up to 50 search themes.

Google Ads creates the entire campaign atomically. On Microsoft Ads, the campaign is created before its asset groups; if a later step fails, the created campaign stays paused and is named with its ID in the [Change log](/docs/change-log).

## Managing asset groups

Your assistant inspects asset groups with `list_asset_groups` and edits one part at a time with `preview_update_asset_group` (plus `preview_add_asset_group` for new ones):

- **Add an asset group (`preview_add_asset_group`):** adds one paused asset group to an existing PMax campaign (up to 100 per campaign, unique name). On Google Ads campaigns with brand guidelines turned on, omit `business_name` because the campaign holds it.
- **Pause or enable (`preview_update_asset_group` with `status`):** toggles an asset group. Enabling inside a running campaign whose budget exceeds max daily budget is refused.
- **Texts (`headlines`, `long_headlines`, `descriptions`):** replaces each provided list cleanly — new texts are added and linked, removed texts are unlinked (keeping their assets in your library). The platform re-reviews new texts.
- **URL options:** set or clear display paths (`path1`, `path2`, max 15 chars each), `final_mobile_url`, `tracking_url_template`, `final_url_suffix` and up to 8 `custom_parameters` overriding campaign-level tracking.
- **Media:** replace any slot (`marketing_images`, `square_marketing_images`, `portrait_marketing_images`, `logos`, `landscape_logos`, `videos`). Minimums: 1 landscape + 1 square image (plus 1 logo on Google unless brand guidelines are on); maximums: 20 images, 5 logos, 5 videos.

### Images, videos and the media library

Ask your assistant to call `list_media` to browse images and videos already in your Google Ads or Microsoft Ads account, complete with dimensions, preview links and which slots each file fits:

| Slot | Aspect ratio | Platforms |
| --- | --- | --- |
| Landscape image (`marketing_image`) | 1.91:1 | Google, Microsoft |
| Square image (`square_marketing_image`) | 1:1 | Google, Microsoft |
| Portrait image (`portrait_marketing_image`) | 4:5 | Google only |
| Square logo (`logo`) | 1:1 | Google, Microsoft |
| Landscape logo (`landscape_logo`) | 4:1 | Google, Microsoft |
| Video (`video`) | — | Google (YouTube), Microsoft (video URL) |

- **Image links (`image_url`):** Roasby fetches the image at preview time, validates format/size (still JPEG, PNG, GIF or WebP, max 10 MB, matching the slot), strips metadata, compresses if needed for Microsoft Ads, and uploads only after you confirm.
- **Videos:** Google uses YouTube links or IDs; Microsoft downloads from an `https://` video file URL (only in accounts enabled for video assets — if Microsoft refuses videos, Roasby blocks new video attempts on that account for 7 days).
- Unlinked media always stays in your library, so reverting simply links the previous media back.

### Search themes and audience signals

Use `preview_update_asset_group_signals` (`action: add` or `remove`) to guide Performance Max without restricting reach:

- Up to **50 search themes** and **1 audience signal** per asset group (existing Google audiences or Microsoft audience groups from `list_audiences` / `list_asset_groups`).
- Reverting `add` removes only the signals that change added (if some already existed, the change is marked **Not fully reversible**).
- Reverting `remove` re-adds the removed signals as new items (**Not fully reversible**).

## Campaign settings and automation

Through `preview_update_campaign_settings`, your assistant can update a PMax campaign's countries, `excluded_countries`, `places` (regions, cities, radiuses), `location_option`, ad schedule (without bid adjustments), `final_url_suffix`, `tracking_url_template`, `final_url_expansion` and `auto_created_assets` (`text`, `images`, and `videos` on Google Ads).

> [!NOTE]
> On Google Ads, automatically created text must stay on while **final URL expansion** is on. Turn off final URL expansion first (or in the same edit) to disable auto-created text.

## Google Ads brand guidelines

Google Ads Performance Max campaigns can store their business name and logos at the campaign level under **brand guidelines**, along with brand colors (`main_color`, `accent_color`) and `font`:

- **Turn on brand guidelines (`preview_enable_brand_guidelines`):** enables brand guidelines using your business name and logos (or `auto_populate_brand_assets`) plus optional colors/font. Because Google cannot turn brand guidelines off once enabled, this is an **irreversible change** requiring **Allow changes that can't be reverted** and a second confirmation.
- **Edit colors & font:** once brand guidelines are on, update colors and font anytime with `preview_update_campaign_settings` (revertible).
- **Add campaign brand assets (`preview_add_brand_assets`):** adds a business name and logos to a **paused** Google PMax campaign with brand guidelines on. Google links them enabled and cannot pause them, so this is also an **irreversible change**.

## Ask your AI assistant

- `list_asset_groups` & `list_media` — inspect asset groups, texts, media, URL options, signals and library assets.
- `preview_create_pmax_campaign` & `preview_add_asset_group` — create a paused PMax campaign or add a paused asset group.
- `preview_update_asset_group` — edit an asset group's texts, media, URL options or status (one part per preview).
- `preview_update_asset_group_signals` — add or remove search themes and audience signals.
- `preview_update_campaign_settings` — edit locations, schedule, tracking, final URL expansion, auto-created assets and brand colors/font.
- `preview_enable_brand_guidelines` & `preview_add_brand_assets` — irreversible Google Ads brand guidelines actions.
- `preview_update_bidding` & `preview_update_conversion_goals` — update PMax bidding (maximize conversions or conversion value) and conversion goals.

Try asking:

- *"Create a paused Performance Max campaign for our trail shoes in the US at $40/day using our library hero images and logo."*
- *"Turn off final URL expansion and auto-created videos on my PMax Shoes campaign."*
- *"Add 'waterproof hiking boots' and 'trail running shoes' as search themes to the Trail asset group."*
- *"Set the Trail asset group's display path to /shoes/trail and replace its square logo with my newest library logo."*

## Limitations

- New PMax campaigns target whole countries only; add regions, cities or radiuses afterward via `preview_update_campaign_settings`.
- PMax does not support search partners, ad rotation, device bid adjustments or schedule bid adjustments.
- Existing asset group business names are edited in the ad platform; Microsoft Ads does not report asset group ad strength or support auto-created video settings.
- On Microsoft Ads, audience signals are added after creation, and portrait (`4:5`) images are Google Ads only.
- Google's auto-created texts are not listed or edited in Roasby.

See every limit by platform on [Limitations](/docs/limitations).
