Get directed campaign subscription (alpha)
Task Reference
Get directed campaign subscription (alpha)
Inspect metadata mirror freshness and the fixed history boundary
GET
Get directed campaign subscription (alpha)
Returns the durable account subscription created by
subscribe_directed_campaigns.
Named operation: get_directed_campaign_subscription
Use
lastSyncedAt, lastSyncStatus, and lastSyncError to show mirror
health. When the latest sweep failed, errorCode, errorField, errorReason,
and upstreamCode provide the available safe machine-readable diagnosis. A
successful later sweep clears all four diagnostic fields to null.
backfillStart is the fixed one-year metadata boundary set when the account
was subscribed. It does not indicate that delivery reports were imported, nor
is it a running progress indicator: delivery remains live read-through in
the connected-account alpha.
lastPresenceSyncedAt, lastPresenceSyncStatus, and lastPresenceSyncError
are the cursor of the separate tracked-presence sweep, which discovers
audiences and event sources (pixels) on the subscribed account. All three are
null until that sweep first visits the subscription. SKIPPED means the
sweep visited but presence discovery did not apply — for example, the feature
is not enabled for this customer. A SUCCESS with an empty
presence list
means the account genuinely has no discoverable audiences or event sources.
Response
status is the subscription lifecycle (ACTIVE, PAUSED, or ERROR).
lastSyncStatus is the outcome of the latest metadata reconciliation. If it is
ERROR, lastSyncedAt is the time of that failed attempt; show it together with
lastSyncError and any non-null machine-readable diagnostic fields. The
previous valid mirrors are retained. A NOT_FOUND response means this
connection/account has never been subscribed or is outside the authenticated
customer and advertiser scope.
See Directed campaigns (alpha).