Skip to main content
When you ask to list campaigns on a connected ad account, the agent first checks campaigns already saved in Apostra. That search does not query the ad platform’s native campaign inventory. An empty result does not mean your Spotify Ads Manager account has no campaigns, and a non-empty result does not prove every native campaign has been imported. You can ask in ordinary language:
You do not need to know an import tool’s name or say where each campaign was created. If the saved results do not account for the campaigns you expect, the agent checks the account’s mapping and sync state, as described below.

How campaigns get here

Mapping an ad account to an advertiser starts campaign sync for that account. There is no separate subscribe step, and every account mapped on a connection syncs under its own advertiser, whichever account the connection has selected. An account that is not mapped to an advertiser is never synced. A login that reaches many client accounts, such as an agency’s, syncs only the accounts that are mapped. The first sync runs within one 15-minute sweep of the mapping. Later sweeps pick up changes. The synced campaigns appear as tracked campaigns (handling: "tracking"), including campaigns created manually in the ad platform. The ad platform remains the source of truth: syncing does not create, edit, launch, pause or cancel its campaigns. Sync itself does not import delivery history; with Enhanced Reporting, and free in the buyer beta, a Meta account’s daily ad history is read separately (see Your ads’ daily history). In the buyer beta, you can change a tracked Meta campaign through Apostra, and the first change takes it over; see Change a campaign synced from Meta. A campaign Apostra itself placed through the same account is not synced as a second copy. The sync recognises it, from the record of where Apostra placed it (the connection, the ad account and the platform’s campaign id), and keeps that one campaign under its existing media buy. It is a managed campaign, not a tracked one. This holds after the media buy has ended in Apostra, even while the platform still shows the campaign paused: the campaign stays under the ended media buy and is not synced again as a tracked campaign. If an earlier sync made such a copy, the next sync retires it, unless someone changed the copy through Apostra. Apostra then reviews that campaign. Removing the mapping stops the sync and retires Apostra’s copies of that account’s campaigns. It never changes or deletes anything in the ad platform. Mapping the account again starts the sync again. When a campaign is synced again under a new mapping, the earlier, retired copy stops carrying the platform’s campaign id, so only the current copy answers to it.

What a synced campaign’s packages are

A synced campaign lists the platform’s own children as its packages, each under the platform’s own id: a Meta ad set, a Snap ad squad, and for Google Ads an ad group (Search, Display, Video and Demand Gen campaigns) or an asset group (Performance Max). A Google campaign with no ad group or asset group yet lists itself as its one package, and the package is replaced by the real ones once Google lists them, so a campaign never shows both. The media buy’s totals do not change when its packages do. A package’s delivery rows use the same ids, so a package and its row always match.

The Amazon Ads campaigns Apostra shows

An Amazon Ads account shows its Sponsored Products and its Sponsored Brands campaigns, read-only. Each campaign is a media buy under Amazon’s own campaign id, and each of its ad groups is a package under Amazon’s own ad group id. Sponsored Display and Amazon DSP campaigns are not shown yet.
  • Budget. A Sponsored Products campaign holds a daily budget, so its total_budget is 0 and the daily amount is ext.scope3.daily_budget_target. A Sponsored Brands campaign holds a daily or a lifetime budget. A lifetime budget is the media buy’s total_budget; a daily budget is reported as ext.scope3.daily_budget_target, never multiplied into a total.
  • No actions on a Sponsored Brands campaign. Apostra does not change a Sponsored Brands campaign, so its available_actions is empty. Change it in Amazon’s own tool; the next sync shows the change.
  • A Sponsored Brands ad group has no bid. Its package carries no bid_price.
  • What Amazon holds that AdCP cannot say. Every package carries provider_booking_detail with platform: "amazon": the campaign’s Amazon product (campaign_type: SPONSORED_PRODUCTS or SPONSORED_BRANDS), for Sponsored Products its targeting_type (AUTO or MANUAL) and bidding_strategy (LEGACY_FOR_SALES, AUTO_FOR_SALES or MANUAL), and the budget Amazon holds for the campaign: amount, currency, period (daily or lifetime) and level: "campaign", shared by all its ad groups. A daily amount is Amazon’s daily budget, a target and not a cap. It is the same amount as ext.scope3.daily_budget_target, which stays. These state what Amazon runs; they are not part of any comparison with what was booked.
  • One campaign id in two product families. Amazon documents an id as unique within its product family. If one account returns the same id for a Sponsored Products and a Sponsored Brands campaign, no media buy is returned and the read fails with CAMPAIGN_ID_IN_TWO_PRODUCT_FAMILIES, because the id would name two campaigns. Reading one media buy by its id answers with the Sponsored Products campaign first.
  • An account without Sponsored Brands still shows Sponsored Products. When Amazon answers the Sponsored Brands list as not authorised or not found (HTTP 401, 403 or 404), the account has no Sponsored Brands to read. Its Sponsored Products campaigns are returned, and the read notes sb_not_available.
  • Any other failure is never a short list. If any page of either list fails with another error, repeats a token, repeats a campaign or comes back in a shape Amazon does not document, the whole read fails with a named reason, and no media buy is returned from it.

The targeting of an Amazon Sponsored Products campaign made in Amazon

For a Sponsored Products campaign made in Amazon, each package (an ad group) carries the targeting Amazon applies. Only what is enabled in Amazon counts: a paused or archived keyword or target is not part of the targeting.
  • Keywords are AdCP’s own keyword_targets in the package’s targeting_overlay: the keyword text and its match_type (broad, phrase or exact), with bid_price when the keyword has its own bid.
  • Negative keywords are negative_keywords with the same match types. A campaign-level negative keyword applies to every ad group, so it is listed on every package.
  • Product, category and auto targets have no AdCP field. They are in the package’s provider_targeting block with platform: "amazon", as product_targets: each is a list of Amazon’s own predicates (type, for example ASIN_SAME_AS or QUERY_HIGH_REL_MATCHES, and its value, an ASIN or a category id), exclude: true for a negative target, and its own bid when it has one.
A campaign whose targeting could not be read shows none: absent means not read, not that nothing is targeted. Sponsored Brands targeting is not shown yet.

The targeting of a Google Ads campaign made in Google

For a Google Ads campaign made in Google’s own tools, each package’s targeting_overlay states what Google applies, in AdCP’s own fields: A Performance Max asset group has the campaign’s targeting only, because Google keeps no keywords, age or gender on an asset group. Whatever Google holds that this cannot say exactly is not guessed at. The package and the media buy name it in unrepresented as { path, reason }, with the path packages[<id>].targeting.<setting>, so an agent can tell a package with no geo_regions from one whose states Apostra could not map. The settings named today: states, provinces and regions (geo_regions, region_without_iso_mapping: Google names them but gives no ISO 3166-2 code), cities and other places (geo), postal codes outside the US, an age range that is not one run of Google’s age buckets (age), ad schedules and radius targeting. A campaign whose criteria Apostra could not read yet has no targeting_overlay at all, which means not read, never “no targeting”. Reading is read-only and changes nothing in Google. What AdCP has no field for is not dropped. The package’s provider_targeting block names platform: "google" and states the audiences, topics and placements Google applies, each as Google’s own id with exclude: true for an exclusion: audience_segments (a user list, an affinity or in-market segment, a custom or combined audience, or on Performance Max an audience signal), topics, placements (websites, YouTube channels and videos, and apps) and, on Performance Max, search_themes. A targeted entry also says mode: targeting when Google narrows delivery to it, or observation when Google only reports on it and adjusts bids for it, which is how a Search ad group holds its audiences by default. Do not tell a buyer a campaign is targeted at an audience whose mode is observation. Google’s defaults for parental status and household income (everyone eligible) are not settings and are named only when one is excluded. Every package of a Google campaign also carries provider_booking_detail with platform: "google", the campaign’s own Google type (advertising_channel_type), its bidding strategy (bidding_strategy_type, for example MAXIMIZE_CONVERSIONS) and, where Google holds one, the ad group’s type (ad_group_type). These state what Google runs; they are not part of any comparison with what was booked.

What a LinkedIn campaign made in LinkedIn shows

A LinkedIn campaign is one package. Its provider_booking_detail names platform: "linkedin" and states what LinkedIn holds that AdCP has no field for: the campaign group the campaign sits in (campaign_group_id), its LinkedIn type (campaign_type, for example SPONSORED_UPDATES) and format (campaign_format), its objective (objective_type), what LinkedIn charges for (cost_type: CPM, CPC or CPV), how LinkedIn bids (optimization_target_type: an automated strategy, a target cost, a cost cap, or NONE for manual bidding) and how it picks among the campaign’s creatives (creative_selection: OPTIMIZED or ROUND_ROBIN). A field LinkedIn does not hold is absent. These state what LinkedIn runs; they are not part of any comparison with what was booked, and the budget, bid price, flight and audience expansion stay in AdCP’s own fields. A campaign with a daily budget in LinkedIn also shows it in the block’s budget: the amount, its currency, period: "daily" and level: "ad_set". It is the daily target LinkedIn holds, never a lifetime figure worked out from it, because AdCP’s package budget is a lifetime total (adcp#9228). A campaign’s total budget stays the package budget. A campaign with both shows the total there and the daily target in the block, and a campaign with no daily budget shows no block budget.

The targeting of an OpenAI Ads campaign

An OpenAI Ads package is an ad group. Its targeting_overlay states the countries, regions, Nielsen DMAs and postal areas the campaign targets or excludes, and the audiences it includes or excludes, in AdCP’s own fields. What AdCP has no field for is not dropped: the package’s provider_targeting block names platform: "openai_ads" and states, in OpenAI Ads’ own values:
  • platforms: the surfaces the ads serve on (ios_app, android_app, web, desktop_web, ios_web, android_web). Absent when the campaign serves on all of them.
  • context_hints: the topics the ad group asks ChatGPT to match its ads to.
  • product_set: the product feed the ad group draws its products from (product_feed_id) and the filters that narrow it.
  • locations: any location OpenAI Ads targets or excludes that targeting_overlay could not state as an ISO code, a Nielsen DMA or a postal area, each with OpenAI Ads’ own id, type, name, country_code and exclude.
A field the campaign does not set is absent, never null. These state what OpenAI Ads applies; they are not part of any comparison with what was booked. Reading is read-only and changes nothing in OpenAI Ads. A LinkedIn campaign made in Campaign Manager also shows the targeting LinkedIn applies. Countries and languages are in AdCP’s own targeting_overlay fields (geo_countries, geo_countries_exclude and language) only where the match is exact: a location counts as a country only when it is one of the countries Apostra knows, and a LinkedIn interface locale such as en_US reads as the language en-US. Everything else LinkedIn targets is in provider_targeting (platform: "linkedin"), exactly as LinkedIn holds it. Its include_clauses are LinkedIn’s clauses: a member must match every clause, and a clause matches a member who has any one of the values in it. Each value is LinkedIn’s facet name (titles, seniorities, jobFunctions, industries, staffCountRanges, skills, employers and the others) and LinkedIn’s own id for the value, with no name. exclude lists the values LinkedIn excludes. Age and gender are in the block too: Apostra does not state them as AdCP age or gender targeting because LinkedIn does not say whether members of unknown age or gender are included. What cannot be said in AdCP’s fields is named in scope3_unrepresented, never guessed and never left out silently. A location that is not a known country (a region or a city) is never stated as a country. If the campaign holds one, none of its locations are stated in geo_countries, because a shorter list would claim a narrower reach than the campaign has; the locations stay in provider_targeting, and the package names geo_regions with region_without_iso_mapping. A campaign Apostra created shows the targeting it was created with, as before. A TikTok ad group made in TikTok’s own tools also shows the targeting TikTok applies. TikTok returns its own ids, so Apostra states a country in AdCP’s targeting_overlay.geo_countries only when every location is one of the countries Apostra knows, and ANDROID and IOS as device_platform. The frequency cap is frequency_cap. Everything else is in provider_targeting (platform: "tiktok"), with TikTok’s own ids and no names: interest categories and keywords, the audiences TikTok holds (custom and lookalike, each marked included or excluded), device models, carriers, connection types, the lowest Android and iOS versions, whether TikTok may deliver beyond the stated audience or interests, and gender (TikTok’s own value). The age groups are in demographics.age (TikTok serves no members of unknown age, so include_unknown is false, and the open-ended 55+ group has no max), for a caller that asks for AdCP 3.2 or later; an ad group that targets every age group states no age. Age groups with a gap are in the block instead, and the package names demographics. The package names gender as not stated in AdCP’s fields, and the same goes for languages, because Apostra has not verified TikTok’s language codes as AdCP language tags. If an ad group holds a location that is not a known country (a region, a city or a postal area), none of its locations are stated in geo_countries, because a shorter list would claim a narrower reach than the ad group has. The locations stay in provider_targeting.location_ids, and the package names geo_regions with region_without_iso_mapping. An ad group Apostra created shows the targeting it was created with, as before.

When two advertisers map the same ad account

An ad account syncs once, under one advertiser. When two advertisers of the same organization map it, the advertiser with the oldest live mapping owns the account, until an administrator hands it to another advertiser. Every campaign synced from it belongs to that advertiser, once, and stays with it on every later sync, including after you change a campaign in the ad platform. The other advertiser’s mapping is kept, but that advertiser sees none of the account’s campaigns.
  • A later mapping changes nothing. Mapping an account that another advertiser already owns, or mapping it again after removing the mapping, does not take the campaigns and does not copy them.
  • Removing the other advertiser’s mapping changes nothing for the owner.
  • Removing the owner’s mapping hands the account on. The sync stops and Apostra retires its copies of the campaigns. The next sync of the advertiser whose mapping is oldest among those left takes the same campaigns, with the same campaign ids, under that advertiser. Until that sync runs, neither advertiser shows them. A finished campaign older than the new sync’s history boundary is not taken over; it stays retired with the advertiser that had it.
  • Moving a single campaign between advertisers is not available. The owner is an advertiser’s, never a campaign’s. An administrator can hand the whole account to another advertiser, as described below.

See which advertiser owns the account’s campaigns

Read the connection, get({kind: "connection", id: connectionId}). Its accounts[] come back on that plain read, with no include. Each entry of accounts[].mappedAdvertisers[] is one advertiser’s mapping of the account, and carries campaignSync. The same field is on the mappings the read returns as accountMappings[]. An advertiser whose mapping says owner: false and shows no campaigns for the account therefore knows why, and which advertiser has them. Your agent reads the same field. It names the owner and nothing else about it: the owner’s campaigns, budgets and mappings stay with the owner. campaignSync is null when no campaign sync exists for the account. That is the case for a mapping added a moment ago, before the first sync has started, and for a mapping on a third-party agent, whose campaigns Apostra does not sync this way. It says who owns the campaigns today. If the owner’s mapping is removed, the account passes to the next advertiser as described above, and the field follows. The sync requests all supported campaign statuses, including pending-start campaigns. A future start date does not exclude a campaign. Campaigns still need to be readable and representable by the connected provider. A tracked campaign reads the platform’s own state, and each sync copies it across. When the platform finishes a campaign, it reads completed; when the platform moves a flight’s end date forward again, it reads active again on the next sync. Spotify has no completed status on a campaign, so a Spotify campaign reads completed once every ad set it still has is completed or archived, or has an end date that has passed, even while Spotify shows the campaign itself as active or paused. A campaign archived in Spotify reads completed too. A campaign with an ad set that has no end date, or an end date still ahead, keeps its status. Meta and Snap have no completed status either, so a campaign still shown as active or paused there reads completed once its flight has ended. For Meta, that is once every ad set it still has is archived or past its end date; for Snap, once the campaign’s own end date has passed or every ad squad it still has is past its end date. A Meta ad set or Snap ad squad that has been deleted is not counted, one with no end date keeps the campaign’s status, and the campaign reads active again if an end date moves forward. A campaign that reads completed this way declares no available actions, and its delivery report says completed too. A campaign made in your ad platform, or one you took over, that you have paused there before its start date reads as paused: its media buy has phase: active and isPaused: true, the same reading a buy you paused yourself before its start has, and liveChanges.resumeDelivery says it can be resumed. Before, such a campaign read isPaused: false while it waited for its start. It reads isPaused: false again on the next sync after you resume it in the platform, or once its flight has started. The platform’s own state is read from the actions the connected platform offers for the campaign (resume and no pause), so a platform that offers both leaves the campaign reading as it did. A campaign placed through Apostra and held paused until its start is not read as paused: that hold is Apostra’s, not yours. A Snap campaign made in Snap shows its start and end dates (start_time and end_time) on the media buy. The end is the campaign’s own end date; a campaign with none ends when its last ad squad ends, so its end is the latest squad end date, shown only when every live ad squad has one. A campaign with an open-ended ad squad has no end_time. Amazon, OpenAI Ads, Pinterest and Reddit read the same way. An Amazon Sponsored Products or Sponsored Brands campaign reads completed once its end date is over in the account’s time zone, and an OpenAI Ads campaign once OpenAI Ads reports it as ended (campaign_ended), or, when that report is unavailable, once its end time has passed. A Pinterest campaign reads completed once its own end time has passed or every ad group it still has is past its end time. A Reddit campaign does too, and also whenever Reddit itself reports it completed. A Pinterest ad group or Reddit ad group that has been archived or deleted is not counted, and one with no end time keeps the campaign’s status. An archived campaign still reads canceled. A campaign that reads completed this way declares no valid or available actions. A sync starts with a metadata-history boundary 30 days before it was set up. When Enhanced Reporting is on for the account, that boundary starts 14 months back instead: turning it on moves an existing sync’s boundary back, and turning it off returns it to 30 days. In the buyer beta the history is free, so when Apostra imports a beta account’s daily ad history, its boundary moves back to 14 months without Enhanced Reporting. The subscription’s stored backfillStart governs newly discovered terminal campaigns: their provider update timestamp, or creation timestamp when no update timestamp is available, must fall on or after that boundary. Already mirrored campaigns retain later terminal transitions even when they predate the boundary. This metadata boundary is separate from delivery/reporting history. Syncing does not enable Enhanced Reporting or grant its 14-month history. Enhanced Reporting has its own account-scoped activation and billing rules. Organisation/manager accounts and publisher-identity accounts are not synced. Sync covers adapter-provider connections; for third-party source connections see connect and map an account.

Hand the account’s campaigns to another advertiser

An administrator of your account (the role ADMIN or SUPER_ADMIN) can make another advertiser the owner, so the campaigns appear under it instead. The advertiser must already map the ad account, and the call never creates a mapping. Call save_connection with the connection, the ad account and the advertiser that should own the campaigns:
The campaigns and the sync move together, in one step. They keep their campaign ids, nothing is copied, and neither advertiser is ever without them. Nothing changes in the ad platform. The previous owner’s mapping stays and now reads campaignSync.owner: false, naming the new owner. The result has action: "campaign_sync_owner_updated", the advertiser that owned the campaigns before as previousOwner, and the connection read back, so every mapping shows its new campaignSync. The call states an end state, so sending it again changes nothing and answers campaign_sync_owner_unchanged.
  • Everyone in the account is told. The people in your account see a notice in the app and receive an email, and so does the account’s notification address. It names the ad account, the advertiser the campaigns left, the advertiser that has them now and how many moved. The notice (storefront_adapter_sync.owner_changed) asks for nothing and cannot be muted. No approval is needed, because no spend moves.
  • It lasts as long as an owner’s mapping does. The new owner keeps the campaigns until its mapping is removed. Then the sync stops and the advertiser with the oldest remaining mapping takes over, as described above. The campaigns do not go back to the earlier owner on their own.
  • Nothing is half moved. If any campaign cannot move, the call is refused, names the problem and moves none.
The call is refused, with a message that says what to do, when:

How quickly a change in the ad platform appears

Apostra reads each subscribed ad account on a schedule, about every 15 minutes. Its target is that a campaign, ad set or ad you create or edit in the ad platform appears in Apostra within 30 minutes. Most changes appear sooner. This is a target Apostra measures, not a guarantee: it holds when Apostra’s latest read of the account succeeded and Apostra’s scheduled reads are keeping up. lastSyncedAt on the subscription is when Apostra last attempted a read of the account, and lastSyncStatus says whether it succeeded. Use them to see how old Apostra’s view is. For Meta, Apostra also asks Meta to notify it when a campaign, ad set or ad is created or changed, and reads the account as soon as a notification arrives. A notification can bring a change in within minutes. It is not what the 30 minutes rests on: Meta does not guarantee delivery or timing, so the scheduled read is the bound. What the target does not cover:
  • A read that failed. If Apostra could not read the account, lastSyncStatus is ERROR and lastSyncedAt is the time of that failed attempt, not of a good read. Apostra retries on the next scheduled read. Until one succeeds, what you see is as old as the last successful read.
  • Reads running behind. If Apostra has more accounts to read than a scheduled pass can finish, some accounts wait longer than 30 minutes.
  • Campaigns Apostra can’t represent. A campaign the provider returns in a form Apostra cannot read is not shown, whatever the schedule.
  • Delivery and spend. The target is about campaign metadata. Delivery reporting has its own timing. For a Meta campaign, the spend and delivery Apostra shows are the campaign’s lifetime, from its own start through today, as Meta reports it, so they match Meta Ads Manager. Today’s figures are provisional and the next read replaces them. Meta reads back 37 months, so for a campaign that started earlier the figures cover those 37 months, the read says so, and the total is not called the lifetime. An active Meta campaign is read about every 15 minutes. A paused one is read twice a day, after 02:00 and 14:00 UTC, the same schedule as campaigns made on a sales agent that reports per day. A campaign not yet read is read at the next sync, and a campaign that has ended is read on the twice-a-day schedule for seven days and then once more. One sync reads at most 10 paused or ended campaigns per account, so an account with many unread ones fills in over several syncs; active Meta campaigns are always read first and do not count against that.
  • Daily history. A Meta or Snap campaign Apostra imported also gets its day-by-day delivery, so Pulse and goal progress can read it. Meta’s starts at the campaign’s own start; Meta keeps 37 months, so an older campaign has its last 37 months. Snap’s starts at the beginning of the sync’s history window (see the boundary above). Either one runs up to the day before the campaign was connected. Each sync reads the history of a few Meta campaigns and of one Snap campaign, live ones first, so an account with many fills in over several syncs, hours for Meta and longer for Snap. A cancelled campaign gets its daily history too. The daily rows do not change the campaign’s totals, which stay its lifetime through today. After that, each read of the campaign’s delivery also refreshes its last few days, because the platform restates recent days, so the days keep adding up to the lifetime total. Snap counts its days in the ad account’s own time zone, so for an account that is not on UTC a day’s edge can read a little differently in the daily rows than in the lifetime total. Imported campaigns are reporting only: they are not billed. A platform other than these two gets a daily history once its integration returns delivery by day.

Warnings on a campaign’s delivery

A read of an imported campaign’s delivery can succeed and still carry a warning in its errors. The totals are Meta’s own in both cases; the warning says what is missing from them. A Meta ad set that was deleted or archived but still carries spend is imported as a package like any other, with provider_booking_detail.status set to DELETED or ARCHIVED (a live ad set states none: its state is paused), so the packages add up to the campaign’s spend as they do in Meta Ads Manager. It does not count toward the buy’s budget or status, and it is paused. If Meta will not return it, it is left out and the delivery says so with the warning below.

The live status of a synced campaign

A synced campaign has no seller to ask, so its live status comes from Apostra’s read of the ad account. Reading a synced campaign with include: ["liveStatus"] works in one of two ways:
  • The account was read successfully in the last 20 minutes. Apostra reads every subscribed account about every 15 minutes, so this is the usual case. Apostra answers from that read and does not read the account again. agents_queried is 0 and statusMessage names the time of the read, for example Status as read from the ad account at 2026-11-25T09:14:03.000Z. Reading many campaigns of one ad account therefore starts no read of the account at all while the schedule is healthy.
  • Otherwise, when the schedule has stalled. Apostra reads the account first, the same read the schedule runs, and answers with the status that read found. The read can take about 20 seconds or more for a large account. If the schedule’s read, or another caller’s read, is already running for the account, Apostra waits up to 45 seconds for it and answers from its result.
statusRefreshSource is delegated_adapter for an ad account connected through its platform, and direct_agent for an AdCP connection. If the read fails, or does not finish within 45 seconds, liveStatus returns the status as the last read left it, with statusRefreshSource: "refresh_failed", the blocker status_refresh_failed and an entry in errors. Read lastSyncedAt on the subscription to see how old that status is.

See how much of the account Apostra shows

Apostra records what each read of an ad account saw. Read it with get({kind: "connection", id: connectionId}), which returns accounts[] with no include. Each entry of accounts[] carries campaignCoverage once the account has synced. Buyers and Apostra support staff read the same field. It is absent for an account with no campaign subscription, and until the account’s first sync after Apostra began recording coverage. So “Meta has 12, we show 9, 3 left out” reads as platformCount: 12, mirroredCount: 9 and the three reasons in leftOut.byReason. state is full when nothing is missing beyond the history window, partial when at least one campaign is left out for another reason, and error when Apostra could not read the platform at all. Do not report an account as fully imported unless state is full.

Why a campaign is left out

Who acts when an account is not full

Every account that is not full carries a cause. It names who has to act and what they do, so an agent can tell the customer their step instead of guessing. owner is customer (the person who connected the account), platform (the ad platform) or scope3. When the cause is account_access_denied, Apostra also notifies the customer once, in the app and by email, and notifies again if the account is denied again after it has read as full. A lost authorisation is announced by the existing credential notification instead. A cause that Apostra does not recognise is always scope3. Apostra never leaves an account without a named owner.

Where the customer sees their step

When the owner is customer, the connection says so without anyone opening the coverage. On get({kind: "connection", id}), the advertiser’s entry in controlPlane.activation.advertisers carries requiredAction (reconnect for credential_unusable, map_account for account_access_denied) and a syncCause with the class, the action and the accountId (Apostra’s id for the ad account that could not be read; the connection’s account list can leave it out, for example on another page). The connection’s own requiredAction reports it too, and the text read prints a “Needs your action” line naming the ad account, the problem and the fix. Apostra reports a cause here only when the customer is the one who fixes it, and a step it already owes the advertiser, such as completing setup, stays ahead of it. The account’s activation state does not change, because the seller account is still active; only reading the ad account is blocked.

The creatives of your Meta ads

When Apostra syncs a Meta ad account, it also brings the creatives of the account’s ads into the Library. You do nothing and change no setting: a creative made in Meta Ads Manager, for an ad in a campaign Apostra syncs, becomes a creative in the Library of the advertiser that owns the account’s campaigns (see When two advertisers map the same ad account). It is never added to another advertiser’s Library, or to another customer’s. What is imported, and what is not: Meta’s own formats are the ones AdCP has no format for: AdCP has no shop or call destination, a pool that Meta assembles from several images and texts, an ad that is a post, or an ad that Meta fills from a product catalog. Apostra does not turn them into a different format, which would change where a click goes or drop part of the ad. It keeps each one as the creative it is. A read of the creative returns providerCreativeDetail with the platform and the format’s id and name (for example meta and shop, “Shop ad”), and no AdCP format_kind and no format id, because the format is Meta’s. The creative has a name, belongs to the advertiser’s Library, and is linked to the ad that runs it, so per-ad delivery names it. It has no copied files and no copy of its own, and it is read-only: you cannot edit it, send it to a seller or assign it to a buy from Apostra until Apostra can create that format. Changing the ad is done in Meta. An imported carousel is a creative in the Library like any other import, and it is linked to the ad that runs it, so per-ad delivery names it. Apostra cannot create a Meta carousel, so the creative cannot be sent to Meta or assigned to a Meta buy from Apostra: that is refused, and the ad itself is changed in Meta. Its preview is Meta’s own (see Preview a creative imported from Meta). A carousel stays out, counted as left out with the reason in the detail of its count, when:
  • carousel_card_is_video. A card is a video. AdCP’s carousel cards here are images, and showing fewer cards than the ad runs would misstate it.
  • carousel_card_without_image. A card names no image hash, for example because it has only a picture link. A link names no image Meta holds, so there is nothing stable to copy or compare.
  • carousel_card_image_not_found. Meta no longer holds the image of a card.
  • carousel_too_many_cards. The carousel has more than 10 cards, the most AdCP’s carousel takes.
Other creatives stay out too: a single image whose creative names only a picture link rather than an image Meta holds, an ad whose landing page link carries a token that neither Apostra nor Meta fills, a file larger than 30 MB, a creative whose files total more than 60 MB or number more than 10, and a creative Meta no longer has. They are not an error. They stay as they are in Meta, and Apostra tries again later where the cause can pass. An ad whose landing page link carries Meta’s own dynamic URL parameters, such as {{campaign.name}} or {{ad.id}}, is imported with the link exactly as you wrote it in Meta. Meta fills those parameters when it serves the ad, so the creative records that they are Meta’s. Because only Meta fills them, that creative can be sent to Meta only. When you send it to another seller, Apostra leaves that creative out, delivers the others in the same send, and reports which creative it left out and why, naming the parameters. You can still edit the creative, keeping the parameters, or edit the link to remove them. See Landing page macros.
  • Which ads. The ads of the campaigns Apostra syncs: live campaigns, and campaigns that ended within the history window of the sync, 30 days, or 14 months when the account has Enhanced Reporting or its daily ad history is imported (see above). The ads in the daily ad history are included too, archived and deleted ones as well, so an ad with results gets its creative in the Library as the table above describes for its format. They come in a few each sync, after the creatives of the ads that run now, so a long history takes a few days to fill in. A creative Apostra could not import is tried again later, a week later when the reason lasts and a day later when a read or a copy failed, not on every sync.
  • Each unique creative once. Meta often holds several creatives that run the same image and the same words, for example when an ad is duplicated. Apostra stores them as one Library creative, and every one of those Meta creatives belongs to it. The creative is named as it is in Meta.
  • The media of an image or video ad is copied. Meta’s links to its images and videos expire, so Apostra copies each file when it imports the creative. A read-only creative in Meta’s own format has no files to copy.
  • It comes in over several syncs. Each sync imports up to 20 creatives and stops after about two minutes, or as soon as Meta says the ad account is close to its limit, so an account with many creatives fills over several syncs, about 15 minutes apart. Importing starts after the sync has recorded what it read, so it never holds back your campaigns appearing.
  • Ads report your creative. An imported creative is linked to its Meta creative, so per-ad delivery names it from the next read, with creative_in_library: true. So does the creative report, on every day, including the days of your daily ad history stored before the creative was imported.
  • Each campaign lists its creatives. The campaign’s packages (Meta ad sets) and the campaign itself list the imported creatives their ads run, so a read of the media buy with creatives shows them. A creative that is not in the Library yet appears on the sync after it is imported. A read-only creative in Meta’s own format is listed on the media buys that run it too, with state: "complete", Meta’s name for it as its format (for example Shop ad), and no format_kind.
  • Earlier drafts are listed too, read-only. Before Apostra kept dynamic creatives in Meta’s own format, it saved a dynamic creative it could read as an AdCP responsive_creative as a draft, because a responsive creative needs a logo and a Meta dynamic creative has none. Those drafts stay as they were, are not imported a second time, and are listed on the media buy that runs them, with state: "draft", the same field and value get of a creative returns. Its status stays PENDING and its format is responsive_creative. A draft is not delivered by Apostra, so it stays a record of what the platform runs until you complete it in the Library. Every other creative on the media buy reads state: "complete".
An imported creative is an ordinary Library creative with source: "connected". It is not attached to any campaign: the ad already runs in Meta, and attaching it would make Apostra send a second copy. Archive it as you would any creative; the ad keeps running in Meta.

The creatives of your Spotify ads

When Apostra syncs a Spotify ad account, it also brings the audio, video and image ads made in Spotify Ads Manager into the Library. You do nothing and change no setting. Each ad becomes a creative in the Library of the advertiser that owns the account’s campaigns, and the ad shows as represented on the campaign. Apostra only reads from Spotify: nothing is changed or created there. These creatives are not read-only: you can edit them, send them to a seller or assign them to a buy like any other creative. An ad that is not imported stays in Spotify and is counted as left out, so none disappears from the count:
  • an ad whose audio, video or image Spotify is still processing, or no longer has, which Apostra tries again later;
  • a file larger than 50 MB for audio, 60 MB for video or 10 MB for an image;
  • an ad whose landing page link carries a {{...}} token that neither Apostra nor Spotify fills; and
  • an ad Spotify has archived or deleted.
Spotify ads that run the same Spotify audio, video or image asset, with the same words and link, become one Library creative, and every one of those Spotify ads belongs to it. Two assets uploaded separately to Spotify stay two creatives, even when their files are identical. An audio ad with no companion image is left in Spotify until it has one. The creative is named as the ad is in Spotify. As for Meta, an imported creative is an ordinary Library creative with source: "connected", attached to no campaign: the ad already runs in Spotify.

The ads of your Google Ads account

When Apostra syncs a Google Ads account, it also brings the ads of the account’s campaigns into the Library, as read-only creatives in Google’s own format. You do nothing and change no setting. They go to the Library of the advertiser that owns the account’s campaigns, as for Meta. Google builds most ads from several headlines, descriptions and images, or runs a video it hosts on YouTube, so Apostra keeps the ad itself and does not copy its parts: Apostra never draws a Google ad, and Google’s own previews are not available yet. For an ad in any of these formats, asking for one answers unavailable with placement_not_supported, without asking Google.
  • Nothing is written to Google. The import only reads. A creative in Google’s own format cannot be edited, sent to another seller or assigned to a campaign from Apostra; change the ad in Google Ads.
  • Each ad is one creative. Two ads that run the same words are still two ads Google reports on separately, so they are two Library creatives.
  • It comes in over several syncs. Each sync imports up to 20 creatives. An ad not yet imported appears on the sync’s coverage as creative_not_recorded.
  • Ads report your creative. An imported ad is linked to its Library creative, so a campaign’s delivery by creative names the creative as it is in the Library, and the sync counts the ad as represented.
  • A manager account is read as it is linked. An account Apostra reaches through a Google manager account is read through the same manager account the sync uses.

The creatives of your OpenAI Ads ads

When Apostra syncs an OpenAI Ads account, it also brings the chat cards of the account’s ads into the Library of the advertiser that owns the account’s campaigns, the same way it does for Meta. You do nothing and change no setting. A chat card stays out when OpenAI Ads holds something Apostra cannot carry: a crop of the image, more than one image, an image file that two ads run with different words or links, an image that is not a JPEG or a PNG, a file larger than 30 MB, or no image file at all. It is not an error: the ad stays as it is in OpenAI Ads, and Apostra tries again later where the cause can pass. The imported creative is an ordinary Library creative with source: "connected", not attached to any campaign, because the ad already runs in OpenAI Ads. Like Meta’s, each unique chat card is stored once, up to 20 are imported per sync, and per-ad delivery names the creative from the next read. Reading is read-only and changes nothing in OpenAI Ads.

The creatives of your Snap ads

When Apostra syncs a Snap ad account, it also brings the creatives of the account’s ads into the Library, the way it does for Meta. You do nothing and change no setting: a creative made in Snap Ads Manager, for an ad in a campaign Apostra syncs, becomes a creative in the Library of the advertiser that owns the account’s campaigns. It is never added to another advertiser’s Library, or to another customer’s. Snap’s own formats are the ones AdCP has no format for. Apostra does not turn them into a different format, which would change where a tap goes or drop part of the ad. A read of the creative returns providerCreativeDetail with the platform and the format’s id and name (for example snap and lens, “Lens ad”), and no AdCP format_kind and no format id. It is linked to the ad that runs it, so per-ad delivery names it, and it is read-only: you cannot edit it or send it to a seller from Apostra. Changing the ad is done in Snap. A creative whose media Snap has not finished processing, a creative with no media, a file larger than the import’s size limit and a creative type Snap adds later stay as they are in Snap. They are not an error, and Apostra tries again later where the cause can pass. Each unique creative is imported once: two Snap creatives that run the same media and headline become one Library creative. Snap’s brand name is not carried, because the Library has no place for it.

The creatives of your TikTok ads

When Apostra syncs a TikTok ad account, it also brings the creatives of the account’s ads into the Library, the way it does for Meta. You do nothing and change no setting: a creative made in TikTok Ads Manager, for an ad in a campaign Apostra syncs, becomes a creative in the Library of the advertiser that owns the account’s campaigns. It is never added to another advertiser’s Library, or to another customer’s. TikTok’s own formats are the ones AdCP has no format for: a Spark ad boosts a post made on TikTok, a live ad promotes a live stream, a catalog ad draws its products from a catalog and a Smart+ ad rotates between lists of videos, texts, calls to action and landing pages that TikTok picks from. Apostra does not turn them into a different format, which would drop part of the ad. A read of the creative returns providerCreativeDetail with the platform and the format’s id and name (for example tiktok and existing_post, “Spark ad”), and no AdCP format_kind and no format id. It is linked to the ad that runs it, so per-ad delivery and the campaign’s packages name it, and it is read-only: you cannot edit it or send it to a seller from Apostra. It has no preview: Apostra asks TikTok for a preview of an imported single video only. Changing the ad is done in TikTok. A Smart+ ad is kept whole, as one creative named as the ad is in TikTok, and holds what TikTok rotates between rather than one choice from it. Its first 10 videos are kept as read-only files of the creative, so a read with include: ["assets"] shows them, and providerCreativeDetail also returns: A Smart+ image is not kept yet, and the lists are not a choice of text, call to action or link: the creative has none of its own. The files are for showing: no tool takes a kept file of one creative into another, so a kept video cannot be reused in a new creative. A Smart+ video that an earlier sync already imported on its own stays as the video creative it is. An ad that is not imported is not an error. It stays as it is in TikTok, and Apostra tries again later where the cause can pass: a file larger than 30 MB, a video TikTok has not finished processing, a landing page link that carries a token neither Apostra nor TikTok fills, and a creative TikTok no longer has.
  • Which ads. The ads of the campaigns Apostra syncs, as for Meta.
  • Each unique creative once. TikTok often holds several ads that run the same video and the same words, or boost the same post. Apostra stores them as one Library creative, and every one of those TikTok creatives belongs to it. The creative is named as the ad is in TikTok. When ads run the same video or image with different words, Apostra imports none of them for now, because the creative could not say which ad’s words it holds. A carousel is named by its first image, so ads that run the same first image as a single image and as a carousel, or as different carousels, are left in TikTok in the same way. The ads stay in TikTok.
  • The media is copied. TikTok’s links to its videos and images expire, so Apostra copies each file when it imports the creative, every image of a carousel included. A carousel with an image TikTok no longer serves is not imported at all, because it would show fewer cards than the ad runs.
  • It comes in over several syncs. Each sync imports up to 20 creatives and stops after about two minutes, so an account with many creatives fills over several syncs, about 15 minutes apart. Importing starts after the sync has recorded what it read, so it never holds back your campaigns appearing.
  • Ads report your creative. An imported creative is linked to its TikTok creative, so per-ad delivery names it from the next read, and the campaign’s packages (TikTok ad groups) list the creatives their ads run.
An imported creative is an ordinary Library creative with source: "connected". It is not attached to any campaign: the ad already runs in TikTok, and attaching it would make Apostra send a second copy. Archive it as you would any creative; the ad keeps running in TikTok. An imported single video creative also has TikTok’s own preview: read the Creative with include: ["platform_preview"], as for a creative you synced to TikTok (TikTok’s own preview). An imported image or carousel has none.

The creatives of your LinkedIn ads

When Apostra syncs a LinkedIn ad account, it also brings the creatives of the account’s campaigns into the Library, the same way it does for Meta, with no setting to change. Every LinkedIn creative is kept read-only, in LinkedIn’s own format: Apostra copies no media and writes nothing to LinkedIn, and a click still goes where you set it in Campaign Manager. The creative has a name, belongs to the advertiser’s Library and is linked to the ad that runs it, so per-ad delivery names it. A read of it returns providerCreativeDetail with linkedin and the format’s id and name, and no AdCP format_kind. You cannot edit it, send it to a seller or assign it to a buy from Apostra. Changing the ad is done in LinkedIn. LinkedIn’s own preview of the creative is shown separately, where LinkedIn has one for the format; the formats without one show no preview. Two LinkedIn creatives that sponsor the same post or ad become one Library creative.

Your ads’ daily history

When a Meta ad account mapped to an advertiser has Enhanced Reporting on, Apostra also reads how each of the account’s ads did, day by day, for the last 14 months, and then keeps that history up to date. It is part of Enhanced Reporting’s 14 months of history, not a separate charge. In the buyer beta it is free: a beta account gets it without Enhanced Reporting. You do nothing to start it. The history is what creative delivery by day needs to answer “which ads drove this spike”, “how fast do our ads wear out” and “how old is each ad”, for campaigns Apostra bought and for campaigns created in Meta alike.
  • How far back. 14 months, so last year’s season is included. The window is the same for every account, and nobody sets it.
  • Older campaigns appear. To find the ads that ran in that window, Apostra syncs the account’s campaigns as far back as the window reaches, as Enhanced Reporting does (see above). Campaigns that ended more than a year ago therefore appear in your campaign list as ended tracked campaigns, the same as one that ended last month.
  • Newest first, a month at a time. Apostra reads the most recent 31 days first, then each earlier 31 days, so this year’s results are usable while last year’s are still arriving. What is covered is always one run of days with no gap, from the oldest covered day to yesterday. Apostra reads each new day after it ends, and reads the two days before it again, because Meta revises recent days. New days come before older months, so the newest days stay current while last year’s are still being read.
  • Recent days for every account first. Every ad account’s most recent 31 days are read before any account’s older months, so a newly connected account’s last month is not held up behind other accounts’ history.
  • A month of an account at a time. Apostra asks Meta for two reports of the ad account per month of history, one row per ad per day and one per ad set per day, and reads the ads and ad sets only of the campaigns that delivered. Before it saves a month, it checks the reports against each campaign’s own totals, one Meta request a campaign. A month takes about ten Meta requests plus that one a campaign, and a few more while Meta builds the reports. If Meta cannot produce a report, Apostra reads that part of the history one campaign at a time instead, about four Meta requests a campaign, and tries the reports again for the next month.
  • It paces itself and waits for Meta. Apostra pauses between its Meta reads of an account and never reads an ad account while its campaign sync does. When Meta says an ad account is near or over its limit, Apostra stops and waits until Meta’s own retry time before reading that account again, so it does not take Meta’s limit from the account’s other reads.
  • Live campaigns come first. Meta shares its reporting capacity for Apostra across every account it reads. The history gives way to reads of running campaigns: when Meta reports that capacity, or the ad account’s own, 40% used, the history reads more slowly, and at 60% it pauses for a few minutes. Spend and delivery reads keep the rest.
  • It retries on its own. A read that fails is tried again later, at a growing interval of up to a day, for about two and a half days; the state is waiting and keeps the reason. You do nothing. Each campaign it reads in the meantime starts that count again, so a large account that fails now and then keeps going. A failure only you can fix, such as Apostra losing access to the ad account, stops it at once: the history is marked failed with the reason, as it is if the retries do not clear it.
  • Reporting only. The history is saved as AdCP creative rows for reporting. It never changes what a campaign spent or delivered in Apostra and never books spend. A day that a campaign’s own delivery report already covers keeps that report’s figures.

See how far the history has got

get(kind: "connection") shows each ad account’s progress as creativeHistory on its entry in accounts[]. It is absent for an account with no history read. The Media Partners page draws the same progress as an Ad history card under each connected ad account: the state, the months covered and the campaigns read. Creative delivery by day repeats these entries in its coverage.history, and lists a campaign whose history has not reached the start of your range as unread with the reason history_pending. When a history has failed, get_status adds a recommended step: call save_directed_campaign_subscription for that ad account again, with the same connection, account and advertiser. That resumes it where it stopped.

See the whole account’s history at once

get_status for a buyer account carries one creativeHistory summary of all its Meta ad accounts. It is present only when the account’s creative history is on and there is a history to report, so a status without it means there is nothing to say yet. The Prime home uses it to say your ad history is ready and to offer the question “Which of my Meta ads worked best?”. Ask the Prime, or read Creative delivery by day with coveredFrom and coveredThrough as the range, to see the ads.

Change a campaign synced from Meta

A campaign synced from a Meta ad account is changed with the same calls and permissions as a campaign Apostra built: save_campaign with its campaignId, or save_media_buy with its mediaBuyId. A synced campaign has one media buy, and the two calls change the same campaign. There is no separate take-over step. This is available to accounts in the buyer beta. For any other account a tracked campaign stays read-only: save_campaign refuses a change with TRACKING_CAMPAIGN_WRITE_REJECTED, and save_media_buy refuses it as a change to a campaign synced from an ad account. The first change Meta accepts takes the campaign over:
  • Apostra reads the campaign from Meta at that moment and records it as the media buy’s first revision, the baseline. Every later change, made through Apostra or in Meta, is compared with it.
  • The campaign and its media buy read handling: "managing" from then on. They keep their ids, and nothing is copied or created again in Meta.
  • The change is then sent to Meta through the ad account’s connection.
  • The response says so in its text and carries takenOver: true. Later changes do not carry it.
A change Meta refuses takes nothing over: the campaign stays tracked, as it was. If Meta cannot be read when the change arrives, nothing is taken over or changed, and the call returns SERVICE_UNAVAILABLE; retry shortly. If the outcome of a change is unknown, for example because Meta timed out, the campaign stays taken over, because Meta may hold the change. The error says so and carries takenOver: true. What a change can carry: Any other field is refused with VALIDATION_ERROR naming it, and nothing is taken over or changed. That includes the budget’s dailyCap and pacing, creatives, targeting, goals, bidding, products on the media buy, archiving and cancelling. A budget in Apostra is a lifetime total. Apostra reads the campaign from Meta and sends the budget where Meta holds one: A refused budget changes nothing in Meta and takes nothing over. The budget’s currency must be the ad account’s currency, which the campaign reads as its own. After take-over:
  • Status still follows the ad account’s sync, as before.
  • A change someone makes in Meta shows as drift against the baseline, and is never copied over Apostra’s record.
  • Settings Apostra cannot represent stay exactly as Meta holds them, and stay named in unrepresented. Advantage+ audience stays as the buyer set it in Meta, including when a paused campaign is resumed through Apostra.
  • Reading back the change: if Meta accepted a change but could not be read back straight away, the campaign shows the change as requested, and the next sync replaces it with what Meta holds. The response says so.
Only Meta campaigns can be taken over today. A change to a campaign synced from another platform is refused with CAPABILITY_NOT_SUPPORTED.

When campaigns are missing

  1. Use search({kind: "connection"}) to find the connected platform, then get({kind: "connection", id: connectionId}) to read its discovered accounts and advertiser mappings. Follow account and mapping pagination when needed.
  2. Match the buyer’s ad-platform account ID against accounts[].externalAccountId. If the account has no advertiser mapping, explain that mapping it to an advertiser starts the sync. Do not guess IDs.
  3. If the account is mapped, wait for the next sweep (up to 15 minutes) and read back as below. Report sync errors the read returns instead of inferring that the account is empty.
save_directed_campaign_subscription still accepts an explicit subscription for a mapped account, with the account’s connectionId and providerAccountId (Apostra’s connection-account ID, not the ad platform’s own ID) and an advertiserId mapped to it. It is no longer needed to start sync, and it will be retired. Its unsubscribe: true option stops the sync, but the next sweep starts it again while the account is still mapped. To stop syncing an account, remove its mapping.

Read back before reporting success

After the sync has run, repeat search({kind: "campaign", filter: {advertiserId, campaignMode: "tracked"}}) and follow its pagination. Inspect the returned campaigns with get({kind: "campaign", id}) to verify their identity and flight dates. Use explicit campaign status filters when terminal or archived campaigns are also requested; the default saved search returns non-terminal campaigns. A sync’s mirrored count records sync work, not a verified list of newly imported campaigns. Report names, counts and future dates only from actual read-back. If more than one provider account maps to the advertiser, do not attribute every returned campaign to the requested account without matching its provider identity. Distinguish these outcomes:
  • No saved match: the requested campaign is not in the saved search results. Its presence in the native ad account has not been established by that search.
  • No native match: a successful, complete provider sync and subsequent read-back found no matching eligible campaign. State the account, requested filters and history boundary; do not claim inventory outside that scope.
  • Unavailable or unsupported: provider enumeration failed, was incomplete, or is unsupported. A sync with errors or zero mirrors does not prove the account is empty. Existing valid mirrors survive failed or incomplete snapshots, and the worker retries the subscription.
  • Some campaigns left out: a Meta campaign that Apostra cannot read at all, for example one with a budget set at both the campaign and the ad set, is not mirrored, but the rest of the ad account is. The sync still reports success and the saved search shows fewer campaigns than the native ad account. Do not report the account as fully imported, and do not blame the other campaigns for the missing one.
  • Audience expansion: Meta lets an ad set deliver beyond the audience it states. get({kind: "media_buy", id}) reports it on each package of a synced Meta campaign as targeting_overlay.audience_expansion, whether it is on or off. It follows the shape of the AdCP audience expansion proposal (adcontextprotocol/adcp#9094), which AdCP has not adopted yet, so it is Apostra’s extension for now: AdCP callers read the same object under ext.apostra.audience_expansion on the package. enabled: true means Meta may deliver outside the stated audience, and delivery to people outside it is expected, not a targeting mismatch. An ad set that turns on Advantage+ audience reads enabled: true, with beyond naming what Meta may go beyond (demographics, audience_include, signal_targeting_groups and seller_criteria, for the ones the ad set states). Its age range is Meta’s suggestion, not a limit: it is under suggestions.demographics.age, and the age limit stays Meta’s real minimum and maximum age (the maximum is fixed at 65), so do not state the suggestion as the audience’s age. An ad set with Advantage detailed targeting set to expansion_all reads enabled: true, with beyond including seller_criteria: Meta may go beyond the interests and behaviours listed. An ad set with neither reads enabled: false. Meta has no narrow, balanced or broad setting, so level is not set. Apostra only reads this on a synced Meta campaign; it does not set expansion when it creates one. LinkedIn (audience expansion) and Pinterest (auto-targeting) report the same field with enabled alone, on or off, on every package. A buy Apostra creates on LinkedIn or Pinterest has expansion off, unless the product is Pinterest Performance+, which expands by design, and it fails to create if the platform reads the setting back on. A campaign that already existed keeps whatever the platform holds.
  • Some settings left out: a Meta campaign that the buyer built in Meta, and whose ad sets target by a setting Apostra cannot represent (language, excluded geography, behaviours, cities targeted with a radius, Advantage+ automation beyond Advantage+ audience, placement controls, or a targeting key Apostra does not recognise), or whose ad sets bid with a cost cap or a minimum return on ad spend, is mirrored with its name, status, budget, dates, goal and the targeting Apostra can represent. The settings it cannot represent are left out of Apostra’s copy. get({kind: "media_buy", id}) names each one in unrepresented as a { path, reason }, on the media buy and on the package that holds it (for example packages[<ad set id>].targeting.locales with unsupported_dimension); the field is absent when there are none. Every such setting on an ad set is named, not only the first. Two Meta audience settings are not left out: they are read as audience expansion (the next item). A range that disagrees with the age limits when Advantage+ audience is off is still named as packages[<ad set id>].targeting.age_range with unsupported_dimension, and so is an Advantage detailed targeting value other than expansion_all and none (as packages[<ad set id>].targeting.targeting_optimization with unknown_dimension). A bidding setting is named as packages[<ad set id>].bidding with unsupported_dimension, and the package carries no bid_price, so do not state its bid or cost target. Meta placements are not left out. A package’s targeting_overlay.placement_selection states the placements Meta holds, in AdCP’s own shape: { mode: "selected", placement_refs } for a set the buyer chose in Meta, naming each Facebook, Instagram, Messenger or Threads placement (including Marketplace, the right-hand column, Notifications and Explore), and { mode: "default" } when the ad set uses automatic placements (Advantage+ placements), which is not an unrecognised setting. Audience Network is third-party app inventory, not a publisher placement, so it is not in placement_selection. It is carried in the named extension targeting_overlay.ext.scope3.meta_audience_network as { included: true, positions }, where positions is classic and rewarded_video as Meta lists them and is absent when Meta chooses them. Meta has retired two Facebook positions, Instant Articles and Video Feeds, and an ad set made before they ended can still list them. Nothing delivers there, so placement_selection lists the placements the ad set names without them, and each retired position is named in unrepresented as packages[<ad set id>].targeting.facebook_positions.instant_article or facebook_positions.video_feeds, so you can tell the buyer the ad set still lists it. An ad set whose only Facebook positions are retired has no placement_selection, and is named as below. When Apostra cannot state an ad set’s placements exactly, the package has no placement_selection and the settings are named as before: a platform Meta gives no positions for (Meta chooses its positions), or a position Meta has not retired that has no placement. They are named as packages[<ad set id>].targeting.facebook_positions.value, instagram_positions.value, publisher_platforms.value or the matching effective_ list Meta reads back, and the ad set’s known placements are kept. A setting of a flexible_spec group other than its custom audiences, such as interests, is named as packages[<ad set id>].targeting.flexible_spec.<n>.<setting>. Meta’s gender value 0 means every gender, so it names nothing and leaves genders empty. When Apostra cannot state the placements, a Messenger or Threads position in the placements Meta reads back is named as packages[<ad set id>].targeting.effective_owned_publisher_positions and left out whole. A package that names any is a partial copy: its targeting_overlay leaves those settings out, so do not describe the campaign’s targeting as complete. A campaign that Apostra created is read the same way once someone changes an ad set’s targeting or placement controls in Meta so that they no longer match what Apostra sent: Meta is the source of truth, so the buy’s status, budget, dates and creatives keep updating, and the targeting Apostra cannot represent is named in unrepresented. Its targeting is then read as Meta holds it, and if none of it can be projected the package carries no targeting_overlay and names packages[<ad set id>].targeting with targeting_not_projectable. Other changes made in Meta to a campaign Apostra created are read the same way:
    • Objective, goal or bidding. The ad set is read as Meta now holds it, and what Apostra cannot state is named in unrepresented, as for a campaign built in Meta (see “Goals and bidding Apostra cannot fully read” below).
    • An ad set added or removed. An ad set added in Meta is read as a package built in Meta: it carries no product_id, and Apostra reports it as an object it did not create. An ad set removed in Meta is no longer a package of the buy.
    • An ad changed. An ad whose creative was swapped, a second ad for the same creative, or an ad for a creative Apostra never finished sending is read as Meta holds it.
    The difference from what Apostra booked shows on the media buy’s drift indicators until Meta is back in line with the booking, and the buy’s status follows Meta. A budget or flight-date change you make through save_media_buy is part of the booking, so it never shows as drift. One campaign that cannot be read never stops the others in the account from being read. A change in Meta to how the budget is placed, on AdCP 3.2, still leaves that campaign out as campaign_unreadable.
  • Changing a campaign with settings left out: a change through save_media_buy never removes or alters a Meta targeting setting named in unrepresented; Apostra sends it back to Meta exactly as Meta holds it. A budget, flight-date or pause change goes ahead. A products[].targetingOverlay change that would replace one of those settings is refused with VALIDATION_ERROR before anything is sent to Meta, and the message names each setting by its unrepresented path: language covers targeting.locales; the excluded geography fields cover targeting.excluded_geo_locations; and any change to the included geography covers the regions and cities lists. Change that setting in Meta itself, or send the update without the targeting that covers it. If Meta’s answer to a change no longer holds a setting exactly as it was, Apostra treats the change as failed and undoes it. This applies to campaigns Apostra created and to campaigns taken over from the ad account; see Change a campaign synced from Meta.
  • Snap targeting: a Snap campaign that the buyer built in Snap is mirrored with its name, status, budget, dates and creatives, and each ad squad’s targeting as Snap applies it. Countries, regions, postal areas and what Snap excludes go to targeting_overlay in AdCP’s own fields (geo_countries, geo_regions, geo_postal_areas and their _exclude forms), languages to language, the age groups to demographics.age (Snap serves no members of unknown age, so include_unknown is false, and the open-ended 35+ group has no max), and an iOS or Android rule to device_platform or device_platform_exclude. A squad that targets every age group states no age. Snap’s gender is not in the overlay, because AdCP 3.2 has no gender targeting: the package names gender in unrepresented with targeting_not_projectable. Snap names a region by its own id, so Apostra reads it as an ISO 3166-2 region only when Snap’s region name matches exactly one region of that country; any other region is named in unrepresented as packages[<ad squad id>].targeting.geos.region_id with region_without_iso_mapping, and its country is shown instead, which is wider than Snap applies. What AdCP has no field for is in the package’s provider_targeting block with platform: "snap": interest_categories and snap_audience_segments (Snap’s own categories and audiences, each as Snap’s id with exclude), metros (Snap’s own metro ids) and devices (a connection type or carrier). If the squad’s targeting does not project at all, the package carries no targeting_overlay and unrepresented names packages[<ad squad id>].targeting with targeting_not_projectable. Do not describe such a squad’s targeting as complete. A squad that Apostra created is read the same way once someone changes its targeting in Snap so that it no longer matches what Apostra sent: Snap is the source of truth, so the buy’s status, budget, dates and creatives keep updating, and the targeting Apostra cannot represent is named in unrepresented. An ad squad someone adds in Snap to a campaign Apostra created is read the same way as a squad built in Snap: it carries no product_id, so it shows as one Apostra did not create, and the rest of the buy keeps updating. An ad squad removed in Snap is no longer a package of the buy.
  • Campaigns on Meta’s original objectives: Meta still serves campaigns built on the objectives that predate its outcome-based ones. Where Meta defines one outcome-based objective for an original objective, Apostra reads the campaign as that one: LINK_CLICKS as traffic; BRAND_AWARENESS, REACH, VIDEO_VIEWS and STORE_VISITS as awareness; POST_ENGAGEMENT, PAGE_LIKES, EVENT_RESPONSES and MESSAGES as engagement; LEAD_GENERATION as leads; APP_INSTALLS as app promotion. Where Meta defines none that the campaign alone determines (CONVERSIONS, whose replacement depends on the ad set’s optimization goal, and PRODUCT_CATALOG_SALES, LOCAL_AWARENESS and OFFER_CLAIMS), the campaign is mirrored with its name, status, budget, dates and targeting, its packages carry no optimization_goals, and unrepresented names objective with unknown_dimension once on the media buy. Do not state such a campaign’s goal. If the ad set’s goal then does not fit the replacement objective, the campaign is left out as campaign_unreadable with the field that says why.
  • Goals and bidding Apostra cannot fully read: a Meta campaign the buyer built in Meta, whose ad set optimizes for something Apostra cannot state, is still mirrored. unrepresented names what was left out, on the media buy and on the package, and the package carries only what Apostra read:
    • packages[<ad set id>].optimization_goals: the goal cannot be stated, so the package carries no optimization_goals. The reason is unsupported_dimension when Meta returned no event source for a conversion goal, and unknown_dimension when the conversion event or the optimization goal itself is one Apostra does not recognise. Do not state the campaign’s goal.
    • packages[<ad set id>].bidding: a bid strategy Apostra does not recognise, or an amount Meta returned that Apostra cannot read. The goal is kept and the package carries no bid_price.
    • packages[<ad set id>].billing_event: the ad set’s goal is read from the ad set itself, but its billing event is not the one Apostra pairs with that goal and the campaign’s objective. The goal is kept.
    • packages[<ad set id>].targeting with targeting_not_projectable: Meta returned the ad set with no targeting at all, or with targeting that Apostra cannot project and cannot name setting by setting, so the package carries no targeting_overlay. The rest of the campaign is still read. Do not describe the ad set as untargeted.
  • Unauthorised: the connection or advertiser is inaccessible, or provider authorisation failed. Explain the access or reconnect action; do not infer that the campaigns are absent or retry as a different account.