Tools
Full reference for every Teads MCP tool, with parameters, response shapes, and example prompts.
The Teads MCP server exposes tools (actions the assistant calls). Ask in natural language; the assistant picks the right tool and fills in the parameters below on your behalf. This page documents every tool for people who want to understand exactly what the assistant can do, or who are building a custom MCP client. Descriptions are reproduced exactly as the server sends them to the assistant.
Tools are grouped by campaign stage:
- Discovery:
audience_insights,media_barometer_task,media_barometer,media_barometer_get_status,media_barometer_get_result. - Planning:
planning_reach_task,planning_reach,planning_reach_status,planning_reach_result,planning_inventory_task,planning_inventory,planning_inventory_status,planning_inventory_result. - Activation:
create_custom_audience. - Measurement:
list_reporting_dimensions,list_reporting_metrics,reporting_create,reporting_create_task,reporting_wait_for,get_running_reports,reporting_read_rows,measurement_campaign_reach_dashboard_task,measurement_campaign_reach_dashboard_submit,measurement_campaign_reach_dashboard_status,measurement_campaign_reach_dashboard_result. - Transverse:
list_my_seats,get_campaign_seat,campaign_read,list_taxonomy,taxonomy_search3p,taxonomy_search_custom_audience,taxonomy_search_geo,list_knowledge,read_knowledge.
Tasks vs. polling
A few operations (custom reports, the campaign reach dashboard, the media barometer, and the planning reach and inventory estimates) run as background jobs because they take longer than a single request/response cycle. Each of these comes in two forms:
- Task tools (
reporting_create_task,measurement_campaign_reach_dashboard_task,media_barometer_task,planning_reach_task,planning_inventory_task): one blocking call. If your MCP client supports MCP Tasks, the call runs as an MCP task: the server submits the job, polls it internally, and returns the finished result. Other clients get the same result from one synchronous call. You never call a separate polling tool. - Submit + poll + result: call the submit tool (
reporting_create,measurement_campaign_reach_dashboard_submit,media_barometer,planning_reach,planning_inventory) to start the job, poll a status tool until it reports done, then fetch the data (reporting_wait_forreturns the download link itself, andreporting_read_rowsreads the rows of a finished csv report).
Prefer the task tool when your client supports it: it is fewer round trips for the same result.
The reporting tools' responses include a _meta field set to reporting, and campaign_read
responses carry _meta set to api-domains. It tells you where the data came from; you don't
need to do anything with it.
Discovery
Find when and to whom content resonates, before a campaign exists.
audience_insights
READ FIRST: the playbook teads://knowledge/playbooks/audience-insights (resource; use read_knowledge only if your client cannot read resources). It alone defines the `type` values and `request` shapes — do not call this tool without having read it.
Teads Audience Insights — audience profile of the readers of a campaign entity, custom audience, data-provider segment, or device. Requires seat_id (teads://my-seats) and insights_category: audiences, technology, topics, websites, or placements.
Example prompt: "Who are the readers of insertion 123456?"
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
seat_id | ✓ | integer | Seat ID (entity ID) to use for rights checking. Read teads://my-seats to pick a seat. |
insights_category | ✓ | enum: audiences, technology, topics, websites, placements | Top-level category to filter the dimension tree down to. |
type | ✓ | enum: ad, insertion, insertion-order-line, connection, custom-audience, segment, device | Kind of source to profile; it sets the request shape. ad, insertion, insertion-order-line and connection are looked up by numeric id; custom-audience, segment and device by a request body. |
request | ✓ | object | Source body whose shape depends on type. Defined only in the playbook teads://knowledge/playbooks/audience-insights (read_knowledge) — read it before filling this. |
Response:
| Field | Required | Type | Description |
|---|---|---|---|
results | ✓ | array of object OutputNode | Top-level result nodes (dimension categories and their children). |
results[] (OutputNode):
| Field | Required | Type | Description |
|---|---|---|---|
name | ✓ | string | Dimension category or segment name. |
stats | ✓ | array of object InsightsStat | Stats for this node. |
children | ✓ | array of object OutputNode (fields: see results[]) | Child nodes (recursive dimension tree). |
results[].stats[] (InsightsStat):
| Field | Required | Type | Description |
|---|---|---|---|
confidence | ✓ | integer (int32) | Confidence level: 0=Low, 1=Medium, 2=High. |
index | number (double), nullable | Relative index value (null when confidence is Low). |
Each result node carries stats: a relative index and a confidence level (0 Low, 1 Medium, 2 High); index is null when confidence is Low. children repeats the same node shape, so the response is a dimension tree.
The request body depends on type. Campaign entities (ad, insertion, insertion-order-line, connection) are looked up by numeric ID:
{ "type": "ad", "request": { "id": 606714 } }
{ "type": "insertion", "request": { "id": 123456 } }
{ "type": "insertion-order-line", "request": { "id": 789012 } }
{ "type": "connection", "request": { "id": 345678 } }Audience definitions (custom-audience, segment, device) take a body with a country and a date range (deviceStandardisedName is optional for device):
{
"type": "custom-audience",
"request": {
"customAudiences": [42],
"country": "FR",
"startDate": "2024-01-01",
"endDate": "2024-03-31"
}
}{
"type": "segment",
"request": {
"dataProviderSegments": [
{ "dataProvider": "oracle", "segmentIds": ["seg-1"] }
],
"country": "FR",
"startDate": "2024-01-01",
"endDate": "2024-03-31"
}
}{
"type": "device",
"request": {
"deviceVendor": "Apple",
"deviceStandardisedName": null,
"country": "FR",
"startDate": "2024-01-01",
"endDate": "2024-03-31"
}
}media_barometer_task
Teads Media Barometer - a first-party discovery tool, exclusive to Teads Ad Manager (TAM), that tells you WHEN an audience is most engaged with a topic, content category, keyword, or brand. It draws on readership signals from 3,000+ premium content partners and Teads' AI-powered contextual intelligence to surface trends,engagement spikes, and pivotal moments of heightened consumer interest.
Daily readership engagement index across 28 markets, 500+ contextual categories, and free keywords. Web & Mobile App environments only — CTV is not included in this data.
How to query
Two ways: with free keywords, or with an item from Teads' web contextual taxonomy (available in resource teads://taxonomy/contextual/web ). You can compare several keywords or contextual items in one query.
Use for timing questions like 'best time to run a campaign for [category] in [country]', 'seasonal peaks for [topic]',
'is interest in [keyword] rising or declining', 'which weeks/days to prioritise'.
Country codes are Teads' own list, not plain ISO 3166-1 alpha-2: the United Kingdom is "UK", never "GB" — see the countries parameter for details. Do not silently substitute GB for UK.
This tool runs as an MCP task: the underlying analysis takes time, so the server generates the job set, polls it to completion, and fetches the results internally before returning the final report — daily trend data, audience segment breakdown, and IAB contextual scores. See teads://knowledge/playbooks/readership-explorer.Example prompt: "When is interest in 'electric vehicles' peaking in France this quarter?"
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
date_start | ✓ | string | Start date in YYYY-MM-DD format. |
date_end | ✓ | string | End date in YYYY-MM-DD format. |
countries | ✓ | array of string | Teads' own country code list — mostly matches ISO 3166-1 alpha-2 (e.g. "FR", "DE", "ES"), with exactly ONE deliberate exception: the United Kingdom MUST be encoded as "UK", never the real ISO code "GB". Do not "correct" UK to GB — GB is not a valid value here and will be rejected or return no data. All other countries use their standard ISO 3166-1 alpha-2 code. Example: ["UK"], not ["GB"], for the United Kingdom. |
keywords | ✓ | array of array | Grouped keyword sets for the barometer analysis. |
contexts | array of integer (int64) | IAB context IDs to include. |
Response:
| Field | Required | Type | Description |
|---|---|---|---|
main | ✓ | array of object MediaBarometerMainResult | Daily trend data points. |
audience | ✓ | array of object MediaBarometerAudienceResult | Audience segment breakdown. |
context | ✓ | array of object MediaBarometerContextResult | IAB contextual relevance scores. |
main[] (MediaBarometerMainResult):
| Field | Required | Type | Description |
|---|---|---|---|
day | ✓ | string | Date of the data point (YYYY-MM-DD). |
search | ✓ | integer (int32) | Number of searches associated with this day. |
numberUrls | ✓ | integer (int64) | Number of URLs matching the keywords on this day. |
index | ✓ | number (double) | Relative interest index for this day. |
audience[] (MediaBarometerAudienceResult):
| Field | Required | Type | Description |
|---|---|---|---|
search | ✓ | integer (int32) | Number of searches associated with this audience segment. |
audience | ✓ | string | Audience segment label. |
numberUrls | ✓ | integer (int64) | Number of URLs matching the keywords for this audience. |
percentage | ✓ | number (double) | Share of the audience segment as a percentage (0–100). |
context[] (MediaBarometerContextResult):
| Field | Required | Type | Description |
|---|---|---|---|
search | ✓ | integer (int32) | Number of searches associated with this IAB context. |
associatedContext | ✓ | integer (int64) | IAB context ID. |
score | ✓ | number (double) | Relevance score for this context (0–1). |
Task tool: the server generates the job set, polls it every 2 seconds (at most 150 polls, 5 minutes) and returns the result of media_barometer_get_result. Clients without MCP Tasks support get the same result from a single synchronous call.
media_barometer
Teads Media Barometer - a first-party discovery tool, exclusive to Teads Ad Manager (TAM), that tells you WHEN an audience is most engaged with a topic, content category, keyword, or brand. It draws on readership signals from 3,000+ premium content partners and Teads' AI-powered contextual intelligence to surface trends,engagement spikes, and pivotal moments of heightened consumer interest.
Daily readership engagement index across 28 markets, 500+ contextual categories, and free keywords. Web & Mobile App environments only — CTV is not included in this data.
How to query
Two ways: with free keywords, or with an item from Teads' web contextual taxonomy (available in resource teads://taxonomy/contextual/web ). You can compare several keywords or contextual items in one query.
Use for timing questions like 'best time to run a campaign for [category] in [country]', 'seasonal peaks for [topic]',
'is interest in [keyword] rising or declining', 'which weeks/days to prioritise'.
Country codes are Teads' own list, not plain ISO 3166-1 alpha-2: the United Kingdom is "UK", never "GB" — see the countries parameter for details. Do not silently substitute GB for UK.
Returns three job IDs (main, audience, context) — pass them to media_barometer_get_status to poll for completion, then to media_barometer_get_result to retrieve the typed results. Tasks-capable clients can instead call media_barometer_task for a single blocking call that generates, polls, and fetches the results internally. See teads://knowledge/playbooks/readership-explorer.Example prompt: "Start a media barometer job for 'football' in the UK over last month and give me the job IDs."
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
date_start | ✓ | string | Start date in YYYY-MM-DD format. |
date_end | ✓ | string | End date in YYYY-MM-DD format. |
countries | ✓ | array of string | Teads' own country code list — mostly matches ISO 3166-1 alpha-2 (e.g. "FR", "DE", "ES"), with exactly ONE deliberate exception: the United Kingdom MUST be encoded as "UK", never the real ISO code "GB". Do not "correct" UK to GB — GB is not a valid value here and will be rejected or return no data. All other countries use their standard ISO 3166-1 alpha-2 code. Example: ["UK"], not ["GB"], for the United Kingdom. |
keywords | ✓ | array of array | Grouped keyword sets for the barometer analysis. |
contexts | array of integer (int64) | IAB context IDs to include. |
Response:
| Field | Required | Type | Description |
|---|---|---|---|
main | ✓ | string | Main job ID. |
audience | ✓ | string | Audience job ID. |
context | ✓ | string | Context job ID. |
{
"main": "job-main-id",
"audience": "job-audience-id",
"context": "job-context-id"
}media_barometer_get_status
Poll the status of a media barometer job set. Pass the three job IDs returned by media_barometer. Returns a state string for each job (e.g. pending, running, done). Poll until all three states are done before calling media_barometer_get_result.Example prompt: "Are the media barometer jobs done yet?"
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
main | ✓ | string | Main job ID. |
audience | ✓ | string | Audience job ID. |
context | ✓ | string | Context job ID. |
Response:
| Field | Required | Type | Description |
|---|---|---|---|
main | ✓ | object JobStatus | Status of the main trend job. |
audience | ✓ | object JobStatus (fields: see main) | Status of the audience breakdown job. |
context | ✓ | object JobStatus (fields: see main) | Status of the contextual scoring job. |
main (JobStatus):
| Field | Required | Type | Description |
|---|---|---|---|
state | ✓ | string | Job state string, e.g. "pending", "running", "done". |
{
"main": { "state": "done" },
"audience": { "state": "done" },
"context": { "state": "done" }
}media_barometer_get_result
Retrieve the typed results of a completed media barometer job set. Pass the three job IDs returned by media_barometer. Returns main daily trend data, audience segment breakdown, and IAB contextual scores. Only call once all jobs report done status via media_barometer_get_status.Example prompt: "Show me the media barometer results for those jobs."
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
main | ✓ | string | Main job ID. |
audience | ✓ | string | Audience job ID. |
context | ✓ | string | Context job ID. |
Response:
| Field | Required | Type | Description |
|---|---|---|---|
main | ✓ | array of object MediaBarometerMainResult | Daily trend data points. |
audience | ✓ | array of object MediaBarometerAudienceResult | Audience segment breakdown. |
context | ✓ | array of object MediaBarometerContextResult | IAB contextual relevance scores. |
main[] (MediaBarometerMainResult):
| Field | Required | Type | Description |
|---|---|---|---|
day | ✓ | string | Date of the data point (YYYY-MM-DD). |
search | ✓ | integer (int32) | Number of searches associated with this day. |
numberUrls | ✓ | integer (int64) | Number of URLs matching the keywords on this day. |
index | ✓ | number (double) | Relative interest index for this day. |
audience[] (MediaBarometerAudienceResult):
| Field | Required | Type | Description |
|---|---|---|---|
search | ✓ | integer (int32) | Number of searches associated with this audience segment. |
audience | ✓ | string | Audience segment label. |
numberUrls | ✓ | integer (int64) | Number of URLs matching the keywords for this audience. |
percentage | ✓ | number (double) | Share of the audience segment as a percentage (0–100). |
context[] (MediaBarometerContextResult):
| Field | Required | Type | Description |
|---|---|---|---|
search | ✓ | integer (int32) | Number of searches associated with this IAB context. |
associatedContext | ✓ | integer (int64) | IAB context ID. |
score | ✓ | number (double) | Relevance score for this context (0–1). |
Planning
Forecast reach and size the available supply before a campaign launches. Each of the two capabilities (reach forecast, inventory estimate) comes as a task tool plus a submit, status and result trio; see Tasks vs. polling.
planning_reach_task
Omnichannel Reach Planning: forecast pre-campaign reach, frequency, impressions, and cost across Outstream (web/mobile), CTV Instream, and CTV Homescreen channels, with optional linear-TV incremental reach and on-target demographic evaluation.
Unlike post-campaign measurement reach dashboards that analyze delivered historical campaigns, this tool plans prospective media budgets and targeting scenarios before campaign launch.
Required parameters:
- flightDuration: Campaign duration in days.
Channel inputs (at least one channel required):
- outstreamChannel: web and mobile video/display reach planning with budgetAndBidding (budget, cpmBidPrice) and targeting.
- ctvInstreamChannel: Connected TV instream video reach planning with budgetAndBidding and targeting.
- ctvHomescreenChannel: Connected TV native/homescreen reach planning with budgetAndBidding and targeting.
Optional parameters:
- linearTv: Benchmark linear-TV reach fraction (0.0–1.0) to compute incremental reach metrics.
- onTargetDemographic: Target demographic universe defined by countryIsoCode, gender, startAge, and endAge.
Deterministic validation:
- At least one channel must be provided.
- Every provided channel must specify `targeting.locations` with at least one included Digital Elements location code (not an ISO country code; for example, use a code such as `5#250`, not `FR`).
- All enabled channels must have identical location targeting (same include and exclude lists).
Runs as a long-running MCP task: the server submits the planning job, polls it to completion, and returns the finished reach forecast (`results`, one item per country) in one call. Read `teads://knowledge/playbooks/planning-reach` for request construction and manual polling guidance.Example prompt: "Plan an omnichannel reach forecast in France for 30 days: 20,000 on outstream at a 5 CPM and 30,000 on CTV instream at a 12 CPM."
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
flightDuration | ✓ | integer (int32) | Flight duration in days. |
outstreamChannel | object PlanningReachChannel, nullable | Outstream (web/mobile) channel planning parameters. | |
ctvInstreamChannel | object PlanningReachChannel, nullable | CTV instream channel planning parameters. | |
ctvHomescreenChannel | object PlanningReachChannel, nullable | CTV homescreen channel planning parameters. | |
linearTv | number (double), nullable | Linear TV reach percentage (0.0–1.0) for incremental reach comparison. | |
onTargetDemographic | object PlanningReachDemographic, nullable | Target demographic universe specification. |
outstreamChannel, ctvInstreamChannel, ctvHomescreenChannel (PlanningReachChannel):
| Field | Required | Type | Description |
|---|---|---|---|
budgetAndBidding | ✓ | object PlanningReachBudgetAndBidding | Budget and CPM bidding configuration for this channel. |
targeting | ✓ | object PlanningReachTargeting | Targeting criteria for this channel. |
budgetAndBidding (PlanningReachBudgetAndBidding):
| Field | Required | Type | Description |
|---|---|---|---|
budget | ✓ | number (double) | Total budget allocated to this channel. |
cpmBidPrice | ✓ | number (double) | CPM bid price for this channel. |
targeting (PlanningReachTargeting; every field is optional):
| Field | Required | Type | Description |
|---|---|---|---|
isCookielessCriteriaOnly | boolean, nullable | Whether targeting applies only cookieless criteria. Defaults to false. | |
locations | object PlanningReachFilterString, nullable | Geographic filters. includes and excludes must contain Digital Elements location codes (e.g. 5#250), not ISO country codes such as FR. | |
genderAudience | integer (uint64), nullable | One Teads gender audience ID (teads://taxonomy/audiences/{channel}). | |
ageAudiences | array of integer (uint64) | Teads age audience IDs (teads://taxonomy/audiences/{channel}). | |
demographicAudiencesAccuracy | integer (int32), nullable | Accuracy of the age and gender audiences only. Numeric enum: 0 accuracy, 1 standard (default), 2 reach, 3 high accuracy. | |
standardAudiences | object PlanningReachFilterU64, nullable | Teads audience IDs (teads://taxonomy/audiences/{channel}). | |
narrowedStandardAudiences | array of integer (uint64) | Teads audience IDs the standard audiences are narrowed to. | |
teadsContextuals | object PlanningReachFilterU64, nullable | Teads contextual IDs for web (teads://taxonomy/contextual/web). | |
ctvCustomContexts | object PlanningReachFilterU64, nullable | Teads contextual IDs for CTV (teads://taxonomy/contextual/ctv). | |
customAudiences | array of integer (uint64) | Custom audience IDs (numbers). | |
firstPartyAudiences | object PlanningReachFilterString, nullable | First-party (advertiser data) audience IDs, as strings. | |
languages | object PlanningReachFilterU64, nullable | Content language IDs (teads://taxonomy/content-languages/{channel}). | |
retargetingPixels | object PlanningReachFilterU64, nullable | Retargeting pixel IDs. | |
remarketingSegments | object PlanningReachFilterU64, nullable | Remarketing segment IDs. | |
lookalikeSegments | object PlanningReachFilterU64, nullable | Lookalike segment IDs. | |
crossDeviceAttribution | boolean, nullable | Whether cross-device attribution applies. Defaults to false. | |
brandSafety | object PlanningReachBrandSafety, nullable | Brand safety level (provider threshold) per provider (teads, integralAdScience, doubleVerify); send any subset. | |
brandSuitabilityIntegralAdScienceIds | array of integer (uint64) | IAS brand suitability category IDs. | |
brandSuitabilityDoubleVerifyIds | array of integer (uint64) | DoubleVerify brand suitability category IDs (teads://taxonomy/brand-suitability/double-verify). | |
websites | object PlanningReachFilterU64, nullable | Website (publisher) IDs, as numbers. | |
websiteCategories | object PlanningReachFilterString, nullable | Website category codes (teads://taxonomy/website-categories). | |
websitesTier | integer (int32), nullable | Inventory tier. Numeric enum: 0 premier, 1 select, 2 reach. | |
deviceTypes | object PlanningReachFilterU64, nullable | Device type IDs (teads://taxonomy/device-types). | |
mobileDeviceCarrier | object PlanningReachFilterString, nullable | Mobile carrier names. | |
mobileDeviceModel | object PlanningReachFilterString, nullable | Mobile device model names. | |
mobileDeviceBrand | object PlanningReachFilterString, nullable | Mobile device brand names. | |
mobileDeviceCategory | object PlanningReachFilterString, nullable | Mobile device category names. | |
mobileDeviceYear | object PlanningReachFilterString, nullable | Mobile device release years, as strings. | |
devicePlatformEnvironment | integer (int32), nullable | Platform environment. Numeric enum: 0 app, 1 web. | |
deviceOperatingSystems | object PlanningReachFilterString, nullable | Operating system names (teads://taxonomy/operating-systems). | |
deviceBrowsers | object PlanningReachFilterString, nullable | Browser names (teads://taxonomy/browser-types). | |
deviceConnectionTypes | object PlanningReachFilterString, nullable | Connection type names (teads://taxonomy/connection-types). | |
deviceInternetServiceProviders | object PlanningReachFilterString, nullable | Internet service provider names. | |
packs | object PlanningReachFilterU64, nullable | Inventory pack (list) IDs, as numbers. | |
appBundleIds | object PlanningReachFilterString, nullable | Mobile app bundle IDs, as strings. | |
domains | object PlanningReachFilterString, nullable | Website domains, e.g. example-news.com. | |
formatPositions | array of integer (uint64) | Ad format position IDs (teads://taxonomy/format-positions). | |
formatSizes | array of integer (uint64) | Ad format size IDs. | |
formatCreativeTypes | array of integer (uint64) | Ad format creative type IDs. | |
deviceLanguages | object PlanningReachFilterString, nullable | Device interface languages (teads://taxonomy/device-languages). | |
refinedTitle | object PlanningReachFilterString, nullable | Refined title names, as strings. | |
normalizedTitle | object PlanningReachFilterString, nullable | Normalized title names, as strings. | |
contextualLabels | object PlanningReachFilterString, nullable | Contextual label names, as strings. |
PlanningReachFilterU64 (include/exclude filter of numeric IDs):
| Field | Required | Type | Description |
|---|---|---|---|
includes | array of integer (uint64) | IDs to target. | |
excludes | array of integer (uint64) | IDs to exclude. |
PlanningReachFilterString (include/exclude filter of strings):
| Field | Required | Type | Description |
|---|---|---|---|
includes | array of string | Values to target. | |
excludes | array of string | Values to exclude. |
brandSafety (PlanningReachBrandSafety):
| Field | Required | Type | Description |
|---|---|---|---|
teads | integer (uint32), nullable | Teads brand safety level (provider threshold). | |
integralAdScience | integer (uint32), nullable | Integral Ad Science (IAS) brand safety level (provider threshold). | |
doubleVerify | integer (uint32), nullable | DoubleVerify brand safety level (provider threshold). |
onTargetDemographic (PlanningReachDemographic):
| Field | Required | Type | Description |
|---|---|---|---|
countryIsoCode | ✓ | string | ISO 3166-1 alpha-2 country code (e.g. "FR", "US"). |
gender | ✓ | string | Target gender (e.g. "all", "male", "female"). |
startAge | ✓ | string | Lower bound age of demographic target (e.g. "18", "25"). |
endAge | ✓ | string | Upper bound age of demographic target (e.g. "49", "65+"). |
Response:
| Field | Required | Type | Description |
|---|---|---|---|
results | ✓ | array of object PlanningReachResult | Reach forecast, one item per evaluated country. |
results[] (PlanningReachResult):
| Field | Required | Type | Description |
|---|---|---|---|
countryIsoCode | ✓ | string | ISO country code. |
base | ✓ | object PlanningReachBaseResult | Aggregate reach and performance metrics across all channels. |
reachDistribution | ✓ | object PlanningReachDistribution | Venn-diagram decomposition of reach by channel. |
channelDetails | ✓ | object PlanningReachChannelDetails | Per-channel breakdown (outstream, CTV instream, CTV homescreen). |
results[].base (PlanningReachBaseResult):
| Field | Required | Type | Description |
|---|---|---|---|
reach | ✓ | number (double) | Combined reach rate (0–1). |
incrementalReach | number (double), nullable | Incremental reach rate over linear TV (0–1). Present only when TV data is available. | |
costPerReachPoint | ✓ | number (double) | Cost per reach point. |
costPerIncrementalReachPoint | number (double), nullable | Cost per incremental reach point. Present only when TV data is available. | |
users | ✓ | integer (int64) | Number of unique users reached. |
incrementalUsers | integer (int64), nullable | Number of incrementally reached users. Present only when TV data is available. | |
frequency | ✓ | number (double) | Average frequency (impressions / users). |
impressions | ✓ | integer (int64) | Total impressions delivered. |
incrementalImpressions | integer (int64), nullable | Total incremental impressions delivered over linear TV. Present only when TV data is available. | |
deliveredBudget | ✓ | number (double) | Total delivered budget. |
results[].reachDistribution (PlanningReachDistribution):
| Field | Required | Type | Description |
|---|---|---|---|
outstreamOnly | ✓ | number (double) | Reach exclusive to outstream. |
ctvInstreamOnly | ✓ | number (double) | Reach exclusive to CTV instream. |
ctvHomescreenOnly | ✓ | number (double) | Reach exclusive to CTV homescreen. |
linearTvOnly | number (double), nullable | Reach exclusive to linear TV (if TV data available). | |
outstreamIntersectCtvInstream | ✓ | number (double) | Reach shared between outstream and CTV instream. |
outstreamIntersectCtvHomescreen | ✓ | number (double) | Reach shared between outstream and CTV homescreen. |
ctvInstreamIntersectCtvHomescreen | ✓ | number (double) | Reach shared between CTV instream and CTV homescreen. |
outstreamIntersectLinearTv | number (double), nullable | Reach shared between outstream and linear TV (if TV data available). | |
ctvInstreamIntersectLinearTv | number (double), nullable | Reach shared between CTV instream and linear TV (if TV data available). | |
ctvHomescreenIntersectLinearTv | number (double), nullable | Reach shared between CTV homescreen and linear TV (if TV data available). | |
allIntersect | number (double), nullable | Reach common to all channels (if TV data available). |
results[].channelDetails (PlanningReachChannelDetails):
| Field | Required | Type | Description |
|---|---|---|---|
outstream | ✓ | object PlanningReachBaseResult (fields: see results[].base) | Metrics for the outstream channel. |
ctvInstream | ✓ | object PlanningReachBaseResult (fields: see results[].base) | Metrics for the CTV instream channel. |
ctvHomescreen | ✓ | object PlanningReachBaseResult (fields: see results[].base) | Metrics for the CTV homescreen channel. |
Parameter names on the wire are camelCase. Location codes are Digital Elements codes (for example 5#250), never ISO country codes. The server rejects a request with no channel, a channel without an included location, and channels whose location include/exclude lists differ.
Task tool: the server submits the job, polls it every 2 seconds (at most 150 polls, 5 minutes) and returns the same result as planning_reach_result. Clients without MCP Tasks support get the same result from a single synchronous call.
planning_reach
Submit an omnichannel pre-campaign reach forecast request and return its job ID for manual polling. Read `teads://knowledge/playbooks/planning-reach` for request and polling guidance; use `planning_reach_task` for one call that submits, polls, and returns the completed result.Example prompt: "Start a reach forecast for 30 days on CTV instream in France and give me the job ID."
Parameters:
Same parameters and validation as planning_reach_task.
Response:
| Field | Required | Type | Description |
|---|---|---|---|
jobId | ✓ | string | Job ID to use for status and result polling. |
→ planning_reach(flightDuration=30, ctvInstreamChannel={...})
← { "jobId": "job-reach-id" }
→ planning_reach_status(jobId="job-reach-id")
← { "status": "RUNNING" }
→ planning_reach_result(jobId="job-reach-id")
← { "results": [ { "countryIsoCode": "FR", "base": { "reach": 0.12, "users": 1200000, ... }, "reachDistribution": {...}, "channelDetails": {...} } ] }planning_reach_status
Poll a reach forecast job created by `planning_reach`. Continue while status is PENDING or RUNNING; retrieve results only after DONE.Example prompt: "Is the reach forecast for job job-reach-id ready?"
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
jobId | ✓ | string | Job ID to use for status and result polling. |
Response:
| Field | Required | Type | Description |
|---|---|---|---|
status | ✓ | string | Job state: "PENDING", "RUNNING", or "DONE". |
{ "status": "RUNNING" }planning_reach_result
Retrieve the completed reach forecast for a job created by `planning_reach`. Call only after `planning_reach_status` reports DONE.Example prompt: "Show me the reach forecast for job job-reach-id."
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
jobId | ✓ | string | Job ID to use for status and result polling. |
Response:
| Field | Required | Type | Description |
|---|---|---|---|
results | ✓ | array of object PlanningReachResult | Reach forecast, one item per evaluated country. |
results[] (PlanningReachResult):
| Field | Required | Type | Description |
|---|---|---|---|
countryIsoCode | ✓ | string | ISO country code. |
base | ✓ | object PlanningReachBaseResult | Aggregate reach and performance metrics across all channels. |
reachDistribution | ✓ | object PlanningReachDistribution | Venn-diagram decomposition of reach by channel. |
channelDetails | ✓ | object PlanningReachChannelDetails | Per-channel breakdown (outstream, CTV instream, CTV homescreen). |
results[].base (PlanningReachBaseResult):
| Field | Required | Type | Description |
|---|---|---|---|
reach | ✓ | number (double) | Combined reach rate (0–1). |
incrementalReach | number (double), nullable | Incremental reach rate over linear TV (0–1). Present only when TV data is available. | |
costPerReachPoint | ✓ | number (double) | Cost per reach point. |
costPerIncrementalReachPoint | number (double), nullable | Cost per incremental reach point. Present only when TV data is available. | |
users | ✓ | integer (int64) | Number of unique users reached. |
incrementalUsers | integer (int64), nullable | Number of incrementally reached users. Present only when TV data is available. | |
frequency | ✓ | number (double) | Average frequency (impressions / users). |
impressions | ✓ | integer (int64) | Total impressions delivered. |
incrementalImpressions | integer (int64), nullable | Total incremental impressions delivered over linear TV. Present only when TV data is available. | |
deliveredBudget | ✓ | number (double) | Total delivered budget. |
results[].reachDistribution (PlanningReachDistribution):
| Field | Required | Type | Description |
|---|---|---|---|
outstreamOnly | ✓ | number (double) | Reach exclusive to outstream. |
ctvInstreamOnly | ✓ | number (double) | Reach exclusive to CTV instream. |
ctvHomescreenOnly | ✓ | number (double) | Reach exclusive to CTV homescreen. |
linearTvOnly | number (double), nullable | Reach exclusive to linear TV (if TV data available). | |
outstreamIntersectCtvInstream | ✓ | number (double) | Reach shared between outstream and CTV instream. |
outstreamIntersectCtvHomescreen | ✓ | number (double) | Reach shared between outstream and CTV homescreen. |
ctvInstreamIntersectCtvHomescreen | ✓ | number (double) | Reach shared between CTV instream and CTV homescreen. |
outstreamIntersectLinearTv | number (double), nullable | Reach shared between outstream and linear TV (if TV data available). | |
ctvInstreamIntersectLinearTv | number (double), nullable | Reach shared between CTV instream and linear TV (if TV data available). | |
ctvHomescreenIntersectLinearTv | number (double), nullable | Reach shared between CTV homescreen and linear TV (if TV data available). | |
allIntersect | number (double), nullable | Reach common to all channels (if TV data available). |
results[].channelDetails (PlanningReachChannelDetails):
| Field | Required | Type | Description |
|---|---|---|---|
outstream | ✓ | object PlanningReachBaseResult (fields: see results[].base) | Metrics for the outstream channel. |
ctvInstream | ✓ | object PlanningReachBaseResult (fields: see results[].base) | Metrics for the CTV instream channel. |
ctvHomescreen | ✓ | object PlanningReachBaseResult (fields: see results[].base) | Metrics for the CTV homescreen channel. |
planning_inventory_task
READ FIRST: playbook teads://knowledge/playbooks/planning-inventory (resource; read_knowledge only if your client cannot read resources). It alone defines the request, metrics and limits; do not call this tool without having read it.
Estimate the ad opportunities and Teads IDs available on Teads supply for a targeting setup (supply only, not a delivery guarantee), returning the completed estimate in one call; `planning_inventory` is the submit/poll variant.Example prompt: "How many daily ad opportunities and Teads IDs are available on outstream in France for women aged 25 to 34?"
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
targeting | ✓ | object PlanningInventoryTargeting | Required structured targeting criteria for standard inventory estimation. Any locations must use Digital Elements location codes, not ISO country codes (for example, "5#250", not "FR"). |
channelType | ✓ | enum PlanningInventoryChannelType: outstream, ctv-instream, ctv-homescreen, ctv-inplay, ctv-inpause | Inventory channel: outstream (web and mobile in-app), ctv-instream, ctv-homescreen, ctv-inplay, or ctv-inpause. If the user names no channel, use outstream. |
withDataCosts | boolean, nullable | Whether to calculate 3rd-party data cost (CPM) in the estimation. | |
cookielessCriteriaOnly | boolean, nullable | Restricts the estimation to cookieless criteria only. | |
cookielessInventoryOnly | boolean, nullable | Restricts the estimation to cookieless inventory only. |
targeting (PlanningInventoryTargeting; every field is optional): all the fields of PlanningReachTargeting (see the targeting table of planning_reach_task), flattened at the same level, plus:
| Field | Required | Type | Description |
|---|---|---|---|
nielsenSegments | object PlanningReachFilterU64, nullable | Nielsen segment ID filter; IDs are taxonomy_search3p internal codes. | |
lotameSegments | object PlanningReachFilterU64, nullable | Lotame segment ID filter; IDs are taxonomy_search3p internal codes. | |
liverampSegments | object PlanningReachFilterU64, nullable | LiveRamp segment ID filter; IDs are taxonomy_search3p internal codes. | |
audiencePartnerSegments | object PlanningReachFilterU64, nullable | Audience Partner segment ID filter; IDs are taxonomy_search3p internal codes. | |
crossixSegments | object PlanningReachFilterU64, nullable | Crossix segment ID filter; IDs are taxonomy_search3p internal codes. The planner maps Crossix to LiveRamp. | |
skpSegments | object PlanningReachFilterU64, nullable | SKP segment ID filter; IDs are taxonomy_search3p internal codes. | |
retargetlySegments | object PlanningReachFilterU64, nullable | Retargetly segment ID filter; IDs are taxonomy_search3p internal codes. |
The nested filter objects (PlanningReachFilterU64, PlanningReachFilterString) and brandSafety (PlanningReachBrandSafety) have the same shape as in planning_reach_task.
Response:
| Field | Required | Type | Description |
|---|---|---|---|
users | ✓ | object PlanningCountResult | Daily Teads IDs (devices/browsers, not people). |
cookielessUsers | object PlanningCountResult, nullable | Daily cookieless Teads IDs (devices/browsers, not people). | |
impressions | ✓ | object PlanningCountResult | Daily ad opportunities. |
cookielessImpressions | object PlanningCountResult, nullable | Daily cookieless ad opportunities. | |
monthlyUsers | ✓ | object PlanningCountResult | Monthly Teads IDs (devices/browsers, not people). |
monthlyCookielessUsers | object PlanningCountResult, nullable | Monthly cookieless Teads IDs (devices/browsers, not people). | |
monthlyImpressions | ✓ | object PlanningCountResult | Monthly ad opportunities. |
monthlyCookielessImpressions | object PlanningCountResult, nullable | Monthly cookieless ad opportunities. | |
dataCost | number (double), nullable | Average data cost (CPM) for third-party segments, if requested. | |
breakdowns | object (map of string to any JSON value) | Per-breakdown estimation results if breakdowns were requested. |
users, impressions, monthlyUsers, monthlyImpressions and their cookieless variants (PlanningCountResult):
| Field | Required | Type | Description |
|---|---|---|---|
tbl | ✓ | integer (int64) | Estimate for the requested targeting; report this one. |
total | ✓ | integer (int64) | Same metric across all inventory (context); not interchangeable with tbl. |
Parameter names on the wire are camelCase. Locations must be Digital Elements location codes (for example 5#250), not ISO country codes.
Task tool: the server submits the job, polls it every 2 seconds (at most 150 polls, 5 minutes) and returns the same result as planning_inventory_result. Clients without MCP Tasks support get the same result from a single synchronous call.
planning_inventory
READ FIRST: playbook teads://knowledge/playbooks/planning-inventory (resource; read_knowledge only if your client cannot read resources). It alone defines the request, metrics and limits; do not call this tool without having read it.
Estimate the ad opportunities and Teads IDs available on Teads supply for a targeting setup (supply only, not a delivery guarantee). Submits a job and returns a job ID for `planning_inventory_status` / `planning_inventory_result`; `planning_inventory_task` does it in one call.Example prompt: "Start an inventory estimate for CTV instream in France and give me the job ID."
Parameters:
Same parameters as planning_inventory_task.
Response:
| Field | Required | Type | Description |
|---|---|---|---|
jobId | ✓ | string | Job ID to use for status and result polling. |
→ planning_inventory(channelType="ctv-instream", targeting={ "locations": { "includes": ["5#250"] } })
← { "jobId": "job-inventory-id" }
→ planning_inventory_status(jobId="job-inventory-id")
← { "status": "DONE" }
→ planning_inventory_result(jobId="job-inventory-id")
← { "users": { "tbl": 1500000, "total": 9000000 }, "impressions": {...}, "monthlyUsers": {...}, "monthlyImpressions": {...} }planning_inventory_status
Poll an inventory estimate job created by `planning_inventory`. Continue while PENDING or RUNNING; call `planning_inventory_result` only after DONE.Example prompt: "Is the inventory estimate for job job-inventory-id ready?"
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
jobId | ✓ | string | Job ID to use for status and result polling. |
Response:
| Field | Required | Type | Description |
|---|---|---|---|
status | ✓ | string | Job state: "PENDING", "RUNNING", or "DONE". |
{ "status": "DONE" }planning_inventory_result
Retrieve the completed estimate for a `planning_inventory` job. Call only after `planning_inventory_status` reports DONE.Example prompt: "Show me the inventory estimate for job job-inventory-id."
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
jobId | ✓ | string | Job ID to use for status and result polling. |
Response:
| Field | Required | Type | Description |
|---|---|---|---|
users | ✓ | object PlanningCountResult | Daily Teads IDs (devices/browsers, not people). |
cookielessUsers | object PlanningCountResult, nullable | Daily cookieless Teads IDs (devices/browsers, not people). | |
impressions | ✓ | object PlanningCountResult | Daily ad opportunities. |
cookielessImpressions | object PlanningCountResult, nullable | Daily cookieless ad opportunities. | |
monthlyUsers | ✓ | object PlanningCountResult | Monthly Teads IDs (devices/browsers, not people). |
monthlyCookielessUsers | object PlanningCountResult, nullable | Monthly cookieless Teads IDs (devices/browsers, not people). | |
monthlyImpressions | ✓ | object PlanningCountResult | Monthly ad opportunities. |
monthlyCookielessImpressions | object PlanningCountResult, nullable | Monthly cookieless ad opportunities. | |
dataCost | number (double), nullable | Average data cost (CPM) for third-party segments, if requested. | |
breakdowns | object (map of string to any JSON value) | Per-breakdown estimation results if breakdowns were requested. |
users, impressions, monthlyUsers, monthlyImpressions and their cookieless variants (PlanningCountResult):
| Field | Required | Type | Description |
|---|---|---|---|
tbl | ✓ | integer (int64) | Estimate for the requested targeting; report this one. |
total | ✓ | integer (int64) | Same metric across all inventory (context); not interchangeable with tbl. |
Activation
Create the reusable audiences you target when setting up a campaign.
create_custom_audience
Create a buyer custom audience from standard-audience, contextual, or third-party segment IDs (see list_taxonomy / teads://taxonomy/* and taxonomy_search3p). Read `teads://knowledge/playbooks/custom-audiences` first. Writes data and is not idempotent. Returns the new custom_audience_id.Example prompt: "Create a custom audience called 'Yoga enthusiasts' for France and Germany from standard audience 101 and contextual segment 201."
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
name | ✓ | string | Display name for the custom audience (1-255 characters). |
blocks | ✓ | array of object CustomAudienceBlockInput | Targeting blocks (non-empty), each containing at least one standard audience, contextual, or third-party segment ID from LiveRamp, Nielsen, Teads, SKP, Retargetly, or Lotame. IDs within each inclusion block are combined with OR, including across segment types; all inclusion blocks must match (AND across blocks). Put alternative signals for the same audience in one block to maximize reach; use separate blocks only for explicitly required intersections. Read teads://knowledge/playbooks/custom-audiences for examples. |
countries | ✓ | array of string | ISO 3166-1 alpha-2 country codes this audience targets (e.g. ["FR", "US"]). |
channel | enum CustomAudienceChannel: web, ctv, inapp, nullable | Inventory channel. Defaults to web. | |
excluded_block | object CustomAudienceBlockInput (fields: see blocks[]), nullable | Optional exclusion block containing at least one standard audience, contextual, or third-party segment ID from LiveRamp, Nielsen, Teads, SKP, Retargetly, or Lotame. | |
seat_id | integer (int64), nullable | Seat ID (entity ID) to scope the audience to. If omitted, falls back to the seat from the session context. |
blocks[] (CustomAudienceBlockInput):
| Field | Required | Type | Description |
|---|---|---|---|
audienceIds | array of integer (int64) | Teads standard audience IDs (teads://taxonomy/audiences/{web,ctv}). | |
contextualIds | array of integer (int64) | Teads contextual segment IDs (teads://taxonomy/contextual/{web,ctv}). | |
liverampIds | array of integer (int64) | LiveRamp segment internal codes (taxonomy_search3p, provider lr). | |
lotameIds | array of integer (int64) | Lotame segment internal codes (taxonomy_search3p, provider lotame). | |
name | string, nullable | Optional label of the block. | |
nielsenIds | array of integer (int64) | Nielsen segment internal codes (taxonomy_search3p, provider nielsen). | |
retargetlyIds | array of integer (int64) | Retargetly segment internal codes (taxonomy_search3p, provider retargetly). | |
skpIds | array of integer (int64) | SKP segment internal codes (taxonomy_search3p, provider skp). | |
teadsSegments | array of integer (int64) | Teads third-party segment internal codes, as returned by taxonomy_search3p. |
Response:
| Field | Required | Type | Description |
|---|---|---|---|
custom_audience_id | ✓ | integer (int64) | ID of the new custom audience. |
excluded_block has the same fields as a blocks[] entry. It is a top-level field next to blocks, never an item of blocks.
The server rejects the call with a tool error when no seat is selected, when name is blank or longer than 255 characters, when blocks is empty, when a block (or excluded_block) carries no segment ID, or when countries is empty. The block fields also accept their snake_case spelling (audience_ids, contextual_ids, ...), but the schema declares the camelCase names above. This tool writes data and is not idempotent: every successful call creates a new custom audience.
Example request:
{
"name": "Yoga enthusiasts",
"channel": "web",
"countries": ["FR", "DE"],
"seat_id": 12345,
"blocks": [
{
"name": "Yoga signals",
"audienceIds": [101, 102],
"contextualIds": [201],
"liverampIds": [5001, 5002]
}
]
}Response:
{ "custom_audience_id": 987654 }Measurement
Report on delivery and measure the reach of running or finished campaigns.
list_reporting_dimensions
Lists valid dimension field names for reporting_create. Equivalent to reading teads://reporting/dimensions — use this when that resource is unavailable. Returns label, value, and description for each dimension. Pass value strings in the dimensions[] parameter of reporting_create.Example prompt: "What dimensions can I break a report down by?"
No parameters.
No output schema: returns the content of the teads://reporting/dimensions resource as one text block.
list_reporting_metrics
Lists valid metric field names for reporting_create. Equivalent to reading teads://reporting/metrics — use this when that resource is unavailable. Returns label, value, and description for each metric. Pass value strings in the metrics[] parameter of reporting_create. Only named metrics (those with a description) are returned. Currency-converted variants are not listed but follow a predictable pattern: replace the trailing `_value` suffix with `_converted_<ISO-4217-code>` (e.g. `budget_delivered_value` → `budget_delivered_converted_eur`). Use that pattern directly in reporting_create when a specific currency output is needed.Example prompt: "What metrics can I put in a report, and can I get spend in EUR?"
No parameters.
No output schema: returns the described metrics of teads://reporting/metrics as one text block.
reporting_create
Schedules a custom report and returns its report_id at once, without data, with a next_action to follow. reporting_create_task takes the same parameters and also waits for the report; either works. Use for portfolio-wide questions (e.g. "which campaigns are under-delivering?"), file exports and dimension breakdowns. If the call fails, pass the message on to the user; when it says the request was rejected as invalid, fix the arguments and submit once more before telling the user. Workflow: teads://knowledge/playbooks/custom-report; failures or slow reports: teads://knowledge/troubleshooting/report-failures.Example prompt: "Export impressions and clicks by day for the last 7 days as CSV."
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
dimensions | ✓ | array of string | Dimension field names to break the report by. Must be non-empty. Common values: "day", "country_code", "device", "creative_id", "advertiser_id", "ad_id"; use these directly. "ad_id" is the campaign ID — the same ID used by campaign_read and get_campaign_seat. For any other value read teads://reporting/dimensions (or list_reporting_dimensions). |
metrics | ✓ | array of string | Metric field names to include. Must be non-empty. Common values: "impression", "click", "complete", "click-rate", "complete-rate"; use these directly. For any other value read teads://reporting/metrics (or list_reporting_metrics). |
date_start | ✓ | string | Report period start, ISO-8601 (e.g. "2024-01-01T00:00:00"). Must be on or after 2020-01-01. |
date_end | ✓ | string | Report period end, ISO-8601. The range must not exceed 365 days. |
seats | ✓ | array of integer (int64) | Seat IDs (entity IDs) to scope the report. By default pass ALL seat IDs from the teads://my-seats resource. Pass a single-element list to restrict to a specific seat. Must never be empty. |
dimension_filters | object, nullable | Optional dimension filters. Omit them to report on ALL campaigns. Campaign: {"ad_id": 606714}. If a campaign_id was already resolved earlier in the conversation (e.g. via get_campaign_seat or campaign_read), you MUST carry it forward here as "ad_id" — do not drop it. Advertiser by name: {"advertiser_name": "L'Oréal"} — do not call campaign_search first. Do NOT include "ad_owner" — it is injected automatically from your account. Other examples: {"country_code": "FR"}; numeric range: {"impression": [{"gte": 1000}]}. Values can be a scalar ("FR", 123), an array ([1,2,3]), or an operator object ({"gt":1000}). | |
emails | array of string, nullable | Optional email addresses to notify when the report is ready. | |
format | enum ReportFormat: csv, csv.gz, xlsx, xlsx-v2, jsonv1, nullable | Output file format. Set this based on the user's request. Accepted values: csv (default), csv.gz, xlsx, xlsx-v2, jsonv1. Use xlsx or xlsx-v2 when the user asks for Excel or spreadsheet output. Use csv when you need to read the data yourself: reporting_read_rows reads csv and csv.gz only. | |
options | object ReportOptions, nullable | Optional delivery and storage settings (webhook, S3 target, data destination). | |
template_id | integer (int64), nullable | Optional template ID to associate with this report. | |
template_name | string, nullable | Optional template name to associate with this report. | |
timezone | string, nullable | IANA timezone (e.g. "Europe/Paris", "UTC"). Required when date_start has no embedded UTC offset. If the user names no timezone, use "UTC" and state it in your answer; do not ask. |
options (ReportOptions):
| Parameter | Required | Type | Description |
|---|---|---|---|
callback_url | string, nullable | Webhook URL called when the report is ready. | |
id_data_destination | integer (int64), nullable | ID of the data destination to deliver the report to. | |
s3_custom_file_name | string, nullable | Custom file name for the report in S3 (without extension). | |
s3_target_bucket_name | string, nullable | S3 bucket name for report delivery. | |
s3_target_directory | string, nullable | Custom S3 key prefix for the report file. |
Response:
| Field | Required | Type | Description |
|---|---|---|---|
report_id | ✓ | string | Unique report job ID — pass to reporting_wait_for to poll status. |
status | ✓ | string | Job status: queued | processing | finished | failed. |
submitted_at | ✓ | string | ISO-8601 timestamp when the job was submitted. |
next_action | ✓ | object NextActionOutput | What to do next and the call that performs it. Follow it. |
_meta | ✓ | enum ReportingMetaSource: reporting | Data source — mock (stub) or reporting (live API). |
report_progress | object ReportProgress, nullable | Polling progress snapshot, present while the job is running. |
report_progress (ReportProgress):
| Field | Required | Type | Description |
|---|---|---|---|
stepMax | ✓ | integer (int32) | Total number of processing steps. |
progress | integer (int32), nullable | Current progress value (0–progressMax). | |
progressMax | integer (int32), nullable | Maximum progress value (100 = complete). | |
step | integer (int32), nullable | Current step index. |
next_action (NextActionOutput): What the LLM does next and the tool call that performs it.
| Field | Required | Type | Description |
|---|---|---|---|
instruction | ✓ | string | What to do, in words, with the arguments of the next call. |
tool | enum NextTool: reporting_wait_for, reporting_read_rows, nullable | Tool to call next. Absent when the LLM stops here. |
The server rejects the call with a tool error when dimensions or metrics is empty or contains a value missing from the catalogs, when date_start has no UTC offset and no timezone is given, when a date is before 2020-01-01, when date_end is not after date_start, when the range exceeds 365 days, or when seats is empty. seats is sent upstream as the ad_owner filter, and format defaults to csv.
dimension_filters examples:
{ "ad_id": 606714 } // single campaign
{ "ad_id": [606714, 606715], "country_code": "FR" } // multiple campaigns + country
{ "advertiser_name": "Renault" } // by advertiser name, no lookup call needed first
{ "impression": [{ "gte": 1000 }] } // numeric rangeResponse:
{
"report_id": "rpt-a1b2c3d4-...",
"status": "queued",
"submitted_at": "2026-05-26T12:00:00Z",
"next_action": {
"tool": "reporting_wait_for",
"instruction": "Report rpt-a1b2c3d4-... is submitted. Tell the user its report_id in one short line, then call reporting_wait_for with ..."
},
"report_progress": null,
"_meta": "reporting"
}reporting_create_task
Schedules a custom report and waits for it in the same call: as a background task the client follows, or for a short wait, depending on the client. The answer has the same form as a reporting_wait_for answer: pass user_facing_summary on to the user and follow next_action. Tell the user the report_id as soon as you have it. reporting_create takes the same parameters and returns the report_id without waiting; either works. Use for portfolio-wide questions (e.g. "which campaigns are under-delivering?"), file exports and dimension breakdowns. If the call fails, pass the message on to the user; when it says the request was rejected as invalid, fix the arguments and submit once more before telling the user. Workflow: teads://knowledge/playbooks/custom-report; failures or slow reports: teads://knowledge/troubleshooting/report-failures.Example prompt: "Give me a CSV of impressions by country for campaign 606714 for last month, and wait until it's ready."
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
dimensions | ✓ | array of string | Dimension field names to break the report by. Must be non-empty. Common values: "day", "country_code", "device", "creative_id", "advertiser_id", "ad_id"; use these directly. "ad_id" is the campaign ID — the same ID used by campaign_read and get_campaign_seat. For any other value read teads://reporting/dimensions (or list_reporting_dimensions). |
metrics | ✓ | array of string | Metric field names to include. Must be non-empty. Common values: "impression", "click", "complete", "click-rate", "complete-rate"; use these directly. For any other value read teads://reporting/metrics (or list_reporting_metrics). |
date_start | ✓ | string | Report period start, ISO-8601 (e.g. "2024-01-01T00:00:00"). Must be on or after 2020-01-01. |
date_end | ✓ | string | Report period end, ISO-8601. The range must not exceed 365 days. |
seats | ✓ | array of integer (int64) | Seat IDs (entity IDs) to scope the report. By default pass ALL seat IDs from the teads://my-seats resource. Pass a single-element list to restrict to a specific seat. Must never be empty. |
dimension_filters | object, nullable | Optional dimension filters. Omit them to report on ALL campaigns. Campaign: {"ad_id": 606714}. If a campaign_id was already resolved earlier in the conversation (e.g. via get_campaign_seat or campaign_read), you MUST carry it forward here as "ad_id" — do not drop it. Advertiser by name: {"advertiser_name": "L'Oréal"} — do not call campaign_search first. Do NOT include "ad_owner" — it is injected automatically from your account. Other examples: {"country_code": "FR"}; numeric range: {"impression": [{"gte": 1000}]}. Values can be a scalar ("FR", 123), an array ([1,2,3]), or an operator object ({"gt":1000}). | |
emails | array of string, nullable | Optional email addresses to notify when the report is ready. | |
format | enum ReportFormat: csv, csv.gz, xlsx, xlsx-v2, jsonv1, nullable | Output file format. Set this based on the user's request. Accepted values: csv (default), csv.gz, xlsx, xlsx-v2, jsonv1. Use xlsx or xlsx-v2 when the user asks for Excel or spreadsheet output. Use csv when you need to read the data yourself: reporting_read_rows reads csv and csv.gz only. | |
options | object ReportOptions, nullable | Optional delivery and storage settings (webhook, S3 target, data destination). | |
template_id | integer (int64), nullable | Optional template ID to associate with this report. | |
template_name | string, nullable | Optional template name to associate with this report. | |
timezone | string, nullable | IANA timezone (e.g. "Europe/Paris", "UTC"). Required when date_start has no embedded UTC offset. If the user names no timezone, use "UTC" and state it in your answer; do not ask. |
options (ReportOptions):
| Parameter | Required | Type | Description |
|---|---|---|---|
callback_url | string, nullable | Webhook URL called when the report is ready. | |
id_data_destination | integer (int64), nullable | ID of the data destination to deliver the report to. | |
s3_custom_file_name | string, nullable | Custom file name for the report in S3 (without extension). | |
s3_target_bucket_name | string, nullable | S3 bucket name for report delivery. | |
s3_target_directory | string, nullable | Custom S3 key prefix for the report file. |
Response:
| Field | Required | Type | Description |
|---|---|---|---|
type | ✓ | enum ReportStatusType: report_ready, report_in_progress, report_still_running, report_failed, status_check_failed | What this answer means: report_ready, report_in_progress, report_still_running (a tool error with code NOT_READY when a background task hits task_budget), report_failed or status_check_failed (tool errors). What to do about it is in next_action. |
report_id | ✓ | string | Report job ID. |
user_facing_summary | ✓ | string | Message for the user, to pass on as-is. |
next_action | ✓ | object NextActionOutput (fields: see reporting_create) | What to do next and the call that performs it. Always follow it. |
_meta | ✓ | enum ReportingMetaSource: reporting | Data source — mock (stub) or reporting (live API). |
report_progress | object ReportProgress, nullable | Latest polling progress snapshot. | |
status | string, nullable | Job status: queued | processing | finished, or the failure status of a failed report. Absent when the status could not be checked. | |
uri | string, nullable | Download URL for the completed report file. Present only when status is finished. |
report_progress (ReportProgress):
| Field | Required | Type | Description |
|---|---|---|---|
stepMax | ✓ | integer (int32) | Total number of processing steps. |
progress | integer (int32), nullable | Current progress value (0–progressMax). | |
progressMax | integer (int32), nullable | Maximum progress value (100 = complete). | |
step | integer (int32), nullable | Current step index. |
Same parameters and validation as reporting_create. With MCP Tasks the server submits the report, then polls it every 5 seconds in the background (at most 30 minutes) and sends progress notifications when the request carries _meta.progressToken. Clients without MCP Tasks get one call that submits the report and waits like a single reporting_wait_for call: when the report is not finished it returns report_in_progress with a next_action to call reporting_wait_for.
reporting_wait_for
Waits for a report submitted with reporting_create, or checks it again when the user asks about it later. The server does the waiting: never sleep between calls. Every answer has a user_facing_summary to pass on to the user as-is and a next_action giving the next call, or telling you to stop: always follow it, and never create a new report for a slow one. Workflow: teads://knowledge/playbooks/custom-report; failures or slow reports: teads://knowledge/troubleshooting/report-failures.Example prompt: "Is report 987654 ready?"
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
report_id | ✓ | string | Report ID returned by reporting_create. |
emails_requested | boolean | Set to true when the report was created with emails (next_action says when), so the user is told an email will also be sent once it is ready. Defaults to false. |
Response:
| Field | Required | Type | Description |
|---|---|---|---|
type | ✓ | enum ReportStatusType: report_ready, report_in_progress, report_still_running, report_failed, status_check_failed | What this answer means: report_ready, report_in_progress, report_still_running (a tool error with code NOT_READY when a background task hits task_budget), report_failed or status_check_failed (tool errors). What to do about it is in next_action. |
report_id | ✓ | string | Report job ID. |
user_facing_summary | ✓ | string | Message for the user, to pass on as-is. |
next_action | ✓ | object NextActionOutput (fields: see reporting_create) | What to do next and the call that performs it. Always follow it. |
_meta | ✓ | enum ReportingMetaSource: reporting | Data source — mock (stub) or reporting (live API). |
report_progress | object ReportProgress, nullable | Latest polling progress snapshot. | |
status | string, nullable | Job status: queued | processing | finished, or the failure status of a failed report. Absent when the status could not be checked. | |
uri | string, nullable | Download URL for the completed report file. Present only when status is finished. |
report_progress (ReportProgress):
| Field | Required | Type | Description |
|---|---|---|---|
stepMax | ✓ | integer (int32) | Total number of processing steps. |
progress | integer (int32), nullable | Current progress value (0–progressMax). | |
progressMax | integer (int32), nullable | Maximum progress value (100 = complete). | |
step | integer (int32), nullable | Current step index. |
{
"type": "report_ready",
"report_id": "rpt-a1b2c3d4-...",
"status": "finished",
"uri": "https://cdn.teads.com/reports/rpt-a1b2c3d4-....csv",
"report_progress": {
"stepMax": 4,
"step": 4,
"progressMax": 100,
"progress": 100
},
"user_facing_summary": "...",
"next_action": {
"tool": "reporting_read_rows",
"instruction": "Report rpt-a1b2c3d4-... is finished. To answer with its data, call reporting_read_rows with report_id rpt-a1b2c3d4-... and page with offset / next_offset until you have the rows you need. When the user wants the file itself, give them the download uri. Never fetch the uri yourself."
},
"_meta": "reporting"
}Each call holds for a short wait (up to 10 seconds per call, 50 seconds in total, polling every 5 seconds); the server waits, so the client must not sleep between calls. After that budget the call returns report_still_running (a tool error) telling the assistant to stop and hand over to the user. These values come from server configuration and may differ per environment.
get_running_reports
Lists all custom reports currently running (queued or processing) for the authenticated user. A report missing from this list finished or failed; see teads://knowledge/troubleshooting/report-failures.Example prompt: "What reports are still running?"
No parameters.
Response:
| Field | Required | Type | Description |
|---|---|---|---|
reports | ✓ | any JSON value | Array of in-flight report job objects. |
_meta | ✓ | enum ReportingMetaSource: reporting | Data source — mock (stub) or reporting (live API). |
reports is passed through untyped from the reporting API.
reporting_read_rows
Reads the data of a finished custom report: returns its column labels and up to 500 rows per call, read on the server — use it instead of downloading the report uri yourself. Call it once reporting_wait_for returned status 'finished'; page through large reports with offset/next_offset. Works for csv and csv.gz reports only (not xlsx or jsonv1): create the report with format csv when you need its data. If the call fails, pass the message on to the user. Workflow: teads://knowledge/playbooks/custom-report.Example prompt: "Show me the first rows of report rpt-a1b2c3d4."
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
report_id | ✓ | string | Report ID of a finished report, as returned by reporting_create. |
limit | integer (uint), nullable (minimum 0) | Maximum number of rows to return, from 1 to 500. Defaults to 200. | |
offset | integer (uint) (minimum 0) | Index of the first data row to return (0-based, header row excluded). Defaults to 0; pass next_offset from the previous page to read on. |
Response:
| Field | Required | Type | Description |
|---|---|---|---|
report_id | ✓ | string | Report job ID. |
columns | ✓ | array of string | Column labels, from the header row of the report file. |
rows | ✓ | array of array | Data rows of this page; each row lists its values in columns order. |
offset | ✓ | integer (uint) (minimum 0) | Index of the first row of this page. |
total_rows | ✓ | integer (uint) (minimum 0) | Number of data rows in the whole report. |
_meta | ✓ | enum ReportingMetaSource: reporting | Data source — mock (stub) or reporting (live API). |
next_offset | integer (uint), nullable (minimum 0) | Offset of the next page; absent on the last page. |
Each element of rows is an array of strings (one value per column). The server clamps limit to the range 1 to 500. It downloads the report file itself, so the pre-signed uri from reporting_wait_for does not need to be fetched by the client. It returns a tool error while the report is still generating, when the report failed or has no file, when the report is not a csv or csv.gz file, or when the file is too large to read.
{
"report_id": "rpt-a1b2c3d4-...",
"columns": ["day", "impression", "click"],
"rows": [
["2026-05-01", "120345", "812"],
["2026-05-02", "118902", "790"]
],
"offset": 0,
"total_rows": 31,
"next_offset": 2,
"_meta": "reporting"
}measurement_campaign_reach_dashboard_task
Measurement Campaign Reach Dashboard: measure the de-duplicated reach of a Teads campaign across Web, Mobile App, and CTV, and quantify Teads' incremental reach on top of an external platform (linear TV, BVOD, SVOD, or FAST).
Use this whenever the user asks how many unique people a campaign reached, the reach %, frequency, cost per reach point, channel overlap, or the extra reach Teads added beyond another media.
Runs as a long-running MCP task: the server submits the job, polls it to completion, and returns the finished report in one call — no follow-up polling required.
Returns, for the selected target audience:
- Omnichannel (campaign-level) reach plus a per-channel breakdown: Web & Mobile App, CTV Homescreen (native), CTV Instream.
- Core metrics: unique users reached, reach % (unique reach divided by the national population of this audience), average frequency, on-target impressions, delivered budget, and cost per reach point.
- Cumulated Reach, cumulated unique users, and cumulated delivered budget over time.
- A Venn diagram of reach overlap between channels.
- Optional filtering by line item (insertion order).
When an external-platform reach is supplied (via tv_extend_percentage), it also returns Teads' incremental reach vs that platform: incremental reach %, incremental users, and cost per incremental reach point.
Required:
- campaign_id
- start_date, end_date: YYYY-MM-DD, start ≤ end.
- country: must be one of the campaign's delivery countries. Read the campaign's full details to get the dates and country; if the campaign runs in several countries, ask the user which one to analyze.
Optional — target-audience demographics:
- gender: "male" or "female"; omit for all genders.
- start_age: one of "18","21","25","30","35","40","45","50","55","65" (default "18").
- end_age: one of "24","29","34","39","44","49","54","59","64","65+" (default "65+"); must represent an age ≥ start_age.
Optional — incremental reach:
- tv_extend_percentage: the external platform's reach (linear TV, SVOD, BVOD, FAST) for the target audience, in [0.0, 1.0] (e.g. 0.1 = 10%). Provide this to unlock the incremental-reach metrics; omit to use the campaign default.
- insertion_id: restrict the analysis to a single insertion order (line item).
Reporting and Measurement Campaign Reach Dashboard - why Reach figures and frequency are different
The reporting tools (list_reporting_metrics and reporting_create) provides a reach metric named unique viewers (uv_impression) - it’s a legacy metric used by Teads. It represents the number of devices or browsers, not people. If a person uses multiple devices, such as a phone, a tablet, and two different browsers on a laptop, each device or browser is identified separately. Similarly, if people share a computer or a device, a single Teads ID might represent multiple people.
In the present tool (Measurement Campaign Reach Dashboard), reach in unique users refers to real people. The frequency proposed in this tool is computed using this reach data expressed in unique users.
Example prompt: "How many unique people did campaign 606714 reach in France, and how much extra reach did we add over linear TV?"
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
campaignId | ✓ | integer (int64) | Campaign ID (a number). This tool needs no seat_id: pass the campaign ID directly, do not look up a seat first. |
startDate | ✓ | string | Start date in YYYY-MM-DD format. |
endDate | ✓ | string | End date in YYYY-MM-DD format. |
country | ✓ | string | ISO 3166-1 alpha-2 delivery country of the campaign (e.g. "FR", "DE"). Use "UK" not "GB". Convert a country name to its code yourself. |
endAge | enum AgeMax: 24, 29, 34, 39, 44, 49, 54, 59, 64, 65+, nullable | Upper bound of the age range, as a string such as "44" (24, 29, 34, 39, 44, 49, 54, 59, 64, 65+). Omit for 65+. Must be at or above startAge. | |
gender | enum Gender: male, female, nullable | Gender filter. Omit for all genders. | |
insertionId | integer (int64), nullable | Insertion order ID (optional filter). | |
startAge | enum AgeMin: 18, 21, 25, 30, 35, 40, 45, 50, 55, 65, nullable | Lower bound of the age range, as a string such as "25" (18, 21, 25, 30, 35, 40, 45, 50, 55, 65). Omit for 18. | |
tvExtendPercentage | number (double), nullable | Linear TV reach fraction for the target universe (0.0–1.0). E.g. 0.1 means 10 % of the audience already reached by linear TV. Optional — omit to use the campaign's configured value. |
Response:
| Field | Required | Type | Description |
|---|---|---|---|
base | ✓ | object MeasurementCampaignReachDashboardBaseResult | Aggregate reach and performance metrics across all channels. |
dailyReachAndBudgets | ✓ | array of object MeasurementCampaignReachDashboardDailyResult | Daily reach and budget breakdown over the campaign flight. |
reachDistribution | ✓ | object MeasurementCampaignReachDashboardDistribution | Venn-diagram decomposition of reach by channel. |
channelDetails | ✓ | object MeasurementCampaignReachDashboardChannelDetails | Per-channel breakdown (web/mobile, CTV, CTV native). |
base (MeasurementCampaignReachDashboardBaseResult):
| Field | Required | Type | Description |
|---|---|---|---|
reach | ✓ | number (double) | Combined reach rate (0–1). |
costPerReachPoint | ✓ | number (double) | Cost per reach point (budget / reach / 100). |
users | ✓ | integer (int64) | Number of unique users reached. |
frequency | ✓ | number (double) | Average frequency (impressions / users). |
impressions | ✓ | integer (int64) | Total impressions delivered. |
deliveredBudget | ✓ | number (double) | Total budget delivered (in campaign currency). |
costPerIncrementalReachPoint | number (double), nullable | Cost per incremental reach point. Present only when TV data is available. | |
incrementalReach | number (double), nullable | Incremental reach rate over linear TV (0–1). Present only when TV data is available. | |
incrementalUsers | integer (int64), nullable | Number of incrementally reached users. Present only when TV data is available. |
dailyReachAndBudgets[] (MeasurementCampaignReachDashboardDailyResult):
| Field | Required | Type | Description |
|---|---|---|---|
day | ✓ | string | Date (YYYY-MM-DD). |
reach | ✓ | number (double) | Reach rate for this day. |
users | ✓ | integer (int64) | Number of unique users reached on this day. |
budgetWeb | ✓ | number (double) | Web/mobile budget delivered on this day. |
budgetCtv | ✓ | number (double) | CTV budget delivered on this day. |
budgetCtvNative | ✓ | number (double) | CTV native budget delivered on this day. |
cumulatedBudget | ✓ | number (double) | Cumulated budget delivered up to and including this day. |
incrementalReach | number (double), nullable | Incremental reach for this day (if TV data available). | |
incrementalUsers | integer (int64), nullable | Incremental users on this day (if TV data available). |
reachDistribution (MeasurementCampaignReachDashboardDistribution):
| Field | Required | Type | Description |
|---|---|---|---|
webAndMobileOnly | ✓ | number (double) | Reach exclusive to web and mobile (outstream only). |
ctvOnly | ✓ | number (double) | Reach exclusive to CTV. |
ctvNativeOnly | ✓ | number (double) | Reach exclusive to CTV native. |
webAndMobileIntersectCtv | ✓ | number (double) | Reach shared between web/mobile and CTV. |
webAndMobileIntersectCtvNative | ✓ | number (double) | Reach shared between web/mobile and CTV native. |
ctvIntersectCtvNative | ✓ | number (double) | Reach shared between CTV and CTV native. |
allIntersect | number (double), nullable | Reach common to all channels (if TV data available). | |
ctvIntersectLinearTv | number (double), nullable | Reach shared between CTV and linear TV (if TV data available). | |
ctvNativeIntersectLinearTv | number (double), nullable | Reach shared between CTV native and linear TV (if TV data available). | |
linearTvOnly | number (double), nullable | Reach exclusive to linear TV (if TV data available). | |
webAndMobileIntersectLinearTv | number (double), nullable | Reach shared between web/mobile and linear TV (if TV data available). |
channelDetails (MeasurementCampaignReachDashboardChannelDetails):
| Field | Required | Type | Description |
|---|---|---|---|
webAndMobile | ✓ | object MeasurementCampaignReachDashboardBaseResult (fields: see base) | Metrics for the web and mobile (outstream) channel. |
ctv | ✓ | object MeasurementCampaignReachDashboardBaseResult (fields: see base) | Metrics for the CTV channel. |
ctvNative | ✓ | object MeasurementCampaignReachDashboardBaseResult (fields: see base) | Metrics for the CTV native channel. |
Parameter names on the wire are camelCase (campaignId, startDate, tvExtendPercentage, ...), while the description above names them in snake_case. The server rejects a startDate after endDate, a tvExtendPercentage outside 0.0 to 1.0, and a startAge above endAge.
Task tool: the server submits the job, polls it every 2 seconds (at most 150 polls, 5 minutes) and returns the same result as measurement_campaign_reach_dashboard_result.
measurement_campaign_reach_dashboard_submit
Submit a measurement campaign reach dashboard estimation job for a campaign. Returns a job ID — poll measurement_campaign_reach_dashboard_status until done, then call measurement_campaign_reach_dashboard_result to retrieve the report.
The measurement campaign reach dashboard report quantifies the unique reach and frequency delivered by a Teads campaign across web/mobile (outstream), CTV, and CTV native, and — when TV audience data is available for the country — the incremental reach over linear TV. Results include:
- Aggregate reach rate, users, frequency, impressions, and delivered budget.
- Daily breakdown of reach, users, and budget per channel.
- Venn-diagram decomposition of overlapping reach between channels.
- Per-channel (web/mobile, CTV, CTV native) performance metrics.
Required fields: campaign_id, start_date, end_date (YYYY-MM-DD, start ≤ end), country.
Read the campaign full details to get the dates and the country.
Optional demographic filters:
- gender: "male" or "female"; omit for all genders.
- start_age: one of "18","21","25","30","35","40","45","50","55","65"; defaults to "18" when omitted.
- end_age: one of "24","29","34","39","44","49","54","59","64","65+"; defaults to "65+" when omitted. Must represent an age ≥ start_age.
- tv_extend_percentage: linear TV reach fraction for the target universe, in [0.0, 1.0] (e.g. 0.1 = 10 %). Omit to use the campaign default.
- insertion_id: filter to a specific insertion order.
Tasks-capable clients can instead call measurement_campaign_reach_dashboard_task for a single blocking call that submits, polls, and fetches the result internally.Example prompt: "Start a reach dashboard job for campaign 606714 in France for March 2024."
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
campaignId | ✓ | integer (int64) | Campaign ID (a number). This tool needs no seat_id: pass the campaign ID directly, do not look up a seat first. |
startDate | ✓ | string | Start date in YYYY-MM-DD format. |
endDate | ✓ | string | End date in YYYY-MM-DD format. |
country | ✓ | string | ISO 3166-1 alpha-2 delivery country of the campaign (e.g. "FR", "DE"). Use "UK" not "GB". Convert a country name to its code yourself. |
endAge | enum AgeMax: 24, 29, 34, 39, 44, 49, 54, 59, 64, 65+, nullable | Upper bound of the age range, as a string such as "44" (24, 29, 34, 39, 44, 49, 54, 59, 64, 65+). Omit for 65+. Must be at or above startAge. | |
gender | enum Gender: male, female, nullable | Gender filter. Omit for all genders. | |
insertionId | integer (int64), nullable | Insertion order ID (optional filter). | |
startAge | enum AgeMin: 18, 21, 25, 30, 35, 40, 45, 50, 55, 65, nullable | Lower bound of the age range, as a string such as "25" (18, 21, 25, 30, 35, 40, 45, 50, 55, 65). Omit for 18. | |
tvExtendPercentage | number (double), nullable | Linear TV reach fraction for the target universe (0.0–1.0). E.g. 0.1 means 10 % of the audience already reached by linear TV. Optional — omit to use the campaign's configured value. |
Response:
| Field | Required | Type | Description |
|---|---|---|---|
jobId | ✓ | string | Job ID to use for status and result polling. |
Same parameters and validation as measurement_campaign_reach_dashboard_task.
→ measurement_campaign_reach_dashboard_submit(campaignId=606714, startDate="2024-03-01", endDate="2024-03-31", country="FR")
← { "jobId": "ir-abc123" }
→ measurement_campaign_reach_dashboard_status(jobId="ir-abc123")
← { "status": "RUNNING" }
→ measurement_campaign_reach_dashboard_result(jobId="ir-abc123")
← { "base": { "reach": 0.12, "incrementalReach": 0.04, "users": 1200000, ... }, "dailyReachAndBudgets": [...], "reachDistribution": {...}, "channelDetails": {...} }measurement_campaign_reach_dashboard_status
Poll the status of a measurement campaign reach dashboard job. Pass the job_id returned by measurement_campaign_reach_dashboard_submit. Returns {"status": "PENDING"}, {"status": "RUNNING"}, or {"status": "DONE"}. Poll until DONE, then call measurement_campaign_reach_dashboard_result.Example prompt: "Is the reach dashboard for job ir-abc123 ready?"
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
jobId | ✓ | string | Job ID to use for status and result polling. |
Response:
| Field | Required | Type | Description |
|---|---|---|---|
status | ✓ | string | Job state: "PENDING", "RUNNING", or "DONE". |
measurement_campaign_reach_dashboard_result
Retrieve the result of a completed measurement campaign reach dashboard job. Pass the job_id returned by measurement_campaign_reach_dashboard_submit. Only call once measurement_campaign_reach_dashboard_status reports DONE. Returns the full measurement campaign reach dashboard report: aggregate metrics (reach rate, users, frequency, impressions, budget), daily breakdown, channel Venn decomposition, and per-channel details for web/mobile, CTV, and CTV native.Example prompt: "Show me the reach dashboard results for job ir-abc123."
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
jobId | ✓ | string | Job ID to use for status and result polling. |
Response:
| Field | Required | Type | Description |
|---|---|---|---|
base | ✓ | object MeasurementCampaignReachDashboardBaseResult | Aggregate reach and performance metrics across all channels. |
dailyReachAndBudgets | ✓ | array of object MeasurementCampaignReachDashboardDailyResult | Daily reach and budget breakdown over the campaign flight. |
reachDistribution | ✓ | object MeasurementCampaignReachDashboardDistribution | Venn-diagram decomposition of reach by channel. |
channelDetails | ✓ | object MeasurementCampaignReachDashboardChannelDetails | Per-channel breakdown (web/mobile, CTV, CTV native). |
base (MeasurementCampaignReachDashboardBaseResult):
| Field | Required | Type | Description |
|---|---|---|---|
reach | ✓ | number (double) | Combined reach rate (0–1). |
costPerReachPoint | ✓ | number (double) | Cost per reach point (budget / reach / 100). |
users | ✓ | integer (int64) | Number of unique users reached. |
frequency | ✓ | number (double) | Average frequency (impressions / users). |
impressions | ✓ | integer (int64) | Total impressions delivered. |
deliveredBudget | ✓ | number (double) | Total budget delivered (in campaign currency). |
costPerIncrementalReachPoint | number (double), nullable | Cost per incremental reach point. Present only when TV data is available. | |
incrementalReach | number (double), nullable | Incremental reach rate over linear TV (0–1). Present only when TV data is available. | |
incrementalUsers | integer (int64), nullable | Number of incrementally reached users. Present only when TV data is available. |
dailyReachAndBudgets[] (MeasurementCampaignReachDashboardDailyResult):
| Field | Required | Type | Description |
|---|---|---|---|
day | ✓ | string | Date (YYYY-MM-DD). |
reach | ✓ | number (double) | Reach rate for this day. |
users | ✓ | integer (int64) | Number of unique users reached on this day. |
budgetWeb | ✓ | number (double) | Web/mobile budget delivered on this day. |
budgetCtv | ✓ | number (double) | CTV budget delivered on this day. |
budgetCtvNative | ✓ | number (double) | CTV native budget delivered on this day. |
cumulatedBudget | ✓ | number (double) | Cumulated budget delivered up to and including this day. |
incrementalReach | number (double), nullable | Incremental reach for this day (if TV data available). | |
incrementalUsers | integer (int64), nullable | Incremental users on this day (if TV data available). |
reachDistribution (MeasurementCampaignReachDashboardDistribution):
| Field | Required | Type | Description |
|---|---|---|---|
webAndMobileOnly | ✓ | number (double) | Reach exclusive to web and mobile (outstream only). |
ctvOnly | ✓ | number (double) | Reach exclusive to CTV. |
ctvNativeOnly | ✓ | number (double) | Reach exclusive to CTV native. |
webAndMobileIntersectCtv | ✓ | number (double) | Reach shared between web/mobile and CTV. |
webAndMobileIntersectCtvNative | ✓ | number (double) | Reach shared between web/mobile and CTV native. |
ctvIntersectCtvNative | ✓ | number (double) | Reach shared between CTV and CTV native. |
allIntersect | number (double), nullable | Reach common to all channels (if TV data available). | |
ctvIntersectLinearTv | number (double), nullable | Reach shared between CTV and linear TV (if TV data available). | |
ctvNativeIntersectLinearTv | number (double), nullable | Reach shared between CTV native and linear TV (if TV data available). | |
linearTvOnly | number (double), nullable | Reach exclusive to linear TV (if TV data available). | |
webAndMobileIntersectLinearTv | number (double), nullable | Reach shared between web/mobile and linear TV (if TV data available). |
channelDetails (MeasurementCampaignReachDashboardChannelDetails):
| Field | Required | Type | Description |
|---|---|---|---|
webAndMobile | ✓ | object MeasurementCampaignReachDashboardBaseResult (fields: see base) | Metrics for the web and mobile (outstream) channel. |
ctv | ✓ | object MeasurementCampaignReachDashboardBaseResult (fields: see base) | Metrics for the CTV channel. |
ctvNative | ✓ | object MeasurementCampaignReachDashboardBaseResult (fields: see base) | Metrics for the CTV native channel. |
Transverse
Seats, campaign setup, taxonomies and the built-in knowledge, available from every stage.
list_my_seats
Lists the seats (ad accounts) accessible to the authenticated profile. Equivalent to reading teads://my-seats — use this when that resource is unavailable. Returns seat IDs, names, and account types. Pass a seat_id to campaign_read, or all seat IDs to reporting_create.Example prompt: "Which seats can I access?"
No parameters.
Response schema description: Output envelope for list_my_seats.
Response:
| Field | Required | Type | Description |
|---|---|---|---|
seats | ✓ | array of object Seat | Seats accessible to the authenticated profile. |
seats[] (Seat):
| Field | Required | Type | Description |
|---|---|---|---|
id | ✓ | integer (int64) | Unique numeric seat (ad account) ID. Pass to campaign_read or reporting_create. |
name | ✓ | string | Seat display name. |
account_type | ✓ | string | Account type (e.g. SEAT, AGENCY). |
{
"seats": [{ "id": 12345, "name": "Acme Agency", "account_type": "SEAT" }]
}get_campaign_seat
Look up the buyer seat ID that owns a campaign, by campaign ID. Useful to resolve seat_id before calling campaign_read or reporting_create when only the campaign_id is known.Example prompt: "Which seat owns campaign 606714?"
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
campaign_id | ✓ | integer (int64) | Numeric campaign ID to look up. |
Response schema description: Output envelope for get_campaign_seat.
Response:
| Field | Required | Type | Description |
|---|---|---|---|
buyer_seat_id | ✓ | integer (int64) | Buyer seat (entity) ID that owns this campaign. |
{ "buyer_seat_id": 25193 }campaign_read
Read full details for a single campaign by ID.Returns complete campaign setup: metadata, status, flight dates (as ISO 8601 date strings), budget,insertion order lines, each line item with billing model, pricing type, channel type,booked budget/volume, flight dates, deal info, detailed users targeting, and each creative with format metadata.Pass seat_id from teads://my-seats to scope the request to a specific seat.Numeric targeting IDs and codes must be resolved via teads://taxonomy/{slug} or list_taxonomy before presenting to the user; see teads://knowledge/playbooks/resolve-targeting-ids.Example prompt: "Show me campaign 606714."
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
campaign_id | ✓ | integer (int64) | Numeric campaign ID to retrieve. |
seat_id | integer (int64), nullable | Seat ID (entity ID) to use for this request. If omitted, falls back to the seat from the session context. Read teads://my-seats to pick a seat. |
Response:
| Field | Required | Type | Description |
|---|---|---|---|
campaign_id | ✓ | integer (int64) | Unique numeric campaign ID. |
campaign_name | ✓ | string | Campaign display name. |
status | ✓ | string | Campaign status (e.g. ENABLED, DISABLED). |
objective | ✓ | string | Campaign objective (e.g. BRANDING). |
total_budget | ✓ | number (double) | Total campaign budget in USD. |
currency | ✓ | string | ISO-4217 currency code. |
timezone | ✓ | string | IANA timezone identifier. |
is_managed | ✓ | boolean | Whether the campaign is managed. |
flight_start | ✓ | string (date) | Flight start date (UTC, ISO 8601). |
flight_end | ✓ | string (date) | Flight end date (UTC, ISO 8601). |
insertion_order_lines | ✓ | array of object InsertionOrderLineDetail | List of parent insertion order lines with detailed configuration. |
line_items | ✓ | array of object LineItemDetail | List of line items with detailed targeting and billing configuration. |
creatives | ✓ | array of object CreativeDetail | List of creatives with detailed format configuration. |
advertiser | object CampaignAdvertiser, nullable | Associated advertiser details. |
insertion_order_lines[] (InsertionOrderLineDetail):
| Field | Required | Type | Description |
|---|---|---|---|
id | ✓ | integer (int64) | Unique numeric insertion order line ID. |
name | ✓ | string | Insertion order line display name. |
flight_start | ✓ | string (date) | Flight start date (UTC, ISO 8601). |
flight_end | ✓ | string (date) | Flight end date (UTC, ISO 8601). |
auction_type | string, nullable | Auction type (e.g. FIXED, DYNAMIC). | |
billing_event | string, nullable | Billing event type (e.g., impression). | |
billing_model | string, nullable | Billing model (e.g., CPM, VCPM). | |
billing_model_rate | number (double), nullable | Billing model gross price rate. | |
booked_budget | number (double), nullable | Booked budget in USD. | |
booked_volume | integer (int64), nullable | Booked volume of events. | |
creative_type_family | string, nullable | Creative type family (e.g. VIDEO, DISPLAY). | |
is_guaranteed | boolean, nullable | Whether delivery is guaranteed. |
line_items[] (LineItemDetail):
| Field | Required | Type | Description |
|---|---|---|---|
id | ✓ | integer (int64) | Unique numeric line item ID. |
name | ✓ | string | Line item display name. |
status | ✓ | string | Line item status (e.g. ENABLED, DISABLED). |
billing_model | ✓ | string | Billing model (e.g. CPM, VCPM, CPC, CPCV). |
pricing_type | ✓ | string | Pricing type (e.g. DYNAMIC, FIXED). |
event_gross_rate | ✓ | string | Price rate of the billing event as string. |
start_mode | ✓ | string | Play/start trigger mode (e.g. VIEW_TO_PLAY). |
has_pixel | ✓ | boolean | Whether pixel tracking is enabled. |
is_guaranteed | ✓ | boolean | Whether delivery is guaranteed. |
advertising_solution_id | string, nullable | Optimization goal (e.g. AWARENESS, TA_CLICKS, TA_VISITS). | |
billing_price | number (double), nullable | Net billing price. | |
booked_budget | number (double), nullable | Booked budget in USD. | |
booked_volume | integer (int64), nullable | Booked volume of events. | |
channel_type | string, nullable | Inventory channel type (e.g. WEB_AND_IN_APP, CONNECTED_TV). | |
deal | object LineItemDeal, nullable | Private marketplace deal details. | |
flight_end | string (date), nullable | Line item flight end date (UTC, ISO 8601). | |
flight_start | string (date), nullable | Line item flight start date (UTC, ISO 8601). | |
insertion_order_line_id | integer (int64), nullable | Parent insertion order line ID. | |
min_margin | number (double), nullable | Minimum margin. | |
targeting | object UsersTargetingResult, nullable | Detailed users targeting configuration. |
creatives[] (CreativeDetail):
| Field | Required | Type | Description |
|---|---|---|---|
id | ✓ | integer (int64) | Unique numeric creative ID. |
name | ✓ | string | Creative display name. |
status | ✓ | string | Creative status. |
created_at | string (date), nullable | Creation date (UTC, ISO 8601). | |
format_size | string, nullable | Format dimension size (width x height). | |
format_type | string, nullable | Creative format type (e.g. Outstream). | |
format_type_family | string, nullable | Creative format family (e.g. Video, Banner). |
advertiser (CampaignAdvertiser):
| Field | Required | Type | Description |
|---|---|---|---|
id | ✓ | integer (int64) | Unique numeric advertiser ID. |
name | ✓ | string | Advertiser display name. |
line_items[].deal (LineItemDeal):
| Field | Required | Type | Description |
|---|---|---|---|
deal_id | ✓ | integer (int64) | Unique numeric deal ID. |
deal_id_key | ✓ | string | Deal string key. |
rate_cpm | ✓ | number (double) | CPM rate for the deal. |
currency | ✓ | string | ISO-4217 currency code. |
rate_type | ✓ | string | Rate type (e.g. FIXED, DYNAMIC). |
line_items[].targeting (UsersTargetingResult):
| Field | Required | Type | Description |
|---|---|---|---|
age_audiences | array of integer (uint64) (minimum 0) | Targeted age range segment identifiers. | |
app_bundle_ids | object TargetingFilterStr, nullable | Included/excluded mobile app bundle IDs. | |
brand_safety | object BrandSafetyResult, nullable | Brand safety criteria configured via Teads, IAS, or DV. | |
brand_suitability_double_verify_ids | array of integer (uint64) (minimum 0) | DoubleVerify (DV) brand suitability category IDs. | |
brand_suitability_integral_ad_science_ids | array of integer (uint64) (minimum 0) | Integral Ad Science (IAS) brand suitability category IDs. | |
cross_device_attribution | boolean, nullable | Whether cross-device attribution is enabled for targeting. | |
ctv_custom_contexts | object TargetingFilterLong, nullable | Targeted Connected TV (CTV) custom contextual segment identifiers. | |
custom_audiences | array of integer (uint64) (minimum 0) | First-party or custom-built audience segment identifiers. | |
demographic_audiences_accuracy | string, nullable | Demographic audience targeting accuracy. | |
device_browsers | object TargetingFilterStr (fields: see line_items[].targeting.app_bundle_ids), nullable | Targeted web browsers. | |
device_connection_types | object TargetingFilterStr (fields: see line_items[].targeting.app_bundle_ids), nullable | Targeted connection types. | |
device_internet_service_providers | object TargetingFilterStr (fields: see line_items[].targeting.app_bundle_ids), nullable | Targeted ISP names. | |
device_languages | object TargetingFilterStr (fields: see line_items[].targeting.app_bundle_ids), nullable | Targeted device interface language identifiers. | |
device_operating_systems | object TargetingFilterStr (fields: see line_items[].targeting.app_bundle_ids), nullable | Targeted device operating systems. | |
device_platform_environment | string, nullable | Targeted platform environment (e.g., WEB, APP). | |
device_types | object TargetingFilterLong (fields: see line_items[].targeting.ctv_custom_contexts), nullable | Targeted device type identifiers. | |
domains | object TargetingFilterStr (fields: see line_items[].targeting.app_bundle_ids), nullable | Included/excluded website domains. | |
first_party_audiences | object TargetingFilterStr (fields: see line_items[].targeting.app_bundle_ids), nullable | String-based first-party audience identifiers. | |
format_creative_types | array of integer (uint64) (minimum 0) | Targeted ad creative types. | |
format_positions | array of integer (uint64) (minimum 0) | Targeted ad placement format positions. | |
format_sizes | array of integer (uint64) (minimum 0) | Targeted ad format sizes. | |
gender_audience | integer (uint64), nullable (minimum 0) | Targeted gender identifier. | |
is_cookieless_criteria_only | boolean, nullable | Whether targeting is restricted to cookieless criteria only. | |
language_codes | object TargetingFilterStr (fields: see line_items[].targeting.app_bundle_ids), nullable | Targeted language codes for web & in-app campaigns (Grapeshot string codes). | |
languages | object TargetingFilterLong (fields: see line_items[].targeting.ctv_custom_contexts), nullable | Targeted language segment identifiers (CTV/Comscore numeric IDs). | |
locations | object TargetingFilterStr (fields: see line_items[].targeting.app_bundle_ids), nullable | Geographic location filters (DMA names, country codes, or region codes). | |
lookalike_segments | object TargetingFilterLong (fields: see line_items[].targeting.ctv_custom_contexts), nullable | Lookalike/similar audience segment identifiers. | |
mobile_device_brand | object TargetingFilterStr (fields: see line_items[].targeting.app_bundle_ids), nullable | Targeted mobile device manufacturers. | |
mobile_device_carrier | object TargetingFilterStr (fields: see line_items[].targeting.app_bundle_ids), nullable | Targeted mobile network carriers. | |
mobile_device_category | object TargetingFilterStr (fields: see line_items[].targeting.app_bundle_ids), nullable | Targeted mobile device categories. | |
mobile_device_model | object TargetingFilterStr (fields: see line_items[].targeting.app_bundle_ids), nullable | Targeted mobile device models. | |
mobile_device_year | object TargetingFilterStr (fields: see line_items[].targeting.app_bundle_ids), nullable | Targeted mobile device release years. | |
narrowed_standard_audiences | array of integer (uint64) (minimum 0) | Audience segment IDs used for narrowing/intersecting standard targeting. | |
packs | object TargetingFilterLong (fields: see line_items[].targeting.ctv_custom_contexts), nullable | Pre-packaged inventory group identifiers. | |
remarketing_segments | object TargetingFilterLong (fields: see line_items[].targeting.ctv_custom_contexts), nullable | Remarketing audience segment identifiers. | |
retargeting_pixels | object TargetingFilterLong (fields: see line_items[].targeting.ctv_custom_contexts), nullable | Retargeting tracking pixel identifiers. | |
standard_audiences | object TargetingFilterLong (fields: see line_items[].targeting.ctv_custom_contexts), nullable | Included/excluded pre-packaged standard audience segments. | |
teads_contextuals | object TargetingFilterLong (fields: see line_items[].targeting.ctv_custom_contexts), nullable | Targeted Teads Contextual taxonomy segment identifiers. | |
website_categories | object TargetingFilterStr (fields: see line_items[].targeting.app_bundle_ids), nullable | Targeted website content categories. | |
websites | object TargetingFilterLong (fields: see line_items[].targeting.ctv_custom_contexts), nullable | Targeted website publisher identifiers. | |
websites_tier | string, nullable | Targeted website inventory tiers. |
line_items[].targeting.app_bundle_ids (TargetingFilterStr):
| Field | Required | Type | Description |
|---|---|---|---|
excludes | array of string | List of string identifiers to exclude from the targeting. | |
includes | array of string | List of string identifiers to include in the targeting. |
line_items[].targeting.brand_safety (BrandSafetyResult):
| Field | Required | Type | Description |
|---|---|---|---|
provider | one of BrandSafetyProvider, nullable | Active brand safety provider (Teads, IAS, or DoubleVerify) with its safety level. |
line_items[].targeting.brand_safety.provider (BrandSafetyProvider): exactly one of the following keys is present.
| Key | Type | Description |
|---|---|---|
teads | integer (uint32) (minimum 0) | Teads brand safety level (provider threshold). |
integral_ad_science | integer (uint32) (minimum 0) | Integral Ad Science (IAS) brand safety level (provider threshold). |
double_verify | integer (uint32) (minimum 0) | DoubleVerify brand safety level (provider threshold). |
line_items[].targeting.ctv_custom_contexts (TargetingFilterLong):
| Field | Required | Type | Description |
|---|---|---|---|
excludes | array of integer (int64) | List of numeric IDs to exclude from the targeting. | |
includes | array of integer (int64) | List of numeric IDs to include in the targeting. |
Notes:
- Read-only:
campaign_readnever changes campaign data. - Without
seat_id, the tool uses the session's seat; if no seat is selected it returns an error asking you to readteads://my-seats. It also checks that the campaign belongs to the seat and returns an error naming the owning seat when it does not. - Flight dates are ISO 8601 date strings (
flight_start,flight_end). - Targeting fields (
standard_audiences,teads_contextuals,device_types, ...) reference segments by numeric ID. Resolve them withlist_taxonomy, see Resolve targeting IDs. - The structured response also carries
"_meta": "api-domains", which the declared output schema does not list.
list_taxonomy
Return a taxonomy catalog by name. Use to resolve numeric IDs and codes returned by campaign_read into human-readable labels. None require a seat_id. Values: device_types, audiences_web, audiences_ctv, contextual_web, contextual_ctv, platform_environment, channel_type, website_tiers, ad_positions, target_positions, brand_safety_providers, viewability_measurement, device_languages, website_categories, brand_suitability_double_verify, format_positions, operating_systems, browser_types, connection_types, content_languages_web, content_languages_ctv.Example prompt: "What do these device and audience IDs mean?"
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
taxonomy_name | ✓ | enum TaxonomyName: device_types, audiences_web, audiences_ctv, contextual_web, contextual_ctv, platform_environment, channel_type, website_tiers, ad_positions, target_positions, brand_safety_providers, viewability_measurement, device_languages, website_categories, brand_suitability_double_verify, format_positions, operating_systems, browser_types, connection_types, content_languages_web, content_languages_ctv | The taxonomy to retrieve. Each value maps to a specific catalog of targeting IDs usable in campaign targeting. |
taxonomy_name values:
| Value | Description |
|---|---|
device_types | Device type IDs (0=Desktop, 1=Smartphone, 2=Tablet, 3=SmartTV/CTV). No seat_id needed. |
audiences_web | Standard audience segment catalog (web channel). No seat_id needed. |
audiences_ctv | Standard audience segment catalog (CTV channel). No seat_id needed. |
contextual_web | Teads contextual segment catalog (web channel). No seat_id needed. |
contextual_ctv | Teads CTV contextual/genre segment catalog. No seat_id needed. |
platform_environment | Targeted platform environment values (web/app). No seat_id needed. |
channel_type | Inventory channel type values. No seat_id needed. |
website_tiers | Website tier values. No seat_id needed. |
ad_positions | Ad placement position values. No seat_id needed. |
target_positions | Line item target position values. No seat_id needed. |
brand_safety_providers | Brand safety provider names. No seat_id needed. |
viewability_measurement | Viewability measurement settings and primary provider. No seat_id needed. |
device_languages | Device language codes. |
website_categories | IAB website category catalog. |
brand_suitability_double_verify | DoubleVerify brand suitability segment catalog. |
format_positions | Active ad format position catalog. |
operating_systems | Distinct targetable operating system families. |
browser_types | Targetable browser types. |
connection_types | Targetable connection type values. |
content_languages_web | Content language catalog (web channel). |
content_languages_ctv | Content language catalog (CTV channel). |
No output schema: returns the content of the matching teads://taxonomy/... resource as one text block (audiences_*, contextual_* and content_languages_* read the {channel} templates with web or ctv).
Resolve targeting IDs
Which taxonomy_name resolves which campaign_read field:
campaign_read field | Use taxonomy_name |
|---|---|
device_types | device_types |
standard_audiences, gender_audience, age_audiences | audiences_web or audiences_ctv depending on channel |
teads_contextuals, ctv_custom_contexts | contextual_web or contextual_ctv depending on channel |
device_platform_environment | platform_environment |
channel_type | channel_type |
device_languages | device_languages |
device_operating_systems | operating_systems |
device_browsers | browser_types |
device_connection_types | connection_types |
brand_suitability_double_verify_ids | brand_suitability_double_verify |
taxonomy_search3p
Search third-party audience segments by phrase, independent of inventory channel. Use to discover segment IDs for create_custom_audience or buyer persona targeting. Returns raw provider segment names, generated search aliases, and optional request-relative ranking scores. See teads://knowledge/playbooks/third-party-segment-search.Example prompt: "Find third-party segments about yoga."
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
query | ✓ | string | Search phrase for third-party audience segments (1–512 non-whitespace characters). |
result_count | integer (uint32), nullable (minimum 0) | Maximum results to return (1–50; upstream defaults to 20 when omitted). |
Response:
| Field | Required | Type | Description |
|---|---|---|---|
segments | ✓ | array of object ThirdPartySegment | Provider segments returned in upstream order; candidates are not guaranteed relevant matches and have no channel availability metadata. |
segments[] (ThirdPartySegment):
| Field | Required | Type | Description |
|---|---|---|---|
provider | ✓ | string | Data provider code. |
internal_code | ✓ | integer (int64) | Provider segment's internal code. |
segment | ✓ | string | Raw segment name as stored by the provider; may include taxonomy text and inconsistent separators. |
aliases | ✓ | array of string | Offline-generated search keywords that can explain a match; not authoritative provider descriptions. |
category | string, nullable | Segment category, when supplied. | |
description | string, nullable | Provider segment description, when supplied. | |
ranking | object ThirdPartySegmentRanking, nullable | Optional ranking signals relative to this request; not an absolute or cross-request relevance threshold. | |
source | string, nullable | Segment data source, when supplied. |
segments[].ranking (ThirdPartySegmentRanking):
| Field | Required | Type | Description |
|---|---|---|---|
bm25_score | number (double), nullable | Request-relative BM25 lexical score; optional and not a cross-request threshold. | |
llm_score | number (double), nullable | Optional request-relative LLM relevance score; may be absent when reranking fails. | |
matched_by | string, nullable | Retrieval method(s) that matched the segment, when available. | |
rrf_score | number (double), nullable | Request-relative reciprocal rank fusion score; optional and not a cross-request threshold. | |
semantic_distance | number (double), nullable | Request-relative vector semantic distance (lower is closer); optional and not a cross-request threshold. |
The server rejects a query that is blank or longer than 512 characters, and a result_count outside 1 to 50. Use a segment's internal_code in the matching field of a create_custom_audience block (for example provider lr goes to liverampIds).
{
"segments": [
{
"provider": "lr",
"internal_code": 5001,
"segment": "Interest > Fitness > Yoga",
"description": null,
"aliases": ["yoga", "fitness"],
"source": null,
"category": null,
"ranking": { "rrf_score": 0.031, "matched_by": "lexical+semantic" }
}
]
}taxonomy_search_custom_audience
Search custom audiences (buyer personas) by name or criteria with pagination support. Returns custom audience IDs, names, status, timestamps, channel, and targetable countries.Example prompt: "Find my custom audiences with 'yoga' in the name on seat 12345."
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
seat_id | ✓ | integer (int64) | Seat ID (entity ID) to scope the search. Read teads://my-seats to pick a seat. |
advertiser_id | integer (int64), nullable | Optional advertiser ID to filter custom audiences. | |
channel | enum CustomAudienceChannel: web, ctv, nullable | Inventory channel filter: 'web' or 'ctv' (defaults to 'web'). | |
countries | array of string, nullable | Optional list of country ISO codes to filter custom audiences. | |
includes_cookieless | boolean, nullable | Whether to include cookieless custom audiences (defaults to false). | |
page | integer (int32), nullable | Zero-based page index (0 or greater; defaults to 0 when omitted). | |
page_size | integer (int32), nullable | Maximum results per page (1–100; defaults to 50 when omitted). | |
search | string, nullable | Optional search query to filter custom audiences by name (1–512 non-whitespace characters). |
Response:
| Field | Required | Type | Description |
|---|---|---|---|
custom_audiences | ✓ | array of object CustomAudience | Matching custom audiences returned in order. |
total | ✓ | integer (int32) | Total number of custom audiences matching the search across all pages. |
page | ✓ | integer (int32) | Zero-based page index of the returned page. |
page_size | ✓ | integer (int32) | Number of items per page. |
custom_audiences[] (CustomAudience):
| Field | Required | Type | Description |
|---|---|---|---|
id | ✓ | integer (int64) | Custom audience (persona) unique identifier. |
name | ✓ | string | Custom audience display name. |
status | ✓ | string | Custom audience status: ENABLED, DISABLED, DELETED, or TO_TRANSLATE. |
countries | ✓ | array of string | Targetable country ISO codes. |
cookieless_custom_audiences | ✓ | array of object CookielessCustomAudience | Cookieless custom audience translations, when present. |
advertiser_id | integer (int64), nullable | Associated advertiser ID, when available. | |
channel | string, nullable | Audience channel: 'web' or 'ctv'. | |
created_at | string, nullable | Creation timestamp (UTC, ISO 8601), when available. | |
is_cookieless | boolean, nullable | Whether this is a cookieless custom audience. | |
updated_at | string, nullable | Last update timestamp (UTC, ISO 8601), when available. |
custom_audiences[].cookieless_custom_audiences[] (CookielessCustomAudience):
| Field | Required | Type | Description |
|---|---|---|---|
id | ✓ | integer (int64) | Cookieless custom audience unique identifier. |
name | ✓ | string | Cookieless custom audience name. |
status | ✓ | string | Cookieless custom audience status. |
countries | ✓ | array of string | Country ISO codes. |
The server rejects a blank search or one longer than 512 characters, a negative page, and a page_size outside 1 to 100. page also accepts the alias page_index, and page_size accepts size and limit.
{
"custom_audiences": [
{
"id": 42,
"name": "Yoga enthusiasts",
"status": "ENABLED",
"created_at": "2026-05-26T12:00:00Z",
"updated_at": "2026-05-26T12:00:00Z",
"is_cookieless": false,
"channel": "web",
"advertiser_id": null,
"countries": ["FR", "DE"],
"cookieless_custom_audiences": []
}
],
"total": 1,
"page": 0,
"page_size": 50
}taxonomy_search_geo
Search geographic targeting entities (countries, regions, metros, zones, cities, postal codes) using natural language intent, place names, or spatial proximity within a country. Returns matching geo entities with Digital Elements targeting codes, hierarchy paths, and planner details. See teads://knowledge/playbooks/geo-targeting-search.Example prompt: "Find the geo targeting codes for cities within 50 km of Lyon in France."
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
query | ✓ | string | Geographic targeting intent in any language: named places (e.g. 'Bordeaux, Toulouse'), described areas (e.g. 'the Mediterranean coast', 'ski resorts'), distances (e.g. 'within 50 km of Lyon'), or exact postal codes (1–512 non-whitespace characters). |
country_iso2 | ✓ | string | ISO 3166-1 alpha-2 country code the search is limited to (e.g. 'FR', 'US', 'GB'). Exactly 2 letters. |
verification_mode | enum GeoVerificationMode: api_required, caller_managed, nullable | Optional verification mode: 'api_required' (default; filters semantic candidates via verifier) or 'caller_managed' (returns unverified semantic candidates for caller validation). |
Response:
| Field | Required | Type | Description |
|---|---|---|---|
entities | ✓ | array of object GeoEntity | Matching geographic entities returned in order. |
plan | ✓ | object GeoPlan | Interpretation plan showing how the query intent was resolved. |
truncated | ✓ | boolean | True when more entities matched than the response carries (capped at 5,000). |
entities[] (GeoEntity):
| Field | Required | Type | Description |
|---|---|---|---|
de_code | ✓ | string | Digital Elements targeting code, or z:<zone id> for a Teads targeting zone. |
level | ✓ | string | Geographic hierarchy level: country, region, metro, zone, city, or postal_code. |
name | ✓ | string | Display name of the entity. |
hierarchy_path | ✓ | string | Name followed by parent geographies, e.g. 'lyon, auvergne-rhone-alpes, france'. |
aliases | ✓ | array of string | Offline-generated keywords useful to explain a match. |
matched_branches | ✓ | array of string | Satisfied group match branches, e.g. 'lexical', 'semantic', 'spatial', 'postal code'. |
anchor | string, nullable | Name of the nearest spatial anchor. | |
distance_km | number (double), nullable | Distance in kilometers to the nearest spatial anchor. | |
latitude | number (double), nullable | Latitude point for city/postal code when available. | |
longitude | number (double), nullable | Longitude point for city/postal code when available. | |
population | integer (int64), nullable | City population when known. | |
semantic_distance | number (double), nullable | Cosine distance between semantic branch query and entity (lower is closer). |
plan (GeoPlan):
| Field | Required | Type | Description |
|---|---|---|---|
lexical_branches | ✓ | array of object GeoLexicalBranch | Lexical search branches. |
semantic_branches | ✓ | array of object GeoSemanticBranch | Semantic search branches. |
spatial_branches | ✓ | array of object GeoSpatialBranch | Spatial proximity branches. |
planned | ✓ | boolean | Whether planning succeeded. |
semantic_checked | ✓ | boolean | Whether semantic verifier executed successfully. |
groups | ✓ | array of object GeoPlanGroup | Alternative groups of intersected branch constraints. |
note | string, nullable | Planner explanation or degraded-mode explanation when planned is false. |
plan.lexical_branches[] (GeoLexicalBranch):
| Field | Required | Type | Description |
|---|---|---|---|
terms | ✓ | array of string | Place names and terms. |
levels | ✓ | array of string | Target hierarchy levels for this branch. |
plan.semantic_branches[] (GeoSemanticBranch):
| Field | Required | Type | Description |
|---|---|---|---|
query | ✓ | string | Description of areas sought. |
levels | ✓ | array of string | Target hierarchy levels for this branch. |
plan.spatial_branches[] (GeoSpatialBranch):
| Field | Required | Type | Description |
|---|---|---|---|
anchors | ✓ | array of object GeoAnchor | Anchor locations. |
radius_km | ✓ | number (double) | Radius around anchors in kilometers. |
plan.spatial_branches[].anchors[] (GeoAnchor):
| Field | Required | Type | Description |
|---|---|---|---|
name | ✓ | string | Anchor name. |
de_code | string, nullable | Resolved Digital Elements code if matched. | |
latitude | number (double), nullable | Latitude of anchor. | |
longitude | number (double), nullable | Longitude of anchor. |
plan.groups[] (GeoPlanGroup):
| Field | Required | Type | Description |
|---|---|---|---|
lexical_branch_indices | ✓ | array of integer (uint32) (minimum 0) | Zero-based indices into lexical_branches. |
semantic_branch_indices | ✓ | array of integer (uint32) (minimum 0) | Zero-based indices into semantic_branches. |
spatial_branch_indices | ✓ | array of integer (uint32) (minimum 0) | Zero-based indices into spatial_branches. |
The server rejects a query that is blank or longer than 512 characters, and a country_iso2 that is not exactly 2 letters (it is upper-cased before the search).
{
"entities": [
{
"de_code": "fr-69123",
"level": "city",
"name": "Lyon",
"hierarchy_path": "lyon, auvergne-rhone-alpes, france",
"aliases": ["lyon"],
"population": 522250,
"latitude": 45.76,
"longitude": 4.84,
"matched_branches": ["spatial"],
"distance_km": 0.0,
"anchor": "Lyon"
}
],
"plan": {
"note": null,
"lexical_branches": [],
"semantic_branches": [],
"spatial_branches": [
{
"anchors": [
{
"name": "Lyon",
"de_code": null,
"latitude": null,
"longitude": null
}
],
"radius_km": 50.0
}
],
"planned": true,
"semantic_checked": false,
"groups": [
{
"lexical_branch_indices": [],
"semantic_branch_indices": [],
"spatial_branch_indices": [0]
}
]
},
"truncated": false
}list_knowledge
Lists curated knowledge concepts (playbooks and reference docs) available on this server. Equivalent to reading teads://knowledge/index — use this when resources are unavailable. Returns each concept's URI and description; pass a URI to read_knowledge.Example prompt: "What playbooks does the Teads MCP server have?"
No parameters.
No output schema: returns one text block with a JSON object whose concepts array lists every knowledge concept except the index (uri, name, description), plus _meta set to \{ "source": "static" \}.
read_knowledge
Returns the Markdown content of a curated knowledge resource by URI. Use the host's MCP resource reader when available; this is the fallback when resource reads are unavailable. Read an already-known URI directly; call list_knowledge only to discover a missing URI.Example prompt: "Show me the campaign lookup playbook."
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
concept | ✓ | string | Knowledge resource URI to read, e.g. teads://knowledge/playbooks/campaign-lookup. Use a URI already linked by a tool or resource directly; call list_knowledge only when you need to discover the URI. |
No output schema: returns one text block with the concept's Markdown. An unknown URI returns a tool error that points to list_knowledge.