Skip to content
MCP

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_for returns the download link itself, and reporting_read_rows reads 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:

ParameterRequiredTypeDescription
seat_id✓integerSeat ID (entity ID) to use for rights checking. Read teads://my-seats to pick a seat.
insights_category✓enum: audiences, technology, topics, websites, placementsTop-level category to filter the dimension tree down to.
type✓enum: ad, insertion, insertion-order-line, connection, custom-audience, segment, deviceKind 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✓objectSource body whose shape depends on type. Defined only in the playbook teads://knowledge/playbooks/audience-insights (read_knowledge) — read it before filling this.

Response:

FieldRequiredTypeDescription
results✓array of object OutputNodeTop-level result nodes (dimension categories and their children).

results[] (OutputNode):

FieldRequiredTypeDescription
name✓stringDimension category or segment name.
stats✓array of object InsightsStatStats for this node.
children✓array of object OutputNode (fields: see results[])Child nodes (recursive dimension tree).

results[].stats[] (InsightsStat):

FieldRequiredTypeDescription
confidence✓integer (int32)Confidence level: 0=Low, 1=Medium, 2=High.
indexnumber (double), nullableRelative 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:

ParameterRequiredTypeDescription
date_start✓stringStart date in YYYY-MM-DD format.
date_end✓stringEnd date in YYYY-MM-DD format.
countries✓array of stringTeads' 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 arrayGrouped keyword sets for the barometer analysis.
contextsarray of integer (int64)IAB context IDs to include.

Response:

FieldRequiredTypeDescription
main✓array of object MediaBarometerMainResultDaily trend data points.
audience✓array of object MediaBarometerAudienceResultAudience segment breakdown.
context✓array of object MediaBarometerContextResultIAB contextual relevance scores.

main[] (MediaBarometerMainResult):

FieldRequiredTypeDescription
day✓stringDate 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):

FieldRequiredTypeDescription
search✓integer (int32)Number of searches associated with this audience segment.
audience✓stringAudience 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):

FieldRequiredTypeDescription
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:

ParameterRequiredTypeDescription
date_start✓stringStart date in YYYY-MM-DD format.
date_end✓stringEnd date in YYYY-MM-DD format.
countries✓array of stringTeads' 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 arrayGrouped keyword sets for the barometer analysis.
contextsarray of integer (int64)IAB context IDs to include.

Response:

FieldRequiredTypeDescription
main✓stringMain job ID.
audience✓stringAudience job ID.
context✓stringContext 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:

ParameterRequiredTypeDescription
main✓stringMain job ID.
audience✓stringAudience job ID.
context✓stringContext job ID.

Response:

FieldRequiredTypeDescription
main✓object JobStatusStatus 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):

FieldRequiredTypeDescription
state✓stringJob 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:

ParameterRequiredTypeDescription
main✓stringMain job ID.
audience✓stringAudience job ID.
context✓stringContext job ID.

Response:

FieldRequiredTypeDescription
main✓array of object MediaBarometerMainResultDaily trend data points.
audience✓array of object MediaBarometerAudienceResultAudience segment breakdown.
context✓array of object MediaBarometerContextResultIAB contextual relevance scores.

main[] (MediaBarometerMainResult):

FieldRequiredTypeDescription
day✓stringDate 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):

FieldRequiredTypeDescription
search✓integer (int32)Number of searches associated with this audience segment.
audience✓stringAudience 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):

FieldRequiredTypeDescription
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:

ParameterRequiredTypeDescription
flightDuration✓integer (int32)Flight duration in days.
outstreamChannelobject PlanningReachChannel, nullableOutstream (web/mobile) channel planning parameters.
ctvInstreamChannelobject PlanningReachChannel, nullableCTV instream channel planning parameters.
ctvHomescreenChannelobject PlanningReachChannel, nullableCTV homescreen channel planning parameters.
linearTvnumber (double), nullableLinear TV reach percentage (0.0–1.0) for incremental reach comparison.
onTargetDemographicobject PlanningReachDemographic, nullableTarget demographic universe specification.

outstreamChannel, ctvInstreamChannel, ctvHomescreenChannel (PlanningReachChannel):

FieldRequiredTypeDescription
budgetAndBidding✓object PlanningReachBudgetAndBiddingBudget and CPM bidding configuration for this channel.
targeting✓object PlanningReachTargetingTargeting criteria for this channel.

budgetAndBidding (PlanningReachBudgetAndBidding):

FieldRequiredTypeDescription
budget✓number (double)Total budget allocated to this channel.
cpmBidPrice✓number (double)CPM bid price for this channel.

targeting (PlanningReachTargeting; every field is optional):

FieldRequiredTypeDescription
isCookielessCriteriaOnlyboolean, nullableWhether targeting applies only cookieless criteria. Defaults to false.
locationsobject PlanningReachFilterString, nullableGeographic filters. includes and excludes must contain Digital Elements location codes (e.g. 5#250), not ISO country codes such as FR.
genderAudienceinteger (uint64), nullableOne Teads gender audience ID (teads://taxonomy/audiences/{channel}).
ageAudiencesarray of integer (uint64)Teads age audience IDs (teads://taxonomy/audiences/{channel}).
demographicAudiencesAccuracyinteger (int32), nullableAccuracy of the age and gender audiences only. Numeric enum: 0 accuracy, 1 standard (default), 2 reach, 3 high accuracy.
standardAudiencesobject PlanningReachFilterU64, nullableTeads audience IDs (teads://taxonomy/audiences/{channel}).
narrowedStandardAudiencesarray of integer (uint64)Teads audience IDs the standard audiences are narrowed to.
teadsContextualsobject PlanningReachFilterU64, nullableTeads contextual IDs for web (teads://taxonomy/contextual/web).
ctvCustomContextsobject PlanningReachFilterU64, nullableTeads contextual IDs for CTV (teads://taxonomy/contextual/ctv).
customAudiencesarray of integer (uint64)Custom audience IDs (numbers).
firstPartyAudiencesobject PlanningReachFilterString, nullableFirst-party (advertiser data) audience IDs, as strings.
languagesobject PlanningReachFilterU64, nullableContent language IDs (teads://taxonomy/content-languages/{channel}).
retargetingPixelsobject PlanningReachFilterU64, nullableRetargeting pixel IDs.
remarketingSegmentsobject PlanningReachFilterU64, nullableRemarketing segment IDs.
lookalikeSegmentsobject PlanningReachFilterU64, nullableLookalike segment IDs.
crossDeviceAttributionboolean, nullableWhether cross-device attribution applies. Defaults to false.
brandSafetyobject PlanningReachBrandSafety, nullableBrand safety level (provider threshold) per provider (teads, integralAdScience, doubleVerify); send any subset.
brandSuitabilityIntegralAdScienceIdsarray of integer (uint64)IAS brand suitability category IDs.
brandSuitabilityDoubleVerifyIdsarray of integer (uint64)DoubleVerify brand suitability category IDs (teads://taxonomy/brand-suitability/double-verify).
websitesobject PlanningReachFilterU64, nullableWebsite (publisher) IDs, as numbers.
websiteCategoriesobject PlanningReachFilterString, nullableWebsite category codes (teads://taxonomy/website-categories).
websitesTierinteger (int32), nullableInventory tier. Numeric enum: 0 premier, 1 select, 2 reach.
deviceTypesobject PlanningReachFilterU64, nullableDevice type IDs (teads://taxonomy/device-types).
mobileDeviceCarrierobject PlanningReachFilterString, nullableMobile carrier names.
mobileDeviceModelobject PlanningReachFilterString, nullableMobile device model names.
mobileDeviceBrandobject PlanningReachFilterString, nullableMobile device brand names.
mobileDeviceCategoryobject PlanningReachFilterString, nullableMobile device category names.
mobileDeviceYearobject PlanningReachFilterString, nullableMobile device release years, as strings.
devicePlatformEnvironmentinteger (int32), nullablePlatform environment. Numeric enum: 0 app, 1 web.
deviceOperatingSystemsobject PlanningReachFilterString, nullableOperating system names (teads://taxonomy/operating-systems).
deviceBrowsersobject PlanningReachFilterString, nullableBrowser names (teads://taxonomy/browser-types).
deviceConnectionTypesobject PlanningReachFilterString, nullableConnection type names (teads://taxonomy/connection-types).
deviceInternetServiceProvidersobject PlanningReachFilterString, nullableInternet service provider names.
packsobject PlanningReachFilterU64, nullableInventory pack (list) IDs, as numbers.
appBundleIdsobject PlanningReachFilterString, nullableMobile app bundle IDs, as strings.
domainsobject PlanningReachFilterString, nullableWebsite domains, e.g. example-news.com.
formatPositionsarray of integer (uint64)Ad format position IDs (teads://taxonomy/format-positions).
formatSizesarray of integer (uint64)Ad format size IDs.
formatCreativeTypesarray of integer (uint64)Ad format creative type IDs.
deviceLanguagesobject PlanningReachFilterString, nullableDevice interface languages (teads://taxonomy/device-languages).
refinedTitleobject PlanningReachFilterString, nullableRefined title names, as strings.
normalizedTitleobject PlanningReachFilterString, nullableNormalized title names, as strings.
contextualLabelsobject PlanningReachFilterString, nullableContextual label names, as strings.

PlanningReachFilterU64 (include/exclude filter of numeric IDs):

FieldRequiredTypeDescription
includesarray of integer (uint64)IDs to target.
excludesarray of integer (uint64)IDs to exclude.

PlanningReachFilterString (include/exclude filter of strings):

FieldRequiredTypeDescription
includesarray of stringValues to target.
excludesarray of stringValues to exclude.

brandSafety (PlanningReachBrandSafety):

FieldRequiredTypeDescription
teadsinteger (uint32), nullableTeads brand safety level (provider threshold).
integralAdScienceinteger (uint32), nullableIntegral Ad Science (IAS) brand safety level (provider threshold).
doubleVerifyinteger (uint32), nullableDoubleVerify brand safety level (provider threshold).

onTargetDemographic (PlanningReachDemographic):

FieldRequiredTypeDescription
countryIsoCode✓stringISO 3166-1 alpha-2 country code (e.g. "FR", "US").
gender✓stringTarget gender (e.g. "all", "male", "female").
startAge✓stringLower bound age of demographic target (e.g. "18", "25").
endAge✓stringUpper bound age of demographic target (e.g. "49", "65+").

Response:

FieldRequiredTypeDescription
results✓array of object PlanningReachResultReach forecast, one item per evaluated country.

results[] (PlanningReachResult):

FieldRequiredTypeDescription
countryIsoCode✓stringISO country code.
base✓object PlanningReachBaseResultAggregate reach and performance metrics across all channels.
reachDistribution✓object PlanningReachDistributionVenn-diagram decomposition of reach by channel.
channelDetails✓object PlanningReachChannelDetailsPer-channel breakdown (outstream, CTV instream, CTV homescreen).

results[].base (PlanningReachBaseResult):

FieldRequiredTypeDescription
reach✓number (double)Combined reach rate (0–1).
incrementalReachnumber (double), nullableIncremental reach rate over linear TV (0–1). Present only when TV data is available.
costPerReachPoint✓number (double)Cost per reach point.
costPerIncrementalReachPointnumber (double), nullableCost per incremental reach point. Present only when TV data is available.
users✓integer (int64)Number of unique users reached.
incrementalUsersinteger (int64), nullableNumber of incrementally reached users. Present only when TV data is available.
frequency✓number (double)Average frequency (impressions / users).
impressions✓integer (int64)Total impressions delivered.
incrementalImpressionsinteger (int64), nullableTotal incremental impressions delivered over linear TV. Present only when TV data is available.
deliveredBudget✓number (double)Total delivered budget.

results[].reachDistribution (PlanningReachDistribution):

FieldRequiredTypeDescription
outstreamOnly✓number (double)Reach exclusive to outstream.
ctvInstreamOnly✓number (double)Reach exclusive to CTV instream.
ctvHomescreenOnly✓number (double)Reach exclusive to CTV homescreen.
linearTvOnlynumber (double), nullableReach 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.
outstreamIntersectLinearTvnumber (double), nullableReach shared between outstream and linear TV (if TV data available).
ctvInstreamIntersectLinearTvnumber (double), nullableReach shared between CTV instream and linear TV (if TV data available).
ctvHomescreenIntersectLinearTvnumber (double), nullableReach shared between CTV homescreen and linear TV (if TV data available).
allIntersectnumber (double), nullableReach common to all channels (if TV data available).

results[].channelDetails (PlanningReachChannelDetails):

FieldRequiredTypeDescription
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:

FieldRequiredTypeDescription
jobId✓stringJob 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:

ParameterRequiredTypeDescription
jobId✓stringJob ID to use for status and result polling.

Response:

FieldRequiredTypeDescription
status✓stringJob 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:

ParameterRequiredTypeDescription
jobId✓stringJob ID to use for status and result polling.

Response:

FieldRequiredTypeDescription
results✓array of object PlanningReachResultReach forecast, one item per evaluated country.

results[] (PlanningReachResult):

FieldRequiredTypeDescription
countryIsoCode✓stringISO country code.
base✓object PlanningReachBaseResultAggregate reach and performance metrics across all channels.
reachDistribution✓object PlanningReachDistributionVenn-diagram decomposition of reach by channel.
channelDetails✓object PlanningReachChannelDetailsPer-channel breakdown (outstream, CTV instream, CTV homescreen).

results[].base (PlanningReachBaseResult):

FieldRequiredTypeDescription
reach✓number (double)Combined reach rate (0–1).
incrementalReachnumber (double), nullableIncremental reach rate over linear TV (0–1). Present only when TV data is available.
costPerReachPoint✓number (double)Cost per reach point.
costPerIncrementalReachPointnumber (double), nullableCost per incremental reach point. Present only when TV data is available.
users✓integer (int64)Number of unique users reached.
incrementalUsersinteger (int64), nullableNumber of incrementally reached users. Present only when TV data is available.
frequency✓number (double)Average frequency (impressions / users).
impressions✓integer (int64)Total impressions delivered.
incrementalImpressionsinteger (int64), nullableTotal incremental impressions delivered over linear TV. Present only when TV data is available.
deliveredBudget✓number (double)Total delivered budget.

results[].reachDistribution (PlanningReachDistribution):

FieldRequiredTypeDescription
outstreamOnly✓number (double)Reach exclusive to outstream.
ctvInstreamOnly✓number (double)Reach exclusive to CTV instream.
ctvHomescreenOnly✓number (double)Reach exclusive to CTV homescreen.
linearTvOnlynumber (double), nullableReach 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.
outstreamIntersectLinearTvnumber (double), nullableReach shared between outstream and linear TV (if TV data available).
ctvInstreamIntersectLinearTvnumber (double), nullableReach shared between CTV instream and linear TV (if TV data available).
ctvHomescreenIntersectLinearTvnumber (double), nullableReach shared between CTV homescreen and linear TV (if TV data available).
allIntersectnumber (double), nullableReach common to all channels (if TV data available).

results[].channelDetails (PlanningReachChannelDetails):

FieldRequiredTypeDescription
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:

ParameterRequiredTypeDescription
targeting✓object PlanningInventoryTargetingRequired 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-inpauseInventory channel: outstream (web and mobile in-app), ctv-instream, ctv-homescreen, ctv-inplay, or ctv-inpause. If the user names no channel, use outstream.
withDataCostsboolean, nullableWhether to calculate 3rd-party data cost (CPM) in the estimation.
cookielessCriteriaOnlyboolean, nullableRestricts the estimation to cookieless criteria only.
cookielessInventoryOnlyboolean, nullableRestricts 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:

FieldRequiredTypeDescription
nielsenSegmentsobject PlanningReachFilterU64, nullableNielsen segment ID filter; IDs are taxonomy_search3p internal codes.
lotameSegmentsobject PlanningReachFilterU64, nullableLotame segment ID filter; IDs are taxonomy_search3p internal codes.
liverampSegmentsobject PlanningReachFilterU64, nullableLiveRamp segment ID filter; IDs are taxonomy_search3p internal codes.
audiencePartnerSegmentsobject PlanningReachFilterU64, nullableAudience Partner segment ID filter; IDs are taxonomy_search3p internal codes.
crossixSegmentsobject PlanningReachFilterU64, nullableCrossix segment ID filter; IDs are taxonomy_search3p internal codes. The planner maps Crossix to LiveRamp.
skpSegmentsobject PlanningReachFilterU64, nullableSKP segment ID filter; IDs are taxonomy_search3p internal codes.
retargetlySegmentsobject PlanningReachFilterU64, nullableRetargetly 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:

FieldRequiredTypeDescription
users✓object PlanningCountResultDaily Teads IDs (devices/browsers, not people).
cookielessUsersobject PlanningCountResult, nullableDaily cookieless Teads IDs (devices/browsers, not people).
impressions✓object PlanningCountResultDaily ad opportunities.
cookielessImpressionsobject PlanningCountResult, nullableDaily cookieless ad opportunities.
monthlyUsers✓object PlanningCountResultMonthly Teads IDs (devices/browsers, not people).
monthlyCookielessUsersobject PlanningCountResult, nullableMonthly cookieless Teads IDs (devices/browsers, not people).
monthlyImpressions✓object PlanningCountResultMonthly ad opportunities.
monthlyCookielessImpressionsobject PlanningCountResult, nullableMonthly cookieless ad opportunities.
dataCostnumber (double), nullableAverage data cost (CPM) for third-party segments, if requested.
breakdownsobject (map of string to any JSON value)Per-breakdown estimation results if breakdowns were requested.

users, impressions, monthlyUsers, monthlyImpressions and their cookieless variants (PlanningCountResult):

FieldRequiredTypeDescription
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:

FieldRequiredTypeDescription
jobId✓stringJob 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:

ParameterRequiredTypeDescription
jobId✓stringJob ID to use for status and result polling.

Response:

FieldRequiredTypeDescription
status✓stringJob 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:

ParameterRequiredTypeDescription
jobId✓stringJob ID to use for status and result polling.

Response:

FieldRequiredTypeDescription
users✓object PlanningCountResultDaily Teads IDs (devices/browsers, not people).
cookielessUsersobject PlanningCountResult, nullableDaily cookieless Teads IDs (devices/browsers, not people).
impressions✓object PlanningCountResultDaily ad opportunities.
cookielessImpressionsobject PlanningCountResult, nullableDaily cookieless ad opportunities.
monthlyUsers✓object PlanningCountResultMonthly Teads IDs (devices/browsers, not people).
monthlyCookielessUsersobject PlanningCountResult, nullableMonthly cookieless Teads IDs (devices/browsers, not people).
monthlyImpressions✓object PlanningCountResultMonthly ad opportunities.
monthlyCookielessImpressionsobject PlanningCountResult, nullableMonthly cookieless ad opportunities.
dataCostnumber (double), nullableAverage data cost (CPM) for third-party segments, if requested.
breakdownsobject (map of string to any JSON value)Per-breakdown estimation results if breakdowns were requested.

users, impressions, monthlyUsers, monthlyImpressions and their cookieless variants (PlanningCountResult):

FieldRequiredTypeDescription
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:

ParameterRequiredTypeDescription
name✓stringDisplay name for the custom audience (1-255 characters).
blocks✓array of object CustomAudienceBlockInputTargeting 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 stringISO 3166-1 alpha-2 country codes this audience targets (e.g. ["FR", "US"]).
channelenum CustomAudienceChannel: web, ctv, inapp, nullableInventory channel. Defaults to web.
excluded_blockobject CustomAudienceBlockInput (fields: see blocks[]), nullableOptional exclusion block containing at least one standard audience, contextual, or third-party segment ID from LiveRamp, Nielsen, Teads, SKP, Retargetly, or Lotame.
seat_idinteger (int64), nullableSeat ID (entity ID) to scope the audience to. If omitted, falls back to the seat from the session context.

blocks[] (CustomAudienceBlockInput):

FieldRequiredTypeDescription
audienceIdsarray of integer (int64)Teads standard audience IDs (teads://taxonomy/audiences/{web,ctv}).
contextualIdsarray of integer (int64)Teads contextual segment IDs (teads://taxonomy/contextual/{web,ctv}).
liverampIdsarray of integer (int64)LiveRamp segment internal codes (taxonomy_search3p, provider lr).
lotameIdsarray of integer (int64)Lotame segment internal codes (taxonomy_search3p, provider lotame).
namestring, nullableOptional label of the block.
nielsenIdsarray of integer (int64)Nielsen segment internal codes (taxonomy_search3p, provider nielsen).
retargetlyIdsarray of integer (int64)Retargetly segment internal codes (taxonomy_search3p, provider retargetly).
skpIdsarray of integer (int64)SKP segment internal codes (taxonomy_search3p, provider skp).
teadsSegmentsarray of integer (int64)Teads third-party segment internal codes, as returned by taxonomy_search3p.

Response:

FieldRequiredTypeDescription
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:

ParameterRequiredTypeDescription
dimensions✓array of stringDimension 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 stringMetric 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✓stringReport period start, ISO-8601 (e.g. "2024-01-01T00:00:00"). Must be on or after 2020-01-01.
date_end✓stringReport 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_filtersobject, nullableOptional 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}).
emailsarray of string, nullableOptional email addresses to notify when the report is ready.
formatenum ReportFormat: csv, csv.gz, xlsx, xlsx-v2, jsonv1, nullableOutput 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.
optionsobject ReportOptions, nullableOptional delivery and storage settings (webhook, S3 target, data destination).
template_idinteger (int64), nullableOptional template ID to associate with this report.
template_namestring, nullableOptional template name to associate with this report.
timezonestring, nullableIANA 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):

ParameterRequiredTypeDescription
callback_urlstring, nullableWebhook URL called when the report is ready.
id_data_destinationinteger (int64), nullableID of the data destination to deliver the report to.
s3_custom_file_namestring, nullableCustom file name for the report in S3 (without extension).
s3_target_bucket_namestring, nullableS3 bucket name for report delivery.
s3_target_directorystring, nullableCustom S3 key prefix for the report file.

Response:

FieldRequiredTypeDescription
report_id✓stringUnique report job ID — pass to reporting_wait_for to poll status.
status✓stringJob status: queued | processing | finished | failed.
submitted_at✓stringISO-8601 timestamp when the job was submitted.
next_action✓object NextActionOutputWhat to do next and the call that performs it. Follow it.
_meta✓enum ReportingMetaSource: reportingData source — mock (stub) or reporting (live API).
report_progressobject ReportProgress, nullablePolling progress snapshot, present while the job is running.

report_progress (ReportProgress):

FieldRequiredTypeDescription
stepMax✓integer (int32)Total number of processing steps.
progressinteger (int32), nullableCurrent progress value (0–progressMax).
progressMaxinteger (int32), nullableMaximum progress value (100 = complete).
stepinteger (int32), nullableCurrent step index.

next_action (NextActionOutput): What the LLM does next and the tool call that performs it.

FieldRequiredTypeDescription
instruction✓stringWhat to do, in words, with the arguments of the next call.
toolenum NextTool: reporting_wait_for, reporting_read_rows, nullableTool 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 range

Response:

{
  "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:

ParameterRequiredTypeDescription
dimensions✓array of stringDimension 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 stringMetric 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✓stringReport period start, ISO-8601 (e.g. "2024-01-01T00:00:00"). Must be on or after 2020-01-01.
date_end✓stringReport 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_filtersobject, nullableOptional 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}).
emailsarray of string, nullableOptional email addresses to notify when the report is ready.
formatenum ReportFormat: csv, csv.gz, xlsx, xlsx-v2, jsonv1, nullableOutput 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.
optionsobject ReportOptions, nullableOptional delivery and storage settings (webhook, S3 target, data destination).
template_idinteger (int64), nullableOptional template ID to associate with this report.
template_namestring, nullableOptional template name to associate with this report.
timezonestring, nullableIANA 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):

ParameterRequiredTypeDescription
callback_urlstring, nullableWebhook URL called when the report is ready.
id_data_destinationinteger (int64), nullableID of the data destination to deliver the report to.
s3_custom_file_namestring, nullableCustom file name for the report in S3 (without extension).
s3_target_bucket_namestring, nullableS3 bucket name for report delivery.
s3_target_directorystring, nullableCustom S3 key prefix for the report file.

Response:

FieldRequiredTypeDescription
type✓enum ReportStatusType: report_ready, report_in_progress, report_still_running, report_failed, status_check_failedWhat 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✓stringReport job ID.
user_facing_summary✓stringMessage 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: reportingData source — mock (stub) or reporting (live API).
report_progressobject ReportProgress, nullableLatest polling progress snapshot.
statusstring, nullableJob status: queued | processing | finished, or the failure status of a failed report. Absent when the status could not be checked.
uristring, nullableDownload URL for the completed report file. Present only when status is finished.

report_progress (ReportProgress):

FieldRequiredTypeDescription
stepMax✓integer (int32)Total number of processing steps.
progressinteger (int32), nullableCurrent progress value (0–progressMax).
progressMaxinteger (int32), nullableMaximum progress value (100 = complete).
stepinteger (int32), nullableCurrent 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:

ParameterRequiredTypeDescription
report_id✓stringReport ID returned by reporting_create.
emails_requestedbooleanSet 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:

FieldRequiredTypeDescription
type✓enum ReportStatusType: report_ready, report_in_progress, report_still_running, report_failed, status_check_failedWhat 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✓stringReport job ID.
user_facing_summary✓stringMessage 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: reportingData source — mock (stub) or reporting (live API).
report_progressobject ReportProgress, nullableLatest polling progress snapshot.
statusstring, nullableJob status: queued | processing | finished, or the failure status of a failed report. Absent when the status could not be checked.
uristring, nullableDownload URL for the completed report file. Present only when status is finished.

report_progress (ReportProgress):

FieldRequiredTypeDescription
stepMax✓integer (int32)Total number of processing steps.
progressinteger (int32), nullableCurrent progress value (0–progressMax).
progressMaxinteger (int32), nullableMaximum progress value (100 = complete).
stepinteger (int32), nullableCurrent 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:

FieldRequiredTypeDescription
reports✓any JSON valueArray of in-flight report job objects.
_meta✓enum ReportingMetaSource: reportingData 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:

ParameterRequiredTypeDescription
report_id✓stringReport ID of a finished report, as returned by reporting_create.
limitinteger (uint), nullable (minimum 0)Maximum number of rows to return, from 1 to 500. Defaults to 200.
offsetinteger (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:

FieldRequiredTypeDescription
report_id✓stringReport job ID.
columns✓array of stringColumn labels, from the header row of the report file.
rows✓array of arrayData 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: reportingData source — mock (stub) or reporting (live API).
next_offsetinteger (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:

ParameterRequiredTypeDescription
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✓stringStart date in YYYY-MM-DD format.
endDate✓stringEnd date in YYYY-MM-DD format.
country✓stringISO 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.
endAgeenum AgeMax: 24, 29, 34, 39, 44, 49, 54, 59, 64, 65+, nullableUpper 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.
genderenum Gender: male, female, nullableGender filter. Omit for all genders.
insertionIdinteger (int64), nullableInsertion order ID (optional filter).
startAgeenum AgeMin: 18, 21, 25, 30, 35, 40, 45, 50, 55, 65, nullableLower bound of the age range, as a string such as "25" (18, 21, 25, 30, 35, 40, 45, 50, 55, 65). Omit for 18.
tvExtendPercentagenumber (double), nullableLinear 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:

FieldRequiredTypeDescription
base✓object MeasurementCampaignReachDashboardBaseResultAggregate reach and performance metrics across all channels.
dailyReachAndBudgets✓array of object MeasurementCampaignReachDashboardDailyResultDaily reach and budget breakdown over the campaign flight.
reachDistribution✓object MeasurementCampaignReachDashboardDistributionVenn-diagram decomposition of reach by channel.
channelDetails✓object MeasurementCampaignReachDashboardChannelDetailsPer-channel breakdown (web/mobile, CTV, CTV native).

base (MeasurementCampaignReachDashboardBaseResult):

FieldRequiredTypeDescription
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).
costPerIncrementalReachPointnumber (double), nullableCost per incremental reach point. Present only when TV data is available.
incrementalReachnumber (double), nullableIncremental reach rate over linear TV (0–1). Present only when TV data is available.
incrementalUsersinteger (int64), nullableNumber of incrementally reached users. Present only when TV data is available.

dailyReachAndBudgets[] (MeasurementCampaignReachDashboardDailyResult):

FieldRequiredTypeDescription
day✓stringDate (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.
incrementalReachnumber (double), nullableIncremental reach for this day (if TV data available).
incrementalUsersinteger (int64), nullableIncremental users on this day (if TV data available).

reachDistribution (MeasurementCampaignReachDashboardDistribution):

FieldRequiredTypeDescription
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.
allIntersectnumber (double), nullableReach common to all channels (if TV data available).
ctvIntersectLinearTvnumber (double), nullableReach shared between CTV and linear TV (if TV data available).
ctvNativeIntersectLinearTvnumber (double), nullableReach shared between CTV native and linear TV (if TV data available).
linearTvOnlynumber (double), nullableReach exclusive to linear TV (if TV data available).
webAndMobileIntersectLinearTvnumber (double), nullableReach shared between web/mobile and linear TV (if TV data available).

channelDetails (MeasurementCampaignReachDashboardChannelDetails):

FieldRequiredTypeDescription
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:

ParameterRequiredTypeDescription
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✓stringStart date in YYYY-MM-DD format.
endDate✓stringEnd date in YYYY-MM-DD format.
country✓stringISO 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.
endAgeenum AgeMax: 24, 29, 34, 39, 44, 49, 54, 59, 64, 65+, nullableUpper 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.
genderenum Gender: male, female, nullableGender filter. Omit for all genders.
insertionIdinteger (int64), nullableInsertion order ID (optional filter).
startAgeenum AgeMin: 18, 21, 25, 30, 35, 40, 45, 50, 55, 65, nullableLower bound of the age range, as a string such as "25" (18, 21, 25, 30, 35, 40, 45, 50, 55, 65). Omit for 18.
tvExtendPercentagenumber (double), nullableLinear 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:

FieldRequiredTypeDescription
jobId✓stringJob 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:

ParameterRequiredTypeDescription
jobId✓stringJob ID to use for status and result polling.

Response:

FieldRequiredTypeDescription
status✓stringJob 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:

ParameterRequiredTypeDescription
jobId✓stringJob ID to use for status and result polling.

Response:

FieldRequiredTypeDescription
base✓object MeasurementCampaignReachDashboardBaseResultAggregate reach and performance metrics across all channels.
dailyReachAndBudgets✓array of object MeasurementCampaignReachDashboardDailyResultDaily reach and budget breakdown over the campaign flight.
reachDistribution✓object MeasurementCampaignReachDashboardDistributionVenn-diagram decomposition of reach by channel.
channelDetails✓object MeasurementCampaignReachDashboardChannelDetailsPer-channel breakdown (web/mobile, CTV, CTV native).

base (MeasurementCampaignReachDashboardBaseResult):

FieldRequiredTypeDescription
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).
costPerIncrementalReachPointnumber (double), nullableCost per incremental reach point. Present only when TV data is available.
incrementalReachnumber (double), nullableIncremental reach rate over linear TV (0–1). Present only when TV data is available.
incrementalUsersinteger (int64), nullableNumber of incrementally reached users. Present only when TV data is available.

dailyReachAndBudgets[] (MeasurementCampaignReachDashboardDailyResult):

FieldRequiredTypeDescription
day✓stringDate (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.
incrementalReachnumber (double), nullableIncremental reach for this day (if TV data available).
incrementalUsersinteger (int64), nullableIncremental users on this day (if TV data available).

reachDistribution (MeasurementCampaignReachDashboardDistribution):

FieldRequiredTypeDescription
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.
allIntersectnumber (double), nullableReach common to all channels (if TV data available).
ctvIntersectLinearTvnumber (double), nullableReach shared between CTV and linear TV (if TV data available).
ctvNativeIntersectLinearTvnumber (double), nullableReach shared between CTV native and linear TV (if TV data available).
linearTvOnlynumber (double), nullableReach exclusive to linear TV (if TV data available).
webAndMobileIntersectLinearTvnumber (double), nullableReach shared between web/mobile and linear TV (if TV data available).

channelDetails (MeasurementCampaignReachDashboardChannelDetails):

FieldRequiredTypeDescription
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:

FieldRequiredTypeDescription
seats✓array of object SeatSeats accessible to the authenticated profile.

seats[] (Seat):

FieldRequiredTypeDescription
id✓integer (int64)Unique numeric seat (ad account) ID. Pass to campaign_read or reporting_create.
name✓stringSeat display name.
account_type✓stringAccount 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:

ParameterRequiredTypeDescription
campaign_id✓integer (int64)Numeric campaign ID to look up.

Response schema description: Output envelope for get_campaign_seat.

Response:

FieldRequiredTypeDescription
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:

ParameterRequiredTypeDescription
campaign_id✓integer (int64)Numeric campaign ID to retrieve.
seat_idinteger (int64), nullableSeat 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:

FieldRequiredTypeDescription
campaign_id✓integer (int64)Unique numeric campaign ID.
campaign_name✓stringCampaign display name.
status✓stringCampaign status (e.g. ENABLED, DISABLED).
objective✓stringCampaign objective (e.g. BRANDING).
total_budget✓number (double)Total campaign budget in USD.
currency✓stringISO-4217 currency code.
timezone✓stringIANA timezone identifier.
is_managed✓booleanWhether 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 InsertionOrderLineDetailList of parent insertion order lines with detailed configuration.
line_items✓array of object LineItemDetailList of line items with detailed targeting and billing configuration.
creatives✓array of object CreativeDetailList of creatives with detailed format configuration.
advertiserobject CampaignAdvertiser, nullableAssociated advertiser details.

insertion_order_lines[] (InsertionOrderLineDetail):

FieldRequiredTypeDescription
id✓integer (int64)Unique numeric insertion order line ID.
name✓stringInsertion 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_typestring, nullableAuction type (e.g. FIXED, DYNAMIC).
billing_eventstring, nullableBilling event type (e.g., impression).
billing_modelstring, nullableBilling model (e.g., CPM, VCPM).
billing_model_ratenumber (double), nullableBilling model gross price rate.
booked_budgetnumber (double), nullableBooked budget in USD.
booked_volumeinteger (int64), nullableBooked volume of events.
creative_type_familystring, nullableCreative type family (e.g. VIDEO, DISPLAY).
is_guaranteedboolean, nullableWhether delivery is guaranteed.

line_items[] (LineItemDetail):

FieldRequiredTypeDescription
id✓integer (int64)Unique numeric line item ID.
name✓stringLine item display name.
status✓stringLine item status (e.g. ENABLED, DISABLED).
billing_model✓stringBilling model (e.g. CPM, VCPM, CPC, CPCV).
pricing_type✓stringPricing type (e.g. DYNAMIC, FIXED).
event_gross_rate✓stringPrice rate of the billing event as string.
start_mode✓stringPlay/start trigger mode (e.g. VIEW_TO_PLAY).
has_pixel✓booleanWhether pixel tracking is enabled.
is_guaranteed✓booleanWhether delivery is guaranteed.
advertising_solution_idstring, nullableOptimization goal (e.g. AWARENESS, TA_CLICKS, TA_VISITS).
billing_pricenumber (double), nullableNet billing price.
booked_budgetnumber (double), nullableBooked budget in USD.
booked_volumeinteger (int64), nullableBooked volume of events.
channel_typestring, nullableInventory channel type (e.g. WEB_AND_IN_APP, CONNECTED_TV).
dealobject LineItemDeal, nullablePrivate marketplace deal details.
flight_endstring (date), nullableLine item flight end date (UTC, ISO 8601).
flight_startstring (date), nullableLine item flight start date (UTC, ISO 8601).
insertion_order_line_idinteger (int64), nullableParent insertion order line ID.
min_marginnumber (double), nullableMinimum margin.
targetingobject UsersTargetingResult, nullableDetailed users targeting configuration.

creatives[] (CreativeDetail):

FieldRequiredTypeDescription
id✓integer (int64)Unique numeric creative ID.
name✓stringCreative display name.
status✓stringCreative status.
created_atstring (date), nullableCreation date (UTC, ISO 8601).
format_sizestring, nullableFormat dimension size (width x height).
format_typestring, nullableCreative format type (e.g. Outstream).
format_type_familystring, nullableCreative format family (e.g. Video, Banner).

advertiser (CampaignAdvertiser):

FieldRequiredTypeDescription
id✓integer (int64)Unique numeric advertiser ID.
name✓stringAdvertiser display name.

line_items[].deal (LineItemDeal):

FieldRequiredTypeDescription
deal_id✓integer (int64)Unique numeric deal ID.
deal_id_key✓stringDeal string key.
rate_cpm✓number (double)CPM rate for the deal.
currency✓stringISO-4217 currency code.
rate_type✓stringRate type (e.g. FIXED, DYNAMIC).

line_items[].targeting (UsersTargetingResult):

FieldRequiredTypeDescription
age_audiencesarray of integer (uint64) (minimum 0)Targeted age range segment identifiers.
app_bundle_idsobject TargetingFilterStr, nullableIncluded/excluded mobile app bundle IDs.
brand_safetyobject BrandSafetyResult, nullableBrand safety criteria configured via Teads, IAS, or DV.
brand_suitability_double_verify_idsarray of integer (uint64) (minimum 0)DoubleVerify (DV) brand suitability category IDs.
brand_suitability_integral_ad_science_idsarray of integer (uint64) (minimum 0)Integral Ad Science (IAS) brand suitability category IDs.
cross_device_attributionboolean, nullableWhether cross-device attribution is enabled for targeting.
ctv_custom_contextsobject TargetingFilterLong, nullableTargeted Connected TV (CTV) custom contextual segment identifiers.
custom_audiencesarray of integer (uint64) (minimum 0)First-party or custom-built audience segment identifiers.
demographic_audiences_accuracystring, nullableDemographic audience targeting accuracy.
device_browsersobject TargetingFilterStr (fields: see line_items[].targeting.app_bundle_ids), nullableTargeted web browsers.
device_connection_typesobject TargetingFilterStr (fields: see line_items[].targeting.app_bundle_ids), nullableTargeted connection types.
device_internet_service_providersobject TargetingFilterStr (fields: see line_items[].targeting.app_bundle_ids), nullableTargeted ISP names.
device_languagesobject TargetingFilterStr (fields: see line_items[].targeting.app_bundle_ids), nullableTargeted device interface language identifiers.
device_operating_systemsobject TargetingFilterStr (fields: see line_items[].targeting.app_bundle_ids), nullableTargeted device operating systems.
device_platform_environmentstring, nullableTargeted platform environment (e.g., WEB, APP).
device_typesobject TargetingFilterLong (fields: see line_items[].targeting.ctv_custom_contexts), nullableTargeted device type identifiers.
domainsobject TargetingFilterStr (fields: see line_items[].targeting.app_bundle_ids), nullableIncluded/excluded website domains.
first_party_audiencesobject TargetingFilterStr (fields: see line_items[].targeting.app_bundle_ids), nullableString-based first-party audience identifiers.
format_creative_typesarray of integer (uint64) (minimum 0)Targeted ad creative types.
format_positionsarray of integer (uint64) (minimum 0)Targeted ad placement format positions.
format_sizesarray of integer (uint64) (minimum 0)Targeted ad format sizes.
gender_audienceinteger (uint64), nullable (minimum 0)Targeted gender identifier.
is_cookieless_criteria_onlyboolean, nullableWhether targeting is restricted to cookieless criteria only.
language_codesobject TargetingFilterStr (fields: see line_items[].targeting.app_bundle_ids), nullableTargeted language codes for web & in-app campaigns (Grapeshot string codes).
languagesobject TargetingFilterLong (fields: see line_items[].targeting.ctv_custom_contexts), nullableTargeted language segment identifiers (CTV/Comscore numeric IDs).
locationsobject TargetingFilterStr (fields: see line_items[].targeting.app_bundle_ids), nullableGeographic location filters (DMA names, country codes, or region codes).
lookalike_segmentsobject TargetingFilterLong (fields: see line_items[].targeting.ctv_custom_contexts), nullableLookalike/similar audience segment identifiers.
mobile_device_brandobject TargetingFilterStr (fields: see line_items[].targeting.app_bundle_ids), nullableTargeted mobile device manufacturers.
mobile_device_carrierobject TargetingFilterStr (fields: see line_items[].targeting.app_bundle_ids), nullableTargeted mobile network carriers.
mobile_device_categoryobject TargetingFilterStr (fields: see line_items[].targeting.app_bundle_ids), nullableTargeted mobile device categories.
mobile_device_modelobject TargetingFilterStr (fields: see line_items[].targeting.app_bundle_ids), nullableTargeted mobile device models.
mobile_device_yearobject TargetingFilterStr (fields: see line_items[].targeting.app_bundle_ids), nullableTargeted mobile device release years.
narrowed_standard_audiencesarray of integer (uint64) (minimum 0)Audience segment IDs used for narrowing/intersecting standard targeting.
packsobject TargetingFilterLong (fields: see line_items[].targeting.ctv_custom_contexts), nullablePre-packaged inventory group identifiers.
remarketing_segmentsobject TargetingFilterLong (fields: see line_items[].targeting.ctv_custom_contexts), nullableRemarketing audience segment identifiers.
retargeting_pixelsobject TargetingFilterLong (fields: see line_items[].targeting.ctv_custom_contexts), nullableRetargeting tracking pixel identifiers.
standard_audiencesobject TargetingFilterLong (fields: see line_items[].targeting.ctv_custom_contexts), nullableIncluded/excluded pre-packaged standard audience segments.
teads_contextualsobject TargetingFilterLong (fields: see line_items[].targeting.ctv_custom_contexts), nullableTargeted Teads Contextual taxonomy segment identifiers.
website_categoriesobject TargetingFilterStr (fields: see line_items[].targeting.app_bundle_ids), nullableTargeted website content categories.
websitesobject TargetingFilterLong (fields: see line_items[].targeting.ctv_custom_contexts), nullableTargeted website publisher identifiers.
websites_tierstring, nullableTargeted website inventory tiers.

line_items[].targeting.app_bundle_ids (TargetingFilterStr):

FieldRequiredTypeDescription
excludesarray of stringList of string identifiers to exclude from the targeting.
includesarray of stringList of string identifiers to include in the targeting.

line_items[].targeting.brand_safety (BrandSafetyResult):

FieldRequiredTypeDescription
providerone of BrandSafetyProvider, nullableActive 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.

KeyTypeDescription
teadsinteger (uint32) (minimum 0)Teads brand safety level (provider threshold).
integral_ad_scienceinteger (uint32) (minimum 0)Integral Ad Science (IAS) brand safety level (provider threshold).
double_verifyinteger (uint32) (minimum 0)DoubleVerify brand safety level (provider threshold).

line_items[].targeting.ctv_custom_contexts (TargetingFilterLong):

FieldRequiredTypeDescription
excludesarray of integer (int64)List of numeric IDs to exclude from the targeting.
includesarray of integer (int64)List of numeric IDs to include in the targeting.

Notes:

  • Read-only: campaign_read never 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 read teads://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 with list_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:

ParameterRequiredTypeDescription
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_ctvThe taxonomy to retrieve. Each value maps to a specific catalog of targeting IDs usable in campaign targeting.

taxonomy_name values:

ValueDescription
device_typesDevice type IDs (0=Desktop, 1=Smartphone, 2=Tablet, 3=SmartTV/CTV). No seat_id needed.
audiences_webStandard audience segment catalog (web channel). No seat_id needed.
audiences_ctvStandard audience segment catalog (CTV channel). No seat_id needed.
contextual_webTeads contextual segment catalog (web channel). No seat_id needed.
contextual_ctvTeads CTV contextual/genre segment catalog. No seat_id needed.
platform_environmentTargeted platform environment values (web/app). No seat_id needed.
channel_typeInventory channel type values. No seat_id needed.
website_tiersWebsite tier values. No seat_id needed.
ad_positionsAd placement position values. No seat_id needed.
target_positionsLine item target position values. No seat_id needed.
brand_safety_providersBrand safety provider names. No seat_id needed.
viewability_measurementViewability measurement settings and primary provider. No seat_id needed.
device_languagesDevice language codes.
website_categoriesIAB website category catalog.
brand_suitability_double_verifyDoubleVerify brand suitability segment catalog.
format_positionsActive ad format position catalog.
operating_systemsDistinct targetable operating system families.
browser_typesTargetable browser types.
connection_typesTargetable connection type values.
content_languages_webContent language catalog (web channel).
content_languages_ctvContent 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 fieldUse taxonomy_name
device_typesdevice_types
standard_audiences, gender_audience, age_audiencesaudiences_web or audiences_ctv depending on channel
teads_contextuals, ctv_custom_contextscontextual_web or contextual_ctv depending on channel
device_platform_environmentplatform_environment
channel_typechannel_type
device_languagesdevice_languages
device_operating_systemsoperating_systems
device_browsersbrowser_types
device_connection_typesconnection_types
brand_suitability_double_verify_idsbrand_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:

ParameterRequiredTypeDescription
query✓stringSearch phrase for third-party audience segments (1–512 non-whitespace characters).
result_countinteger (uint32), nullable (minimum 0)Maximum results to return (1–50; upstream defaults to 20 when omitted).

Response:

FieldRequiredTypeDescription
segments✓array of object ThirdPartySegmentProvider segments returned in upstream order; candidates are not guaranteed relevant matches and have no channel availability metadata.

segments[] (ThirdPartySegment):

FieldRequiredTypeDescription
provider✓stringData provider code.
internal_code✓integer (int64)Provider segment's internal code.
segment✓stringRaw segment name as stored by the provider; may include taxonomy text and inconsistent separators.
aliases✓array of stringOffline-generated search keywords that can explain a match; not authoritative provider descriptions.
categorystring, nullableSegment category, when supplied.
descriptionstring, nullableProvider segment description, when supplied.
rankingobject ThirdPartySegmentRanking, nullableOptional ranking signals relative to this request; not an absolute or cross-request relevance threshold.
sourcestring, nullableSegment data source, when supplied.

segments[].ranking (ThirdPartySegmentRanking):

FieldRequiredTypeDescription
bm25_scorenumber (double), nullableRequest-relative BM25 lexical score; optional and not a cross-request threshold.
llm_scorenumber (double), nullableOptional request-relative LLM relevance score; may be absent when reranking fails.
matched_bystring, nullableRetrieval method(s) that matched the segment, when available.
rrf_scorenumber (double), nullableRequest-relative reciprocal rank fusion score; optional and not a cross-request threshold.
semantic_distancenumber (double), nullableRequest-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:

ParameterRequiredTypeDescription
seat_id✓integer (int64)Seat ID (entity ID) to scope the search. Read teads://my-seats to pick a seat.
advertiser_idinteger (int64), nullableOptional advertiser ID to filter custom audiences.
channelenum CustomAudienceChannel: web, ctv, nullableInventory channel filter: 'web' or 'ctv' (defaults to 'web').
countriesarray of string, nullableOptional list of country ISO codes to filter custom audiences.
includes_cookielessboolean, nullableWhether to include cookieless custom audiences (defaults to false).
pageinteger (int32), nullableZero-based page index (0 or greater; defaults to 0 when omitted).
page_sizeinteger (int32), nullableMaximum results per page (1–100; defaults to 50 when omitted).
searchstring, nullableOptional search query to filter custom audiences by name (1–512 non-whitespace characters).

Response:

FieldRequiredTypeDescription
custom_audiences✓array of object CustomAudienceMatching 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):

FieldRequiredTypeDescription
id✓integer (int64)Custom audience (persona) unique identifier.
name✓stringCustom audience display name.
status✓stringCustom audience status: ENABLED, DISABLED, DELETED, or TO_TRANSLATE.
countries✓array of stringTargetable country ISO codes.
cookieless_custom_audiences✓array of object CookielessCustomAudienceCookieless custom audience translations, when present.
advertiser_idinteger (int64), nullableAssociated advertiser ID, when available.
channelstring, nullableAudience channel: 'web' or 'ctv'.
created_atstring, nullableCreation timestamp (UTC, ISO 8601), when available.
is_cookielessboolean, nullableWhether this is a cookieless custom audience.
updated_atstring, nullableLast update timestamp (UTC, ISO 8601), when available.

custom_audiences[].cookieless_custom_audiences[] (CookielessCustomAudience):

FieldRequiredTypeDescription
id✓integer (int64)Cookieless custom audience unique identifier.
name✓stringCookieless custom audience name.
status✓stringCookieless custom audience status.
countries✓array of stringCountry 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:

ParameterRequiredTypeDescription
query✓stringGeographic 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✓stringISO 3166-1 alpha-2 country code the search is limited to (e.g. 'FR', 'US', 'GB'). Exactly 2 letters.
verification_modeenum GeoVerificationMode: api_required, caller_managed, nullableOptional verification mode: 'api_required' (default; filters semantic candidates via verifier) or 'caller_managed' (returns unverified semantic candidates for caller validation).

Response:

FieldRequiredTypeDescription
entities✓array of object GeoEntityMatching geographic entities returned in order.
plan✓object GeoPlanInterpretation plan showing how the query intent was resolved.
truncated✓booleanTrue when more entities matched than the response carries (capped at 5,000).

entities[] (GeoEntity):

FieldRequiredTypeDescription
de_code✓stringDigital Elements targeting code, or z:<zone id> for a Teads targeting zone.
level✓stringGeographic hierarchy level: country, region, metro, zone, city, or postal_code.
name✓stringDisplay name of the entity.
hierarchy_path✓stringName followed by parent geographies, e.g. 'lyon, auvergne-rhone-alpes, france'.
aliases✓array of stringOffline-generated keywords useful to explain a match.
matched_branches✓array of stringSatisfied group match branches, e.g. 'lexical', 'semantic', 'spatial', 'postal code'.
anchorstring, nullableName of the nearest spatial anchor.
distance_kmnumber (double), nullableDistance in kilometers to the nearest spatial anchor.
latitudenumber (double), nullableLatitude point for city/postal code when available.
longitudenumber (double), nullableLongitude point for city/postal code when available.
populationinteger (int64), nullableCity population when known.
semantic_distancenumber (double), nullableCosine distance between semantic branch query and entity (lower is closer).

plan (GeoPlan):

FieldRequiredTypeDescription
lexical_branches✓array of object GeoLexicalBranchLexical search branches.
semantic_branches✓array of object GeoSemanticBranchSemantic search branches.
spatial_branches✓array of object GeoSpatialBranchSpatial proximity branches.
planned✓booleanWhether planning succeeded.
semantic_checked✓booleanWhether semantic verifier executed successfully.
groups✓array of object GeoPlanGroupAlternative groups of intersected branch constraints.
notestring, nullablePlanner explanation or degraded-mode explanation when planned is false.

plan.lexical_branches[] (GeoLexicalBranch):

FieldRequiredTypeDescription
terms✓array of stringPlace names and terms.
levels✓array of stringTarget hierarchy levels for this branch.

plan.semantic_branches[] (GeoSemanticBranch):

FieldRequiredTypeDescription
query✓stringDescription of areas sought.
levels✓array of stringTarget hierarchy levels for this branch.

plan.spatial_branches[] (GeoSpatialBranch):

FieldRequiredTypeDescription
anchors✓array of object GeoAnchorAnchor locations.
radius_km✓number (double)Radius around anchors in kilometers.

plan.spatial_branches[].anchors[] (GeoAnchor):

FieldRequiredTypeDescription
name✓stringAnchor name.
de_codestring, nullableResolved Digital Elements code if matched.
latitudenumber (double), nullableLatitude of anchor.
longitudenumber (double), nullableLongitude of anchor.

plan.groups[] (GeoPlanGroup):

FieldRequiredTypeDescription
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:

ParameterRequiredTypeDescription
concept✓stringKnowledge 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.