Update to ChatGPT Ads Manager
Snapshot Dec 1, 2026 · 00:13 UTC · version 0.1.42
Collection source: downloaded plugin package.
Instructions updated for ads-manager-entity-management
Skill instructions — Now says: [product-feed-contract.md](references/_shared/product-feed-contract.md#operational-rules). If feed setup is needed, hand off to `$ads-manager-feed-setup`...
Observed in instructions or declared skills. Runtime behavior has not been tested.
Up to 3 plugins free · no card required.
All fields and original values.
Skill instructions
Nov 25, 2026 · 00:12 UTC
[product-feed-contract.md](references/_shared/product-feed-contract.md#operational-rules).
Dec 1, 2026 · 00:13 UTC
[product-feed-contract.md](references/_shared/product-feed-contract.md#operational-rules). If feed setup is needed, hand off to `$ads-manager-feed-setup` with the account and pending proposal, then resume here with the verified feed ID a...
Supporting files
Nov 25, 2026 · 00:12 UTC
[{"relative_path":"agents/openai.yaml","size_in_bytes":276},{"relative_path":"references/_shared/ads-structure-and-context-playbook.md","size_in_bytes":5598},{"relative_path":"references/_shared/auction-readiness-playbook.md","size_in_by...
Dec 1, 2026 · 00:13 UTC
[{"relative_path":"agents/openai.yaml","size_in_bytes":276},{"relative_path":"references/_shared/ads-structure-and-context-playbook.md","size_in_bytes":5598},{"relative_path":"references/_shared/auction-readiness-playbook.md","size_in_by...
Compare saved observations
Download comparison JSONSKILL.md text changes
− removed · + added
--- before +++ after @@ -83,7 +83,7 @@ For a Reach parent, confirm the Max CPM in account currency per 1,000 impressions. Use `strategy: fixed_bid`, `billing_event_type: impression`, and `max_cpm`. - For explicitly requested URL tracking parameters on a new campaign or ad group, use `body.landing_page_configuration` on the matching `create_campaign` or `create_ad_group` tool, following the live field guidance. -- For a product-feed campaign create, use only a confirmed account-linked feed selected under the Operational Rules section of [product-feed-contract.md](references/_shared/product-feed-contract.md#operational-rules). +- For a product-feed campaign create, use only a confirmed account-linked feed selected under the Operational Rules section of [product-feed-contract.md](references/_shared/product-feed-contract.md#operational-rules). If feed setup is needed, hand off to `$ads-manager-feed-setup` with the account and pending proposal, then resume here with the verified feed ID and confirm the final payload. - For a product-feed ad-group create, reuse only the verified parent campaign feed and keep any product set consistent with it. - Before proposing a requested product-set create or filter change, query the exact proposed filters on that feed. Show the returned matched count and bounded examples; if the set is empty, ask for revised filters before a write. - For a standard campaign or ad group, do not send product-feed-only fields.
Full technical diff · 2 changed fields
changed /included_files
[
{
"relative_path": "agents/openai.yaml",
"size_in_bytes": 276
},
{
"relative_path": "references/_shared/ads-structure-and-context-playbook.md",
"size_in_bytes": 5598
},
{
"relative_path": "references/_shared/auction-readiness-playbook.md",
"size_in_bytes": 2646
},
{
"relative_path": "references/_shared/audiences.md",
"size_in_bytes": 3233
},
{
"relative_path": "references/_shared/campaign-create-preflight.md",
"size_in_bytes": 8392
},
{
"relative_path": "references/_shared/image-asset-contract.md",
"size_in_bytes": 15437
},
{
"relative_path": "references/_shared/measurement-readiness-playbook.md",
"size_in_bytes": 2134
},
{
"relative_path": "references/_shared/product-feed-contract.md",
"size_in_bytes": 8401
},
{
"relative_path": "references/_shared/write-safety.md",
"size_in_bytes": 3437
}
][
{
"relative_path": "agents/openai.yaml",
"size_in_bytes": 276
},
{
"relative_path": "references/_shared/ads-structure-and-context-playbook.md",
"size_in_bytes": 5598
},
{
"relative_path": "references/_shared/auction-readiness-playbook.md",
"size_in_bytes": 2646
},
{
"relative_path": "references/_shared/audiences.md",
"size_in_bytes": 3233
},
{
"relative_path": "references/_shared/campaign-create-preflight.md",
"size_in_bytes": 8392
},
{
"relative_path": "references/_shared/image-asset-contract.md",
"size_in_bytes": 15437
},
{
"relative_path": "references/_shared/measurement-readiness-playbook.md",
"size_in_bytes": 2134
},
{
"relative_path": "references/_shared/product-feed-contract.md",
"size_in_bytes": 8752
},
{
"relative_path": "references/_shared/write-safety.md",
"size_in_bytes": 3437
}
]changed /skill_md_contents
"---\nname: ads-manager-entity-management\ndescription: \"Create or update Ads Manager campaigns and ad groups and update existing ads through a minimal-diff, confirmed, read-back-verified workflow. Use for explicit campaign-only or ad-group-only creation without new ads, or changes to existing entities, including bulk ad-group bid edits. Do not interpret a vague “create a campaign” request as campaign-only work. Do not use for new-ad creation, account onboarding, account administration, reporting, or delivery diagnosis.\"\nallowed-tools:\n - list_ad_accounts\n - list_custom_audiences\n - get_custom_audience\n - get_ads_manager_route_link\n - list_product_feeds\n - query_product_feed_products\n - search_geo_locations\n - list_conversion_event_settings\n - list_campaigns\n - get_campaign\n - show_campaign_delivery\n - create_campaign\n - update_campaign\n - list_ad_groups\n - get_ad_group\n - list_conversion_event_settings\n - create_ad_group\n - update_ad_group\n - list_ads\n - get_ad\n - preview_ad\n - preview_ad_collection\n - preview_existing_ad\n - preview_existing_ad_collection\n - update_ad\n - upload_image\n - upload_image_file\n---\n\n# Ads Manager Entity Management\n\nCoordinate direct campaign and ad-group creation and edits to existing entities. Keep factual list, get, preview, reporting, and readiness requests outside this mutation workflow. A request whose outcome is a new ad belongs to `$ads-manager-ad-creation`, even when it also needs parent campaign or ad-group creation.\n\nAccount-wide daily or date-range spending limits belong to `$ads-manager-account-admin`; campaign budget changes remain here. Resolve the scope before acting when a budget request could mean either.\n\n## Main Workflow\n\nTreat entity management as one confirmed state-transition workflow:\n\n1. Classify the request as direct campaign/ad-group creation, an existing-entity update, a status-only change, or an explicitly scoped multi-entity change. If the user is asking which entity should change, why delivery is blocked, or what would improve performance, route that diagnostic or recommendation work first rather than selecting a mutation target here.\n2. Resolve exactly one account, then the requested audience or hierarchy: campaign, ad group, then ad. Use list tools for discovery, name resolution, ambiguity, and pagination; use the matching get tool after an exact target is known or use the scoped list reads described under Bulk ad-group bid edits. Ask the user to choose by visible names only when live results leave real ambiguity, and keep every later call scoped to the selected account.\n3. Before planning past the active branch, read and follow every linked reference whose condition matches that branch. When multiple conditions match, load all of them before acting; do not load unrelated references merely because they exist.\n4. Read the current target and every parent needed to interpret the requested change immediately before proposing it. Do not infer campaign mode, bidding type, product-feed ownership, creative type, currency, current status, or current nested settings from names, sibling entities, earlier conversation, or performance ranking.\n5. Build the smallest safe plan that satisfies the request, show the exact user-visible proposal, and obtain explicit confirmation immediately before the first consequential write.\n6. Execute only the approved ordered writes. Preserve successful returned resource and file ids privately, stop dependent work after a failed or ambiguous parent or upload, and never turn a partial failure into permission for a broader write.\n7. Read changed entities back and report only proven outcomes. Reconcile ambiguous results with fresh reads before considering any retry, and follow the shared safety contract for corrected payloads or partial outcomes.\n\n- Before planning confirmation, writing, retrying, or reconciling any direct create or update, read and follow [write-safety.md](references/_shared/write-safety.md).\n- For saved-audience targeting and bid adjustments, or web handoffs for audience creation or changes, read and follow [audiences.md](references/_shared/audiences.md).\n- Before proposing, confirming, or creating a campaign or ad group, or drafting or reviewing changes to context hints, ad copy, or landing-page alignment, read and follow [ads-structure-and-context-playbook.md](references/_shared/ads-structure-and-context-playbook.md). A status-only or name-only update does not trigger this playbook.\n- Before proposing or confirming a campaign objective, budget period, timing, or ad-group bidding strategy, read and follow [auction-readiness-playbook.md](references/_shared/auction-readiness-playbook.md).\n- Before proposing, confirming, or creating a conversions campaign, or assessing measurement readiness for a requested change, read and follow [measurement-readiness-playbook.md](references/_shared/measurement-readiness-playbook.md).\n- Before proposing, confirming, or creating any new campaign, read and follow the text-customization branch and every other matching section of [campaign-create-preflight.md](references/_shared/campaign-create-preflight.md), including its conditions for reusing or refreshing results through confirmation and create.\n- When deciding whether product-feed mode fits a requested create, planning product sets or filter changes, or assessing feed-ad launch quality, read and follow the Planning Guidance section of [product-feed-contract.md](references/_shared/product-feed-contract.md#planning-guidance). A status-only or name-only update does not trigger this section.\n- Before discovering feeds, planning, creating, or updating any product-feed campaign or ad group, read and follow the Operational Rules section of [product-feed-contract.md](references/_shared/product-feed-contract.md#operational-rules).\n- Before selecting, generating, validating, uploading, applying, retrying, or reconciling an existing-ad image replacement, read and follow both the [shared image asset contract](references/_shared/image-asset-contract.md), using `ad-creative` for a single-image ad or `multi-image-ad-creative` for a multi-image ad, and [write-safety.md](references/_shared/write-safety.md).\n\n### 1. Resolve scope and the exact target set\n\nFor a single target, resolve its account and parent hierarchy before proposing any change. For an explicitly requested multi-entity change, enumerate every exact target from live reads, follow required pagination, and show the complete target set before confirmation. Never silently include similarly named entities, later pages, inferred siblings, or a performance-ranked target the user did not explicitly approve.\n\n- If a request only asks to list, inspect, open, or preview entities, answer connector-native and stop; a read does not authorize a later write.\n- If no accessible account exists, explain that the requested entity change needs an account and offer Onboarding; do not invoke `$ads-manager-onboarding` or create anything unless the user explicitly requests setup.\n- Route standalone campaign planning, product-feed suitability questions, and reviews of supplied context hints to `$ads-manager-help`. Keep account health reviews, rankings, and blocked-delivery diagnosis with Review or Delivery Recovery. Return here only for an explicit create or update; keep drafting and review of that requested change in this workflow.\n- If the user asks to create a new ad, including while also asking for a campaign or ad group, keep the end-to-end flow in `$ads-manager-ad-creation`. This skill may create only a directly requested campaign or ad group and must not create an ad.\n\n### 2. Plan a direct campaign or ad-group creation\n\nFor a direct campaign create, resolve the selected account and its currency. Follow text customization and the other applicable checks in [campaign-create-preflight.md](references/_shared/campaign-create-preflight.md). Propose the smallest schema-valid payload: required fields, the resolved text-customization state and preference, and only other optional fields the user selected or the campaign mode requires. For a standard campaign, omit `mode` and `product_feed_id`. Omit targeting and conversion settings unless approved, and never send unrequested optional fields as `null`, empty arrays, or empty objects.\n\nOnly look up locations or discuss geographic options when the user requests geographic targeting or exclusions, or when the saved-audience geography check in [audiences.md](references/_shared/audiences.md) requires it. Obtain approval for any geographic change. If no targeting is approved, use Ads Manager's default targeting and omit `targeting`.\n\nShow the proposed name, status, budget type and amount, resolved currency when available, objective or bidding type, resolved text-customization state with the enabled disclosure when applicable, and any timing, targeting, or product-feed selection. Prefer paused unless the user explicitly requests active. Explain the objective's CPC-versus-CPM consequence using the live action guidance. If the user asked only for a campaign, create only that campaign and explain that an ad group and then an ad are required later.\n\nFor a direct ad-group create, resolve and read the exact parent campaign first. Propose the smallest schema-valid ad-group payload: required fields plus only optional fields the user selected or the verified parent campaign requires. Omit `description`, `context_hints`, and `product_set` unless they are part of the approved create. Never send absent optional fields as `null`, empty arrays, or empty objects. Show the name, status, bid strategy, billing event, and product set only when applicable. For Target CPC or Target CPA, show the exact average cost target and resolved currency. Match the billing event to the verified parent campaign's `billing_event_type`, including impression billing for oCPM; use its legacy bidding type only when that field is absent. Never infer a product feed from sibling ad groups. Use the fresh parent data for the tool-owned daily-budget preflight and strategy eligibility checks. Use `list_conversion_event_settings` when needed; fetch or ask instead of guessing or silently changing the strategy. For an approved maximize strategy, omit target and manual bid fields and supply the required stable idempotency key. For native target bidding, supply the approved integer target amount and use a stable idempotency key. If the strategy is unavailable, explain the limitation and stop the write. If the request also includes creating a new ad, route the whole outcome to `$ads-manager-ad-creation` instead of creating parents here and handing off mid-write.\n\nWhen the user has no bidding preference, recommend automatic bidding for an eligible daily-budget clicks or conversions parent. Label the recommendation `Maximize Clicks` or `Maximize Conversions` to match the parent objective. Maximize Clicks uses click billing; Maximize Conversions preserves the parent's click (oCPC) or impression (oCPM) billing. Confirm the strategy before creation. Do not change the existing campaign's objective, billing event, budget period, or conversion goal to make automatic bidding eligible; explain any conflict and ask the user to choose.\n\nFor a Reach parent, confirm the Max CPM in account currency per 1,000 impressions. Use `strategy: fixed_bid`, `billing_event_type: impression`, and `max_cpm`.\n\n- For explicitly requested URL tracking parameters on a new campaign or ad group, use `body.landing_page_configuration` on the matching `create_campaign` or `create_ad_group` tool, following the live field guidance.\n- For a product-feed campaign create, use only a confirmed account-linked feed selected under the Operational Rules section of [product-feed-contract.md](references/_shared/product-feed-contract.md#operational-rules).\n- For a product-feed ad-group create, reuse only the verified parent campaign feed and keep any product set consistent with it.\n- Before proposing a requested product-set create or filter change, query the exact proposed filters on that feed. Show the returned matched count and bounded examples; if the set is empty, ask for revised filters before a write.\n- For a standard campaign or ad group, do not send product-feed-only fields.\n\n### 3. Plan an existing-entity update as a minimal safe diff\n\nAfter a confirmed delivery-related fix and read-back, use `show_campaign_delivery`\nwith `request.view=\"detail\"` for that account and campaign when available. Do not\nclaim a successful write proves delivery resumed. During proposal/confirmation,\nfocus on the proposed change instead of repeating the widget.\n\nFor every update, read the current entity immediately before planning, compare the user's requested end state with that live state, and send only fields needed for the requested change. If the requested state already exists, report a no-op instead of writing. A status-only request should send only the requested status; never infer active status or combine it with unrelated cleanup.\n\nTreat every supplied nested object or list as potentially replacement-shaped unless the live action explicitly proves field-level patching. For a platform-only campaign update, send only `targeting: {platforms: ...}` so geo and audience siblings remain unchanged; omit `platforms` to preserve an existing restriction, and use `platforms: null` only to remove it after approval. When any other requested change requires sending budget, targeting, conversion settings, bidding configuration, product set, or creative, preserve every unrequested sibling value from the live entity in the proposed end state, or omit that entire structure. Never use “minimal diff” as permission to erase unmentioned filters, targeting, bidding fields, creative fields, or destination data.\n\n- Campaign updates may change only the requested campaign fields. For spend-capable changes, show the exact amount, resolved currency when available, budget type, status, and any timing or targeting consequence before confirmation.\n- For a requested campaign text-customization change, send the approved `enable_dynamic_creative` boolean; omit it on other updates to preserve the existing setting. Let the tool enforce availability and record the preference. Keep this separate from account creative-optimization settings.\n- For URL tracking parameter changes at the campaign, ad-group, or ad level, use `body.landing_page_configuration` on the matching `update_campaign`, `update_ad_group`, or `update_ad` tool, following the live field guidance.\n- For geographic targeting updates, read and follow the Geo targeting section of [campaign-create-preflight.md](references/_shared/campaign-create-preflight.md) for intent, query construction, refinement, and result reuse. Resolve only places needed for the requested change and reuse suitable matches across approved targets in the same account and relevant targeting context. If saved audiences remain, also check the new geography under [audiences.md](references/_shared/audiences.md). Preserve existing targeting that the user did not ask to change; it does not need fresh name resolution. The create-default rule does not apply to updates.\n- Ad-group updates must preserve the existing product set unless the user explicitly asked to change it. When changing bidding or product-set fields, read the parent campaign first so the proposal respects its bidding type and verified feed.\n- For native Target CPC or Target CPA, follow the live tool's target-bidding guidance. Reads return `target_strategy`; writes use `strategy` with integer `target_micros`. Preserve the current target and billing unless a change was requested, and omit the entire bidding configuration for unrelated edits. Confirm the exact average target in account currency; do not substitute a manual bid or maximize strategy. A switch from fixed bidding removes its maximum bid and audience multipliers, so include those removals in the approved proposal.\n- For Clicks and Conversions, including impression-billed Conversions, verify that the group uses fixed bidding, AutoBid, Target CPC, or Target CPA. Follow the live tool's guidance for older fixed-bid reads that omit `strategy` and native target bids reported in `target_strategy`. Confirm the exact maximum in account currency and include the strategy change in the approval when switching to Manual Max Bid. Send `strategy: fixed_bid`, the saved billing event, and the approved `max_bid_micros` using the live tool's unit guidance. For Reach, confirm and send `max_cpm` with fixed bidding and impression billing. Omit audience multipliers so Sofa preserves them. Omit `bidding_config` for unrelated edits.\n- Existing-ad updates must preserve every unrequested ad and creative field. When sending `creative` for a `chat_card`, include its complete `type`, `title`, `body`, `target_url`, and image token(s), even for a copy-only or destination-only edit. Reuse unchanged values from the current same-account read: singular `file_id` for one image, or the complete ordered `file_ids` list for multiple images. Do not upload unchanged images. Name/status-only edits can omit `creative`. Never send read-only `creative.images` back as a write. A requested edit is not permission to create a replacement ad or silently rewrite unrelated fields.\n\n#### Bulk ad-group bid edits\n\nTreat an explicitly scoped request for many ad groups as one proposal and one approval. Bids are saved on ad groups. When the user scopes the edit by campaign, use that campaign to select the requested groups and confirm the group-level effect.\n\n1. Page through `list_ad_groups` for the requested scope, using the returned `last_id` verbatim as `after` when `has_more` is true. Fresh list rows can supply current bid, billing, status, parent, and identity. Use `get_ad_group` when a row is incomplete or needs reconciliation. Read each distinct parent campaign once before proposing the edits and verify each distinct conversion goal needed for Target CPA. Match the complete set by verified IDs and resolve any discrepancy with the requested count before proposing the write.\n2. Show a table of the complete resolved set with campaign, ad group, status, current bid, and proposed bid. Express monetary amounts in the account currency and identify the unit for each bid. Identify rows that already match the requested end state and rows that cannot take the requested edit. Explain any proposed strategy switch and its effect on legacy bid settings. Ask for approval of the exact writable rows together. Keep their verified IDs and absolute bid amounts for execution. Convert each requested percentage change from that row's confirmed starting value to an absolute amount before approval.\n3. If the user explicitly approves a subset of the proposed rows at the reviewed amounts, apply that subset. After approval, refresh the scoped rows and keep the approved set fixed. Skip rows whose strategy, amount, and billing already match the approved end state. If a row's bid, billing, or eligibility changed since the proposal, leave it pending and explain it. Use `update_ad_group` for each remaining approved row, with only the approved `bidding_config`. Keep each result with its row. Use bounded groups of calls where the host supports them and verify each group before proceeding. The same approval covers the full set. Stop on account-wide access failures or inconsistent read-back across multiple rows.\n4. Verify the saved maximum or target, strategy, and billing from fresh scoped `list_ad_groups` pages. Use `get_ad_group` for missing or contradictory rows. If a successful write is followed by a conflicting read, record the row as unverified and retain the successful response for reconciliation. Never retry an acknowledged write based only on a conflicting read. Report counts and row-level outcomes for verified changes, no-ops, failures, and unattempted or unverified rows. When the host interrupts a turn, preserve the remaining set so the next turn can refresh it without replaying acknowledged writes.\n\nFor Target CPC or Target CPA edits, Ads Manager **Bulk uploads → Create or edit by type → Ad groups** can accept a single upload when the account supports the requested strategy. Use `get_ads_manager_route_link` for the selected account's ad groups. If asked for a target-edit CSV, use only confirmed remaining rows with verified `ad_group_id`, `bidding_strategy`, and the applicable `target_cpc` or `target_cpa` amount in account-currency units. Keep `max_bid` blank and use the Ads Manager preview to confirm eligibility and row counts before submission.\n\n### 4. Handle an existing-ad creative image replacement\n\nFor an existing `chat_card` image replacement, accept only a user-supplied or explicitly approved candidate: a direct public image URL, provided attachment, accessible existing image, or generated standalone creative after the user explicitly chooses generation. Never pass a webpage URL or raw local path to an upload action, never generate an ad-placement mockup, and never treat a selected or generated image as uploaded.\n\n1. Read and follow the linked image and write-safety references before image choice, generation, validation, upload, or retry.\n2. For a saved multi-image ad, retain the complete ordered `creative.images` set from the current read and apply only the requested replacement, addition, removal, or reorder. Keep 4–6 square images with distinct file tokens; visual content may repeat. Resolve missing retained file tokens instead of dropping images. Changing a single-image ad to multi-image requires a separately approved new-ad creation through Ad Creation.\n3. When the matching draft preview tool is available, preview the complete proposed end state with `preview_ad` before confirmation, or `preview_ad_collection` for several targets. Otherwise show the exact selected images and copy in chat and say the widget preview is unavailable. Include retained images and new candidates in order, preserving unrequested copy, destination, and status. Use host-managed files for attachments/generated images; do not upload solely to preview.\n4. After approval, upload each new candidate position once and retain every successful token. Reuse the retained same-account tokens without uploading again; keep tokens distinct within the ad. A reorder needs no uploads. For a multi-image replacement, send the complete approved ordered `creative.file_ids` array and omit singular `file_id`, `image_crop`, and `price`. For a single-image replacement, use `creative.file_id`. Stop dependent updates if an image upload fails or is ambiguous, and reconcile before a retry.\n5. Do not upload or attach custom imagery for a product-ad template whose feed supplies imagery.\n6. Read back the saved image set and order, compare it with the approved end state, and report returned review/serving state without claiming an edit is already serving. After updates are verified, use `preview_existing_ad` for one requested live result or `preview_existing_ad_collection` once for 2 to 50 requested live results in one account; if the collection tool is unavailable, call `preview_existing_ad` for each requested result when available. Do not create another ad or use a new-ad preview as proof of the update.\n\n### 5. Confirm, write, verify, and report\n\nThe confirmation must identify the selected account, exact target or complete multi-target set, current values that will change, proposed values, any URL tracking parameters and their level, monetary authority when present, status, and ordered writes. Use plain language rather than raw tool names, request fields, internal ids, or connector JSON.\n\n- For dependent creates such as an explicitly requested campaign followed by an ad group, create the parent first, require a proven returned id, reuse it for the child, and stop if the parent fails or is ambiguous.\n- For updates, read the target back and compare the requested changed fields with the confirmed end state. Do not claim success from an empty, missing, or ambiguous response.\n- For an ambiguous update or unkeyed upload, reconcile current state before any retry and never blindly repeat the write. For an ambiguous create, use only the retry behavior permitted by [write-safety.md](references/_shared/write-safety.md).\n- For a multi-target request, report each target independently as succeeded, failed, or not attempted. Preserve successful results and do not repeat them while repairing another target.\n- Use returned entity deep links when available, and report only connector-proven state.\n\n## Scope And Tool-Owned Rules\n\nUse only fields, enum values, validation, permissions, response fields, numeric constraints, and backend errors exposed by the live actions. Do not restate or override tool schemas, budget or bid formulas, ID validation, URL validation, product-filter operators, or backend behavior in this skill. Never broaden a requested diff, infer spend authority, infer active status, choose a mutation target from performance, create a new ad, or turn a direct entity edit into reporting, diagnosis, or recommendation work.\n""---\nname: ads-manager-entity-management\ndescription: \"Create or update Ads Manager campaigns and ad groups and update existing ads through a minimal-diff, confirmed, read-back-verified workflow. Use for explicit campaign-only or ad-group-only creation without new ads, or changes to existing entities, including bulk ad-group bid edits. Do not interpret a vague “create a campaign” request as campaign-only work. Do not use for new-ad creation, account onboarding, account administration, reporting, or delivery diagnosis.\"\nallowed-tools:\n - list_ad_accounts\n - list_custom_audiences\n - get_custom_audience\n - get_ads_manager_route_link\n - list_product_feeds\n - query_product_feed_products\n - search_geo_locations\n - list_conversion_event_settings\n - list_campaigns\n - get_campaign\n - show_campaign_delivery\n - create_campaign\n - update_campaign\n - list_ad_groups\n - get_ad_group\n - list_conversion_event_settings\n - create_ad_group\n - update_ad_group\n - list_ads\n - get_ad\n - preview_ad\n - preview_ad_collection\n - preview_existing_ad\n - preview_existing_ad_collection\n - update_ad\n - upload_image\n - upload_image_file\n---\n\n# Ads Manager Entity Management\n\nCoordinate direct campaign and ad-group creation and edits to existing entities. Keep factual list, get, preview, reporting, and readiness requests outside this mutation workflow. A request whose outcome is a new ad belongs to `$ads-manager-ad-creation`, even when it also needs parent campaign or ad-group creation.\n\nAccount-wide daily or date-range spending limits belong to `$ads-manager-account-admin`; campaign budget changes remain here. Resolve the scope before acting when a budget request could mean either.\n\n## Main Workflow\n\nTreat entity management as one confirmed state-transition workflow:\n\n1. Classify the request as direct campaign/ad-group creation, an existing-entity update, a status-only change, or an explicitly scoped multi-entity change. If the user is asking which entity should change, why delivery is blocked, or what would improve performance, route that diagnostic or recommendation work first rather than selecting a mutation target here.\n2. Resolve exactly one account, then the requested audience or hierarchy: campaign, ad group, then ad. Use list tools for discovery, name resolution, ambiguity, and pagination; use the matching get tool after an exact target is known or use the scoped list reads described under Bulk ad-group bid edits. Ask the user to choose by visible names only when live results leave real ambiguity, and keep every later call scoped to the selected account.\n3. Before planning past the active branch, read and follow every linked reference whose condition matches that branch. When multiple conditions match, load all of them before acting; do not load unrelated references merely because they exist.\n4. Read the current target and every parent needed to interpret the requested change immediately before proposing it. Do not infer campaign mode, bidding type, product-feed ownership, creative type, currency, current status, or current nested settings from names, sibling entities, earlier conversation, or performance ranking.\n5. Build the smallest safe plan that satisfies the request, show the exact user-visible proposal, and obtain explicit confirmation immediately before the first consequential write.\n6. Execute only the approved ordered writes. Preserve successful returned resource and file ids privately, stop dependent work after a failed or ambiguous parent or upload, and never turn a partial failure into permission for a broader write.\n7. Read changed entities back and report only proven outcomes. Reconcile ambiguous results with fresh reads before considering any retry, and follow the shared safety contract for corrected payloads or partial outcomes.\n\n- Before planning confirmation, writing, retrying, or reconciling any direct create or update, read and follow [write-safety.md](references/_shared/write-safety.md).\n- For saved-audience targeting and bid adjustments, or web handoffs for audience creation or changes, read and follow [audiences.md](references/_shared/audiences.md).\n- Before proposing, confirming, or creating a campaign or ad group, or drafting or reviewing changes to context hints, ad copy, or landing-page alignment, read and follow [ads-structure-and-context-playbook.md](references/_shared/ads-structure-and-context-playbook.md). A status-only or name-only update does not trigger this playbook.\n- Before proposing or confirming a campaign objective, budget period, timing, or ad-group bidding strategy, read and follow [auction-readiness-playbook.md](references/_shared/auction-readiness-playbook.md).\n- Before proposing, confirming, or creating a conversions campaign, or assessing measurement readiness for a requested change, read and follow [measurement-readiness-playbook.md](references/_shared/measurement-readiness-playbook.md).\n- Before proposing, confirming, or creating any new campaign, read and follow the text-customization branch and every other matching section of [campaign-create-preflight.md](references/_shared/campaign-create-preflight.md), including its conditions for reusing or refreshing results through confirmation and create.\n- When deciding whether product-feed mode fits a requested create, planning product sets or filter changes, or assessing feed-ad launch quality, read and follow the Planning Guidance section of [product-feed-contract.md](references/_shared/product-feed-contract.md#planning-guidance). A status-only or name-only update does not trigger this section.\n- Before discovering feeds, planning, creating, or updating any product-feed campaign or ad group, read and follow the Operational Rules section of [product-feed-contract.md](references/_shared/product-feed-contract.md#operational-rules).\n- Before selecting, generating, validating, uploading, applying, retrying, or reconciling an existing-ad image replacement, read and follow both the [shared image asset contract](references/_shared/image-asset-contract.md), using `ad-creative` for a single-image ad or `multi-image-ad-creative` for a multi-image ad, and [write-safety.md](references/_shared/write-safety.md).\n\n### 1. Resolve scope and the exact target set\n\nFor a single target, resolve its account and parent hierarchy before proposing any change. For an explicitly requested multi-entity change, enumerate every exact target from live reads, follow required pagination, and show the complete target set before confirmation. Never silently include similarly named entities, later pages, inferred siblings, or a performance-ranked target the user did not explicitly approve.\n\n- If a request only asks to list, inspect, open, or preview entities, answer connector-native and stop; a read does not authorize a later write.\n- If no accessible account exists, explain that the requested entity change needs an account and offer Onboarding; do not invoke `$ads-manager-onboarding` or create anything unless the user explicitly requests setup.\n- Route standalone campaign planning, product-feed suitability questions, and reviews of supplied context hints to `$ads-manager-help`. Keep account health reviews, rankings, and blocked-delivery diagnosis with Review or Delivery Recovery. Return here only for an explicit create or update; keep drafting and review of that requested change in this workflow.\n- If the user asks to create a new ad, including while also asking for a campaign or ad group, keep the end-to-end flow in `$ads-manager-ad-creation`. This skill may create only a directly requested campaign or ad group and must not create an ad.\n\n### 2. Plan a direct campaign or ad-group creation\n\nFor a direct campaign create, resolve the selected account and its currency. Follow text customization and the other applicable checks in [campaign-create-preflight.md](references/_shared/campaign-create-preflight.md). Propose the smallest schema-valid payload: required fields, the resolved text-customization state and preference, and only other optional fields the user selected or the campaign mode requires. For a standard campaign, omit `mode` and `product_feed_id`. Omit targeting and conversion settings unless approved, and never send unrequested optional fields as `null`, empty arrays, or empty objects.\n\nOnly look up locations or discuss geographic options when the user requests geographic targeting or exclusions, or when the saved-audience geography check in [audiences.md](references/_shared/audiences.md) requires it. Obtain approval for any geographic change. If no targeting is approved, use Ads Manager's default targeting and omit `targeting`.\n\nShow the proposed name, status, budget type and amount, resolved currency when available, objective or bidding type, resolved text-customization state with the enabled disclosure when applicable, and any timing, targeting, or product-feed selection. Prefer paused unless the user explicitly requests active. Explain the objective's CPC-versus-CPM consequence using the live action guidance. If the user asked only for a campaign, create only that campaign and explain that an ad group and then an ad are required later.\n\nFor a direct ad-group create, resolve and read the exact parent campaign first. Propose the smallest schema-valid ad-group payload: required fields plus only optional fields the user selected or the verified parent campaign requires. Omit `description`, `context_hints`, and `product_set` unless they are part of the approved create. Never send absent optional fields as `null`, empty arrays, or empty objects. Show the name, status, bid strategy, billing event, and product set only when applicable. For Target CPC or Target CPA, show the exact average cost target and resolved currency. Match the billing event to the verified parent campaign's `billing_event_type`, including impression billing for oCPM; use its legacy bidding type only when that field is absent. Never infer a product feed from sibling ad groups. Use the fresh parent data for the tool-owned daily-budget preflight and strategy eligibility checks. Use `list_conversion_event_settings` when needed; fetch or ask instead of guessing or silently changing the strategy. For an approved maximize strategy, omit target and manual bid fields and supply the required stable idempotency key. For native target bidding, supply the approved integer target amount and use a stable idempotency key. If the strategy is unavailable, explain the limitation and stop the write. If the request also includes creating a new ad, route the whole outcome to `$ads-manager-ad-creation` instead of creating parents here and handing off mid-write.\n\nWhen the user has no bidding preference, recommend automatic bidding for an eligible daily-budget clicks or conversions parent. Label the recommendation `Maximize Clicks` or `Maximize Conversions` to match the parent objective. Maximize Clicks uses click billing; Maximize Conversions preserves the parent's click (oCPC) or impression (oCPM) billing. Confirm the strategy before creation. Do not change the existing campaign's objective, billing event, budget period, or conversion goal to make automatic bidding eligible; explain any conflict and ask the user to choose.\n\nFor a Reach parent, confirm the Max CPM in account currency per 1,000 impressions. Use `strategy: fixed_bid`, `billing_event_type: impression`, and `max_cpm`.\n\n- For explicitly requested URL tracking parameters on a new campaign or ad group, use `body.landing_page_configuration` on the matching `create_campaign` or `create_ad_group` tool, following the live field guidance.\n- For a product-feed campaign create, use only a confirmed account-linked feed selected under the Operational Rules section of [product-feed-contract.md](references/_shared/product-feed-contract.md#operational-rules). If feed setup is needed, hand off to `$ads-manager-feed-setup` with the account and pending proposal, then resume here with the verified feed ID and confirm the final payload.\n- For a product-feed ad-group create, reuse only the verified parent campaign feed and keep any product set consistent with it.\n- Before proposing a requested product-set create or filter change, query the exact proposed filters on that feed. Show the returned matched count and bounded examples; if the set is empty, ask for revised filters before a write.\n- For a standard campaign or ad group, do not send product-feed-only fields.\n\n### 3. Plan an existing-entity update as a minimal safe diff\n\nAfter a confirmed delivery-related fix and read-back, use `show_campaign_delivery`\nwith `request.view=\"detail\"` for that account and campaign when available. Do not\nclaim a successful write proves delivery resumed. During proposal/confirmation,\nfocus on the proposed change instead of repeating the widget.\n\nFor every update, read the current entity immediately before planning, compare the user's requested end state with that live state, and send only fields needed for the requested change. If the requested state already exists, report a no-op instead of writing. A status-only request should send only the requested status; never infer active status or combine it with unrelated cleanup.\n\nTreat every supplied nested object or list as potentially replacement-shaped unless the live action explicitly proves field-level patching. For a platform-only campaign update, send only `targeting: {platforms: ...}` so geo and audience siblings remain unchanged; omit `platforms` to preserve an existing restriction, and use `platforms: null` only to remove it after approval. When any other requested change requires sending budget, targeting, conversion settings, bidding configuration, product set, or creative, preserve every unrequested sibling value from the live entity in the proposed end state, or omit that entire structure. Never use “minimal diff” as permission to erase unmentioned filters, targeting, bidding fields, creative fields, or destination data.\n\n- Campaign updates may change only the requested campaign fields. For spend-capable changes, show the exact amount, resolved currency when available, budget type, status, and any timing or targeting consequence before confirmation.\n- For a requested campaign text-customization change, send the approved `enable_dynamic_creative` boolean; omit it on other updates to preserve the existing setting. Let the tool enforce availability and record the preference. Keep this separate from account creative-optimization settings.\n- For URL tracking parameter changes at the campaign, ad-group, or ad level, use `body.landing_page_configuration` on the matching `update_campaign`, `update_ad_group`, or `update_ad` tool, following the live field guidance.\n- For geographic targeting updates, read and follow the Geo targeting section of [campaign-create-preflight.md](references/_shared/campaign-create-preflight.md) for intent, query construction, refinement, and result reuse. Resolve only places needed for the requested change and reuse suitable matches across approved targets in the same account and relevant targeting context. If saved audiences remain, also check the new geography under [audiences.md](references/_shared/audiences.md). Preserve existing targeting that the user did not ask to change; it does not need fresh name resolution. The create-default rule does not apply to updates.\n- Ad-group updates must preserve the existing product set unless the user explicitly asked to change it. When changing bidding or product-set fields, read the parent campaign first so the proposal respects its bidding type and verified feed.\n- For native Target CPC or Target CPA, follow the live tool's target-bidding guidance. Reads return `target_strategy`; writes use `strategy` with integer `target_micros`. Preserve the current target and billing unless a change was requested, and omit the entire bidding configuration for unrelated edits. Confirm the exact average target in account currency; do not substitute a manual bid or maximize strategy. A switch from fixed bidding removes its maximum bid and audience multipliers, so include those removals in the approved proposal.\n- For Clicks and Conversions, including impression-billed Conversions, verify that the group uses fixed bidding, AutoBid, Target CPC, or Target CPA. Follow the live tool's guidance for older fixed-bid reads that omit `strategy` and native target bids reported in `target_strategy`. Confirm the exact maximum in account currency and include the strategy change in the approval when switching to Manual Max Bid. Send `strategy: fixed_bid`, the saved billing event, and the approved `max_bid_micros` using the live tool's unit guidance. For Reach, confirm and send `max_cpm` with fixed bidding and impression billing. Omit audience multipliers so Sofa preserves them. Omit `bidding_config` for unrelated edits.\n- Existing-ad updates must preserve every unrequested ad and creative field. When sending `creative` for a `chat_card`, include its complete `type`, `title`, `body`, `target_url`, and image token(s), even for a copy-only or destination-only edit. Reuse unchanged values from the current same-account read: singular `file_id` for one image, or the complete ordered `file_ids` list for multiple images. Do not upload unchanged images. Name/status-only edits can omit `creative`. Never send read-only `creative.images` back as a write. A requested edit is not permission to create a replacement ad or silently rewrite unrelated fields.\n\n#### Bulk ad-group bid edits\n\nTreat an explicitly scoped request for many ad groups as one proposal and one approval. Bids are saved on ad groups. When the user scopes the edit by campaign, use that campaign to select the requested groups and confirm the group-level effect.\n\n1. Page through `list_ad_groups` for the requested scope, using the returned `last_id` verbatim as `after` when `has_more` is true. Fresh list rows can supply current bid, billing, status, parent, and identity. Use `get_ad_group` when a row is incomplete or needs reconciliation. Read each distinct parent campaign once before proposing the edits and verify each distinct conversion goal needed for Target CPA. Match the complete set by verified IDs and resolve any discrepancy with the requested count before proposing the write.\n2. Show a table of the complete resolved set with campaign, ad group, status, current bid, and proposed bid. Express monetary amounts in the account currency and identify the unit for each bid. Identify rows that already match the requested end state and rows that cannot take the requested edit. Explain any proposed strategy switch and its effect on legacy bid settings. Ask for approval of the exact writable rows together. Keep their verified IDs and absolute bid amounts for execution. Convert each requested percentage change from that row's confirmed starting value to an absolute amount before approval.\n3. If the user explicitly approves a subset of the proposed rows at the reviewed amounts, apply that subset. After approval, refresh the scoped rows and keep the approved set fixed. Skip rows whose strategy, amount, and billing already match the approved end state. If a row's bid, billing, or eligibility changed since the proposal, leave it pending and explain it. Use `update_ad_group` for each remaining approved row, with only the approved `bidding_config`. Keep each result with its row. Use bounded groups of calls where the host supports them and verify each group before proceeding. The same approval covers the full set. Stop on account-wide access failures or inconsistent read-back across multiple rows.\n4. Verify the saved maximum or target, strategy, and billing from fresh scoped `list_ad_groups` pages. Use `get_ad_group` for missing or contradictory rows. If a successful write is followed by a conflicting read, record the row as unverified and retain the successful response for reconciliation. Never retry an acknowledged write based only on a conflicting read. Report counts and row-level outcomes for verified changes, no-ops, failures, and unattempted or unverified rows. When the host interrupts a turn, preserve the remaining set so the next turn can refresh it without replaying acknowledged writes.\n\nFor Target CPC or Target CPA edits, Ads Manager **Bulk uploads → Create or edit by type → Ad groups** can accept a single upload when the account supports the requested strategy. Use `get_ads_manager_route_link` for the selected account's ad groups. If asked for a target-edit CSV, use only confirmed remaining rows with verified `ad_group_id`, `bidding_strategy`, and the applicable `target_cpc` or `target_cpa` amount in account-currency units. Keep `max_bid` blank and use the Ads Manager preview to confirm eligibility and row counts before submission.\n\n### 4. Handle an existing-ad creative image replacement\n\nFor an existing `chat_card` image replacement, accept only a user-supplied or explicitly approved candidate: a direct public image URL, provided attachment, accessible existing image, or generated standalone creative after the user explicitly chooses generation. Never pass a webpage URL or raw local path to an upload action, never generate an ad-placement mockup, and never treat a selected or generated image as uploaded.\n\n1. Read and follow the linked image and write-safety references before image choice, generation, validation, upload, or retry.\n2. For a saved multi-image ad, retain the complete ordered `creative.images` set from the current read and apply only the requested replacement, addition, removal, or reorder. Keep 4–6 square images with distinct file tokens; visual content may repeat. Resolve missing retained file tokens instead of dropping images. Changing a single-image ad to multi-image requires a separately approved new-ad creation through Ad Creation.\n3. When the matching draft preview tool is available, preview the complete proposed end state with `preview_ad` before confirmation, or `preview_ad_collection` for several targets. Otherwise show the exact selected images and copy in chat and say the widget preview is unavailable. Include retained images and new candidates in order, preserving unrequested copy, destination, and status. Use host-managed files for attachments/generated images; do not upload solely to preview.\n4. After approval, upload each new candidate position once and retain every successful token. Reuse the retained same-account tokens without uploading again; keep tokens distinct within the ad. A reorder needs no uploads. For a multi-image replacement, send the complete approved ordered `creative.file_ids` array and omit singular `file_id`, `image_crop`, and `price`. For a single-image replacement, use `creative.file_id`. Stop dependent updates if an image upload fails or is ambiguous, and reconcile before a retry.\n5. Do not upload or attach custom imagery for a product-ad template whose feed supplies imagery.\n6. Read back the saved image set and order, compare it with the approved end state, and report returned review/serving state without claiming an edit is already serving. After updates are verified, use `preview_existing_ad` for one requested live result or `preview_existing_ad_collection` once for 2 to 50 requested live results in one account; if the collection tool is unavailable, call `preview_existing_ad` for each requested result when available. Do not create another ad or use a new-ad preview as proof of the update.\n\n### 5. Confirm, write, verify, and report\n\nThe confirmation must identify the selected account, exact target or complete multi-target set, current values that will change, proposed values, any URL tracking parameters and their level, monetary authority when present, status, and ordered writes. Use plain language rather than raw tool names, request fields, internal ids, or connector JSON.\n\n- For dependent creates such as an explicitly requested campaign followed by an ad group, create the parent first, require a proven returned id, reuse it for the child, and stop if the parent fails or is ambiguous.\n- For updates, read the target back and compare the requested changed fields with the confirmed end state. Do not claim success from an empty, missing, or ambiguous response.\n- For an ambiguous update or unkeyed upload, reconcile current state before any retry and never blindly repeat the write. For an ambiguous create, use only the retry behavior permitted by [write-safety.md](references/_shared/write-safety.md).\n- For a multi-target request, report each target independently as succeeded, failed, or not attempted. Preserve successful results and do not repeat them while repairing another target.\n- Use returned entity deep links when available, and report only connector-proven state.\n\n## Scope And Tool-Owned Rules\n\nUse only fields, enum values, validation, permissions, response fields, numeric constraints, and backend errors exposed by the live actions. Do not restate or override tool schemas, budget or bid formulas, ID validation, URL validation, product-filter operators, or backend behavior in this skill. Never broaden a requested diff, infer spend authority, infer active status, choose a mutation target from performance, create a new ad, or turn a direct entity edit into reporting, diagnosis, or recommendation work.\n"Full snapshot data
{
"description": "Create or update Ads Manager campaigns and ad groups and update existing ads through a minimal-diff, confirmed, read-back-verified workflow. Use for explicit campaign-only or ad-group-only creation without new ads, or changes to existing entities, including bulk ad-group bid edits. Do not interpret a vague “create a campaign” request as campaign-only work. Do not use for new-ad creation, account onboarding, account administration, reporting, or delivery diagnosis.",
"included_files": [
{
"relative_path": "agents/openai.yaml",
"size_in_bytes": 276
},
{
"relative_path": "references/_shared/ads-structure-and-context-playbook.md",
"size_in_bytes": 5598
},
{
"relative_path": "references/_shared/auction-readiness-playbook.md",
"size_in_bytes": 2646
},
{
"relative_path": "references/_shared/audiences.md",
"size_in_bytes": 3233
},
{
"relative_path": "references/_shared/campaign-create-preflight.md",
"size_in_bytes": 8392
},
{
"relative_path": "references/_shared/image-asset-contract.md",
"size_in_bytes": 15437
},
{
"relative_path": "references/_shared/measurement-readiness-playbook.md",
"size_in_bytes": 2134
},
{
"relative_path": "references/_shared/product-feed-contract.md",
"size_in_bytes": 8752
},
{
"relative_path": "references/_shared/write-safety.md",
"size_in_bytes": 3437
}
],
"name": "ads-manager-entity-management",
"skill_md_contents": "---\nname: ads-manager-entity-management\ndescription: \"Create or update Ads Manager campaigns and ad groups and update existing ads through a minimal-diff, confirmed, read-back-verified workflow. Use for explicit campaign-only or ad-group-only creation without new ads, or changes to existing entities, including bulk ad-group bid edits. Do not interpret a vague “create a campaign” request as campaign-only work. Do not use for new-ad creation, account onboarding, account administration, reporting, or delivery diagnosis.\"\nallowed-tools:\n - list_ad_accounts\n - list_custom_audiences\n - get_custom_audience\n - get_ads_manager_route_link\n - list_product_feeds\n - query_product_feed_products\n - search_geo_locations\n - list_conversion_event_settings\n - list_campaigns\n - get_campaign\n - show_campaign_delivery\n - create_campaign\n - update_campaign\n - list_ad_groups\n - get_ad_group\n - list_conversion_event_settings\n - create_ad_group\n - update_ad_group\n - list_ads\n - get_ad\n - preview_ad\n - preview_ad_collection\n - preview_existing_ad\n - preview_existing_ad_collection\n - update_ad\n - upload_image\n - upload_image_file\n---\n\n# Ads Manager Entity Management\n\nCoordinate direct campaign and ad-group creation and edits to existing entities. Keep factual list, get, preview, reporting, and readiness requests outside this mutation workflow. A request whose outcome is a new ad belongs to `$ads-manager-ad-creation`, even when it also needs parent campaign or ad-group creation.\n\nAccount-wide daily or date-range spending limits belong to `$ads-manager-account-admin`; campaign budget changes remain here. Resolve the scope before acting when a budget request could mean either.\n\n## Main Workflow\n\nTreat entity management as one confirmed state-transition workflow:\n\n1. Classify the request as direct campaign/ad-group creation, an existing-entity update, a status-only change, or an explicitly scoped multi-entity change. If the user is asking which entity should change, why delivery is blocked, or what would improve performance, route that diagnostic or recommendation work first rather than selecting a mutation target here.\n2. Resolve exactly one account, then the requested audience or hierarchy: campaign, ad group, then ad. Use list tools for discovery, name resolution, ambiguity, and pagination; use the matching get tool after an exact target is known or use the scoped list reads described under Bulk ad-group bid edits. Ask the user to choose by visible names only when live results leave real ambiguity, and keep every later call scoped to the selected account.\n3. Before planning past the active branch, read and follow every linked reference whose condition matches that branch. When multiple conditions match, load all of them before acting; do not load unrelated references merely because they exist.\n4. Read the current target and every parent needed to interpret the requested change immediately before proposing it. Do not infer campaign mode, bidding type, product-feed ownership, creative type, currency, current status, or current nested settings from names, sibling entities, earlier conversation, or performance ranking.\n5. Build the smallest safe plan that satisfies the request, show the exact user-visible proposal, and obtain explicit confirmation immediately before the first consequential write.\n6. Execute only the approved ordered writes. Preserve successful returned resource and file ids privately, stop dependent work after a failed or ambiguous parent or upload, and never turn a partial failure into permission for a broader write.\n7. Read changed entities back and report only proven outcomes. Reconcile ambiguous results with fresh reads before considering any retry, and follow the shared safety contract for corrected payloads or partial outcomes.\n\n- Before planning confirmation, writing, retrying, or reconciling any direct create or update, read and follow [write-safety.md](references/_shared/write-safety.md).\n- For saved-audience targeting and bid adjustments, or web handoffs for audience creation or changes, read and follow [audiences.md](references/_shared/audiences.md).\n- Before proposing, confirming, or creating a campaign or ad group, or drafting or reviewing changes to context hints, ad copy, or landing-page alignment, read and follow [ads-structure-and-context-playbook.md](references/_shared/ads-structure-and-context-playbook.md). A status-only or name-only update does not trigger this playbook.\n- Before proposing or confirming a campaign objective, budget period, timing, or ad-group bidding strategy, read and follow [auction-readiness-playbook.md](references/_shared/auction-readiness-playbook.md).\n- Before proposing, confirming, or creating a conversions campaign, or assessing measurement readiness for a requested change, read and follow [measurement-readiness-playbook.md](references/_shared/measurement-readiness-playbook.md).\n- Before proposing, confirming, or creating any new campaign, read and follow the text-customization branch and every other matching section of [campaign-create-preflight.md](references/_shared/campaign-create-preflight.md), including its conditions for reusing or refreshing results through confirmation and create.\n- When deciding whether product-feed mode fits a requested create, planning product sets or filter changes, or assessing feed-ad launch quality, read and follow the Planning Guidance section of [product-feed-contract.md](references/_shared/product-feed-contract.md#planning-guidance). A status-only or name-only update does not trigger this section.\n- Before discovering feeds, planning, creating, or updating any product-feed campaign or ad group, read and follow the Operational Rules section of [product-feed-contract.md](references/_shared/product-feed-contract.md#operational-rules).\n- Before selecting, generating, validating, uploading, applying, retrying, or reconciling an existing-ad image replacement, read and follow both the [shared image asset contract](references/_shared/image-asset-contract.md), using `ad-creative` for a single-image ad or `multi-image-ad-creative` for a multi-image ad, and [write-safety.md](references/_shared/write-safety.md).\n\n### 1. Resolve scope and the exact target set\n\nFor a single target, resolve its account and parent hierarchy before proposing any change. For an explicitly requested multi-entity change, enumerate every exact target from live reads, follow required pagination, and show the complete target set before confirmation. Never silently include similarly named entities, later pages, inferred siblings, or a performance-ranked target the user did not explicitly approve.\n\n- If a request only asks to list, inspect, open, or preview entities, answer connector-native and stop; a read does not authorize a later write.\n- If no accessible account exists, explain that the requested entity change needs an account and offer Onboarding; do not invoke `$ads-manager-onboarding` or create anything unless the user explicitly requests setup.\n- Route standalone campaign planning, product-feed suitability questions, and reviews of supplied context hints to `$ads-manager-help`. Keep account health reviews, rankings, and blocked-delivery diagnosis with Review or Delivery Recovery. Return here only for an explicit create or update; keep drafting and review of that requested change in this workflow.\n- If the user asks to create a new ad, including while also asking for a campaign or ad group, keep the end-to-end flow in `$ads-manager-ad-creation`. This skill may create only a directly requested campaign or ad group and must not create an ad.\n\n### 2. Plan a direct campaign or ad-group creation\n\nFor a direct campaign create, resolve the selected account and its currency. Follow text customization and the other applicable checks in [campaign-create-preflight.md](references/_shared/campaign-create-preflight.md). Propose the smallest schema-valid payload: required fields, the resolved text-customization state and preference, and only other optional fields the user selected or the campaign mode requires. For a standard campaign, omit `mode` and `product_feed_id`. Omit targeting and conversion settings unless approved, and never send unrequested optional fields as `null`, empty arrays, or empty objects.\n\nOnly look up locations or discuss geographic options when the user requests geographic targeting or exclusions, or when the saved-audience geography check in [audiences.md](references/_shared/audiences.md) requires it. Obtain approval for any geographic change. If no targeting is approved, use Ads Manager's default targeting and omit `targeting`.\n\nShow the proposed name, status, budget type and amount, resolved currency when available, objective or bidding type, resolved text-customization state with the enabled disclosure when applicable, and any timing, targeting, or product-feed selection. Prefer paused unless the user explicitly requests active. Explain the objective's CPC-versus-CPM consequence using the live action guidance. If the user asked only for a campaign, create only that campaign and explain that an ad group and then an ad are required later.\n\nFor a direct ad-group create, resolve and read the exact parent campaign first. Propose the smallest schema-valid ad-group payload: required fields plus only optional fields the user selected or the verified parent campaign requires. Omit `description`, `context_hints`, and `product_set` unless they are part of the approved create. Never send absent optional fields as `null`, empty arrays, or empty objects. Show the name, status, bid strategy, billing event, and product set only when applicable. For Target CPC or Target CPA, show the exact average cost target and resolved currency. Match the billing event to the verified parent campaign's `billing_event_type`, including impression billing for oCPM; use its legacy bidding type only when that field is absent. Never infer a product feed from sibling ad groups. Use the fresh parent data for the tool-owned daily-budget preflight and strategy eligibility checks. Use `list_conversion_event_settings` when needed; fetch or ask instead of guessing or silently changing the strategy. For an approved maximize strategy, omit target and manual bid fields and supply the required stable idempotency key. For native target bidding, supply the approved integer target amount and use a stable idempotency key. If the strategy is unavailable, explain the limitation and stop the write. If the request also includes creating a new ad, route the whole outcome to `$ads-manager-ad-creation` instead of creating parents here and handing off mid-write.\n\nWhen the user has no bidding preference, recommend automatic bidding for an eligible daily-budget clicks or conversions parent. Label the recommendation `Maximize Clicks` or `Maximize Conversions` to match the parent objective. Maximize Clicks uses click billing; Maximize Conversions preserves the parent's click (oCPC) or impression (oCPM) billing. Confirm the strategy before creation. Do not change the existing campaign's objective, billing event, budget period, or conversion goal to make automatic bidding eligible; explain any conflict and ask the user to choose.\n\nFor a Reach parent, confirm the Max CPM in account currency per 1,000 impressions. Use `strategy: fixed_bid`, `billing_event_type: impression`, and `max_cpm`.\n\n- For explicitly requested URL tracking parameters on a new campaign or ad group, use `body.landing_page_configuration` on the matching `create_campaign` or `create_ad_group` tool, following the live field guidance.\n- For a product-feed campaign create, use only a confirmed account-linked feed selected under the Operational Rules section of [product-feed-contract.md](references/_shared/product-feed-contract.md#operational-rules). If feed setup is needed, hand off to `$ads-manager-feed-setup` with the account and pending proposal, then resume here with the verified feed ID and confirm the final payload.\n- For a product-feed ad-group create, reuse only the verified parent campaign feed and keep any product set consistent with it.\n- Before proposing a requested product-set create or filter change, query the exact proposed filters on that feed. Show the returned matched count and bounded examples; if the set is empty, ask for revised filters before a write.\n- For a standard campaign or ad group, do not send product-feed-only fields.\n\n### 3. Plan an existing-entity update as a minimal safe diff\n\nAfter a confirmed delivery-related fix and read-back, use `show_campaign_delivery`\nwith `request.view=\"detail\"` for that account and campaign when available. Do not\nclaim a successful write proves delivery resumed. During proposal/confirmation,\nfocus on the proposed change instead of repeating the widget.\n\nFor every update, read the current entity immediately before planning, compare the user's requested end state with that live state, and send only fields needed for the requested change. If the requested state already exists, report a no-op instead of writing. A status-only request should send only the requested status; never infer active status or combine it with unrelated cleanup.\n\nTreat every supplied nested object or list as potentially replacement-shaped unless the live action explicitly proves field-level patching. For a platform-only campaign update, send only `targeting: {platforms: ...}` so geo and audience siblings remain unchanged; omit `platforms` to preserve an existing restriction, and use `platforms: null` only to remove it after approval. When any other requested change requires sending budget, targeting, conversion settings, bidding configuration, product set, or creative, preserve every unrequested sibling value from the live entity in the proposed end state, or omit that entire structure. Never use “minimal diff” as permission to erase unmentioned filters, targeting, bidding fields, creative fields, or destination data.\n\n- Campaign updates may change only the requested campaign fields. For spend-capable changes, show the exact amount, resolved currency when available, budget type, status, and any timing or targeting consequence before confirmation.\n- For a requested campaign text-customization change, send the approved `enable_dynamic_creative` boolean; omit it on other updates to preserve the existing setting. Let the tool enforce availability and record the preference. Keep this separate from account creative-optimization settings.\n- For URL tracking parameter changes at the campaign, ad-group, or ad level, use `body.landing_page_configuration` on the matching `update_campaign`, `update_ad_group`, or `update_ad` tool, following the live field guidance.\n- For geographic targeting updates, read and follow the Geo targeting section of [campaign-create-preflight.md](references/_shared/campaign-create-preflight.md) for intent, query construction, refinement, and result reuse. Resolve only places needed for the requested change and reuse suitable matches across approved targets in the same account and relevant targeting context. If saved audiences remain, also check the new geography under [audiences.md](references/_shared/audiences.md). Preserve existing targeting that the user did not ask to change; it does not need fresh name resolution. The create-default rule does not apply to updates.\n- Ad-group updates must preserve the existing product set unless the user explicitly asked to change it. When changing bidding or product-set fields, read the parent campaign first so the proposal respects its bidding type and verified feed.\n- For native Target CPC or Target CPA, follow the live tool's target-bidding guidance. Reads return `target_strategy`; writes use `strategy` with integer `target_micros`. Preserve the current target and billing unless a change was requested, and omit the entire bidding configuration for unrelated edits. Confirm the exact average target in account currency; do not substitute a manual bid or maximize strategy. A switch from fixed bidding removes its maximum bid and audience multipliers, so include those removals in the approved proposal.\n- For Clicks and Conversions, including impression-billed Conversions, verify that the group uses fixed bidding, AutoBid, Target CPC, or Target CPA. Follow the live tool's guidance for older fixed-bid reads that omit `strategy` and native target bids reported in `target_strategy`. Confirm the exact maximum in account currency and include the strategy change in the approval when switching to Manual Max Bid. Send `strategy: fixed_bid`, the saved billing event, and the approved `max_bid_micros` using the live tool's unit guidance. For Reach, confirm and send `max_cpm` with fixed bidding and impression billing. Omit audience multipliers so Sofa preserves them. Omit `bidding_config` for unrelated edits.\n- Existing-ad updates must preserve every unrequested ad and creative field. When sending `creative` for a `chat_card`, include its complete `type`, `title`, `body`, `target_url`, and image token(s), even for a copy-only or destination-only edit. Reuse unchanged values from the current same-account read: singular `file_id` for one image, or the complete ordered `file_ids` list for multiple images. Do not upload unchanged images. Name/status-only edits can omit `creative`. Never send read-only `creative.images` back as a write. A requested edit is not permission to create a replacement ad or silently rewrite unrelated fields.\n\n#### Bulk ad-group bid edits\n\nTreat an explicitly scoped request for many ad groups as one proposal and one approval. Bids are saved on ad groups. When the user scopes the edit by campaign, use that campaign to select the requested groups and confirm the group-level effect.\n\n1. Page through `list_ad_groups` for the requested scope, using the returned `last_id` verbatim as `after` when `has_more` is true. Fresh list rows can supply current bid, billing, status, parent, and identity. Use `get_ad_group` when a row is incomplete or needs reconciliation. Read each distinct parent campaign once before proposing the edits and verify each distinct conversion goal needed for Target CPA. Match the complete set by verified IDs and resolve any discrepancy with the requested count before proposing the write.\n2. Show a table of the complete resolved set with campaign, ad group, status, current bid, and proposed bid. Express monetary amounts in the account currency and identify the unit for each bid. Identify rows that already match the requested end state and rows that cannot take the requested edit. Explain any proposed strategy switch and its effect on legacy bid settings. Ask for approval of the exact writable rows together. Keep their verified IDs and absolute bid amounts for execution. Convert each requested percentage change from that row's confirmed starting value to an absolute amount before approval.\n3. If the user explicitly approves a subset of the proposed rows at the reviewed amounts, apply that subset. After approval, refresh the scoped rows and keep the approved set fixed. Skip rows whose strategy, amount, and billing already match the approved end state. If a row's bid, billing, or eligibility changed since the proposal, leave it pending and explain it. Use `update_ad_group` for each remaining approved row, with only the approved `bidding_config`. Keep each result with its row. Use bounded groups of calls where the host supports them and verify each group before proceeding. The same approval covers the full set. Stop on account-wide access failures or inconsistent read-back across multiple rows.\n4. Verify the saved maximum or target, strategy, and billing from fresh scoped `list_ad_groups` pages. Use `get_ad_group` for missing or contradictory rows. If a successful write is followed by a conflicting read, record the row as unverified and retain the successful response for reconciliation. Never retry an acknowledged write based only on a conflicting read. Report counts and row-level outcomes for verified changes, no-ops, failures, and unattempted or unverified rows. When the host interrupts a turn, preserve the remaining set so the next turn can refresh it without replaying acknowledged writes.\n\nFor Target CPC or Target CPA edits, Ads Manager **Bulk uploads → Create or edit by type → Ad groups** can accept a single upload when the account supports the requested strategy. Use `get_ads_manager_route_link` for the selected account's ad groups. If asked for a target-edit CSV, use only confirmed remaining rows with verified `ad_group_id`, `bidding_strategy`, and the applicable `target_cpc` or `target_cpa` amount in account-currency units. Keep `max_bid` blank and use the Ads Manager preview to confirm eligibility and row counts before submission.\n\n### 4. Handle an existing-ad creative image replacement\n\nFor an existing `chat_card` image replacement, accept only a user-supplied or explicitly approved candidate: a direct public image URL, provided attachment, accessible existing image, or generated standalone creative after the user explicitly chooses generation. Never pass a webpage URL or raw local path to an upload action, never generate an ad-placement mockup, and never treat a selected or generated image as uploaded.\n\n1. Read and follow the linked image and write-safety references before image choice, generation, validation, upload, or retry.\n2. For a saved multi-image ad, retain the complete ordered `creative.images` set from the current read and apply only the requested replacement, addition, removal, or reorder. Keep 4–6 square images with distinct file tokens; visual content may repeat. Resolve missing retained file tokens instead of dropping images. Changing a single-image ad to multi-image requires a separately approved new-ad creation through Ad Creation.\n3. When the matching draft preview tool is available, preview the complete proposed end state with `preview_ad` before confirmation, or `preview_ad_collection` for several targets. Otherwise show the exact selected images and copy in chat and say the widget preview is unavailable. Include retained images and new candidates in order, preserving unrequested copy, destination, and status. Use host-managed files for attachments/generated images; do not upload solely to preview.\n4. After approval, upload each new candidate position once and retain every successful token. Reuse the retained same-account tokens without uploading again; keep tokens distinct within the ad. A reorder needs no uploads. For a multi-image replacement, send the complete approved ordered `creative.file_ids` array and omit singular `file_id`, `image_crop`, and `price`. For a single-image replacement, use `creative.file_id`. Stop dependent updates if an image upload fails or is ambiguous, and reconcile before a retry.\n5. Do not upload or attach custom imagery for a product-ad template whose feed supplies imagery.\n6. Read back the saved image set and order, compare it with the approved end state, and report returned review/serving state without claiming an edit is already serving. After updates are verified, use `preview_existing_ad` for one requested live result or `preview_existing_ad_collection` once for 2 to 50 requested live results in one account; if the collection tool is unavailable, call `preview_existing_ad` for each requested result when available. Do not create another ad or use a new-ad preview as proof of the update.\n\n### 5. Confirm, write, verify, and report\n\nThe confirmation must identify the selected account, exact target or complete multi-target set, current values that will change, proposed values, any URL tracking parameters and their level, monetary authority when present, status, and ordered writes. Use plain language rather than raw tool names, request fields, internal ids, or connector JSON.\n\n- For dependent creates such as an explicitly requested campaign followed by an ad group, create the parent first, require a proven returned id, reuse it for the child, and stop if the parent fails or is ambiguous.\n- For updates, read the target back and compare the requested changed fields with the confirmed end state. Do not claim success from an empty, missing, or ambiguous response.\n- For an ambiguous update or unkeyed upload, reconcile current state before any retry and never blindly repeat the write. For an ambiguous create, use only the retry behavior permitted by [write-safety.md](references/_shared/write-safety.md).\n- For a multi-target request, report each target independently as succeeded, failed, or not attempted. Preserve successful results and do not repeat them while repairing another target.\n- Use returned entity deep links when available, and report only connector-proven state.\n\n## Scope And Tool-Owned Rules\n\nUse only fields, enum values, validation, permissions, response fields, numeric constraints, and backend errors exposed by the live actions. Do not restate or override tool schemas, budget or bid formulas, ID validation, URL validation, product-filter operators, or backend behavior in this skill. Never broaden a requested diff, infer spend authority, infer active status, choose a mutation target from performance, create a new ad, or turn a direct entity edit into reporting, diagnosis, or recommendation work.\n"
}SHA-256 of public snapshot: bc09146361ac17108f1ce88d4da948477a7b6180cefdce4e843db8735ea5c094