Skip to content
Listener.comDevelopers

Campaigns

Sponsorship campaigns, slots, cluster links, brand profiles and air checks.

List campaigns

GET/v1/campaigns

The workspace's campaigns as the Campaigns page lists them: status, flight, goal progress, pacing, slots, reach by category and format, expected and delivered CPM, EMV, budget, unlinked slots, brand and public URL.

status filters after meta.status_counts are taken; brand matches name or slug; show_ids keeps campaigns with a slot or cluster on those shows; search matches title, brand and show names; sort_by is <key>:<asc|desc> (keys: startDate, endDate, status, createdAt, updatedAt, title, brand, reach, goal, pacing, cpm, budget, show). precision=summary (default) reads stored cluster summaries, fast but EMV, first-30-days and delivered CPM skip summary-only clusters; precision=nodes loads every linked cluster (slow on large networks).

SDKlistener.campaigns.list()client.campaigns.list()

Query parameters

  • statusstring
    Status filter or value.
    One ofallupcomingactivecompleted

    Default "all"

  • brandstringnullable
    Brand name or slug filter.
  • show_idsarray of stringsnullable
    Limit to these show ids (default: every show in the workspace). Repeat the parameter or comma-separate values.
  • searchstringnullable
    Case-insensitive text filter.
  • unlinked_onlyboolean

    Default false

  • sort_bystring
    Sort field.

    Default "startDate:desc"

  • precisionstring
    summary (fast, stored totals) or a more precise, slower computation.
    One ofsummarynodes

    Default "summary"

  • limitinteger1 to 100
    Page size, 1–100 (default 25).

    Default 25

  • cursorstring
    Opaque cursor from the previous page's next_cursor.

Headers

  • X-Listener-Workspacestringmax 200 chars
    Run this request inside one of the network's own subnetworks: its id, handle or name, as GET /v1/subnetworks returns them (names and handles are matched without regard to case). Network credentials only. A subnetwork that is a group of shows (kind: "group") limits the request to those shows: lists, analytics and clusters cover only them, a show outside it answers 404, and a write that names a show outside it is refused; campaigns, reports and the team stay the network's, and requests that change the network itself (the network profile, adding or removing shows, subnetworks, team) answer 400. A subnetwork with its own account (has_login: true) is opened as that account, so every resource is the subnetwork's own. GET /v1/me says which one the request ran in (note). Omit the header, or send network, for the whole network. A value that is not one of this network's subnetworks answers 400 parameter_invalid; a subnetwork or single-show credential cannot select anything. Sent as a header only: there is no workspace query parameter on /v1. Webhook endpoints, events and connections always belong to the credential's own workspace.

Returns

200

OK

  • objectstringrequired
  • urlstring (uri)required
  • dataarray of objectsrequired
    Show child attributesHide child attributes
  • has_morebooleanrequired
  • next_cursorstringrequirednullable
    Pass as cursor to get the next page; null on the last page.
  • metaobjectrequired
    The result's non-list fields (window, coverage, freshness, totals, note …).
    Show child attributesHide child attributes

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found429rate_limited500internal_error

Create a campaign

POST/v1/campaigns

Create a campaign. At least one show must be referenced through show_goals, show_budgets or planned_episodes. Dates are YYYY-MM-DD and end_date must not precede start_date. When brand.name is set the brand profile is created or updated first and campaigns already sharing that brand get its details re-stamped (listed in warnings). A duplicate title + brand is a warning, not an error. No emails or notifications are sent.

  • Send at least one of: show_goals or show_budgets or planned_episodes (otherwise 400 parameter_missing/parameter_invalid names the parameter).
  • Send "dry_run": true to get {"object": "dry_run", "would_write": …} without writing anything.

SDKlistener.campaigns.create()client.campaigns.create()

Headers

  • X-Listener-Workspacestringmax 200 chars
    Run this request inside one of the network's own subnetworks: its id, handle or name, as GET /v1/subnetworks returns them (names and handles are matched without regard to case). Network credentials only. A subnetwork that is a group of shows (kind: "group") limits the request to those shows: lists, analytics and clusters cover only them, a show outside it answers 404, and a write that names a show outside it is refused; campaigns, reports and the team stay the network's, and requests that change the network itself (the network profile, adding or removing shows, subnetworks, team) answer 400. A subnetwork with its own account (has_login: true) is opened as that account, so every resource is the subnetwork's own. GET /v1/me says which one the request ran in (note). Omit the header, or send network, for the whole network. A value that is not one of this network's subnetworks answers 400 parameter_invalid; a subnetwork or single-show credential cannot select anything. Sent as a header only: there is no workspace query parameter on /v1. Webhook endpoints, events and connections always belong to the credential's own workspace.
  • Idempotency-Keystringmax 255 chars
    Any unique string (≤ 255 chars). Replays within 24 h return the stored response with Idempotent-Replayed: true.

Request body

application/json
  • titlestringrequired
    Title shown in Listener and on public pages.
  • descriptionstring
    Free-text description.

    Default ""

  • start_datestring (date)nullable
    First day of the flight, YYYY-MM-DD.
  • end_datestring (date)nullable
    Last day of the flight, YYYY-MM-DD (not before start_date).
  • brandobjectnullable
    The brand: a name, or {name, logo, domain, contact, notes, invite_email}. Creates or updates the brand profile.
    Show child attributesHide child attributes
  • show_goalsmap of integernullable
    Per-show view goals: {show_id: views}.
  • show_budgetsmap of numbernullable
    Per-show budgets in dollars: {show_id: amount}.
  • total_budgetnumbernullable
    Total campaign budget in dollars.
  • platform_goalsmap of integernullable
    Per-platform goals: {platform: views}.
  • planned_episodesarray of objectsnullable
    Campaign slots: [{show_id, title?, expected_impressions?, budget?}].
    Show child attributesHide child attributes
  • show_idsarray of stringsnullable
    Shows this request may reference (default: every show in the workspace).
  • dry_runboolean
    true returns exactly what would be written without writing anything (the API's test mode).

    Default false

Returns

200 · 201

Dry run: what would be created (nothing was written).

  • objectstringrequired
  • resourcestringrequired
    What the request writes (campaign, cluster, report, webhook_endpoint …).
  • would_writeobjectrequired
    The fields that would be written, in the resource's snake_case shape.
  • actionstringnullable
    create, update, delete, or the endpoint's action (roll_secret, send_test, retry …).
  • idstringnullable
    The resource id (null when a dry run creates something new).
  • detailsobject
    Endpoint-specific results (ids added, rows matched, estimates …), snake_case.
  • warningsarray of strings
  • urlsobject
    Show child attributesHide child attributes
  • okboolean
    false when the write would be refused upstream (see error).
  • errorstringnullable
  • requires_confirmboolean
    Present (true) when the real request needs confirm: true (?confirm=true for DELETE): destructive or metered actions.
  • notestring
    What the real request needs, when requires_confirm is set.

Created.

  • objectstringrequired
  • resourcestringrequired
    What the request writes (campaign, cluster, report, webhook_endpoint …).
  • idstringrequirednullable
    The resource id (null when a dry run creates something new).
  • writtenobjectrequired
    The fields written, snake_case; server timestamps as ISO 8601 UTC.
  • actionstringnullable
    create, update, delete, or the endpoint's action (roll_secret, send_test, retry …).
  • detailsobject
    Endpoint-specific results (ids added, rows matched, estimates …), snake_case.
  • warningsarray of strings
  • urlsobject
    Show child attributesHide child attributes
  • okboolean
    false when an upstream refused the write; nothing changed (see error).
  • errorstringnullable

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found409confirmation_required413body_too_large429rate_limited500internal_error

Retrieve a campaign

GET/v1/campaigns/{campaign_id}

One campaign in full: headline KPIs (reach by category and format, engagement, expected vs delivered CPM, EMV with resolved settings, first-30-days estimate), fulfilment against goal and pacing, every slot with its linked cluster's reach, per-show breakdown, air-check summary, share settings, brand, activity log and URLs. Node-precise: every linked cluster is loaded.

SDKlistener.campaigns.retrieve()client.campaigns.retrieve()

Path parameters

  • campaign_idstringrequired
    Campaign id (see GET /v1/campaigns).

Query parameters

  • activity_limitinteger0 to 200

    Default 30

Headers

  • X-Listener-Workspacestringmax 200 chars
    Run this request inside one of the network's own subnetworks: its id, handle or name, as GET /v1/subnetworks returns them (names and handles are matched without regard to case). Network credentials only. A subnetwork that is a group of shows (kind: "group") limits the request to those shows: lists, analytics and clusters cover only them, a show outside it answers 404, and a write that names a show outside it is refused; campaigns, reports and the team stay the network's, and requests that change the network itself (the network profile, adding or removing shows, subnetworks, team) answer 400. A subnetwork with its own account (has_login: true) is opened as that account, so every resource is the subnetwork's own. GET /v1/me says which one the request ran in (note). Omit the header, or send network, for the whole network. A value that is not one of this network's subnetworks answers 400 parameter_invalid; a subnetwork or single-show credential cannot select anything. Sent as a header only: there is no workspace query parameter on /v1. Webhook endpoints, events and connections always belong to the credential's own workspace.

Returns

200

OK

  • idstringrequired
  • titlestringrequired
  • statusstringrequired
    One ofupcomingactivecompleted
  • status_labelstringrequired
  • brandobjectrequired
    Show child attributesHide child attributes
  • goalsobjectrequired
    Show child attributesHide child attributes
  • pacingobjectrequired
    Show child attributesHide child attributes
  • reachobjectrequired
    Show child attributesHide child attributes
  • activity_logobjectrequired
    Show child attributesHide child attributes
  • precisionstringrequired
    One ofsummarynodesnone
  • computed_atstring (date-time)required
  • cache_age_secondsnumberrequired
  • objectstringrequired
  • descriptionstring

    Default ""

  • status_is_manualboolean

    Default false

  • status_updated_atstring (date-time)nullable
  • start_datestring (date)nullable
  • end_datestring (date)nullable
  • start_is_fallbackboolean

    Default false

  • days_remainingintegernullable
  • days_until_startintegernullable
  • timingstringnullable
  • has_goalboolean

    Default false

  • goal_progress_pctnumbernullable
  • goal_progress_clamped_pctnumbernullable
  • budgetnumber

    Default 0

  • slot_budget_totalnumber

    Default 0

  • expected_impressionsnumber

    Default 0

  • expected_cpmnumber

    Default 0

  • delivered_cpmnumber

    Default 0

  • delivered_cpm_statusstring

    Default "pending"

  • delivered_cpm_detailobject
  • format_cpmobject
  • emvobject
    EMV block incl. resolved settings + settings_source.
  • engagementnumber

    Default 0

  • engagement_ratenumber

    Default 0

  • first_30_daysobject
  • linked_show_idsarray of strings
  • linked_show_namesarray of strings
  • show_countinteger

    Default 0

  • cluster_idsarray of strings
  • clusters_loadedinteger

    Default 0

  • clusters_missingarray of strings
  • total_slotsinteger

    Default 0

  • linked_slotsinteger

    Default 0

  • unlinked_slot_countinteger

    Default 0

  • live_slotsinteger

    Default 0

  • slotsarray of objects
    Show child attributesHide child attributes
  • show_breakdownarray of objects
    Show child attributesHide child attributes
  • air_checksobject
  • excluded_node_countinteger

    Default 0

  • excluded_node_ids_countinteger

    Default 0

  • featured_content_node_idstringnullable
  • merged_fromarray of objectsnullable
  • copied_fromobjectnullable
  • created_viastringnullable
  • duplicateobjectnullable
  • shareobject
  • public_urlstring (uri)nullable
  • app_urlstring (uri)nullable
    The campaign in the network app (null for creator workspaces: the creator app has no campaign pages).
  • created_atstring (date-time)nullable
  • updated_atstring (date-time)nullable
  • warningsarray of strings
  • notestringnullable

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found429rate_limited500internal_error

Update a campaign

PATCH/v1/campaigns/{campaign_id}

Update a campaign's title, description, dates, brand, goals, budgets, EMV settings or featured content. Only the fields you send change. brand fields merge into the campaign's brand; show_goals replaces the per-show goals and recomputes the total; emv_settings merges and is normalised. Renaming the brand re-stamps other campaigns of that brand (listed in warnings). clear_featured_content_node / clear_platform_goals remove those fields. Slots, cluster links and status have their own endpoints.

  • Send "dry_run": true to get {"object": "dry_run", "would_write": …} without writing anything.

SDKlistener.campaigns.update()client.campaigns.update()

Path parameters

  • campaign_idstringrequired
    Campaign id (see GET /v1/campaigns).

Headers

  • X-Listener-Workspacestringmax 200 chars
    Run this request inside one of the network's own subnetworks: its id, handle or name, as GET /v1/subnetworks returns them (names and handles are matched without regard to case). Network credentials only. A subnetwork that is a group of shows (kind: "group") limits the request to those shows: lists, analytics and clusters cover only them, a show outside it answers 404, and a write that names a show outside it is refused; campaigns, reports and the team stay the network's, and requests that change the network itself (the network profile, adding or removing shows, subnetworks, team) answer 400. A subnetwork with its own account (has_login: true) is opened as that account, so every resource is the subnetwork's own. GET /v1/me says which one the request ran in (note). Omit the header, or send network, for the whole network. A value that is not one of this network's subnetworks answers 400 parameter_invalid; a subnetwork or single-show credential cannot select anything. Sent as a header only: there is no workspace query parameter on /v1. Webhook endpoints, events and connections always belong to the credential's own workspace.
  • Idempotency-Keystringmax 255 chars
    Any unique string (≤ 255 chars). Replays within 24 h return the stored response with Idempotent-Replayed: true.

Request body

application/json
  • titlestringnullable
    Title shown in Listener and on public pages.
  • descriptionstringnullable
    Free-text description.
  • start_datestring (date)nullable
    First day of the flight, YYYY-MM-DD.
  • end_datestring (date)nullable
    Last day of the flight, YYYY-MM-DD (not before start_date).
  • brandobjectnullable
    The brand: a name, or {name, logo, domain, contact, notes, invite_email}. Creates or updates the brand profile.
    Show child attributesHide child attributes
  • show_goalsmap of integernullable
    Per-show view goals: {show_id: views}.
  • show_budgetsmap of numbernullable
    Per-show budgets in dollars: {show_id: amount}.
  • total_budgetnumbernullable
    Total campaign budget in dollars.
  • platform_goalsmap of integernullable
    Per-platform goals: {platform: views}.
  • emv_settingsobjectnullable
    Campaign `emvSettings (port of normalizeCampaignEmvSettings`).
    Show child attributesHide child attributes
  • featured_content_node_idstringnullable
  • clear_featured_content_nodeboolean

    Default false

  • clear_platform_goalsboolean

    Default false

  • dry_runboolean
    true returns exactly what would be written without writing anything (the API's test mode).

    Default false

Returns

200

OK

One of:

WriteResult
DryRun

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found409confirmation_required413body_too_large429rate_limited500internal_error

Delete a campaign

DELETE/v1/campaigns/{campaign_id}

Permanently delete a campaign (no undo, no cascade) and report what it leaves behind: pending brand invites and shared reports that embed it. Send ?dry_run=true first to see them.

  • Send ?dry_run=true to get {"object": "dry_run", "would_write": …} without writing anything.
  • Requires ?confirm=true; without it the API answers 409 confirmation_required with the exact preview.

SDKlistener.campaigns.delete()client.campaigns.delete()

Path parameters

  • campaign_idstringrequired
    Campaign id (see GET /v1/campaigns).

Query parameters

  • dry_runboolean
    true returns exactly what would be written without writing anything (the API's test mode).

    Default false

  • confirmboolean
    Must be true to apply destructive or metered changes; without it the API answers 409 with a preview.

    Default false

Headers

  • X-Listener-Workspacestringmax 200 chars
    Run this request inside one of the network's own subnetworks: its id, handle or name, as GET /v1/subnetworks returns them (names and handles are matched without regard to case). Network credentials only. A subnetwork that is a group of shows (kind: "group") limits the request to those shows: lists, analytics and clusters cover only them, a show outside it answers 404, and a write that names a show outside it is refused; campaigns, reports and the team stay the network's, and requests that change the network itself (the network profile, adding or removing shows, subnetworks, team) answer 400. A subnetwork with its own account (has_login: true) is opened as that account, so every resource is the subnetwork's own. GET /v1/me says which one the request ran in (note). Omit the header, or send network, for the whole network. A value that is not one of this network's subnetworks answers 400 parameter_invalid; a subnetwork or single-show credential cannot select anything. Sent as a header only: there is no workspace query parameter on /v1. Webhook endpoints, events and connections always belong to the credential's own workspace.
  • Idempotency-Keystringmax 255 chars
    Any unique string (≤ 255 chars). Replays within 24 h return the stored response with Idempotent-Replayed: true.

Returns

200

OK

One of:

WriteResult
DryRun

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found409confirmation_required413body_too_large429rate_limited500internal_error

Campaign timeline

GET/v1/campaigns/{campaign_id}/timeline

A campaign's reach series (total, audio, YouTube, social; daily buckets as the campaign chart draws them) and its EMV accrual over a window. window is 7d, 30d, 90d or all, or send start_date + end_date; chart_type is daily or cumulative. EMV points are thinned to at most 180 by summing whole weeks.

SDKlistener.campaigns.timeline()client.campaigns.timeline()

Path parameters

  • campaign_idstringrequired
    Campaign id (see GET /v1/campaigns).

Query parameters

  • windowstring
    Reporting window.
    One of7d30d90dall

    Default "30d"

  • start_datestring (date)nullable
    First day, YYYY-MM-DD (inclusive). With end_date, overrides time_range.
  • end_datestring (date)nullable
    Last day, YYYY-MM-DD (inclusive). With start_date, overrides time_range.
  • chart_typestring
    daily values or a cumulative running total.
    One ofdailycumulative

    Default "cumulative"

Headers

  • X-Listener-Workspacestringmax 200 chars
    Run this request inside one of the network's own subnetworks: its id, handle or name, as GET /v1/subnetworks returns them (names and handles are matched without regard to case). Network credentials only. A subnetwork that is a group of shows (kind: "group") limits the request to those shows: lists, analytics and clusters cover only them, a show outside it answers 404, and a write that names a show outside it is refused; campaigns, reports and the team stay the network's, and requests that change the network itself (the network profile, adding or removing shows, subnetworks, team) answer 400. A subnetwork with its own account (has_login: true) is opened as that account, so every resource is the subnetwork's own. GET /v1/me says which one the request ran in (note). Omit the header, or send network, for the whole network. A value that is not one of this network's subnetworks answers 400 parameter_invalid; a subnetwork or single-show credential cannot select anything. Sent as a header only: there is no workspace query parameter on /v1. Webhook endpoints, events and connections always belong to the credential's own workspace.

Returns

200

OK

  • campaign_idstringrequired
  • titlestringrequired
  • windowobjectrequired
    {time_range, chart_type, start, end, previous_start, previous_end} as the chart resolves it.
  • chart_typestringrequired
    One ofdailycumulative
  • totalsmap of numberrequired
  • growthmap of numberrequired
    vs the equal-length previous window; None for all-time.
  • reach_seriesarray of objectsrequired
    Show child attributesHide child attributes
  • audio_seriesarray of objectsrequired
    Show child attributesHide child attributes
  • youtube_seriesarray of objectsrequired
    Show child attributesHide child attributes
  • social_seriesarray of objectsrequired
    Show child attributesHide child attributes
  • events_countedintegerrequired
  • emv_seriesarray of objectsrequired
    Show child attributesHide child attributes
  • emv_totalnumberrequired
  • precisionstringrequired
    One ofsummarynodesnone
  • computed_atstring (date-time)required
  • cache_age_secondsnumberrequired
  • objectstringrequired
  • emv_by_platformmap of number
  • emv_enabledboolean

    Default false

  • emv_nodes_countedinteger

    Default 0

  • emv_points_thinnedboolean
    True when the EMV series was thinned to ≤ 180 points by summing whole weeks.

    Default false

  • warningsarray of strings
  • public_urlstring (uri)nullable
  • notestringnullable

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found429rate_limited500internal_error

Campaign CPM insights

GET/v1/campaigns/{campaign_id}/cpm-insights

A campaign's expected vs delivered CPM per format and where it sits against the workspace's recent campaigns (median of the 12 most recent peers with a delivered CPM; within ±3 % counts as in line). Peers are the peer_limit most recently updated other campaigns, loaded at node precision. Delivered CPM is null until a campaign has delivered at least 25 % of its expected impressions.

SDKlistener.campaigns.cpmInsights()client.campaigns.cpm_insights()

Path parameters

  • campaign_idstringrequired
    Campaign id (see GET /v1/campaigns).

Query parameters

  • peer_limitinteger1 to 60

    Default 24

Headers

  • X-Listener-Workspacestringmax 200 chars
    Run this request inside one of the network's own subnetworks: its id, handle or name, as GET /v1/subnetworks returns them (names and handles are matched without regard to case). Network credentials only. A subnetwork that is a group of shows (kind: "group") limits the request to those shows: lists, analytics and clusters cover only them, a show outside it answers 404, and a write that names a show outside it is refused; campaigns, reports and the team stay the network's, and requests that change the network itself (the network profile, adding or removing shows, subnetworks, team) answer 400. A subnetwork with its own account (has_login: true) is opened as that account, so every resource is the subnetwork's own. GET /v1/me says which one the request ran in (note). Omit the header, or send network, for the whole network. A value that is not one of this network's subnetworks answers 400 parameter_invalid; a subnetwork or single-show credential cannot select anything. Sent as a header only: there is no workspace query parameter on /v1. Webhook endpoints, events and connections always belong to the credential's own workspace.

Returns

200

OK

  • campaign_idstringrequired
  • titlestringrequired
  • precisionstringrequired
    One ofsummarynodesnone
  • computed_atstring (date-time)required
  • cache_age_secondsnumberrequired
  • objectstringrequired
  • expected_cpmnumber

    Default 0

  • delivered_cpmnumber

    Default 0

  • delivered_cpm_statusstring

    Default "pending"

  • delivered_cpm_detailobject
  • format_cpmobject
  • benchmarksmap of object
    long_form / short_form delivered CPM vs the median of the 12 most recent peers with a CPM.
    Show child attributesHide child attributes
  • peersarray of objects
    Show child attributesHide child attributes
  • peers_consideredinteger

    Default 0

  • peers_with_cpmmap of integer
  • workspace_campaign_countinteger

    Default 0

  • warningsarray of strings
  • public_urlstring (uri)nullable
  • notestringnullable

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found429rate_limited500internal_error

Set a campaign's status

POST/v1/campaigns/{campaign_id}/status

Set a campaign's manual status (upcoming, active, completed), or send "status": null to clear the override so the status follows the dates again. No other side effects.

  • Send "dry_run": true to get {"object": "dry_run", "would_write": …} without writing anything.

SDKlistener.campaigns.setStatus()client.campaigns.set_status()

Path parameters

  • campaign_idstringrequired
    Campaign id (see GET /v1/campaigns).

Headers

  • X-Listener-Workspacestringmax 200 chars
    Run this request inside one of the network's own subnetworks: its id, handle or name, as GET /v1/subnetworks returns them (names and handles are matched without regard to case). Network credentials only. A subnetwork that is a group of shows (kind: "group") limits the request to those shows: lists, analytics and clusters cover only them, a show outside it answers 404, and a write that names a show outside it is refused; campaigns, reports and the team stay the network's, and requests that change the network itself (the network profile, adding or removing shows, subnetworks, team) answer 400. A subnetwork with its own account (has_login: true) is opened as that account, so every resource is the subnetwork's own. GET /v1/me says which one the request ran in (note). Omit the header, or send network, for the whole network. A value that is not one of this network's subnetworks answers 400 parameter_invalid; a subnetwork or single-show credential cannot select anything. Sent as a header only: there is no workspace query parameter on /v1. Webhook endpoints, events and connections always belong to the credential's own workspace.
  • Idempotency-Keystringmax 255 chars
    Any unique string (≤ 255 chars). Replays within 24 h return the stored response with Idempotent-Replayed: true.

Request body

application/json
  • statusstringnullable
    New status.
    One ofupcomingactivecompleted
  • dry_runboolean
    true returns exactly what would be written without writing anything (the API's test mode).

    Default false

Returns

200

OK

One of:

WriteResult
DryRun

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found409confirmation_required413body_too_large429rate_limited500internal_error

Add campaign slots

POST/v1/campaigns/{campaign_id}/slots

Append slots (planned episodes) to a campaign: a show plus optional title, expected_impressions, budget and linked_cluster_id each. Returns the new slot ids and the full slot list. A cluster already linked to another slot is refused (single-slot rule); up to 2,000 slots per campaign.

  • Send "dry_run": true to get {"object": "dry_run", "would_write": …} without writing anything.

SDKlistener.campaigns.slots.create()client.campaigns.slots.create()

Path parameters

  • campaign_idstringrequired
    Campaign id (see GET /v1/campaigns).

Headers

  • X-Listener-Workspacestringmax 200 chars
    Run this request inside one of the network's own subnetworks: its id, handle or name, as GET /v1/subnetworks returns them (names and handles are matched without regard to case). Network credentials only. A subnetwork that is a group of shows (kind: "group") limits the request to those shows: lists, analytics and clusters cover only them, a show outside it answers 404, and a write that names a show outside it is refused; campaigns, reports and the team stay the network's, and requests that change the network itself (the network profile, adding or removing shows, subnetworks, team) answer 400. A subnetwork with its own account (has_login: true) is opened as that account, so every resource is the subnetwork's own. GET /v1/me says which one the request ran in (note). Omit the header, or send network, for the whole network. A value that is not one of this network's subnetworks answers 400 parameter_invalid; a subnetwork or single-show credential cannot select anything. Sent as a header only: there is no workspace query parameter on /v1. Webhook endpoints, events and connections always belong to the credential's own workspace.
  • Idempotency-Keystringmax 255 chars
    Any unique string (≤ 255 chars). Replays within 24 h return the stored response with Idempotent-Replayed: true.

Request body

application/json
  • planned_episodesarray of objectsrequired
    Campaign slots: [{show_id, title?, expected_impressions?, budget?}].
    Show child attributesHide child attributes
  • dry_runboolean
    true returns exactly what would be written without writing anything (the API's test mode).

    Default false

Returns

200

OK

One of:

WriteResult
DryRun

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found409confirmation_required413body_too_large429rate_limited500internal_error

Update a campaign slot

PATCH/v1/campaigns/{campaign_id}/slots/{slot_id}

Edit one slot's title, expected_impressions, budget or show_id. Setting impressions or budget pins the value so the app stops auto-distributing it. To change the linked cluster use PUT / DELETE /v1/campaigns/{campaign_id}/slots/{slot_id}/cluster.

  • Send "dry_run": true to get {"object": "dry_run", "would_write": …} without writing anything.

SDKlistener.campaigns.slots.update()client.campaigns.slots.update()

Path parameters

  • campaign_idstringrequired
    Campaign id (see GET /v1/campaigns).
  • slot_idstringrequired
    Campaign slot (planned episode) id from the campaign's slots.

Headers

  • X-Listener-Workspacestringmax 200 chars
    Run this request inside one of the network's own subnetworks: its id, handle or name, as GET /v1/subnetworks returns them (names and handles are matched without regard to case). Network credentials only. A subnetwork that is a group of shows (kind: "group") limits the request to those shows: lists, analytics and clusters cover only them, a show outside it answers 404, and a write that names a show outside it is refused; campaigns, reports and the team stay the network's, and requests that change the network itself (the network profile, adding or removing shows, subnetworks, team) answer 400. A subnetwork with its own account (has_login: true) is opened as that account, so every resource is the subnetwork's own. GET /v1/me says which one the request ran in (note). Omit the header, or send network, for the whole network. A value that is not one of this network's subnetworks answers 400 parameter_invalid; a subnetwork or single-show credential cannot select anything. Sent as a header only: there is no workspace query parameter on /v1. Webhook endpoints, events and connections always belong to the credential's own workspace.
  • Idempotency-Keystringmax 255 chars
    Any unique string (≤ 255 chars). Replays within 24 h return the stored response with Idempotent-Replayed: true.

Request body

application/json
  • titlestringnullable
    Title shown in Listener and on public pages.
  • expected_impressionsintegernullable
  • budgetnumbernullable
  • show_idstringnullable
    A show id in this workspace (see GET /v1/shows).
  • dry_runboolean
    true returns exactly what would be written without writing anything (the API's test mode).

    Default false

Returns

200

OK

One of:

WriteResult
DryRun

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found409confirmation_required413body_too_large429rate_limited500internal_error

List brands

GET/v1/brands

The workspace's advertisers (brand profiles plus every brand named on a campaign) with campaign counts, status mix, shows reached, aggregated reach, budget and CPM, EMV and the public brand page URL. search matches name, slug or domain; precision=summary (default) reads stored cluster summaries, nodes loads every linked cluster.

SDKlistener.brands.list()client.brands.list()

Query parameters

  • searchstringnullable
    Case-insensitive text filter.
  • precisionstring
    summary (fast, stored totals) or a more precise, slower computation.
    One ofsummarynodes

    Default "summary"

  • limitinteger1 to 100
    Page size, 1–100 (default 25).

    Default 25

  • cursorstring
    Opaque cursor from the previous page's next_cursor.

Headers

  • X-Listener-Workspacestringmax 200 chars
    Run this request inside one of the network's own subnetworks: its id, handle or name, as GET /v1/subnetworks returns them (names and handles are matched without regard to case). Network credentials only. A subnetwork that is a group of shows (kind: "group") limits the request to those shows: lists, analytics and clusters cover only them, a show outside it answers 404, and a write that names a show outside it is refused; campaigns, reports and the team stay the network's, and requests that change the network itself (the network profile, adding or removing shows, subnetworks, team) answer 400. A subnetwork with its own account (has_login: true) is opened as that account, so every resource is the subnetwork's own. GET /v1/me says which one the request ran in (note). Omit the header, or send network, for the whole network. A value that is not one of this network's subnetworks answers 400 parameter_invalid; a subnetwork or single-show credential cannot select anything. Sent as a header only: there is no workspace query parameter on /v1. Webhook endpoints, events and connections always belong to the credential's own workspace.

Returns

200

OK

  • objectstringrequired
  • urlstring (uri)required
  • dataarray of objectsrequired
    Show child attributesHide child attributes
  • has_morebooleanrequired
  • next_cursorstringrequirednullable
    Pass as cursor to get the next page; null on the last page.
  • metaobjectrequired
    The result's non-list fields (window, coverage, freshness, totals, note …).
    Show child attributesHide child attributes

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found429rate_limited500internal_error

Retrieve a brand

GET/v1/brands/{brand_slug}

One brand's report as its public page computes it: totals (reach by category, budget, planned impressions, expected and delivered CPM), per-campaign rows, per-show performance, EMV, invites and a reach trend. The path also accepts the brand name. time_range (7d, 30d, 90d, all) and chart_type shape the trend; precision=nodes (default) loads every linked cluster, summary is faster but skips EMV.

SDKlistener.brands.retrieve()client.brands.retrieve()

Path parameters

  • brand_slugstringrequired
    Brand slug (see GET /v1/brands).

Query parameters

  • time_rangestring
    7d | 14d | 30d | 90d | 180d | 365d | all, or a quarter like 2026-Q2. Windows are UTC days anchored to today.
    One of7d30d90dall

    Default "all"

  • chart_typestring
    daily values or a cumulative running total.
    One ofdailycumulative

    Default "cumulative"

  • precisionstring
    summary (fast, stored totals) or a more precise, slower computation.
    One ofsummarynodes

    Default "nodes"

Headers

  • X-Listener-Workspacestringmax 200 chars
    Run this request inside one of the network's own subnetworks: its id, handle or name, as GET /v1/subnetworks returns them (names and handles are matched without regard to case). Network credentials only. A subnetwork that is a group of shows (kind: "group") limits the request to those shows: lists, analytics and clusters cover only them, a show outside it answers 404, and a write that names a show outside it is refused; campaigns, reports and the team stay the network's, and requests that change the network itself (the network profile, adding or removing shows, subnetworks, team) answer 400. A subnetwork with its own account (has_login: true) is opened as that account, so every resource is the subnetwork's own. GET /v1/me says which one the request ran in (note). Omit the header, or send network, for the whole network. A value that is not one of this network's subnetworks answers 400 parameter_invalid; a subnetwork or single-show credential cannot select anything. Sent as a header only: there is no workspace query parameter on /v1. Webhook endpoints, events and connections always belong to the credential's own workspace.

Returns

200

OK

  • slugstringrequired
  • namestringrequired
  • totalsobjectrequired
  • campaign_rowsarray of objectsrequired
  • show_performancearray of objectsrequired
  • showsarray of objectsrequired
  • trendobjectrequired
    {time_range, chart_type, points: [...]} from brand_trend_series.
  • precisionstringrequired
    One ofsummarynodesnone
  • computed_atstring (date-time)required
  • cache_age_secondsnumberrequired
  • objectstringrequired
  • domainstringnullable
  • logostringnullable
  • notesstringnullable
  • has_contactboolean

    Default false

  • has_brand_docboolean

    Default false

  • brand_docobjectnullable
    The canonical campaignBrands doc (contact fields removed).
  • invitesarray of objects
    brandInvites for this brand (emails masked).
  • campaign_idsarray of strings
  • campaign_countinteger

    Default 0

  • emv_totalnumber

    Default 0

  • emv_by_campaignmap of number
  • public_urlstring (uri)nullable
  • app_urlstring (uri)nullable
    The campaign in the network app (null for creator workspaces: the creator app has no campaign pages).
  • notestringnullable

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found429rate_limited500internal_error

Create or update a brand

PUT/v1/brands/{brand_slug}

Create or update a brand profile once for every campaign: name, logo, domain, contact, invite email, notes. Every campaign of the brand gets its brand details re-stamped in the same write; when more than one campaign is affected the request needs "confirm": true (the 409 preview and a dry run both list affected_campaign_ids).

  • Send "dry_run": true to get {"object": "dry_run", "would_write": …} without writing anything.

SDKlistener.brands.upsert()client.brands.upsert()

Path parameters

  • brand_slugstringrequirednullable

Headers

  • X-Listener-Workspacestringmax 200 chars
    Run this request inside one of the network's own subnetworks: its id, handle or name, as GET /v1/subnetworks returns them (names and handles are matched without regard to case). Network credentials only. A subnetwork that is a group of shows (kind: "group") limits the request to those shows: lists, analytics and clusters cover only them, a show outside it answers 404, and a write that names a show outside it is refused; campaigns, reports and the team stay the network's, and requests that change the network itself (the network profile, adding or removing shows, subnetworks, team) answer 400. A subnetwork with its own account (has_login: true) is opened as that account, so every resource is the subnetwork's own. GET /v1/me says which one the request ran in (note). Omit the header, or send network, for the whole network. A value that is not one of this network's subnetworks answers 400 parameter_invalid; a subnetwork or single-show credential cannot select anything. Sent as a header only: there is no workspace query parameter on /v1. Webhook endpoints, events and connections always belong to the credential's own workspace.
  • Idempotency-Keystringmax 255 chars
    Any unique string (≤ 255 chars). Replays within 24 h return the stored response with Idempotent-Replayed: true.

Request body

application/json
  • namestringrequired
    Display name.
  • logostringnullable
  • domainstringnullable
  • contactstringnullable
  • invite_emailstring (email)nullable
  • notesstringnullable
  • dry_runboolean
    true returns exactly what would be written without writing anything (the API's test mode).

    Default false

  • confirmboolean
    Must be true to apply destructive or metered changes; without it the API answers 409 with a preview.

    Default false

Returns

200

OK

One of:

WriteResult
DryRun

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found409confirmation_required413body_too_large429rate_limited500internal_error

List air checks

GET/v1/air-checks

Ad-read verification rows, one per campaign placement: an episode (Spotify, Apple Podcasts / Megaphone / RSS audio, long-form YouTube) or a short-form post (TikTok, Instagram, Facebook, X, Threads, LinkedIn, YouTube Shorts). status is detected, missing, pending, needs_review (partial short-form proof: a low-confidence logo, or a caption under the caption-and-logo rule), dynamic (a dynamically inserted read the transcript missed; ad-server delivery settles it), blocked (can't be scanned as configured) or excluded. A publisher's manual verdict wins over every scan. Short-form proof follows the campaign's proof rule (caption, voice, logo, platform paid-partnership label); disclosure_status says whether a post that ran is disclosed (an #ad tag or the platform label) and disclosure filters by it. Rows carry what verified them (verified_by, evidence_sources), the ad reads with links that open each platform at the read, and any verdict.

Filters: campaign_id, show_id, brand (advertiser name or slug), status, platform, format (long, short), source (kind of proof), needs_review_only, start_date / end_date (publish date, YYYY-MM-DD). group_by (advertiser, publisher, campaign, show, platform, format, status) adds groups in meta; meta.status_counts ignore the status filter. Narrow on large networks.

SDKlistener.airChecks.list()client.air_checks.list()

Query parameters

  • campaign_idstringnullable
    Campaign id (see GET /v1/campaigns).
  • show_idstringnullable
    A show id in this workspace (see GET /v1/shows).
  • brandstringnullable
    Brand name or slug filter.
  • statusstring
    Keep one status (all = no filter).
    One ofalldetectedmissingpendingneeds_reviewdynamicblockedexcluded

    Default "all"

  • platformstringnullable
    A transcript target (spotify, youtube) or where a short-form post was published.
    One ofspotifyyoutubepodcasttiktokinstagramfacebookxthreadslinkedinyoutube_shorts
  • formatstring
    long = episodes, short = short-form posts, all = both.
    One ofalllongshort

    Default "all"

  • sourcestringnullable
    Keep placements with this kind of proof.
    One oftranscriptcaptionlabelspokenlogoad_servermanual
  • needs_review_onlyboolean
    Only placements waiting for a publisher's review.

    Default false

  • disclosurestringnullable
    Short-form posts that ran: disclosed (an #ad tag or the platform's label), missing (no disclosure), unchecked (label not read yet); not_applicable = episodes.
    One ofdisclosedmissinguncheckednot_applicable
  • start_datestring (date)nullable
    Earliest publish date, YYYY-MM-DD.
  • end_datestring (date)nullable
    Latest publish date, YYYY-MM-DD (inclusive).
  • group_bystringnullable
    Group the filtered rows (counts per group).
    One ofadvertiserpublishercampaignshowplatformformatstatus
  • limitinteger1 to 100
    Page size, 1–100 (default 25).

    Default 25

  • cursorstring
    Opaque cursor from the previous page's next_cursor.

Headers

  • X-Listener-Workspacestringmax 200 chars
    Run this request inside one of the network's own subnetworks: its id, handle or name, as GET /v1/subnetworks returns them (names and handles are matched without regard to case). Network credentials only. A subnetwork that is a group of shows (kind: "group") limits the request to those shows: lists, analytics and clusters cover only them, a show outside it answers 404, and a write that names a show outside it is refused; campaigns, reports and the team stay the network's, and requests that change the network itself (the network profile, adding or removing shows, subnetworks, team) answer 400. A subnetwork with its own account (has_login: true) is opened as that account, so every resource is the subnetwork's own. GET /v1/me says which one the request ran in (note). Omit the header, or send network, for the whole network. A value that is not one of this network's subnetworks answers 400 parameter_invalid; a subnetwork or single-show credential cannot select anything. Sent as a header only: there is no workspace query parameter on /v1. Webhook endpoints, events and connections always belong to the credential's own workspace.

Returns

200

OK

  • objectstringrequired
  • urlstring (uri)required
  • dataarray of objectsrequired
    Show child attributesHide child attributes
  • has_morebooleanrequired
  • next_cursorstringrequirednullable
    Pass as cursor to get the next page; null on the last page.
  • metaobjectrequired
    The result's non-list fields (window, coverage, freshness, totals, note …).
    Show child attributesHide child attributes

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found429rate_limited500internal_error

Summarize air checks

GET/v1/air-checks/summary

Air check rollup for a campaign, brand or show (or the whole workspace): verified rate (detected ÷ placements neither excluded nor blocked), counts by status, format and platform, groups by group_by (campaign, brand, show, platform, format), the needs-review queue, how many placements still need a scan with a rough cost, the last scan and run, and the hourly auto-scan's state for the workspace (on or off, lookback, the network-wide daily budget and today's spend).

Query parameters

  • campaign_idstringnullable
    Campaign id (see GET /v1/campaigns).
  • brandstringnullable
    Brand name or slug filter.
  • show_idstringnullable
    A show id in this workspace (see GET /v1/shows).
  • group_bystring
    The breakdown in groups.
    One ofcampaignbrandshowplatformformat

    Default "campaign"

  • start_datestring (date)nullable
    Earliest publish date, YYYY-MM-DD.
  • end_datestring (date)nullable
    Latest publish date, YYYY-MM-DD (inclusive).
  • needs_review_limitinteger0 to 50
    How many needs-review placements to list (newest first).

    Default 20

Headers

  • X-Listener-Workspacestringmax 200 chars
    Run this request inside one of the network's own subnetworks: its id, handle or name, as GET /v1/subnetworks returns them (names and handles are matched without regard to case). Network credentials only. A subnetwork that is a group of shows (kind: "group") limits the request to those shows: lists, analytics and clusters cover only them, a show outside it answers 404, and a write that names a show outside it is refused; campaigns, reports and the team stay the network's, and requests that change the network itself (the network profile, adding or removing shows, subnetworks, team) answer 400. A subnetwork with its own account (has_login: true) is opened as that account, so every resource is the subnetwork's own. GET /v1/me says which one the request ran in (note). Omit the header, or send network, for the whole network. A value that is not one of this network's subnetworks answers 400 parameter_invalid; a subnetwork or single-show credential cannot select anything. Sent as a header only: there is no workspace query parameter on /v1. Webhook endpoints, events and connections always belong to the credential's own workspace.

Returns

200

OK

  • group_bystringrequired
  • computed_atstring (date-time)required
  • cache_age_secondsnumberrequired
  • objectstringrequired
  • scopeobject
    The filters applied.
  • totalsmap of integer
    all + the seven statuses.
  • verified_ratenumbernullable
    Detected ÷ (all − excluded − blocked), in percent.
  • by_formatmap of map of integer
  • by_platformmap of map of integer
  • disclosure_countsmap of integer
    Short-form posts that ran by disclosure (disclosed / missing / unchecked); episodes are not_applicable.
  • proof_ruleobjectnullable
    Scoped to one campaign: its short-form proof rule in plain words.
    Show child attributesHide child attributes
  • groupsarray of objects
    Show child attributesHide child attributes
  • needs_review_queuearray of objects
    Show child attributesHide child attributes
  • needs_review_totalinteger

    Default 0

  • needs_scaninteger
    Placements a scan would pick up now.

    Default 0

  • autoscan_will_pick_upinteger
    Of the pending ones, how many the hourly auto-scan picks up on its own.

    Default 0

  • autoscan_backing_offinteger
    Placements the auto-scan failed on and is waiting to retry (or stopped retrying); a manual scan resets them.

    Default 0

  • scan_estimateobjectnullable
    Rough cost of scanning everything that needs a scan in this scope.
    Show child attributesHide child attributes
  • last_scan_atstringnullable
    Newest per-placement scan time in scope.
  • last_runobjectnullable
    Show child attributesHide child attributes
  • autoscanobjectnullable
    The hourly auto-scan (`/api/cron/aircheck-autoscan`) as it applies to this workspace.
    Show child attributesHide child attributes
  • app_urlstring (uri)nullable
    The campaign's Air checks tab (episodes and posts) when scoped to a campaign, else the Air Checks page (episodes only).
  • format_notestringnullable
    The episode / short-form split in words (see by_format); quote it rather than the bare total.
  • missing_show_idsarray of strings
  • notestringnullable

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found429rate_limited500internal_error

Air check scan status

GET/v1/air-checks/scans

Progress of the workspace's air check scans: the latest bulk scan (scope, total, processed, remaining and failures with reasons), scans started through this API, the last run of any kind and the auto-scan's state. Poll it after POST /v1/air-checks/scans.

Headers

  • X-Listener-Workspacestringmax 200 chars
    Run this request inside one of the network's own subnetworks: its id, handle or name, as GET /v1/subnetworks returns them (names and handles are matched without regard to case). Network credentials only. A subnetwork that is a group of shows (kind: "group") limits the request to those shows: lists, analytics and clusters cover only them, a show outside it answers 404, and a write that names a show outside it is refused; campaigns, reports and the team stay the network's, and requests that change the network itself (the network profile, adding or removing shows, subnetworks, team) answer 400. A subnetwork with its own account (has_login: true) is opened as that account, so every resource is the subnetwork's own. GET /v1/me says which one the request ran in (note). Omit the header, or send network, for the whole network. A value that is not one of this network's subnetworks answers 400 parameter_invalid; a subnetwork or single-show credential cannot select anything. Sent as a header only: there is no workspace query parameter on /v1. Webhook endpoints, events and connections always belong to the credential's own workspace.

Returns

200

OK

  • computed_atstring (date-time)required
  • objectstringrequired
  • scanobjectnullable
    The workspace's latest bulk scan (null when none ever ran).
    Show child attributesHide child attributes
  • server_scansarray of objects
    Scans this server started (campaign scope, and its show / brand drivers), newest first.
    Show child attributesHide child attributes
  • last_runobjectnullable
    The last run of any kind (single placement, bulk chunk, auto-scan).
    Show child attributesHide child attributes
  • autoscanobjectnullable
    The hourly auto-scan (`/api/cron/aircheck-autoscan`) as it applies to this workspace.
    Show child attributesHide child attributes
  • sourcestring
    'app': GET /api/airchecks/bulk-scan-status; 'firestore': read directly (the app was unreachable).
    One ofappfirestore

    Default "app"

  • notestringnullable

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found429rate_limited500internal_error

Start an air check scan

POST/v1/air-checks/scans

Start a bulk scan of every placement that still needs one in a campaign, show or brand (scope + value; at most max_placements). Scans cost money: transcription is about $0.14 per audio hour, a YouTube or Shorts transcript about a cent, a logo check a few tenths of a cent; caption checks are free. The request needs "confirm": true; a dry run (or the 409 preview) returns the placement count and a rough cost. Returns the scan id at once; poll GET /v1/air-checks/scans. Excluded, blocked and manually reviewed placements are never scanned.

  • Send "dry_run": true to get {"object": "dry_run", "would_write": …} without writing anything.
  • Requires "confirm": true; without it the API answers 409 confirmation_required with the exact preview.

Previews with a read key. A credential with campaigns:read (no campaigns:write) may send "dry_run": true or a request without "confirm": true (the estimate): nothing is written or spent. Anything else needs campaigns:write.

Headers

  • X-Listener-Workspacestringmax 200 chars
    Run this request inside one of the network's own subnetworks: its id, handle or name, as GET /v1/subnetworks returns them (names and handles are matched without regard to case). Network credentials only. A subnetwork that is a group of shows (kind: "group") limits the request to those shows: lists, analytics and clusters cover only them, a show outside it answers 404, and a write that names a show outside it is refused; campaigns, reports and the team stay the network's, and requests that change the network itself (the network profile, adding or removing shows, subnetworks, team) answer 400. A subnetwork with its own account (has_login: true) is opened as that account, so every resource is the subnetwork's own. GET /v1/me says which one the request ran in (note). Omit the header, or send network, for the whole network. A value that is not one of this network's subnetworks answers 400 parameter_invalid; a subnetwork or single-show credential cannot select anything. Sent as a header only: there is no workspace query parameter on /v1. Webhook endpoints, events and connections always belong to the credential's own workspace.
  • Idempotency-Keystringmax 255 chars
    Any unique string (≤ 255 chars). Replays within 24 h return the stored response with Idempotent-Replayed: true.

Request body

application/json
  • scopestringrequired
    What to scan: a campaign, a show or a brand.
    One ofcampaignshowbrand
  • valuestringrequired
    The campaign id, show id or brand (advertiser) name.
  • max_placementsinteger1 to 500
    Scan at most this many placements (newest first).

    Default 200

  • dry_runboolean
    true returns exactly what would be written without writing anything (the API's test mode).

    Default false

  • confirmboolean
    Must be true to apply destructive or metered changes; without it the API answers 409 with a preview.

    Default false

Returns

200

OK

One of:

WriteResult
DryRun

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found409confirmation_required413body_too_large429rate_limited500internal_error

Turn the air check auto-scan on or off

PUT/v1/air-checks/autoscan

Turn the hourly air check auto-scan on or off for this workspace (enabled). Turning it on needs "confirm": true: it then spends on new placements on its own, inside the network-wide daily budget. It only runs while the network-wide switch is on too (details.network_enabled).

  • Send "dry_run": true to get {"object": "dry_run", "would_write": …} without writing anything.

Previews with a read key. A credential with campaigns:read (no campaigns:write) may send "dry_run": true: nothing is written or spent. Anything else needs campaigns:write.

Headers

  • X-Listener-Workspacestringmax 200 chars
    Run this request inside one of the network's own subnetworks: its id, handle or name, as GET /v1/subnetworks returns them (names and handles are matched without regard to case). Network credentials only. A subnetwork that is a group of shows (kind: "group") limits the request to those shows: lists, analytics and clusters cover only them, a show outside it answers 404, and a write that names a show outside it is refused; campaigns, reports and the team stay the network's, and requests that change the network itself (the network profile, adding or removing shows, subnetworks, team) answer 400. A subnetwork with its own account (has_login: true) is opened as that account, so every resource is the subnetwork's own. GET /v1/me says which one the request ran in (note). Omit the header, or send network, for the whole network. A value that is not one of this network's subnetworks answers 400 parameter_invalid; a subnetwork or single-show credential cannot select anything. Sent as a header only: there is no workspace query parameter on /v1. Webhook endpoints, events and connections always belong to the credential's own workspace.
  • Idempotency-Keystringmax 255 chars
    Any unique string (≤ 255 chars). Replays within 24 h return the stored response with Idempotent-Replayed: true.

Request body

application/json
  • enabledbooleanrequired
    true turns the hourly auto-scan on for this workspace, false off.
  • dry_runboolean
    true returns exactly what would be written without writing anything (the API's test mode).

    Default false

  • confirmboolean
    Must be true to apply destructive or metered changes; without it the API answers 409 with a preview.

    Default false

Returns

200

OK

One of:

WriteResult
DryRun

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found409confirmation_required413body_too_large429rate_limited500internal_error

Retrieve an air check

GET/v1/air-checks/{air_check_id}

One placement's air check in full. air_check_id is the row id from GET /v1/air-checks ({campaign_id}::{cluster_id} for an episode, {campaign_id}::{cluster_id}:{node_id} for a post; URL-encode the colons if your client needs to). Returns the status with the reason and the next step, every evidence item (transcript quote with timestamp and a link that opens the platform at the read, caption match with the matched term and its place in the caption, spoken quote in a Short, logo frame with confidence and where, ad-server evidence), the manual verdict with its history, any exclusion, every scan recorded with its cost, the brand terms the scans look for and a rough cost to scan it.

Path parameters

  • air_check_idstringrequirednullable
    The air check id: '{campaign_id}::{cluster_id}' or '{campaign_id}::{cluster_id}:{node_id}'.

Headers

  • X-Listener-Workspacestringmax 200 chars
    Run this request inside one of the network's own subnetworks: its id, handle or name, as GET /v1/subnetworks returns them (names and handles are matched without regard to case). Network credentials only. A subnetwork that is a group of shows (kind: "group") limits the request to those shows: lists, analytics and clusters cover only them, a show outside it answers 404, and a write that names a show outside it is refused; campaigns, reports and the team stay the network's, and requests that change the network itself (the network profile, adding or removing shows, subnetworks, team) answer 400. A subnetwork with its own account (has_login: true) is opened as that account, so every resource is the subnetwork's own. GET /v1/me says which one the request ran in (note). Omit the header, or send network, for the whole network. A value that is not one of this network's subnetworks answers 400 parameter_invalid; a subnetwork or single-show credential cannot select anything. Sent as a header only: there is no workspace query parameter on /v1. Webhook endpoints, events and connections always belong to the credential's own workspace.

Returns

200

OK

  • air_checkobjectrequired
    Show child attributesHide child attributes
  • explanationobjectrequired
    Show child attributesHide child attributes
  • computed_atstring (date-time)required
  • cache_age_secondsnumberrequired
  • objectstringrequired
  • proof_ruleobjectnullable
    Short-form: what counts as proof on this campaign, in plain words.
    Show child attributesHide child attributes
  • disclosureobjectnullable
    FTC disclosure on a short-form post that ran (LIS-366). Never changes detected / missing.
    Show child attributesHide child attributes
  • evidencearray of objects
    Show child attributesHide child attributes
  • scan_historyarray of objects
    Show child attributesHide child attributes
  • manualobjectnullable
    A publisher's verdict (LIS-336). It wins over every scan until cleared.
    Show child attributesHide child attributes
  • exclusionobjectnullable
    Show child attributesHide child attributes
  • termsobjectnullable
    What a scan of this campaign looks for (`resolveVerificationTerms`).
    Show child attributesHide child attributes
  • can_scanboolean
    A scan can run on this placement now (not excluded, not blocked, no manual verdict).

    Default false

  • scan_estimateobjectnullable
    What a run of this placement would roughly cost.
    Show child attributesHide child attributes
  • autoscan_will_pick_upbooleannullable
    Pending placements only: the hourly auto-scan will scan it on its own (when the auto-scan is on).
  • autoscan_backoffobjectnullable
    The auto-scan failed on it and is waiting before trying again (or stopped).
    Show child attributesHide child attributes
  • verification_documentboolean
    The placement has its own verification document (else it reads the campaign's legacy adDetails).

    Default false

  • notestringnullable

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found429rate_limited500internal_error

Scan one placement

POST/v1/air-checks/{air_check_id}/run

Scan one placement now (it re-scans an already scanned one) and return the status before and after, what was found and the cost the platform reports. A paid scan (an episode transcription, a Short's transcript, a logo check) needs "confirm": true; a dry run returns the estimate. A caption check is free. Excluded and blocked placements are refused with the reason. A long episode can take up to five minutes.

  • Send "dry_run": true to get {"object": "dry_run", "would_write": …} without writing anything.

Previews with a read key. A credential with campaigns:read (no campaigns:write) may send "dry_run": true or a request without "confirm": true (the estimate): nothing is written or spent. Anything else needs campaigns:write.

Path parameters

  • air_check_idstringrequired
    The air check id from GET /v1/air-checks: '{campaign_id}::{cluster_id}' or '{campaign_id}::{cluster_id}:{node_id}'.

Headers

  • X-Listener-Workspacestringmax 200 chars
    Run this request inside one of the network's own subnetworks: its id, handle or name, as GET /v1/subnetworks returns them (names and handles are matched without regard to case). Network credentials only. A subnetwork that is a group of shows (kind: "group") limits the request to those shows: lists, analytics and clusters cover only them, a show outside it answers 404, and a write that names a show outside it is refused; campaigns, reports and the team stay the network's, and requests that change the network itself (the network profile, adding or removing shows, subnetworks, team) answer 400. A subnetwork with its own account (has_login: true) is opened as that account, so every resource is the subnetwork's own. GET /v1/me says which one the request ran in (note). Omit the header, or send network, for the whole network. A value that is not one of this network's subnetworks answers 400 parameter_invalid; a subnetwork or single-show credential cannot select anything. Sent as a header only: there is no workspace query parameter on /v1. Webhook endpoints, events and connections always belong to the credential's own workspace.
  • Idempotency-Keystringmax 255 chars
    Any unique string (≤ 255 chars). Replays within 24 h return the stored response with Idempotent-Replayed: true.

Request body

application/json
  • dry_runboolean
    true returns exactly what would be written without writing anything (the API's test mode).

    Default false

  • confirmboolean
    Must be true to apply destructive or metered changes; without it the API answers 409 with a preview.

    Default false

Returns

200

OK

One of:

WriteResult
DryRun

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found409confirmation_required413body_too_large429rate_limited500internal_error

Review an air check

POST/v1/air-checks/{air_check_id}/review

Record a publisher's verdict on one placement: verified counts it as detected with or without a read, not_applicable takes it out of the count, clear hands it back to the scans. note (up to 2,000 characters; 500 are kept) says what was seen; who, when and the note are kept in its history. Scans never overwrite a verdict. Brand accounts can't review.

  • Send "dry_run": true to get {"object": "dry_run", "would_write": …} without writing anything.

Previews with a read key. A credential with campaigns:read (no campaigns:write) may send "dry_run": true: nothing is written or spent. Anything else needs campaigns:write.

Path parameters

  • air_check_idstringrequired
    The air check id from GET /v1/air-checks: '{campaign_id}::{cluster_id}' or '{campaign_id}::{cluster_id}:{node_id}'.

Headers

  • X-Listener-Workspacestringmax 200 chars
    Run this request inside one of the network's own subnetworks: its id, handle or name, as GET /v1/subnetworks returns them (names and handles are matched without regard to case). Network credentials only. A subnetwork that is a group of shows (kind: "group") limits the request to those shows: lists, analytics and clusters cover only them, a show outside it answers 404, and a write that names a show outside it is refused; campaigns, reports and the team stay the network's, and requests that change the network itself (the network profile, adding or removing shows, subnetworks, team) answer 400. A subnetwork with its own account (has_login: true) is opened as that account, so every resource is the subnetwork's own. GET /v1/me says which one the request ran in (note). Omit the header, or send network, for the whole network. A value that is not one of this network's subnetworks answers 400 parameter_invalid; a subnetwork or single-show credential cannot select anything. Sent as a header only: there is no workspace query parameter on /v1. Webhook endpoints, events and connections always belong to the credential's own workspace.
  • Idempotency-Keystringmax 255 chars
    Any unique string (≤ 255 chars). Replays within 24 h return the stored response with Idempotent-Replayed: true.

Request body

application/json
  • verdictstringrequired
    verified | not_applicable | clear (hand it back to the scans).
    One ofverifiednot_applicableclear
  • notestring
    What was seen (kept with who and when; 500 characters are stored).

    Default ""

  • dry_runboolean
    true returns exactly what would be written without writing anything (the API's test mode).

    Default false

Returns

200

OK

One of:

WriteResult
DryRun

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found409confirmation_required413body_too_large429rate_limited500internal_error

Exclude or include a placement

PUT/v1/air-checks/{air_check_id}/exclusion

Exclude one placement from its campaign's air checks (excluded: true, it was never sold with a read) or include it again (excluded: false), with an optional reason. Excluded placements are never scanned and never count as missing. A placement excluded by a not_applicable verdict is included by clearing the verdict.

  • Send "dry_run": true to get {"object": "dry_run", "would_write": …} without writing anything.

Previews with a read key. A credential with campaigns:read (no campaigns:write) may send "dry_run": true: nothing is written or spent. Anything else needs campaigns:write.

Path parameters

  • air_check_idstringrequired
    The air check id from GET /v1/air-checks: '{campaign_id}::{cluster_id}' or '{campaign_id}::{cluster_id}:{node_id}'.

Headers

  • X-Listener-Workspacestringmax 200 chars
    Run this request inside one of the network's own subnetworks: its id, handle or name, as GET /v1/subnetworks returns them (names and handles are matched without regard to case). Network credentials only. A subnetwork that is a group of shows (kind: "group") limits the request to those shows: lists, analytics and clusters cover only them, a show outside it answers 404, and a write that names a show outside it is refused; campaigns, reports and the team stay the network's, and requests that change the network itself (the network profile, adding or removing shows, subnetworks, team) answer 400. A subnetwork with its own account (has_login: true) is opened as that account, so every resource is the subnetwork's own. GET /v1/me says which one the request ran in (note). Omit the header, or send network, for the whole network. A value that is not one of this network's subnetworks answers 400 parameter_invalid; a subnetwork or single-show credential cannot select anything. Sent as a header only: there is no workspace query parameter on /v1. Webhook endpoints, events and connections always belong to the credential's own workspace.
  • Idempotency-Keystringmax 255 chars
    Any unique string (≤ 255 chars). Replays within 24 h return the stored response with Idempotent-Replayed: true.

Request body

application/json
  • excludedboolean
    true excludes the placement, false includes it again.

    Default true

  • reasonstringnullable
    Why (kept with the exclusion).
  • dry_runboolean
    true returns exactly what would be written without writing anything (the API's test mode).

    Default false

Returns

200

OK

One of:

WriteResult
DryRun

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found409confirmation_required413body_too_large429rate_limited500internal_error

Retrieve a campaign's air check proof rule

GET/v1/campaigns/{campaign_id}/air-check-rule

What counts as proof for the campaign's short-form posts: which of caption, spoken (the voice), logo and label (the platform's paid-partnership label) count, mode (any one or all), whether a disclosure is required, the rule in one plain sentence, who set it, and the campaign's posts by status and disclosure under it. Campaigns that never set a rule use every source, any one; the legacy values caption_or_logo / caption_and_logo still read (stored_value). Episodes are always verified by their transcript.

Path parameters

  • campaign_idstringrequired
    Campaign id (see GET /v1/campaigns).

Headers

  • X-Listener-Workspacestringmax 200 chars
    Run this request inside one of the network's own subnetworks: its id, handle or name, as GET /v1/subnetworks returns them (names and handles are matched without regard to case). Network credentials only. A subnetwork that is a group of shows (kind: "group") limits the request to those shows: lists, analytics and clusters cover only them, a show outside it answers 404, and a write that names a show outside it is refused; campaigns, reports and the team stay the network's, and requests that change the network itself (the network profile, adding or removing shows, subnetworks, team) answer 400. A subnetwork with its own account (has_login: true) is opened as that account, so every resource is the subnetwork's own. GET /v1/me says which one the request ran in (note). Omit the header, or send network, for the whole network. A value that is not one of this network's subnetworks answers 400 parameter_invalid; a subnetwork or single-show credential cannot select anything. Sent as a header only: there is no workspace query parameter on /v1. Webhook endpoints, events and connections always belong to the credential's own workspace.

Returns

200

OK

  • campaign_idstringrequired
  • ruleobjectrequired
    A campaign's short-form proof rule (LIS-367): which evidence counts, any one or all, and whether a disclosure is required.
    Show child attributesHide child attributes
  • computed_atstring (date-time)required
  • cache_age_secondsnumberrequired
  • objectstringrequired
  • campaign_titlestring

    Default ""

  • brand_namestring

    Default ""

  • stored_valuestringnullable
    A legacy string rule still stored on the campaign (caption_or_logo / caption_and_logo); null for the object form or none.
  • updated_byobjectnullable
    Show child attributesHide child attributes
  • short_form_countsmap of integer
    The campaign's short-form posts by status under this rule.
  • disclosure_countsmap of integer
  • label_platformsarray of strings
    Platforms that expose a paid-partnership label; Facebook, X, Threads and LinkedIn don't.
  • app_urlstring (uri)nullable

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found429rate_limited500internal_error

Set a campaign's air check proof rule

PUT/v1/campaigns/{campaign_id}/air-check-rule

Set the campaign's short-form proof rule. Free: statuses are re-derived from the evidence already stored, nothing is rescanned; a newly selected source is checked on the posts' next scan. A dry run (or the 409 preview) returns the rule in plain words and its impact (12 posts change status: 9 Not found → Verified, …); the change needs "confirm": true when any status would change. Under all, a source a post can't have (voice on a photo, a label on Facebook) isn't required.

  • Send "dry_run": true to get {"object": "dry_run", "would_write": …} without writing anything.

Previews with a read key. A credential with campaigns:read (no campaigns:write) may send "dry_run": true or a request without "confirm": true (the estimate): nothing is written or spent. Anything else needs campaigns:write.

Path parameters

  • campaign_idstringrequired
    Campaign id (see GET /v1/campaigns).

Headers

  • X-Listener-Workspacestringmax 200 chars
    Run this request inside one of the network's own subnetworks: its id, handle or name, as GET /v1/subnetworks returns them (names and handles are matched without regard to case). Network credentials only. A subnetwork that is a group of shows (kind: "group") limits the request to those shows: lists, analytics and clusters cover only them, a show outside it answers 404, and a write that names a show outside it is refused; campaigns, reports and the team stay the network's, and requests that change the network itself (the network profile, adding or removing shows, subnetworks, team) answer 400. A subnetwork with its own account (has_login: true) is opened as that account, so every resource is the subnetwork's own. GET /v1/me says which one the request ran in (note). Omit the header, or send network, for the whole network. A value that is not one of this network's subnetworks answers 400 parameter_invalid; a subnetwork or single-show credential cannot select anything. Sent as a header only: there is no workspace query parameter on /v1. Webhook endpoints, events and connections always belong to the credential's own workspace.
  • Idempotency-Keystringmax 255 chars
    Any unique string (≤ 255 chars). Replays within 24 h return the stored response with Idempotent-Replayed: true.

Request body

application/json
  • sourcesarray of stringsrequired
    Which evidence counts for short-form posts: caption, spoken (the voice), logo, label (the platform's paid-partnership label).
    One ofcaptionspokenlogolabel
  • modestring
    any = one of them is enough; all = every selected source the post can have.
    One ofanyall

    Default "any"

  • require_disclosureboolean
    Also require an #ad-style tag or the platform's paid-partnership label; proved posts without one read Needs review.

    Default false

  • dry_runboolean
    true returns exactly what would be written without writing anything (the API's test mode).

    Default false

  • confirmboolean
    Must be true to apply destructive or metered changes; without it the API answers 409 with a preview.

    Default false

Returns

200

OK

One of:

WriteResult
DryRun

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found409confirmation_required413body_too_large429rate_limited500internal_error

Suggested air check terms

GET/v1/campaigns/{campaign_id}/air-check-term-suggestions

Verification terms the campaign's brand is probably missing: handles linked from its website, hashtags and @mentions that recur on its verified posts, how people actually spell it, and disclosure tags, each with why, best first. Free (no AI; cached a day, refresh=true recomputes). Nothing is applied here.

Path parameters

  • campaign_idstringrequirednullable
    The campaign whose brand to suggest terms for.

Query parameters

  • limitinteger1 to 40
    Maximum number of items to return.

    Default 12

  • refreshboolean
    Recompute now instead of the day-old cache (publishers only).

    Default false

Headers

  • X-Listener-Workspacestringmax 200 chars
    Run this request inside one of the network's own subnetworks: its id, handle or name, as GET /v1/subnetworks returns them (names and handles are matched without regard to case). Network credentials only. A subnetwork that is a group of shows (kind: "group") limits the request to those shows: lists, analytics and clusters cover only them, a show outside it answers 404, and a write that names a show outside it is refused; campaigns, reports and the team stay the network's, and requests that change the network itself (the network profile, adding or removing shows, subnetworks, team) answer 400. A subnetwork with its own account (has_login: true) is opened as that account, so every resource is the subnetwork's own. GET /v1/me says which one the request ran in (note). Omit the header, or send network, for the whole network. A value that is not one of this network's subnetworks answers 400 parameter_invalid; a subnetwork or single-show credential cannot select anything. Sent as a header only: there is no workspace query parameter on /v1. Webhook endpoints, events and connections always belong to the credential's own workspace.

Returns

200

OK

  • brandobjectrequired
    Show child attributesHide child attributes
  • objectstringrequired
  • campaign_idstringnullable
  • suggestionsarray of objects
    Show child attributesHide child attributes
  • current_termsmap of array of stringsnullable
    The brand's terms now (aliases incl. the name, handles, hashtags, disclosure tags).
  • computed_atstring (date-time)nullable
  • cachedboolean

    Default false

  • websiteobjectnullable
    Show child attributesHide child attributes
  • statsmap of integer
  • dismissed_countinteger

    Default 0

  • can_applyboolean

    Default true

  • notestringnullable

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found429rate_limited500internal_error

Apply or dismiss a term suggestion

POST/v1/campaigns/{campaign_id}/air-check-term-suggestions/{suggestion_id}

Apply a suggestion (action: apply, the default): its value is added to the brand's list of that kind and the result shows the terms before and after. Terms live on the brand, so a brand with other campaigns needs "confirm": true; caption checks then re-check for free. dismiss hides the suggestion for everyone, restore brings it back.

  • Send "dry_run": true to get {"object": "dry_run", "would_write": …} without writing anything.

Previews with a read key. A credential with campaigns:read (no campaigns:write) may send "dry_run": true or a request without "confirm": true (the estimate): nothing is written or spent. Anything else needs campaigns:write.

Path parameters

  • campaign_idstringrequired
    Campaign id (see GET /v1/campaigns).
  • suggestion_idstringrequired
    A suggestion's id from GET /v1/campaigns/{campaign_id}/air-check-term-suggestions, e.g. 'handle:acmecoffee'.

Headers

  • X-Listener-Workspacestringmax 200 chars
    Run this request inside one of the network's own subnetworks: its id, handle or name, as GET /v1/subnetworks returns them (names and handles are matched without regard to case). Network credentials only. A subnetwork that is a group of shows (kind: "group") limits the request to those shows: lists, analytics and clusters cover only them, a show outside it answers 404, and a write that names a show outside it is refused; campaigns, reports and the team stay the network's, and requests that change the network itself (the network profile, adding or removing shows, subnetworks, team) answer 400. A subnetwork with its own account (has_login: true) is opened as that account, so every resource is the subnetwork's own. GET /v1/me says which one the request ran in (note). Omit the header, or send network, for the whole network. A value that is not one of this network's subnetworks answers 400 parameter_invalid; a subnetwork or single-show credential cannot select anything. Sent as a header only: there is no workspace query parameter on /v1. Webhook endpoints, events and connections always belong to the credential's own workspace.
  • Idempotency-Keystringmax 255 chars
    Any unique string (≤ 255 chars). Replays within 24 h return the stored response with Idempotent-Replayed: true.

Request body

application/json
  • actionstring
    apply adds it to the brand's terms; dismiss hides it for everyone; restore brings a dismissed one back.
    One ofapplydismissrestore

    Default "apply"

  • dry_runboolean
    true returns exactly what would be written without writing anything (the API's test mode).

    Default false

  • confirmboolean
    Must be true to apply destructive or metered changes; without it the API answers 409 with a preview.

    Default false

Returns

200

OK

One of:

WriteResult
DryRun

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found409confirmation_required413body_too_large429rate_limited500internal_error

Sponsored posts not linked to the campaign

GET/v1/campaigns/{campaign_id}/unlinked-sponsored-posts

Posts and episodes on the campaign's shows, inside its flight, that look sponsored by its brand but aren't linked to the campaign: the caption, title or description names it, its handle, a paid-partnership label naming it, or a Listener sponsor tag. strength is strong when the post says it is sponsored by this brand (its handle, the label, "sponsored by" wording, a promo code, its URL or hashtag) and mentioned otherwise; strong matches come first. Free: stored data only. The search follows every page until all candidate clusters are read (bounded at about 45 seconds); complete, coverage and scanned_clusters / candidate_clusters say how far it got, and an incomplete search returns next_offset (send it back as continue_from). An empty result is only "none found" when complete is true.

Path parameters

  • campaign_idstringrequired
    Campaign id (see GET /v1/campaigns).

Query parameters

  • strengthstring
    strong = the post says it is sponsored by this brand (its handle, a paid-partnership label naming it, "sponsored by" wording, a promo code); all adds posts that only mention it.
    One ofallstrong

    Default "all"

  • continue_frominteger≥ 0
    Continue a search that came back incomplete (its next_offset).

    Default 0

  • limitinteger1 to 200
    Maximum number of items to return.

    Default 50

Headers

  • X-Listener-Workspacestringmax 200 chars
    Run this request inside one of the network's own subnetworks: its id, handle or name, as GET /v1/subnetworks returns them (names and handles are matched without regard to case). Network credentials only. A subnetwork that is a group of shows (kind: "group") limits the request to those shows: lists, analytics and clusters cover only them, a show outside it answers 404, and a write that names a show outside it is refused; campaigns, reports and the team stay the network's, and requests that change the network itself (the network profile, adding or removing shows, subnetworks, team) answer 400. A subnetwork with its own account (has_login: true) is opened as that account, so every resource is the subnetwork's own. GET /v1/me says which one the request ran in (note). Omit the header, or send network, for the whole network. A value that is not one of this network's subnetworks answers 400 parameter_invalid; a subnetwork or single-show credential cannot select anything. Sent as a header only: there is no workspace query parameter on /v1. Webhook endpoints, events and connections always belong to the credential's own workspace.

Returns

200

OK

  • campaign_idstringrequired
  • objectstringrequired
  • brand_namestring

    Default ""

  • windowobjectnullable
    {from, to, openEnded, capped}: the flight the search covered.
  • show_countinteger

    Default 0

  • postsarray of objects
    Strong matches first, then newest.
    Show child attributesHide child attributes
  • totalinteger

    Default 0

  • stronginteger

    Default 0

  • mentionedinteger

    Default 0

  • dismissedinteger
    Matches hidden by "Not this campaign".

    Default 0

  • completeboolean
    Every candidate cluster was searched. When false, an empty result is not a "none found".

    Default true

  • next_offsetintegernullable
    Not complete: call again with continue_from set to this to read more clusters.
  • coveragestring
    How much was searched, in plain words (quote it with the result).

    Default ""

  • pages_readinteger
    App pages read in this call (about 4 s each; at most 20 / ~45 s per call).

    Default 0

  • candidate_clustersintegernullable
    Clusters on the campaign's shows that could hold posts from the flight.
  • scanned_clustersintegernullable
    Of those, how many were searched so far (cumulative).
  • total_clustersintegernullable
  • reasonstringnullable
    no_brand | no_shows | not_started when nothing could be searched.
  • app_urlstring (uri)nullable
  • notestringnullable

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found429rate_limited500internal_error

Set a campaign's air check terms

PUT/v1/campaigns/{campaign_id}/air-check-terms

Set what scans look for on the campaign's brand: aliases, handles, hashtags, disclosure_tags, reference_logo (an https URL used by logo checks) and the campaign's short-form rule (caption_or_logo or caption_and_logo). Each list sent replaces that list; the brand name always stays the first alias. Terms live on the brand, so a brand with other campaigns needs "confirm": true (details.other_campaigns_of_brand lists them). Short-form captions are re-checked for free on the next scan.

  • Send "dry_run": true to get {"object": "dry_run", "would_write": …} without writing anything.

Previews with a read key. A credential with campaigns:read (no campaigns:write) may send "dry_run": true: nothing is written or spent. Anything else needs campaigns:write.

Path parameters

  • campaign_idstringrequired
    Campaign id (see GET /v1/campaigns).

Headers

  • X-Listener-Workspacestringmax 200 chars
    Run this request inside one of the network's own subnetworks: its id, handle or name, as GET /v1/subnetworks returns them (names and handles are matched without regard to case). Network credentials only. A subnetwork that is a group of shows (kind: "group") limits the request to those shows: lists, analytics and clusters cover only them, a show outside it answers 404, and a write that names a show outside it is refused; campaigns, reports and the team stay the network's, and requests that change the network itself (the network profile, adding or removing shows, subnetworks, team) answer 400. A subnetwork with its own account (has_login: true) is opened as that account, so every resource is the subnetwork's own. GET /v1/me says which one the request ran in (note). Omit the header, or send network, for the whole network. A value that is not one of this network's subnetworks answers 400 parameter_invalid; a subnetwork or single-show credential cannot select anything. Sent as a header only: there is no workspace query parameter on /v1. Webhook endpoints, events and connections always belong to the credential's own workspace.
  • Idempotency-Keystringmax 255 chars
    Any unique string (≤ 255 chars). Replays within 24 h return the stored response with Idempotent-Replayed: true.

Request body

application/json
  • aliasesarray of stringsnullable
    Other names the brand is read or written as (replaces the list).
  • handlesarray of stringsnullable
    Social handles, with or without @ (replaces the list).
  • hashtagsarray of stringsnullable
    Hashtags, with or without # (replaces the list).
  • disclosure_tagsarray of stringsnullable
    Disclosure tags such as #ad or 'Paid partnership' (replaces the list).
  • reference_logostringnullable
    https URL of the brand's logo for logo checks ("" clears it).
  • dry_runboolean
    true returns exactly what would be written without writing anything (the API's test mode).

    Default false

  • confirmboolean
    Must be true to apply destructive or metered changes; without it the API answers 409 with a preview.

    Default false

Returns

200

OK

One of:

WriteResult
DryRun

Errors

400parameter_invalid401credential_invalid403scope_missing404resource_not_found409confirmation_required413body_too_large429rate_limited500internal_error