Trillboards Campaign Planner is an MCP server published by com.trillboards, hosted at api.trillboards.com. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 12 tools, including search_ad_inventory, preview_campaign_plan, save_campaign_draft, attach_campaign_creative, prepare_campaign_booking.
Plan and book out-of-home, CTV, video, audio and display campaigns, paid through Stripe.
3 connections through 4 shared values. Tap any node.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
Find local digital out-of-home screens and available CTV, video, audio and display products for an agency client. Uses the advertiser portal inventory and prices.
| Parameter | Type | Description |
|---|---|---|
| city | string | Native city filter. For neighborhoods such as Manhattan, use radius around the requested area instead. |
| limit | integer | |
| query | string | Screen or venue text filter. Use geographic radius for a neighborhood; a text match is not a location search. |
| state | string | |
| cursor | string | |
| radius | object | Geographic inventory search around the client location. Use this for neighborhoods and nearby screens, without an additional neighborhood text or city filter. |
| source | string | one of ["owned","partner","mixed"] |
| channels | array | |
| inventoryClass | string | one of ["all","owned_and_operated","partner"] |
{
"name": "search_ad_inventory",
"title": "Search ad inventory",
"description": "Find local digital out-of-home screens and available CTV, video, audio and display products for an agency client. Uses the advertiser portal inventory and prices.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"city": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Native city filter. For neighborhoods such as Manhattan, use radius around the requested area instead."
},
"limit": {
"type": "integer",
"default": 20,
"maximum": 100,
"minimum": 1
},
"query": {
"type": "string",
"maxLength": 200,
"description": "Screen or venue text filter. Use geographic radius for a neighborhood; a text match is not a location search."
},
"state": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"cursor": {
"type": "string",
"maxLength": 4096
},
"radius": {
"type": "object",
"required": [
"lat",
"lng",
"miles"
],
"properties": {
"lat": {
"type": "number",
"maximum": 90,
"minimum": -90
},
"lng": {
"type": "number",
"maximum": 180,
"minimum": -180
},
"miles": {
"type": "number",
"maximum": 500,
"exclusiveMinimum": 0
}
},
"description": "Geographic inventory search around the client location. Use this for neighborhoods and nearby screens, without an additional neighborhood text or city filter.",
"additionalProperties": false
},
"source": {
"enum": [
"owned",
"partner",
"mixed"
],
"type": "string",
"default": "mixed"
},
"channels": {
"type": "array",
"items": {
"enum": [
"ctv",
"video",
"audio",
"display"
],
"type": "string"
},
"maxItems": 4
},
"inventoryClass": {
"enum": [
"all",
"owned_and_operated",
"partner"
],
"type": "string",
"default": "all"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"kind",
"screens",
"providerCatalog",
"facets",
"forecast",
"nextCursor"
],
"properties": {
"kind": {
"type": "string",
"const": "inventory"
},
"facets": {
"type": "object",
"properties": {
"dma": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"count"
],
"properties": {
"key": {
"type": "string"
},
"count": {
"type": "number"
},
"count_owned": {
"type": "number"
},
"count_partner": {
"type": "number"
}
},
"additionalProperties": true
}
},
"source": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"count"
],
"properties": {
"key": {
"type": "string"
},
"count": {
"type": "number"
},
"count_owned": {
"type": "number"
},
"count_partner": {
"type": "number"
}
},
"additionalProperties": true
}
},
"behavior": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"count"
],
"properties": {
"key": {
"type": "string"
},
"count": {
"type": "number"
},
"count_owned": {
"type": "number"
},
"count_partner": {
"type": "number"
}
},
"additionalProperties": true
}
},
"publisher": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"count"
],
"properties": {
"key": {
"type": "string"
},
"count": {
"type": "number"
},
"count_owned": {
"type": "number"
},
"count_partner": {
"type": "number"
}
},
"additionalProperties": true
}
},
"venue_type": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"count"
],
"properties": {
"key": {
"type": "string"
},
"count": {
"type": "number"
},
"count_owned": {
"type": "number"
},
"count_partner": {
"type": "number"
}
},
"additionalProperties": true
}
},
"placement_type": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"count"
],
"properties": {
"key": {
"type": "string"
},
"count": {
"type": "number"
},
"count_owned": {
"type": "number"
},
"count_partner": {
"type": "number"
}
},
"additionalProperties": true
}
},
"inventory_class": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"count"
],
"properties": {
"key": {
"type": "string"
},
"count": {
"type": "number"
},
"count_owned": {
"type": "number"
},
"count_partner": {
"type": "number"
}
},
"additionalProperties": true
}
},
"environment_type": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"count"
],
"properties": {
"key": {
"type": "string"
},
"count": {
"type": "number"
},
"count_owned": {
"type": "number"
},
"count_partner": {
"type": "number"
}
},
"additionalProperties": true
}
}
},
"additionalProperties": true
},
"screens": {
"type": "array",
"items": {
"type": "object",
"required": [
"screen_id"
],
"properties": {
"cpm": {
"type": [
"number",
"null"
],
"description": "Buyer USD per 1,000 impressions."
},
"city": {
"type": [
"string",
"null"
]
},
"name": {
"type": "string"
},
"state": {
"type": [
"string",
"null"
]
},
"photos": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "object",
"properties": {
"url": {
"type": "string"
},
"type": {
"type": "string"
},
"photo": {
"type": "string"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
}
},
"additionalProperties": true
}
]
}
},
{
"type": "null"
}
]
},
"source": {
"type": "string",
"description": "Catalog provenance. Use inventory_class for the direct-connection split."
},
"channel": {
"type": "string"
},
"age_dist": {
"type": "array",
"items": {
"type": "number"
}
},
"edu_dist": {
"type": "array",
"items": {
"type": "number"
}
},
"latitude": {
"type": [
"number",
"null"
]
},
"location": {
"anyOf": [
{
"anyOf": [
{
"type": "string"
},
{
"type": "object",
"additionalProperties": {}
}
]
},
{
"type": "null"
}
],
"description": "Existing native address text or structured location metadata. Use the named latitude, longitude, city, state and venue fields for inventory selection."
},
"longitude": {
"type": [
"number",
"null"
]
},
"photo_url": {
"type": [
"string",
"null"
]
},
"race_dist": {
"type": "array",
"items": {
"type": "number"
}
},
"screen_id": {
"type": "string"
},
"photo_type": {
"type": [
"string",
"null"
]
},
"place_name": {
"type": [
"string",
"null"
]
},
"income_dist": {
"type": "array",
"items": {
"type": "number"
}
},
"postal_code": {
"type": [
"string",
"null"
]
},
"audience_fit": {
"type": "number"
},
"display_name": {
"type": "string"
},
"format_label": {
"type": "string"
},
"strong_match": {
"type": "boolean"
},
"online_status": {
"type": "string"
},
"venue_details": {
"anyOf": [
{
"type": "object",
"properties": {
"region": {
"type": [
"string",
"null"
]
},
"width_px": {
"type": [
"number",
"null"
]
},
"height_px": {
"type": [
"number",
"null"
]
},
"hours_text": {
"type": [
"string",
"null"
]
},
"allow_audio": {
"type": [
"boolean",
"null"
]
},
"conurbation": {
"type": [
"string",
"null"
]
},
"postal_area": {
"type": [
"string",
"null"
]
},
"location_name": {
"type": [
"string",
"null"
]
},
"audio_required": {
"type": [
"boolean",
"null"
]
},
"creative_specs": {
"type": [
"string",
"null"
]
},
"max_duration_s": {
"type": [
"number",
"null"
]
},
"min_duration_s": {
"type": [
"number",
"null"
]
},
"spec_sheet_url": {
"type": [
"string",
"null"
]
},
"supports_audio": {
"type": [
"boolean",
"null"
]
},
"supports_video": {
"type": [
"boolean",
"null"
]
},
"economic_region": {
"type": [
"string",
"null"
]
},
"postcode_sector": {
"type": [
"string",
"null"
]
},
"state_territory": {
"type": [
"string",
"null"
]
},
"supports_banner": {
"type": [
"boolean",
"null"
]
},
"loop_length_seconds": {
"type": [
"number",
"null"
]
},
"audience_profile_text": {
"type": [
"string",
"null"
]
},
"forward_sortation_area": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": true
},
{
"type": "null"
}
]
},
"persona_scores": {
"type": "object",
"additionalProperties": {
"type": "number"
}
},
"placement_type": {
"type": [
"string",
"null"
]
},
"street_address": {
"type": [
"string",
"null"
]
},
"venue_category": {
"type": [
"string",
"null"
]
},
"audience_source": {
"type": [
"string",
"null"
]
},
"diagonal_inches": {
"type": [
"number",
"null"
]
},
"dimension_width": {
"type": [
"number",
"null"
]
},
"inventory_class": {
"enum": [
"owned_and_operated",
"partner"
],
"type": "string",
"description": "Established direct Trillboards player/API/ad-server connection means owned_and_operated; independent of hardware owner, catalog source and current liveness."
},
"is_derived_name": {
"type": "boolean"
},
"avg_attention_7d": {
"type": [
"number",
"null"
]
},
"dimension_height": {
"type": [
"number",
"null"
]
},
"environment_type": {
"type": [
"string",
"null"
]
},
"venue_subcategory": {
"type": [
"string",
"null"
]
},
"physical_screen_id": {
"type": "string",
"description": "Existing native screen identity or opaque catalog offer when no exact screen crosswalk exists. Multiple offers can share one physical screen."
},
"avg_dwell_seconds_7d": {
"type": [
"number",
"null"
]
},
"inventory_type_label": {
"type": "string"
},
"curve_sample_count_7d": {
"type": [
"number",
"null"
]
},
"intuizi_active_days_7d": {
"type": [
"number",
"null"
]
},
"measured_hourly_curve_7d": {
"anyOf": [
{
"type": "array",
"items": {
"type": "number"
}
},
{
"type": "null"
}
]
},
"intuizi_daily_footfall_7d": {
"type": [
"number",
"null"
]
},
"measured_daily_audience_7d": {
"type": [
"number",
"null"
]
},
"estimated_daily_impressions": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": true
}
},
"forecast": {
"type": "object",
"required": [
"screen_count",
"daily_impressions",
"effective_cpm"
],
"properties": {
"screen_count": {
"type": "number",
"description": "Matching screen offers, preserving historical count semantics."
},
"effective_cpm": {
"type": [
"number",
"null"
]
},
"daily_impressions": {
"type": [
"number",
"null"
]
},
"physical_screen_count": {
"type": [
"number",
"null"
],
"description": "Distinct exact physical identities across the complete filtered set; null while identity projection is refreshing. Never sum source or facet distinct counts."
}
},
"additionalProperties": true
},
"nextCursor": {
"type": [
"string",
"null"
]
},
"providerCatalog": {
"type": "object",
"required": [
"channels",
"products",
"channelFacets",
"ownedChannels",
"availsSummary",
"targetingOptionsCount",
"unifiedCheckoutEnabled",
"reuseAudit"
],
"properties": {
"channels": {
"type": "array",
"items": {
"type": "string"
}
},
"products": {
"type": "array",
"items": {
"type": "object",
"required": [
"displayName"
],
"properties": {
"cpmUsd": {
"type": "number",
"description": "Buyer USD per 1,000 impressions."
},
"channel": {
"type": "string"
},
"budgetUsd": {
"type": "number",
"description": "USD, in major units."
},
"mediaType": {
"type": "string"
},
"productId": {
"type": "string"
},
"displayName": {
"type": "string"
},
"minBudgetUsd": {
"type": [
"number",
"null"
]
},
"defaultCpmUsd": {
"type": "number",
"description": "Buyer USD per 1,000 impressions."
},
"impressionGoal": {
"type": "number"
},
"targetingCounts": {
"type": "object",
"properties": {
"metros": {
"type": "number"
},
"audiences": {
"type": "number"
},
"publishers": {
"type": "number"
},
"postalCodes": {
"type": "number"
},
"publisherGroups": {
"type": "number"
},
"audienceExprTargets": {
"type": "number"
},
"contextualAvoidance": {
"type": "number"
},
"contextualTargeting": {
"type": "number"
},
"optimizationTemplates": {
"type": "number"
}
},
"additionalProperties": true
},
"capabilitySummary": {
"anyOf": [
{
"type": "object",
"properties": {
"deviceMix": {
"type": "object",
"properties": {
"tv": {
"type": "number"
},
"mobile": {
"type": "number"
},
"tablet": {
"type": "number"
},
"desktop": {
"type": "number"
}
},
"additionalProperties": true
},
"vcrTarget": {
"type": "number"
},
"providerReady": {
"type": "boolean"
},
"inventoryAccess": {
"type": "string",
"const": "allowlist"
}
},
"additionalProperties": true
},
{
"type": "null"
}
]
},
"creativeReadiness": {
"type": "object",
"required": [
"state",
"label",
"detail"
],
"properties": {
"label": {
"type": "string"
},
"state": {
"type": "string"
},
"detail": {
"type": "string"
},
"specsCopy": {
"type": "string"
},
"playableUrl": {
"type": "string"
}
},
"additionalProperties": true
}
},
"additionalProperties": true
}
},
"reuseAudit": {
"type": "object",
"properties": {
"syncRail": {
"type": "string"
},
"metricsRail": {
"type": "string"
},
"paymentRail": {
"type": "string"
},
"amountSource": {
"type": "string"
},
"buyerSurface": {
"type": "string"
},
"campaignRail": {
"type": "string"
},
"checkoutRail": {
"type": "string"
},
"externalRefs": {
"type": "string"
},
"operatorRail": {
"type": "string"
},
"proposalRail": {
"type": "string"
},
"providerRail": {
"type": "string"
},
"unifiedRails": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"label",
"rail",
"status"
],
"properties": {
"key": {
"type": "string"
},
"rail": {
"type": "string"
},
"label": {
"type": "string"
},
"detail": {
"type": "string"
},
"status": {
"type": "string"
},
"sourceTypes": {
"type": "array",
"items": {
"type": "string"
}
},
"evidenceSummary": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": true
}
},
"sourceLineage": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"label",
"rail",
"status"
],
"properties": {
"key": {
"type": "string"
},
"rail": {
"type": "string"
},
"label": {
"type": "string"
},
"detail": {
"type": "string"
},
"status": {
"type": "string"
},
"sourceTypes": {
"type": "array",
"items": {
"type": "string"
}
},
"evidenceSummary": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": true
}
},
"acceptanceRail": {
"type": "string"
},
"submissionRail": {
"type": "string"
},
"providerLineRail": {
"type": "string"
},
"retrySiloAvoided": {
"type": "boolean"
},
"stripeClientRail": {
"type": "string"
},
"acceptanceContext": {
"type": "object",
"properties": {
"proposalId": {
"type": "string"
},
"contextRail": {
"type": "string"
},
"advertisementMongoId": {
"type": "string"
},
"derivedCompanyDomain": {
"type": "string"
},
"usedCampaignAudienceLens": {
"type": "boolean"
},
"usedCampaignLinkForDomain": {
"type": "boolean"
},
"derivedPackageAudienceLens": {
"type": "string"
}
},
"additionalProperties": true
},
"channelResolution": {
"type": "object",
"required": [
"source",
"requestedChannels",
"resolvedChannels",
"fellBackToAllProducts"
],
"properties": {
"source": {
"type": "string"
},
"resolvedChannels": {
"type": "array",
"items": {
"type": "string"
}
},
"requestedChannels": {
"type": "array",
"items": {
"type": "string"
}
},
"fellBackToAllProducts": {
"type": "boolean"
}
},
"additionalProperties": true
},
"dataSourceSummary": {
"type": "object",
"required": [
"companyBrainMatched",
"intuiziSegmentCount",
"approvedProviderMappings",
"pendingProviderMappingCandidatesSeeded"
],
"properties": {
"hqStateCount": {
"type": "number"
},
"personaCount": {
"type": "number"
},
"companyBrainSource": {
"type": "string"
},
"companyBrainMatched": {
"type": "boolean"
},
"intuiziSegmentCount": {
"type": "number"
},
"firmographicTagCount": {
"type": "number"
},
"budgetAllocationSource": {
"type": "string"
},
"companyBrainIngestRail": {
"type": "string"
},
"companyBrainSourceLabel": {
"type": "string"
},
"approvedProviderMappings": {
"type": "number"
},
"providerTargetTypeSummary": {
"type": "object",
"additionalProperties": {
"type": "number"
}
},
"winmoMediaRadarSignalCount": {
"type": "number"
},
"providerTargetCatalogEntries": {
"type": "number"
},
"approvedProviderTargetsMatched": {
"type": "number"
},
"pendingProviderMappingCandidatesSeeded": {
"type": "number"
}
},
"additionalProperties": true
},
"statusSiloAvoided": {
"type": "boolean"
},
"targetCatalogRail": {
"type": "string"
},
"paymentSiloAvoided": {
"type": "boolean"
},
"stripeMetadataRail": {
"type": "string"
},
"audienceMappingRail": {
"type": "string"
},
"geographyResolution": {
"type": "object",
"required": [
"rail",
"matched",
"source",
"metroTargetCount"
],
"properties": {
"rail": {
"type": "string"
},
"source": {
"type": "string"
},
"matched": {
"type": "boolean"
},
"metroTargetCount": {
"type": "number"
}
},
"additionalProperties": true
},
"inventorySiloAvoided": {
"type": "boolean"
},
"placementSiloAvoided": {
"type": "boolean"
},
"checkoutSmokeReadOnly": {
"type": "boolean"
},
"campaignPlanningContext": {
"type": "object",
"properties": {
"proposalId": {
"type": "string"
},
"contextRail": {
"type": "string"
},
"advertisementMongoId": {
"type": "string"
},
"derivedCompanyDomain": {
"type": "string"
},
"usedCampaignAudienceLens": {
"type": "boolean"
},
"usedCampaignLinkForDomain": {
"type": "boolean"
},
"derivedPackageAudienceLens": {
"type": "string"
}
},
"additionalProperties": true
},
"checkoutIdempotencyRail": {
"type": "string"
},
"providerLineIdMetadataRail": {
"type": "string"
}
},
"additionalProperties": true
},
"availsSummary": {
"type": "object",
"required": [
"audienceReach",
"metroCount"
],
"properties": {
"metroCount": {
"type": "number"
},
"audienceReach": {
"type": "object",
"required": [
"matchedAudienceCount",
"totalHouseholdReach"
],
"properties": {
"totalHouseholdReach": {
"type": [
"number",
"null"
]
},
"matchedAudienceCount": {
"type": "number"
}
},
"additionalProperties": true
}
},
"additionalProperties": true
},
"channelFacets": {
"type": "array",
"items": {
"type": "object",
"required": [
"channel"
],
"properties": {
"label": {
"type": "string"
},
"channel": {
"type": "string"
},
"cpmRange": {
"type": "object",
"required": [
"minUsd",
"maxUsd"
],
"properties": {
"maxUsd": {
"type": "number",
"description": "USD, in major units."
},
"minUsd": {
"type": "number",
"description": "USD, in major units."
}
},
"additionalProperties": true
},
"readiness": {
"type": "string"
},
"minBudgetUsd": {
"type": "number",
"description": "USD, in major units."
},
"productCount": {
"type": "number"
},
"productNames": {
"type": "array",
"items": {
"type": "string"
}
},
"readyProductCount": {
"type": "number"
},
"creativeRequirement": {
"type": "object",
"required": [
"mediaType",
"specsCopy"
],
"properties": {
"mediaType": {
"type": "string"
},
"specsCopy": {
"type": "string"
}
},
"additionalProperties": true
}
},
"additionalProperties": true
}
},
"ownedChannels": {
"type": "array",
"items": {
"type": "object",
"required": [
"channel"
],
"properties": {
"channel": {
"type": "string"
},
"creativeRequirement": {
"type": "object",
"required": [
"mediaType",
"specsCopy"
],
"properties": {
"mediaType": {
"type": "string"
},
"specsCopy": {
"type": "string"
}
},
"additionalProperties": true
}
},
"additionalProperties": true
}
},
"targetingOptionsCount": {
"type": "number"
},
"unifiedCheckoutEnabled": {
"type": "boolean"
}
},
"additionalProperties": true
}
},
"additionalProperties": true
},
"annotations": {
"title": "Search ad inventory",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Preview native campaign pricing and audience estimates for selected screens and channels. This does not reserve inventory or charge the advertiser.
| Parameter | Type | Description |
|---|---|---|
| source | string | one of ["owned","partner","mixed"] |
| endTime | string | |
| quoteId | string | |
| quoteIds | object | |
| timezone | string | IANA timezone for the local flight. |
| budgetUsd | number | |
| flightEnd * | string | Local calendar date, YYYY-MM-DD. |
| screenIds | array | |
| startTime | string | |
| clientName | string | |
| landingUrl | string | Client business or campaign landing page URL. |
| flightStart |
Save or update an agency-owned campaign and selected inventory in the advertiser portal. The agency remains the owner and payer; clientName labels the client brief.
| Parameter | Type | Description |
|---|---|---|
| source | string | one of ["owned","partner","mixed"] |
| endTime | string | |
| quoteId | string | |
| quoteIds | object | |
| timezone | string | IANA timezone for the local flight. |
| budgetUsd | number | |
| flightEnd * | string | Local calendar date, YYYY-MM-DD. |
| screenIds | array | |
| startTime | string | |
| clientName | string | |
| landingUrl | string | Client business or campaign landing page URL. |
| flightStart |
Copy a user-selected creative file into the native campaign asset and moderation flow. Attach artwork before booking. Existing live artwork changes follow the portal replacement workflow.
| Parameter | Type | Description |
|---|---|---|
| creativeFile * | object | |
| advertisementId * | string | Native campaign ID returned by save_campaign_draft. |
| idempotency_key * | string | Stable unique key for this action. Reuse this key and unchanged arguments when retrying. |
{
"name": "attach_campaign_creative",
"title": "Attach campaign creative",
"description": "Copy a user-selected creative file into the native campaign asset and moderation flow. Attach artwork before booking. Existing live artwork changes follow the portal replacement workflow.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"advertisementId",
"idempotency_key",
"creativeFile"
],
"properties": {
"creativeFile": {
"type": "object",
"required": [
"download_url",
"file_id"
],
"properties": {
"file_id": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"file_name": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"mime_type": {
"type": "string",
"maxLength": 100
},
"download_url": {
"type": "string",
"format": "uri"
}
},
"additionalProperties": false
},
"advertisementId": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Native campaign ID returned by save_campaign_draft."
},
"idempotency_key": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Stable unique key for this action. Reuse this key and unchanged arguments when retrying."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"kind",
"advertisementId",
"creative",
"statusCode"
],
"properties": {
"kind": {
"type": "string",
"const": "campaign"
},
"creative": {
"type": "object",
"properties": {
"status": {
"type": "string"
},
"assetUrl": {
"type": "string"
},
"assetKind": {
"type": "string"
},
"mediaType": {
"type": "string"
},
"replacementId": {
"type": "string"
}
},
"additionalProperties": true
},
"statusCode": {
"enum": [
200,
202
],
"type": "number"
},
"advertisementId": {
"type": "string"
}
},
"additionalProperties": true
},
"annotations": {
"title": "Attach campaign creative",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}Read the exact current campaign selections, total, currency and creative readiness for the buyer to review before payment.
| Parameter | Type | Description |
|---|---|---|
| quoteId | string | |
| quoteIds | object | |
| bookingIds | array | |
| advertisementId * | string | Native campaign ID returned by save_campaign_draft. |
| providerLineIds | array |
{
"name": "prepare_campaign_booking",
"title": "Prepare campaign booking",
"description": "Read the exact current campaign selections, total, currency and creative readiness for the buyer to review before payment.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"advertisementId"
],
"properties": {
"quoteId": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"quoteIds": {
"type": "object",
"properties": {
"owned": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"partner": {
"type": "string",
"maxLength": 200,
"minLength": 1
}
},
"additionalProperties": false
},
"bookingIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"default": [],
"maxItems": 1000
},
"advertisementId": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Native campaign ID returned by save_campaign_draft."
},
"providerLineIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"default": [],
"maxItems": 100
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"kind",
"advertisementId",
"advertisementMongoId",
"bookingIds",
"providerLineIds",
"prepared",
"amountMinor",
"currency",
"reviewedSubtotalUsd",
"taxAmount"
],
"properties": {
"kind": {
"type": "string",
"const": "proposal"
},
"adIDs": {
"type": "array",
"items": {
"type": "string"
}
},
"amount": {
"type": "number",
"description": "Major units of the returned buyer presentment currency."
},
"currency": {
"type": "string"
},
"prepared": {
"type": "boolean",
"const": true
},
"amountUsd": {
"type": "number",
"description": "USD, in major units."
},
"taxAmount": {
"type": "number",
"description": "Major units of the returned buyer presentment currency."
},
"bookingIds": {
"type": "array",
"items": {
"type": "string"
}
},
"amountMinor": {
"type": "integer",
"description": "Exact minor units of the returned currency. Reuse as reviewedAmount."
},
"subtotalUsd": {
"type": "number",
"description": "USD, in major units."
},
"bookingSource": {
"type": "string"
},
"providerMedia": {
"type": "object",
"required": [
"amountUsd",
"lineCount"
],
"properties": {
"amountUsd": {
"type": "number",
"description": "USD, in major units."
},
"lineCount": {
"type": "number"
}
},
"additionalProperties": true
},
"advertisementId": {
"type": "string"
},
"providerLineIds": {
"type": "array",
"items": {
"type": "string"
}
},
"reviewedSelection": {
"type": "string"
},
"reviewedSubtotalUsd": {
"type": "number",
"description": "USD major units reviewed for native checkout. For a screen cart: reviewed screen subtotal, with additional providerMedia separately listed. For provider-only checkout: selected provider total."
},
"advertisementMongoId": {
"type": "string"
}
},
"additionalProperties": true
},
"annotations": {
"title": "Prepare campaign booking",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Create a Stripe checkout for the exact campaign and total the buyer reviewed. Open the returned checkoutUrl to complete payment. The campaign is booked after the verified native Stripe payment webhook.
| Parameter | Type | Description |
|---|---|---|
| quoteId | string | |
| quoteIds | object | |
| bookingIds | array | |
| reviewedAmount * | integer | Exact amountMinor from prepare_campaign_booking, in the currency minor unit. |
| advertisementId * | string | Native campaign ID returned by save_campaign_draft. |
| idempotency_key * | string | Stable unique key for this action. Reuse this key and unchanged arguments when retrying. |
| providerLineIds | array | |
| reviewedCurrency * | string | Exact currency from prepare_campaign_booking. |
| reviewedSelection * | string | Exact native reviewedSelection from prepare_campaign_booking; binds the reviewed inventory, flight, quantities and targeting. |
Read the campaign and booking progress from the same order records as the advertiser portal, including creative review, scheduled dates and live fulfillment.
| Parameter | Type | Description |
|---|---|---|
| advertisementId * | string | Native campaign ID returned by save_campaign_draft. |
{
"name": "get_campaign_status",
"title": "Get campaign status",
"description": "Read the campaign and booking progress from the same order records as the advertiser portal, including creative review, scheduled dates and live fulfillment.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"advertisementId"
],
"properties": {
"advertisementId": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Native campaign ID returned by save_campaign_draft."
}
},
"additionalProperties": false
},
"outputSchema": {
"truncated": true,
"chars": 25220
},
"annotations": {
"title": "Get campaign status",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read canonical campaign measurement, source reconciliation, pacing and screen performance from the portal and report owners. An explicit UTC window wins; otherwise measurement reads the campaign flight, capped at now and 400 days. Creative detail has its separate 31-day window.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | |
| period | string | one of ["7d","30d","90d","all"] |
| endDate | any | UTC date or ISO timestamp, inclusive through that UTC day and capped at now. |
| startDate | any | UTC date or ISO timestamp; normalized to whole UTC days. |
| advertisementId * | string | Native campaign ID returned by save_campaign_draft. |
{
"name": "get_campaign_delivery",
"title": "Get campaign delivery",
"description": "Read canonical campaign measurement, source reconciliation, pacing and screen performance from the portal and report owners. An explicit UTC window wins; otherwise measurement reads the campaign flight, capped at now and 400 days. Creative detail has its separate 31-day window.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"advertisementId"
],
"properties": {
"limit": {
"type": "integer",
"default": 20,
"maximum": 100,
"minimum": 1
},
"period": {
"enum": [
"7d",
"30d",
"90d",
"all"
],
"type": "string"
},
"endDate": {
"anyOf": [
{
"type": "string",
"description": "Local calendar date, YYYY-MM-DD."
},
{
"type": "string",
"format": "date-time"
}
],
"description": "UTC date or ISO timestamp, inclusive through that UTC day and capped at now."
},
"startDate": {
"anyOf": [
{
"type": "string",
"description": "Local calendar date, YYYY-MM-DD."
},
{
"type": "string",
"format": "date-time"
}
],
"description": "UTC date or ISO timestamp; normalized to whole UTC days."
},
"advertisementId": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Native campaign ID returned by save_campaign_draft."
}
},
"additionalProperties": false
},
"outputSchema": {
"truncated": true,
"chars": 52830
},
"annotations": {
"title": "Get campaign delivery",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Copy a previous campaign into a new unpaid campaign for new dates, preserving native creative lineage and obtaining fresh prices. Rebooking requires a new review and payment.
| Parameter | Type | Description |
|---|---|---|
| flightEnd * | string | Local calendar date, YYYY-MM-DD. |
| flightStart * | string | Local calendar date, YYYY-MM-DD. |
| advertisementId * | string | Native campaign ID returned by save_campaign_draft. |
| idempotency_key * | string | Stable unique key for this action. Reuse this key and unchanged arguments when retrying. |
{
"name": "rebook_campaign",
"title": "Rebook campaign",
"description": "Copy a previous campaign into a new unpaid campaign for new dates, preserving native creative lineage and obtaining fresh prices. Rebooking requires a new review and payment.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"advertisementId",
"idempotency_key",
"flightStart",
"flightEnd"
],
"properties": {
"flightEnd": {
"type": "string",
"description": "Local calendar date, YYYY-MM-DD."
},
"flightStart": {
"type": "string",
"description": "Local calendar date, YYYY-MM-DD."
},
"advertisementId": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Native campaign ID returned by save_campaign_draft."
},
"idempotency_key": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Stable unique key for this action. Reuse this key and unchanged arguments when retrying."
}
},
"additionalProperties": false
},
"outputSchema": {
"truncated": true,
"chars": 57217
},
"annotations": {
"title": "Rebook campaign",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Stop the native campaign and report any line that still requires a retry.
| Parameter | Type | Description |
|---|---|---|
| advertisementId * | string | Native campaign ID returned by save_campaign_draft. |
| idempotency_key * | string | Stable unique key for this action. Reuse this key and unchanged arguments when retrying. |
{
"name": "stop_campaign",
"title": "Stop campaign",
"description": "Stop the native campaign and report any line that still requires a retry.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"advertisementId",
"idempotency_key"
],
"properties": {
"advertisementId": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Native campaign ID returned by save_campaign_draft."
},
"idempotency_key": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Stable unique key for this action. Reuse this key and unchanged arguments when retrying."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"kind",
"advertisementId",
"statusCode",
"message",
"stopped_allocations",
"stopped_provider_media_lines",
"stopped_partner_lines",
"partial_stop",
"provider_orders_not_stopped",
"provider_media_stop_errors",
"partner_media_stop_errors",
"stopped_partner_placements",
"partner_orders_not_stopped"
],
"properties": {
"kind": {
"type": "string",
"const": "campaign"
},
"message": {
"type": "string"
},
"statusCode": {
"type": "number",
"const": 200
},
"partial_stop": {
"type": "boolean"
},
"advertisementId": {
"type": "string"
},
"stopped_allocations": {
"type": "number"
},
"stopped_partner_lines": {
"type": "number"
},
"partner_media_stop_errors": {
"type": "number"
},
"partner_orders_not_stopped": {
"type": "number"
},
"provider_media_stop_errors": {
"type": "number"
},
"stopped_partner_placements": {
"type": "number"
},
"partner_owner_stops_pending": {
"type": "number",
"description": "Original owner IO lines awaiting evidenced stop confirmation. Stop does not imply a refund."
},
"provider_orders_not_stopped": {
"type": "number"
},
"stopped_provider_media_lines": {
"type": "number"
}
},
"additionalProperties": true
},
"annotations": {
"title": "Stop campaign",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Amend the native campaign flight. Each fulfillment route reports its actual supported change.
| Parameter | Type | Description |
|---|---|---|
| flightEnd * | string | Local calendar date, YYYY-MM-DD. |
| flightStart * | string | Local calendar date, YYYY-MM-DD. |
| advertisementId * | string | Native campaign ID returned by save_campaign_draft. |
| idempotency_key * | string | Stable unique key for this action. Reuse this key and unchanged arguments when retrying. |
{
"name": "amend_campaign_flight",
"title": "Amend campaign flight",
"description": "Amend the native campaign flight. Each fulfillment route reports its actual supported change.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"advertisementId",
"idempotency_key",
"flightStart",
"flightEnd"
],
"properties": {
"flightEnd": {
"type": "string",
"description": "Local calendar date, YYYY-MM-DD."
},
"flightStart": {
"type": "string",
"description": "Local calendar date, YYYY-MM-DD."
},
"advertisementId": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Native campaign ID returned by save_campaign_draft."
},
"idempotency_key": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Stable unique key for this action. Reuse this key and unchanged arguments when retrying."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"kind",
"advertisementId",
"statusCode",
"message",
"amended_lines",
"ownedPlacementsAmended",
"capabilities",
"pending_partner_sync",
"start_date",
"end_date"
],
"properties": {
"kind": {
"type": "string",
"const": "campaign"
},
"message": {
"type": "string"
},
"end_date": {
"type": "string"
},
"start_date": {
"type": "string"
},
"statusCode": {
"type": "number",
"const": 200
},
"lineResults": {
"type": "array",
"items": {
"type": "object",
"required": [
"lineId",
"source",
"route",
"applied",
"capabilities"
],
"properties": {
"route": {
"enum": [
"native_placement",
"registry_tag",
"owner_io",
"draft"
],
"type": "string"
},
"lineId": {
"type": "string"
},
"source": {
"enum": [
"owned",
"partner"
],
"type": "string"
},
"status": {
"type": "string"
},
"applied": {
"type": "boolean"
},
"capabilities": {
"type": "object",
"required": [
"flightAmendment",
"requiresOwnerAcknowledgement"
],
"properties": {
"flightAmendment": {
"type": "boolean"
},
"requiresOwnerAcknowledgement": {
"type": "boolean"
}
},
"additionalProperties": true
},
"appliedFlightEnd": {
"type": [
"string",
"null"
]
},
"placementMongoId": {
"type": "string"
},
"appliedFlightStart": {
"type": [
"string",
"null"
]
},
"requestedFlightEnd": {
"type": [
"string",
"null"
]
},
"requestedFlightStart": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": true
}
},
"capabilities": {
"type": "object",
"required": [
"owned",
"partner",
"providerMedia"
],
"properties": {
"owned": {
"type": "boolean"
},
"partner": {
"type": "boolean"
},
"providerMedia": {
"type": "boolean"
}
},
"additionalProperties": true
},
"amended_lines": {
"type": "number"
},
"advertisementId": {
"type": "string"
},
"pending_partner_sync": {
"type": "number",
"description": "Original owner IO lines awaiting acknowledged dates; local registry changes apply in the same transaction."
},
"ownedPlacementsAmended": {
"type": "number"
}
},
"additionalProperties": true
},
"annotations": {
"title": "Amend campaign flight",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Update campaign name, description or landing page through the native targeted update.
| Parameter | Type | Description |
|---|---|---|
| landingUrl | string | |
| description | string | |
| campaignName | string | |
| advertisementId * | string | Native campaign ID returned by save_campaign_draft. |
| idempotency_key * | string | Stable unique key for this action. Reuse this key and unchanged arguments when retrying. |
{
"name": "update_campaign_metadata",
"title": "Update campaign metadata",
"description": "Update campaign name, description or landing page through the native targeted update.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"advertisementId",
"idempotency_key"
],
"properties": {
"landingUrl": {
"type": "string",
"format": "uri",
"maxLength": 2000
},
"description": {
"type": "string",
"maxLength": 2000
},
"campaignName": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"advertisementId": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Native campaign ID returned by save_campaign_draft."
},
"idempotency_key": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Stable unique key for this action. Reuse this key and unchanged arguments when retrying."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"kind",
"advertisementId",
"metadata"
],
"properties": {
"kind": {
"type": "string",
"const": "campaign"
},
"metadata": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"description": {
"type": [
"string",
"null"
]
},
"campaignLink": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": true
},
"advertisementId": {
"type": "string"
}
},
"additionalProperties": true
},
"annotations": {
"title": "Update campaign metadata",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Help a local agency plan and book digital out-of-home, CTV, video, audio and display campaigns for its clients. The connected advertiser account owns and pays for each campaign. Search inventory, preview a plan, save the draft, attach the buyer's creative, and prepare the exact booking for review before creating Stripe checkout. For neighborhood discovery, use the native geographic radius; query matches screen or venue text, and city filters the native city. Inspect returned screen dimensions. For selected partner video, get_campaign_status.partnerDrafts supplies venue pixel dimensions and duration bounds; provider catalog requirements describe provider products. Payment completes in Stripe. Read get_campaign_status after payment to confirm the native booking. Campaign booked means verified purchase; live means native fulfillment confirms activation. Handle media-owner review and launch tracking for the buyer. Rebooking creates a new unpaid campaign with fresh prices. Never invent inventory, totals, payment confirmation or delivery.
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
None yet. Changes appear after a server's second daily check.
| string |
| Local calendar date, YYYY-MM-DD. |
| impressions | integer |
| campaignName | string |
| providerPlan | any |
| ownedBudgetUsd | number |
| advertisementId | string |
| ownedImpressions | integer |
| partnerBudgetUsd | number |
| partnerImpressions | integer |
{
"name": "preview_campaign_plan",
"title": "Preview campaign plan",
"description": "Preview native campaign pricing and audience estimates for selected screens and channels. This does not reserve inventory or charge the advertiser.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"flightStart",
"flightEnd"
],
"properties": {
"source": {
"enum": [
"owned",
"partner",
"mixed"
],
"type": "string",
"default": "mixed"
},
"endTime": {
"type": "string",
"default": "23:59"
},
"quoteId": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"quoteIds": {
"type": "object",
"properties": {
"owned": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"partner": {
"type": "string",
"maxLength": 200,
"minLength": 1
}
},
"additionalProperties": false
},
"timezone": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "IANA timezone for the local flight."
},
"budgetUsd": {
"type": "number",
"exclusiveMinimum": 0
},
"flightEnd": {
"type": "string",
"description": "Local calendar date, YYYY-MM-DD."
},
"screenIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"default": [],
"maxItems": 1000
},
"startTime": {
"type": "string",
"default": "00:00"
},
"clientName": {
"type": "string",
"maxLength": 160
},
"landingUrl": {
"type": "string",
"format": "uri",
"maxLength": 2000,
"description": "Client business or campaign landing page URL."
},
"flightStart": {
"type": "string",
"description": "Local calendar date, YYYY-MM-DD."
},
"impressions": {
"type": "integer",
"exclusiveMinimum": 0
},
"campaignName": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"providerPlan": {
"anyOf": [
{
"type": "object",
"required": [
"budgetUsd",
"flightStart",
"flightEnd",
"channels"
],
"properties": {
"audience": {
"type": "object",
"properties": {
"hard": {
"type": "boolean"
},
"place": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 1
},
"gender": {
"type": "array",
"items": {
"enum": [
"male",
"female"
],
"type": "string"
},
"minItems": 1
},
"intent": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 1
},
"culture": {
"type": "array",
"items": {
"enum": [
"white",
"black",
"asian",
"american_indian",
"hispanic"
],
"type": "string"
},
"minItems": 1
},
"min_fit": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"language": {
"type": "array",
"items": {
"enum": [
"english_only",
"spanish",
"other_indo_european",
"asian_pacific",
"other"
],
"type": "string"
},
"minItems": 1
},
"age_range": {
"type": "array",
"items": {
"type": "number"
},
"maxItems": 2,
"minItems": 2
},
"education": {
"type": "array",
"items": {
"enum": [
"hs_or_less",
"some_college",
"bachelors",
"graduate"
],
"type": "string"
},
"minItems": 1
},
"household": {
"type": "boolean"
},
"interests": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 1
},
"lifestyle": {
"type": "object",
"propertyNames": {
"minLength": 1
},
"additionalProperties": {
"type": "number",
"maximum": 1,
"minimum": 0
}
},
"life_stage": {
"type": "array",
"items": {
"enum": [
"new_movers",
"settled",
"long_tenured",
"married",
"singles",
"new_parents",
"empty_nesters"
],
"type": "string"
},
"minItems": 1
},
"income_range": {
"type": "array",
"items": {
"type": "number"
},
"maxItems": 2,
"minItems": 2
},
"venue_concept": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 1
},
{
"type": "object",
"propertyNames": {
"minLength": 1
},
"additionalProperties": {
"type": "number",
"maximum": 100,
"exclusiveMinimum": 0
}
}
]
}
},
"additionalProperties": false
},
"channels": {
"type": "array",
"items": {
"enum": [
"ctv",
"video",
"audio",
"display"
],
"type": "string"
},
"maxItems": 4,
"minItems": 1
},
"budgetUsd": {
"type": "number",
"exclusiveMinimum": 0
},
"flightEnd": {
"type": "string",
"description": "Local calendar date, YYYY-MM-DD."
},
"geography": {
"type": "object",
"properties": {
"radius": {
"type": "object",
"required": [
"center",
"miles"
],
"properties": {
"miles": {
"type": "number",
"maximum": 500,
"exclusiveMinimum": 0
},
"center": {
"type": "object",
"required": [
"lat",
"lng"
],
"properties": {
"lat": {
"type": "number",
"maximum": 90,
"minimum": -90
},
"lng": {
"type": "number",
"maximum": 180,
"minimum": -180
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"markets": {
"type": "array",
"items": {
"type": "object",
"required": [
"country",
"code"
],
"properties": {
"code": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"country": {
"type": "string",
"maxLength": 2,
"minLength": 2
}
},
"additionalProperties": false
},
"maxItems": 50
},
"polygon": {
"type": "array",
"items": {
"type": "object",
"required": [
"lat",
"lng"
],
"properties": {
"lat": {
"type": "number",
"maximum": 90,
"minimum": -90
},
"lng": {
"type": "number",
"maximum": 180,
"minimum": -180
}
},
"additionalProperties": false
},
"maxItems": 100,
"minItems": 3
},
"latitude": {
"type": "number",
"maximum": 90,
"minimum": -90
},
"longitude": {
"type": "number",
"maximum": 180,
"minimum": -180
},
"countryCode": {
"type": "string",
"maxLength": 2,
"minLength": 2
},
"postalCodes": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"maxItems": 200
}
},
"additionalProperties": false
},
"targeting": {
"type": "object",
"properties": {
"audience": {
"type": "object",
"properties": {
"hard": {
"type": "boolean"
},
"place": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 1
},
"gender": {
"type": "array",
"items": {
"enum": [
"male",
"female"
],
"type": "string"
},
"minItems": 1
},
"intent": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 1
},
"culture": {
"type": "array",
"items": {
"enum": [
"white",
"black",
"asian",
"american_indian",
"hispanic"
],
"type": "string"
},
"minItems": 1
},
"min_fit": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"language": {
"type": "array",
"items": {
"enum": [
"english_only",
"spanish",
"other_indo_european",
"asian_pacific",
"other"
],
"type": "string"
},
"minItems": 1
},
"age_range": {
"type": "array",
"items": {
"type": "number"
},
"maxItems": 2,
"minItems": 2
},
"education": {
"type": "array",
"items": {
"enum": [
"hs_or_less",
"some_college",
"bachelors",
"graduate"
],
"type": "string"
},
"minItems": 1
},
"household": {
"type": "boolean"
},
"interests": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 1
},
"lifestyle": {
"type": "object",
"propertyNames": {
"minLength": 1
},
"additionalProperties": {
"type": "number",
"maximum": 1,
"minimum": 0
}
},
"life_stage": {
"type": "array",
"items": {
"enum": [
"new_movers",
"settled",
"long_tenured",
"married",
"singles",
"new_parents",
"empty_nesters"
],
"type": "string"
},
"minItems": 1
},
"income_range": {
"type": "array",
"items": {
"type": "number"
},
"maxItems": 2,
"minItems": 2
},
"venue_concept": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 1
},
{
"type": "object",
"propertyNames": {
"minLength": 1
},
"additionalProperties": {
"type": "number",
"maximum": 100,
"exclusiveMinimum": 0
}
}
]
}
},
"additionalProperties": false
},
"personaIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"maxItems": 50
},
"intuiziSegmentIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"maxItems": 50
},
"contextualAvoidance": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"maxItems": 100
},
"contextualTargeting": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"maxItems": 100
},
"packageAudienceLens": {
"type": "string",
"maxLength": 200,
"minLength": 1
}
},
"additionalProperties": false
},
"personaIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"maxItems": 50
},
"flightStart": {
"type": "string",
"description": "Local calendar date, YYYY-MM-DD."
},
"advertisementId": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"intuiziSegmentIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"maxItems": 50
},
"selectedProductIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"maxItems": 100
},
"contextualAvoidance": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"maxItems": 100
},
"contextualTargeting": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"maxItems": 100
},
"packageAudienceLens": {
"type": "string",
"maxLength": 200,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"ownedBudgetUsd": {
"type": "number",
"exclusiveMinimum": 0
},
"advertisementId": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"ownedImpressions": {
"type": "integer",
"exclusiveMinimum": 0
},
"partnerBudgetUsd": {
"type": "number",
"exclusiveMinimum": 0
},
"partnerImpressions": {
"type": "integer",
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"kind",
"advertisementId",
"advertisementMongoId",
"bookingState",
"screenQuotes",
"quoteIds"
],
"properties": {
"kind": {
"type": "string",
"const": "plan"
},
"quote": {
"type": "object",
"required": [
"totalBudgetUsd",
"flightStart",
"flightEnd",
"selectedProducts",
"audienceSources",
"unifiedPlan",
"reuseAudit"
],
"properties": {
"audience": {
"type": "object",
"required": [
"engagedDimensions",
"unresolvedDimensions",
"mode",
"matchedTargets",
"doohOnlyKeys",
"nonNarrowingKeys",
"nonNarrowingDimensions"
],
"properties": {
"mode": {
"enum": [
"none",
"direct",
"custom"
],
"type": "string"
},
"doohOnlyKeys": {
"type": "array",
"items": {
"type": "string"
}
},
"matchedTargets": {
"type": "number"
},
"nonNarrowingKeys": {
"type": "array",
"items": {
"type": "string"
}
},
"engagedDimensions": {
"type": "array",
"items": {
"type": "string"
}
},
"unresolvedDimensions": {
"type": "array",
"items": {
"type": "string"
}
},
"nonNarrowingDimensions": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": true
},
"flightEnd": {
"type": "string"
},
"geography": {
"type": "object",
"required": [
"matchedMetroCount",
"marketNames",
"matchedPostalCodeCount",
"countries",
"country",
"source"
],
"properties": {
"source": {
"enum": [
"postal_list",
"market_selection",
"geofence",
"map_selection",
"country_default"
],
"type": "string"
},
"country": {
"type": "string"
},
"countries": {
"type": "array",
"items": {
"type": "string"
}
},
"marketNames": {
"type": "array",
"items": {
"type": "string"
}
},
"matchedMetroCount": {
"type": "number"
},
"matchedPostalCodeCount": {
"type": "number"
}
},
"additionalProperties": true
},
"buyerBrief": {
"type": "object",
"required": [
"sections"
],
"properties": {
"summary": {
"type": "string"
},
"headline": {
"type": "string"
},
"sections": {
"type": "array",
"items": {
"type": "object",
"required": [
"bullets"
],
"properties": {
"key": {
"type": "string"
},
"rail": {
"type": "string"
},
"label": {
"type": "string"
},
"status": {
"type": "string"
},
"bullets": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": true
}
}
},
"additionalProperties": true
},
"reuseAudit": {
"type": "object",
"properties": {
"syncRail": {
"type": "string"
},
"metricsRail": {
"type": "string"
},
"paymentRail": {
"type": "string"
},
"amountSource": {
"type": "string"
},
"buyerSurface": {
"type": "string"
},
"campaignRail": {
"type": "string"
},
"checkoutRail": {
"type": "string"
},
"externalRefs": {
"type": "string"
},
"operatorRail": {
"type": "string"
},
"proposalRail": {
"type": "string"
},
"providerRail": {
"type": "string"
},
"unifiedRails": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"label",
"rail",
"status"
],
"properties": {
"key": {
"type": "string"
},
"rail": {
"type": "string"
},
"label": {
"type": "string"
},
"detail": {
"type": "string"
},
"status": {
"type": "string"
},
"sourceTypes": {
"type": "array",
"items": {
"type": "string"
}
},
"evidenceSummary": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": true
}
},
"sourceLineage": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"label",
"rail",
"status"
],
"properties": {
"key": {
"type": "string"
},
"rail": {
"type": "string"
},
"label": {
"type": "string"
},
"detail": {
"type": "string"
},
"status": {
"type": "string"
},
"sourceTypes": {
"type": "array",
"items": {
"type": "string"
}
},
"evidenceSummary": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": true
}
},
"acceptanceRail": {
"type": "string"
},
"submissionRail": {
"type": "string"
},
"providerLineRail": {
"type": "string"
},
"retrySiloAvoided": {
"type": "boolean"
},
"stripeClientRail": {
"type": "string"
},
"acceptanceContext": {
"type": "object",
"properties": {
"proposalId": {
"type": "string"
},
"contextRail": {
"type": "string"
},
"advertisementMongoId": {
"type": "string"
},
"derivedCompanyDomain": {
"type": "string"
},
"usedCampaignAudienceLens": {
"type": "boolean"
},
"usedCampaignLinkForDomain": {
"type": "boolean"
},
"derivedPackageAudienceLens": {
"type": "string"
}
},
"additionalProperties": true
},
"channelResolution": {
"type": "object",
"required": [
"source",
"requestedChannels",
"resolvedChannels",
"fellBackToAllProducts"
],
"properties": {
"source": {
"type": "string"
},
"resolvedChannels": {
"type": "array",
"items": {
"type": "string"
}
},
"requestedChannels": {
"type": "array",
"items": {
"type": "string"
}
},
"fellBackToAllProducts": {
"type": "boolean"
}
},
"additionalProperties": true
},
"dataSourceSummary": {
"type": "object",
"required": [
"companyBrainMatched",
"intuiziSegmentCount",
"approvedProviderMappings",
"pendingProviderMappingCandidatesSeeded"
],
"properties": {
"hqStateCount": {
"type": "number"
},
"personaCount": {
"type": "number"
},
"companyBrainSource": {
"type": "string"
},
"companyBrainMatched": {
"type": "boolean"
},
"intuiziSegmentCount": {
"type": "number"
},
"firmographicTagCount": {
"type": "number"
},
"budgetAllocationSource": {
"type": "string"
},
"companyBrainIngestRail": {
"type": "string"
},
"companyBrainSourceLabel": {
"type": "string"
},
"approvedProviderMappings": {
"type": "number"
},
"providerTargetTypeSummary": {
"type": "object",
"additionalProperties": {
"type": "number"
}
},
"winmoMediaRadarSignalCount": {
"type": "number"
},
"providerTargetCatalogEntries": {
"type": "number"
},
"approvedProviderTargetsMatched": {
"type": "number"
},
"pendingProviderMappingCandidatesSeeded": {
"type": "number"
}
},
"additionalProperties": true
},
"statusSiloAvoided": {
"type": "boolean"
},
"targetCatalogRail": {
"type": "string"
},
"paymentSiloAvoided": {
"type": "boolean"
},
"stripeMetadataRail": {
"type": "string"
},
"audienceMappingRail": {
"type": "string"
},
"geographyResolution": {
"type": "object",
"required": [
"rail",
"matched",
"source",
"metroTargetCount"
],
"properties": {
"rail": {
"type": "string"
},
"source": {
"type": "string"
},
"matched": {
"type": "boolean"
},
"metroTargetCount": {
"type": "number"
}
},
"additionalProperties": true
},
"inventorySiloAvoided": {
"type": "boolean"
},
"placementSiloAvoided": {
"type": "boolean"
},
"checkoutSmokeReadOnly": {
"type": "boolean"
},
"campaignPlanningContext": {
"type": "object",
"properties": {
"proposalId": {
"type": "string"
},
"contextRail": {
"type": "string"
},
"advertisementMongoId": {
"type": "string"
},
"derivedCompanyDomain": {
"type": "string"
},
"usedCampaignAudienceLens": {
"type": "boolean"
},
"usedCampaignLinkForDomain": {
"type": "boolean"
},
"derivedPackageAudienceLens": {
"type": "string"
}
},
"additionalProperties": true
},
"checkoutIdempotencyRail": {
"type": "string"
},
"providerLineIdMetadataRail": {
"type": "string"
}
},
"additionalProperties": true
},
"flightStart": {
"type": "string"
},
"unifiedPlan": {
"type": "boolean"
},
"totalBudgetUsd": {
"type": "number",
"description": "USD, in major units."
},
"audienceSources": {
"type": "array",
"items": {
"type": "object",
"required": [
"mapped",
"providerTargetCount",
"providerTargetTypeSummary",
"curationStatus"
],
"properties": {
"type": {
"type": "string"
},
"value": {
"type": "string"
},
"mapped": {
"type": "boolean"
},
"curationStatus": {
"type": "string"
},
"providerTargetCount": {
"type": "number"
},
"providerTargetTypeSummary": {
"type": "object",
"additionalProperties": {
"type": "number"
}
}
},
"additionalProperties": true
}
},
"selectedProducts": {
"type": "array",
"items": {
"type": "object",
"required": [
"displayName"
],
"properties": {
"cpmUsd": {
"type": "number",
"description": "Buyer USD per 1,000 impressions."
},
"channel": {
"type": "string"
},
"budgetUsd": {
"type": "number",
"description": "USD, in major units."
},
"mediaType": {
"type": "string"
},
"productId": {
"type": "string"
},
"displayName": {
"type": "string"
},
"minBudgetUsd": {
"type": [
"number",
"null"
]
},
"defaultCpmUsd": {
"type": "number",
"description": "Buyer USD per 1,000 impressions."
},
"impressionGoal": {
"type": "number"
},
"targetingCounts": {
"type": "object",
"properties": {
"metros": {
"type": "number"
},
"audiences": {
"type": "number"
},
"publishers": {
"type": "number"
},
"postalCodes": {
"type": "number"
},
"publisherGroups": {
"type": "number"
},
"audienceExprTargets": {
"type": "number"
},
"contextualAvoidance": {
"type": "number"
},
"contextualTargeting": {
"type": "number"
},
"optimizationTemplates": {
"type": "number"
}
},
"additionalProperties": true
},
"capabilitySummary": {
"anyOf": [
{
"type": "object",
"properties": {
"deviceMix": {
"type": "object",
"properties": {
"tv": {
"type": "number"
},
"mobile": {
"type": "number"
},
"tablet": {
"type": "number"
},
"desktop": {
"type": "number"
}
},
"additionalProperties": true
},
"vcrTarget": {
"type": "number"
},
"providerReady": {
"type": "boolean"
},
"inventoryAccess": {
"type": "string",
"const": "allowlist"
}
},
"additionalProperties": true
},
{
"type": "null"
}
]
},
"creativeReadiness": {
"type": "object",
"required": [
"state",
"label",
"detail"
],
"properties": {
"label": {
"type": "string"
},
"state": {
"type": "string"
},
"detail": {
"type": "string"
},
"specsCopy": {
"type": "string"
},
"playableUrl": {
"type": "string"
}
},
"additionalProperties": true
}
},
"additionalProperties": true
}
}
},
"additionalProperties": true
},
"quoteIds": {
"type": "object",
"properties": {
"owned": {
"type": [
"string",
"null"
]
},
"partner": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": true
},
"bookingState": {
"type": "string"
},
"screenQuotes": {
"type": "object",
"properties": {
"owned": {
"anyOf": [
{
"type": "object",
"required": [
"quote_id",
"impressions",
"capped_impressions",
"effective_cpm",
"total_price",
"platform_charges",
"tax",
"confidence",
"per_screen"
],
"properties": {
"tax": {
"type": [
"number",
"null"
]
},
"expiry": {
"type": "string"
},
"quote_id": {
"type": "string"
},
"confidence": {
"anyOf": [
{
"type": "number"
},
{
"type": "string",
"const": "estimated"
}
]
},
"per_screen": {
"type": "array",
"items": {
"type": "object",
"required": [
"screen_id",
"recommended_cpm",
"deliverable_impressions",
"confidence",
"display_area_ratio",
"display_mode",
"l_bar_size",
"l_bar_slot_count",
"l_bar_position",
"calculated_at"
],
"properties": {
"screen_id": {
"type": "string"
},
"confidence": {
"type": "number"
},
"l_bar_size": {
"type": "number"
},
"display_mode": {
"type": "string"
},
"calculated_at": {
"type": "string"
},
"l_bar_position": {
"type": [
"string",
"null"
]
},
"recommended_cpm": {
"type": "number",
"description": "Buyer USD per 1,000 impressions."
},
"l_bar_slot_count": {
"type": "number"
},
"display_area_ratio": {
"type": "number"
},
"deliverable_impressions": {
"type": "number"
}
},
"additionalProperties": true
}
},
"tax_status": {
"type": "string"
},
"impressions": {
"type": "number"
},
"total_price": {
"type": "number",
"description": "USD, in major units."
},
"effective_cpm": {
"type": "number",
"description": "USD, in major units."
},
"platform_charges": {
"type": "number",
"description": "USD, in major units."
},
"capped_impressions": {
"type": "number"
}
},
"additionalProperties": true
},
{
"type": "object",
"required": [
"totals",
"results",
"confidence"
],
"properties": {
"totals": {
"type": "object",
"required": [
"deliverableImpressions",
"hours"
],
"properties": {
"hours": {
"type": "number"
},
"deliverableImpressions": {
"type": "number"
}
},
"additionalProperties": true
},
"results": {
"type": "array",
"items": {
"type": "object",
"required": [
"screenId",
"deliverableImpressions",
"impressionsPerHour",
"hours",
"confidence"
],
"properties": {
"hours": {
"type": "number"
},
"screenId": {
"type": "string"
},
"confidence": {
"type": "number"
},
"impressionsPerHour": {
"type": "number"
},
"deliverableImpressions": {
"type": "number"
}
},
"additionalProperties": true
}
},
"confidence": {
"type": "number"
},
"skippedScreenIds": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": true
}
]
},
"partner": {
"anyOf": [
{
"type": "object",
"required": [
"quote_id",
"requested_impressions",
"capped_impressions",
"purchased_impressions",
"quantity_model",
"effective_cpm",
"total_price",
"platform_charges",
"tax",
"confidence"
],
"properties": {
"tax": {
"type": [
"number",
"null"
]
},
"source": {
"type": "string"
},
"quote_id": {
"type": "string"
},
"confidence": {
"type": "string",
"const": "estimated"
},
"screen_ids": {
"type": "array",
"items": {
"type": "string"
}
},
"tax_status": {
"type": "string"
},
"total_price": {
"type": "number",
"description": "USD, in major units."
},
"effective_cpm": {
"type": "number",
"description": "USD, in major units."
},
"quantity_model": {
"enum": [
"whole_play_v1",
"impression_v1"
],
"type": "string"
},
"platform_charges": {
"type": "number",
"description": "USD, in major units."
},
"capped_impressions": {
"type": "number"
},
"purchased_impressions": {
"type": "number"
},
"requested_impressions": {
"type": "number"
}
},
"additionalProperties": true
},
{
"type": "object",
"required": [
"totals",
"results",
"confidence"
],
"properties": {
"totals": {
"type": "object",
"required": [
"deliverableImpressions",
"hours"
],
"properties": {
"hours": {
"type": "number"
},
"deliverableImpressions": {
"type": "number"
}
},
"additionalProperties": true
},
"results": {
"type": "array",
"items": {
"type": "object",
"required": [
"screenId",
"deliverableImpressions",
"impressionsPerHour",
"hours",
"confidence"
],
"properties": {
"hours": {
"type": "number"
},
"screenId": {
"type": "string"
},
"confidence": {
"type": "number"
},
"impressionsPerHour": {
"type": "number"
},
"deliverableImpressions": {
"type": "number"
}
},
"additionalProperties": true
}
},
"confidence": {
"type": "number"
},
"skippedScreenIds": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": true
}
]
}
},
"additionalProperties": true
},
"advertisementId": {
"type": [
"string",
"null"
]
},
"advertisementMongoId": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": true
},
"annotations": {
"title": "Preview campaign plan",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| string |
| Local calendar date, YYYY-MM-DD. |
| impressions | integer |
| campaignName | string |
| providerPlan | any |
| ownedBudgetUsd | number |
| advertisementId | string |
| idempotency_key * | string | Stable unique key for this action. Reuse this key and unchanged arguments when retrying. |
| ownedImpressions | integer |
| partnerBudgetUsd | number |
| partnerImpressions | integer |
{
"name": "save_campaign_draft",
"title": "Save campaign draft",
"description": "Save or update an agency-owned campaign and selected inventory in the advertiser portal. The agency remains the owner and payer; clientName labels the client brief.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"flightStart",
"flightEnd",
"idempotency_key"
],
"properties": {
"source": {
"enum": [
"owned",
"partner",
"mixed"
],
"type": "string",
"default": "mixed"
},
"endTime": {
"type": "string",
"default": "23:59"
},
"quoteId": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"quoteIds": {
"type": "object",
"properties": {
"owned": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"partner": {
"type": "string",
"maxLength": 200,
"minLength": 1
}
},
"additionalProperties": false
},
"timezone": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "IANA timezone for the local flight."
},
"budgetUsd": {
"type": "number",
"exclusiveMinimum": 0
},
"flightEnd": {
"type": "string",
"description": "Local calendar date, YYYY-MM-DD."
},
"screenIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"default": [],
"maxItems": 1000
},
"startTime": {
"type": "string",
"default": "00:00"
},
"clientName": {
"type": "string",
"maxLength": 160
},
"landingUrl": {
"type": "string",
"format": "uri",
"maxLength": 2000,
"description": "Client business or campaign landing page URL."
},
"flightStart": {
"type": "string",
"description": "Local calendar date, YYYY-MM-DD."
},
"impressions": {
"type": "integer",
"exclusiveMinimum": 0
},
"campaignName": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"providerPlan": {
"anyOf": [
{
"type": "object",
"required": [
"budgetUsd",
"flightStart",
"flightEnd",
"channels"
],
"properties": {
"audience": {
"type": "object",
"properties": {
"hard": {
"type": "boolean"
},
"place": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 1
},
"gender": {
"type": "array",
"items": {
"enum": [
"male",
"female"
],
"type": "string"
},
"minItems": 1
},
"intent": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 1
},
"culture": {
"type": "array",
"items": {
"enum": [
"white",
"black",
"asian",
"american_indian",
"hispanic"
],
"type": "string"
},
"minItems": 1
},
"min_fit": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"language": {
"type": "array",
"items": {
"enum": [
"english_only",
"spanish",
"other_indo_european",
"asian_pacific",
"other"
],
"type": "string"
},
"minItems": 1
},
"age_range": {
"type": "array",
"items": {
"type": "number"
},
"maxItems": 2,
"minItems": 2
},
"education": {
"type": "array",
"items": {
"enum": [
"hs_or_less",
"some_college",
"bachelors",
"graduate"
],
"type": "string"
},
"minItems": 1
},
"household": {
"type": "boolean"
},
"interests": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 1
},
"lifestyle": {
"type": "object",
"propertyNames": {
"minLength": 1
},
"additionalProperties": {
"type": "number",
"maximum": 1,
"minimum": 0
}
},
"life_stage": {
"type": "array",
"items": {
"enum": [
"new_movers",
"settled",
"long_tenured",
"married",
"singles",
"new_parents",
"empty_nesters"
],
"type": "string"
},
"minItems": 1
},
"income_range": {
"type": "array",
"items": {
"type": "number"
},
"maxItems": 2,
"minItems": 2
},
"venue_concept": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 1
},
{
"type": "object",
"propertyNames": {
"minLength": 1
},
"additionalProperties": {
"type": "number",
"maximum": 100,
"exclusiveMinimum": 0
}
}
]
}
},
"additionalProperties": false
},
"channels": {
"type": "array",
"items": {
"enum": [
"ctv",
"video",
"audio",
"display"
],
"type": "string"
},
"maxItems": 4,
"minItems": 1
},
"budgetUsd": {
"type": "number",
"exclusiveMinimum": 0
},
"flightEnd": {
"type": "string",
"description": "Local calendar date, YYYY-MM-DD."
},
"geography": {
"type": "object",
"properties": {
"radius": {
"type": "object",
"required": [
"center",
"miles"
],
"properties": {
"miles": {
"type": "number",
"maximum": 500,
"exclusiveMinimum": 0
},
"center": {
"type": "object",
"required": [
"lat",
"lng"
],
"properties": {
"lat": {
"type": "number",
"maximum": 90,
"minimum": -90
},
"lng": {
"type": "number",
"maximum": 180,
"minimum": -180
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"markets": {
"type": "array",
"items": {
"type": "object",
"required": [
"country",
"code"
],
"properties": {
"code": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"country": {
"type": "string",
"maxLength": 2,
"minLength": 2
}
},
"additionalProperties": false
},
"maxItems": 50
},
"polygon": {
"type": "array",
"items": {
"type": "object",
"required": [
"lat",
"lng"
],
"properties": {
"lat": {
"type": "number",
"maximum": 90,
"minimum": -90
},
"lng": {
"type": "number",
"maximum": 180,
"minimum": -180
}
},
"additionalProperties": false
},
"maxItems": 100,
"minItems": 3
},
"latitude": {
"type": "number",
"maximum": 90,
"minimum": -90
},
"longitude": {
"type": "number",
"maximum": 180,
"minimum": -180
},
"countryCode": {
"type": "string",
"maxLength": 2,
"minLength": 2
},
"postalCodes": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"maxItems": 200
}
},
"additionalProperties": false
},
"targeting": {
"type": "object",
"properties": {
"audience": {
"type": "object",
"properties": {
"hard": {
"type": "boolean"
},
"place": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 1
},
"gender": {
"type": "array",
"items": {
"enum": [
"male",
"female"
],
"type": "string"
},
"minItems": 1
},
"intent": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 1
},
"culture": {
"type": "array",
"items": {
"enum": [
"white",
"black",
"asian",
"american_indian",
"hispanic"
],
"type": "string"
},
"minItems": 1
},
"min_fit": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"language": {
"type": "array",
"items": {
"enum": [
"english_only",
"spanish",
"other_indo_european",
"asian_pacific",
"other"
],
"type": "string"
},
"minItems": 1
},
"age_range": {
"type": "array",
"items": {
"type": "number"
},
"maxItems": 2,
"minItems": 2
},
"education": {
"type": "array",
"items": {
"enum": [
"hs_or_less",
"some_college",
"bachelors",
"graduate"
],
"type": "string"
},
"minItems": 1
},
"household": {
"type": "boolean"
},
"interests": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 1
},
"lifestyle": {
"type": "object",
"propertyNames": {
"minLength": 1
},
"additionalProperties": {
"type": "number",
"maximum": 1,
"minimum": 0
}
},
"life_stage": {
"type": "array",
"items": {
"enum": [
"new_movers",
"settled",
"long_tenured",
"married",
"singles",
"new_parents",
"empty_nesters"
],
"type": "string"
},
"minItems": 1
},
"income_range": {
"type": "array",
"items": {
"type": "number"
},
"maxItems": 2,
"minItems": 2
},
"venue_concept": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 1
},
{
"type": "object",
"propertyNames": {
"minLength": 1
},
"additionalProperties": {
"type": "number",
"maximum": 100,
"exclusiveMinimum": 0
}
}
]
}
},
"additionalProperties": false
},
"personaIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"maxItems": 50
},
"intuiziSegmentIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"maxItems": 50
},
"contextualAvoidance": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"maxItems": 100
},
"contextualTargeting": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"maxItems": 100
},
"packageAudienceLens": {
"type": "string",
"maxLength": 200,
"minLength": 1
}
},
"additionalProperties": false
},
"personaIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"maxItems": 50
},
"flightStart": {
"type": "string",
"description": "Local calendar date, YYYY-MM-DD."
},
"advertisementId": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"intuiziSegmentIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"maxItems": 50
},
"selectedProductIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"maxItems": 100
},
"contextualAvoidance": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"maxItems": 100
},
"contextualTargeting": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"maxItems": 100
},
"packageAudienceLens": {
"type": "string",
"maxLength": 200,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"ownedBudgetUsd": {
"type": "number",
"exclusiveMinimum": 0
},
"advertisementId": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"idempotency_key": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Stable unique key for this action. Reuse this key and unchanged arguments when retrying."
},
"ownedImpressions": {
"type": "integer",
"exclusiveMinimum": 0
},
"partnerBudgetUsd": {
"type": "number",
"exclusiveMinimum": 0
},
"partnerImpressions": {
"type": "integer",
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"outputSchema": {
"truncated": true,
"chars": 28558
},
"annotations": {
"title": "Save campaign draft",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}| reviewedSubtotalUsd * | number |
{
"name": "create_campaign_checkout",
"title": "Create campaign checkout",
"description": "Create a Stripe checkout for the exact campaign and total the buyer reviewed. Open the returned checkoutUrl to complete payment. The campaign is booked after the verified native Stripe payment webhook.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"advertisementId",
"idempotency_key",
"reviewedSubtotalUsd",
"reviewedAmount",
"reviewedCurrency",
"reviewedSelection"
],
"properties": {
"quoteId": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"quoteIds": {
"type": "object",
"properties": {
"owned": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"partner": {
"type": "string",
"maxLength": 200,
"minLength": 1
}
},
"additionalProperties": false
},
"bookingIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"default": [],
"maxItems": 1000
},
"reviewedAmount": {
"type": "integer",
"minimum": 0,
"description": "Exact amountMinor from prepare_campaign_booking, in the currency minor unit."
},
"advertisementId": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Native campaign ID returned by save_campaign_draft."
},
"idempotency_key": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Stable unique key for this action. Reuse this key and unchanged arguments when retrying."
},
"providerLineIds": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"default": [],
"maxItems": 100
},
"reviewedCurrency": {
"type": "string",
"maxLength": 3,
"minLength": 3,
"description": "Exact currency from prepare_campaign_booking."
},
"reviewedSelection": {
"type": "string",
"pattern": "^v1:[a-f0-9]{64}$",
"description": "Exact native reviewedSelection from prepare_campaign_booking; binds the reviewed inventory, flight, quantities and targeting."
},
"reviewedSubtotalUsd": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"kind",
"advertisementId",
"advertisementMongoId",
"bookingIds",
"providerLineIds",
"checkoutUrl",
"sessionId"
],
"properties": {
"url": {
"type": "string"
},
"kind": {
"type": "string",
"const": "checkout"
},
"adIDs": {
"type": "array",
"items": {
"type": "string"
}
},
"amount": {
"type": "number",
"description": "Major units of the returned buyer presentment currency."
},
"fx_rate": {
"type": "number"
},
"currency": {
"type": "string"
},
"fx_as_of": {
"type": [
"string",
"null"
]
},
"proposal": {
"type": "object",
"required": [
"proposal_id",
"slug",
"public_url",
"state",
"plan_line_count",
"reused"
],
"properties": {
"slug": {
"type": "string"
},
"state": {
"type": "string"
},
"reused": {
"type": "boolean"
},
"public_url": {
"type": "string"
},
"proposal_id": {
"type": "string"
},
"plan_line_count": {
"type": "number"
}
},
"additionalProperties": true
},
"amountUsd": {
"type": "number",
"description": "USD, in major units."
},
"sessionId": {
"type": "string"
},
"bookingIds": {
"type": "array",
"items": {
"type": "string"
}
},
"reuseAudit": {
"type": "object",
"properties": {
"syncRail": {
"type": "string"
},
"metricsRail": {
"type": "string"
},
"paymentRail": {
"type": "string"
},
"amountSource": {
"type": "string"
},
"buyerSurface": {
"type": "string"
},
"campaignRail": {
"type": "string"
},
"checkoutRail": {
"type": "string"
},
"externalRefs": {
"type": "string"
},
"operatorRail": {
"type": "string"
},
"proposalRail": {
"type": "string"
},
"providerRail": {
"type": "string"
},
"unifiedRails": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"label",
"rail",
"status"
],
"properties": {
"key": {
"type": "string"
},
"rail": {
"type": "string"
},
"label": {
"type": "string"
},
"detail": {
"type": "string"
},
"status": {
"type": "string"
},
"sourceTypes": {
"type": "array",
"items": {
"type": "string"
}
},
"evidenceSummary": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": true
}
},
"sourceLineage": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"label",
"rail",
"status"
],
"properties": {
"key": {
"type": "string"
},
"rail": {
"type": "string"
},
"label": {
"type": "string"
},
"detail": {
"type": "string"
},
"status": {
"type": "string"
},
"sourceTypes": {
"type": "array",
"items": {
"type": "string"
}
},
"evidenceSummary": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": true
}
},
"acceptanceRail": {
"type": "string"
},
"submissionRail": {
"type": "string"
},
"providerLineRail": {
"type": "string"
},
"retrySiloAvoided": {
"type": "boolean"
},
"stripeClientRail": {
"type": "string"
},
"acceptanceContext": {
"type": "object",
"properties": {
"proposalId": {
"type": "string"
},
"contextRail": {
"type": "string"
},
"advertisementMongoId": {
"type": "string"
},
"derivedCompanyDomain": {
"type": "string"
},
"usedCampaignAudienceLens": {
"type": "boolean"
},
"usedCampaignLinkForDomain": {
"type": "boolean"
},
"derivedPackageAudienceLens": {
"type": "string"
}
},
"additionalProperties": true
},
"channelResolution": {
"type": "object",
"required": [
"source",
"requestedChannels",
"resolvedChannels",
"fellBackToAllProducts"
],
"properties": {
"source": {
"type": "string"
},
"resolvedChannels": {
"type": "array",
"items": {
"type": "string"
}
},
"requestedChannels": {
"type": "array",
"items": {
"type": "string"
}
},
"fellBackToAllProducts": {
"type": "boolean"
}
},
"additionalProperties": true
},
"dataSourceSummary": {
"type": "object",
"required": [
"companyBrainMatched",
"intuiziSegmentCount",
"approvedProviderMappings",
"pendingProviderMappingCandidatesSeeded"
],
"properties": {
"hqStateCount": {
"type": "number"
},
"personaCount": {
"type": "number"
},
"companyBrainSource": {
"type": "string"
},
"companyBrainMatched": {
"type": "boolean"
},
"intuiziSegmentCount": {
"type": "number"
},
"firmographicTagCount": {
"type": "number"
},
"budgetAllocationSource": {
"type": "string"
},
"companyBrainIngestRail": {
"type": "string"
},
"companyBrainSourceLabel": {
"type": "string"
},
"approvedProviderMappings": {
"type": "number"
},
"providerTargetTypeSummary": {
"type": "object",
"additionalProperties": {
"type": "number"
}
},
"winmoMediaRadarSignalCount": {
"type": "number"
},
"providerTargetCatalogEntries": {
"type": "number"
},
"approvedProviderTargetsMatched": {
"type": "number"
},
"pendingProviderMappingCandidatesSeeded": {
"type": "number"
}
},
"additionalProperties": true
},
"statusSiloAvoided": {
"type": "boolean"
},
"targetCatalogRail": {
"type": "string"
},
"paymentSiloAvoided": {
"type": "boolean"
},
"stripeMetadataRail": {
"type": "string"
},
"audienceMappingRail": {
"type": "string"
},
"geographyResolution": {
"type": "object",
"required": [
"rail",
"matched",
"source",
"metroTargetCount"
],
"properties": {
"rail": {
"type": "string"
},
"source": {
"type": "string"
},
"matched": {
"type": "boolean"
},
"metroTargetCount": {
"type": "number"
}
},
"additionalProperties": true
},
"inventorySiloAvoided": {
"type": "boolean"
},
"placementSiloAvoided": {
"type": "boolean"
},
"checkoutSmokeReadOnly": {
"type": "boolean"
},
"campaignPlanningContext": {
"type": "object",
"properties": {
"proposalId": {
"type": "string"
},
"contextRail": {
"type": "string"
},
"advertisementMongoId": {
"type": "string"
},
"derivedCompanyDomain": {
"type": "string"
},
"usedCampaignAudienceLens": {
"type": "boolean"
},
"usedCampaignLinkForDomain": {
"type": "boolean"
},
"derivedPackageAudienceLens": {
"type": "string"
}
},
"additionalProperties": true
},
"checkoutIdempotencyRail": {
"type": "string"
},
"providerLineIdMetadataRail": {
"type": "string"
}
},
"additionalProperties": true
},
"amountMinor": {
"type": "integer",
"description": "Exact minor units of the returned currency. Reuse as reviewedAmount."
},
"checkoutUrl": {
"type": "string"
},
"provider_media": {
"type": "object",
"required": [
"amount_usd",
"line_count"
],
"properties": {
"amount_usd": {
"type": "number",
"description": "USD, in major units."
},
"line_count": {
"type": "number"
}
},
"additionalProperties": true
},
"activationBrief": {
"type": "object",
"required": [
"sections"
],
"properties": {
"summary": {
"type": "string"
},
"headline": {
"type": "string"
},
"sections": {
"type": "array",
"items": {
"type": "object",
"required": [
"bullets"
],
"properties": {
"key": {
"type": "string"
},
"rail": {
"type": "string"
},
"label": {
"type": "string"
},
"status": {
"type": "string"
},
"bullets": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": true
}
}
},
"additionalProperties": true
},
"advertisementId": {
"type": "string"
},
"providerLineIds": {
"type": "array",
"items": {
"type": "string"
}
},
"advertisement_id": {
"type": "string"
},
"tax_jurisdiction": {
"type": "object",
"required": [
"country",
"state"
],
"properties": {
"state": {
"type": [
"string",
"null"
]
},
"country": {
"type": "string"
}
},
"additionalProperties": true
},
"tax_calculation_id": {
"type": "string"
},
"advertisementMongoId": {
"type": "string"
},
"marketplace_checkout": {
"type": "boolean"
},
"presentment_currency": {
"type": "string"
},
"tax_calculation_source": {
"type": "string"
}
},
"additionalProperties": true
},
"annotations": {
"title": "Create campaign checkout",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}