{"id":44873,"plugin_id":"plugin_asdk_app_6a815ca54bd08191859e59692992e294","kind":"skill","collection_source":"plugin_package","comparison_source":null,"observed_at":"2026-10-24T13:19:26.689Z","digest":"56e1269e7fb80f0050c3851a59d1c39e8a1ad590f0183120bfc06dbf3c2b0798","against":null,"payload":{"description":"Set up or reuse advertiser conversion tracking when a buyer needs a social-platform source, website or app events, a server feed, CRM data, or a measurement partner.","included_files":[],"name":"set-up-an-event-source","skill_md_contents":"---\nname: set-up-an-event-source\ndescription: Set up or reuse advertiser conversion tracking when a buyer needs a social-platform source, website or app events, a server feed, CRM data, or a measurement partner.\n---\n\n# Set Up an Event Source\n\nUse this workflow when a buyer wants to measure a conversion, attach conversion tracking to a campaign, or connect event data from a social platform or measurement partner.\n\n## Establish the measurement job\n\n1. Identify the advertiser and the conversion outcome the buyer wants to observe. Do not create a source until the advertiser is explicit.\n2. Call `search` with `kind: \"event_source\"` and `filter.advertiserId`. Use the buyer's provider or outcome words as `query` when useful.\n3. Reuse a source only when its name, `eventSourceId`, event types, and `actionSource` or `surface` match the buyer's intent. Health is evidence, not an eligibility gate: a new source can be used before any event arrives, but say that no event has arrived yet.\n\n## Choose the source path\n\n### Native social-platform source\n\nUse an ID returned by the connected platform, product, or account flow. Never invent a pixel, form, channel, profile, or dataset ID. If no authorized native source is returned, stop and ask the buyer to connect or select the provider account that owns it.\n\nDo not register a native platform source as if Interchange hosted it. Some products expose a built-in event-source sentinel in their execution template; copy that exact value only when the product declares it.\n\n### Buyer or measurement-partner feed\n\nCall `save_event_source` with the `advertiserId`, a fresh `idempotencyKey`, and one entry in `eventSources` per source. Each entry is keyed by a stable buyer-assigned `eventSourceId`; a new ID creates the source, and an existing ID updates it.\n\n- A new source needs a clear `name` and the exact supported `eventTypes`. Omit `eventTypes` only when the source should accept every event type.\n- When the buyer will report monetary values, set `valueCurrencies` to the currencies the sender uses. Without it the source cannot support canonical ROAS.\n- Set `actionSource` (or `surface` when a flat category is too coarse) to where the conversion happens.\n- The sender owns its field mapping, a stable event ID, and its deduplication rule. Agree those with the buyer before sending production data; V3 does not store them on the source.\n\nEach entry in the response reports its own `action`: `created`, `updated`, `unchanged`, `archived`, or `failed` with `errors`. A failed entry does not undo the others; fix and resend only that entry. Retry an interrupted save with the same `idempotencyKey` and the same entries; a response with `replayed: true` means the earlier save already completed. Use a new key for a different change.\n\nEach saved entry's `setup` object is the installation handoff. Registration saves configuration; it does not install a tag, authorize a provider account, send historical data, or prove that events are flowing.\n\nBilly Grace and other measurement partners follow this server-feed path unless connection discovery explicitly returns a native connector and its authorized source IDs. Do not claim a native connector from the provider name alone.\n\n## Verify before claiming success\n\n1. Read the exact source with `get`, passing `kind: \"event_source\"`, the source's `eventSourceId` as `id`, and `advertiserId`.\n2. Report `health` plainly. `health.status` is the AdCP grade (`insufficient`, `minimum`, `good`, or `excellent`), and `health.issues` names what needs attention:\n   - An `error` issue means the latest event was rejected; give the buyer its message.\n   - A `warning` that no events have been received means the source is configured but nothing has arrived yet.\n   - A `warning` that nothing arrived in 7 days means the source went quiet after receiving events.\n3. Do not treat a new source with no events as a failure or wait to create the campaign. Give the buyer the setup instructions and a concrete verification step.\n\n## Attach it to a campaign\n\nWhen the buyer wants conversion optimization, read the current campaign first. Then call `save_campaign` with the source's exact `eventSourceId` inside the intended event optimization goal.\n\nNever attach a dangling or guessed ID. If the buyer chooses to proceed without conversion tracking, omit the conversion goal and state that the campaign will not optimize against that outcome.\n\n## Safe updates and removal\n\nChange a source by sending its `eventSourceId` with only the changed fields, under a new `idempotencyKey`. Archive with an entry of only `eventSourceId` and `isArchived: true`, and only after confirming the buyer no longer needs the source; archiving makes existing campaign references stop resolving. `isArchived: false` restores it. Do not use archive as a way to rotate credentials or repair a sender's mapping.\n\n## Completion report\n\nState which advertiser owns the source, whether it was reused or created, its `eventSourceId`, current health, required setup action, and whether it was attached to a campaign. Keep native provider authorization, source registration, first-event receipt, and campaign attachment as separate facts.\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}