← Files ChatGPT Ads ManagerARCHIVED FILE
shared-references/handoff-state.md
2.03 KB · Dec 1, 2026 · 00:13 UTC
# Shared Ads Manager Handoff State ```yaml ad_creation_state: originating_skill: brief: approved_images: destination: selected_account: hierarchy: pending_checkpoint: generation: writes: ``` Keep `approved_images` ordered, with each selected source and its applicable approval; interpret a legacy `approved_image` as a one-item list. Retain per-image successful upload tokens in `writes`. An account change requires fresh resolution of every account-scoped token. Before onboarding, set `originating_skill` to `ads-manager-ad-creation` or `ads-manager-starter-campaign`. Return to that owner with the capsule preserved; legacy capsules without an owner return to ad creation. For Carpet Lite, `generation` retains the generation inputs and original result: draft ID, expiry, original proposal, generation metadata, asset references and optional unconfirmed logo candidate. Keep user edits and approved settings in the existing brief, image, destination and hierarchy fields. Keep the selected image separate from the original draft; onboarding must not overwrite these edits. Continue from this capsule without a draft-retrieval step. `writes` retains successful upload/entity IDs and each pending create's exact body and idempotency key. Keep this continuation state in the conversation; do not create another store or expose private IDs to the user. ```yaml review_brief: account: scope: objective: review_focus: windows: evidence_thresholds: max_recommendations: max_hypothetical_budget_change: cadence: ``` ## Feed Setup Keep the selected account, verified feed ID when available, chosen source, and next pending step in the conversation. Carry those through Account Onboarding and resume only after its successful account result. Resolve feed ownership again if the account changes. When another skill sends a pending product-feed campaign, preserve that skill's identity and the campaign proposal (including any existing `ad_creation_state`). Return the verified feed ID to that skill for its normal confirmation and write flow.
SHA-256: 86ae139557242046c3adf76fd3ec3b0d4eb30bb34883d2718ab957572dff215b