Privacyvoorkeuren

Noodzakelijke functies

Vereist voor beveiliging en de basisfuncties van de website.

Altijd actief

Landing-diagnostiek en gemaskeerde replay

Meet openbare bezoeken, afhaken en interacties met registratielinks met een anonieme ID die alleen voor dit tabblad geldt, zonder accountkoppeling. Alle tekst wordt gemaskeerd en formulieren worden geblokkeerd.

Optionele gebruiksanalyse

PostHog-gebruiksanalyse toestaan? Je kunt je keuze altijd in de voettekst wijzigen.

Ook sessiereplay op deze openbare website toestaan

Replay in de optionele modus voor meerdere sites toont openbare pagina’s en interacties, waarbij invoer en privé-inhoud worden gemaskeerd. App-replay is een afzonderlijke keuze.

Vereist optionele analyse; replay in deze modus voor meerdere sites staat standaard uit. De Landing-modus hierboven werkt apart.

Browseranalyses schakelen accountanalyses niet in.

Zoeken wordt pas geladen wanneer je het gebruikt. Bekijk hieronder alle categorieën.

MCP-tool

Advertentie-inzichten opvragen

sosoapi_ads_insights_query

Haal begrensde officiële resultaten van betaalde advertenties op met expliciete datums, tijdzone, valuta, attributievenster en conversieactie. Ontbrekende statistieken blijven ontbreken.

Lezen als Markdown

Profielen en transporten

Profielen: full · Transporten: stdio, http

Kies core of full om te bepalen welke tools je client ziet; dit verandert geen machtigingen. Lokale bestandsupload vereist stdio en is niet beschikbaar via HTTP. Stel SOSOAPI_OUTPUT_SCHEMAS=1 in om uitvoerschema's bij detectie op te nemen. Tools geven met en zonder die instelling gestructureerde resultaten terug.

Machtigingen en neveneffecten

Annotaties helpen clients een tool te beschrijven. Elke aanroep controleert nog steeds gebruikersauthenticatie, rol, resourcetoegang en verleende bevoegdheden.

{
  "readOnlyHint": true,
  "destructiveHint": false,
  "idempotentHint": true,
  "openWorldHint": true
}

Invoervelden

Verplicht betekent verplicht binnen het bovenliggende object en de gekozen variant. Een verplicht onderliggend veld maakt een optioneel bovenliggend object niet verplicht. Onderstaande regels en veldnamen zijn uit het contract gekopieerd.

Invoervelden
Veld / variantType / verplichtBeperkingen
$objectVerplicht in bovenliggend object
  • additionalProperties: false
workspace_idstringVerplicht in bovenliggend object
  • format: "uuid"
advertising_account_idstringVerplicht in bovenliggend object
  • format: "uuid"
levelstringVerplicht in bovenliggend object
  • enum: ["campaign","adset","ad"]
start_datestringVerplicht in bovenliggend object
  • pattern: "^\\d{4}-\\d{2}-\\d{2}$"
end_datestringVerplicht in bovenliggend object
  • pattern: "^\\d{4}-\\d{2}-\\d{2}$"
action_attribution_windowsarrayVerplicht in bovenliggend object
  • minItems: 1
  • maxItems: 1
action_attribution_windows[]stringOptioneel / item
  • enum: ["1d_click","7d_click","1d_view"]
action_report_timestringVerplicht in bovenliggend object
  • enum: ["impression","conversion"]
conversion_action_typestringVerplicht in bovenliggend object
  • pattern: "^[a-z][a-z0-9_.]{0,99}$"
revenue_action_typestringVerplicht in bovenliggend object
  • pattern: "^[a-z][a-z0-9_.]{0,99}$"
afterstringOptioneel / item
  • maxLength: 2048
limitintegerOptioneel / item
  • minimum: 1
  • maximum: 50
Volledig JSON Schema
{
  "type": "object",
  "properties": {
    "workspace_id": {
      "type": "string",
      "format": "uuid"
    },
    "advertising_account_id": {
      "type": "string",
      "format": "uuid"
    },
    "level": {
      "type": "string",
      "enum": [
        "campaign",
        "adset",
        "ad"
      ]
    },
    "start_date": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
    },
    "end_date": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
    },
    "action_attribution_windows": {
      "minItems": 1,
      "maxItems": 1,
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "1d_click",
          "7d_click",
          "1d_view"
        ]
      }
    },
    "action_report_time": {
      "type": "string",
      "enum": [
        "impression",
        "conversion"
      ]
    },
    "conversion_action_type": {
      "type": "string",
      "pattern": "^[a-z][a-z0-9_.]{0,99}$"
    },
    "revenue_action_type": {
      "type": "string",
      "pattern": "^[a-z][a-z0-9_.]{0,99}$"
    },
    "after": {
      "type": "string",
      "maxLength": 2048
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 50
    }
  },
  "required": [
    "workspace_id",
    "advertising_account_id",
    "level",
    "start_date",
    "end_date",
    "action_attribution_windows",
    "action_report_time",
    "conversion_action_type",
    "revenue_action_type"
  ],
  "additionalProperties": false
}

Gestructureerde uitvoer

Dit schema beschrijft structuredContent in een geslaagd toolresultaat. Het MCP-antwoord bevat ook content en kan isError instellen wanneer een aanroep mislukt. Lees bij publiceren het definitieve berichtresultaat; beschouw een geaccepteerd verzoek of tekstantwoord niet als bevestiging. De gekoppelde API-bewerking beschrijft machtigingen en regels voor opnieuw proberen.

Verplicht betekent verplicht binnen het bovenliggende object en de gekozen variant. Een verplicht onderliggend veld maakt een optioneel bovenliggend object niet verplicht. Onderstaande regels en veldnamen zijn uit het contract gekopieerd.

Gestructureerde uitvoer
Veld / variantType / verplichtBeperkingen
$objectVerplicht in bovenliggend object
  • additionalProperties: false
contract_versionstringVerplicht in bovenliggend object
  • const: "ad-performance/v1"
source_idstringVerplicht in bovenliggend object
  • maxLength: 100
source_sha256stringVerplicht in bovenliggend object
  • pattern: "^[a-f0-9]{64}$"
identity_verificationstringVerplicht in bovenliggend object
  • enum: ["customer_supplied","accepted_provider_grant"]
currencystringVerplicht in bovenliggend object
  • pattern: "^[A-Z]{3}$"
timezonestringVerplicht in bovenliggend object
  • maxLength: 100
selectionobjectVerplicht in bovenliggend object
  • additionalProperties: false
selection.provider_api_versionstringVerplicht in bovenliggend object
  • const: "v26.0"
selection.provider_account_idstringVerplicht in bovenliggend object
  • pattern: "^[1-9]\\d{1,24}$"
selection.currencystringVerplicht in bovenliggend object
  • pattern: "^[A-Z]{3}$"
selection.timezonestringVerplicht in bovenliggend object
  • maxLength: 100
selection.levelstringVerplicht in bovenliggend object
  • enum: ["campaign","adset","ad"]
selection.start_datestringVerplicht in bovenliggend object
  • pattern: "^\\d{4}-\\d{2}-\\d{2}$"
selection.end_datestringVerplicht in bovenliggend object
  • pattern: "^\\d{4}-\\d{2}-\\d{2}$"
selection.action_attribution_windowsarrayVerplicht in bovenliggend object
  • minItems: 1
  • maxItems: 1
selection.action_attribution_windows[]stringOptioneel / item
  • enum: ["1d_click","7d_click","1d_view"]
selection.action_report_timestringVerplicht in bovenliggend object
  • enum: ["impression","conversion"]
selection.conversion_action_typestringVerplicht in bovenliggend object
  • maxLength: 100
selection.revenue_action_typestringVerplicht in bovenliggend object
  • maxLength: 100
completebooleanVerplicht in bovenliggend object—
rowsarrayVerplicht in bovenliggend object
  • maxItems: 500
rows[]objectOptioneel / item
  • additionalProperties: false
rows[].row_idstringVerplicht in bovenliggend object
  • maxLength: 100
rows[].metricsobjectVerplicht in bovenliggend object
  • additionalProperties: false
rows[].metrics.spendobjectVerplicht in bovenliggend object
  • additionalProperties: false
rows[].metrics.spend.valuestring | nullVerplicht in bovenliggend object—
rows[].metrics.spend.valueanyOf 1stringVerplicht in bovenliggend object
  • pattern: "^\\d{1,24}(?:\\.\\d{1,6})?$"
rows[].metrics.spend.valueanyOf 2nullVerplicht in bovenliggend object—
rows[].metrics.spend.unitstringVerplicht in bovenliggend object
  • enum: ["currency","count","currency_per_click","currency_per_conversion","ratio"]
rows[].metrics.spend.availabilitystringVerplicht in bovenliggend object
  • enum: ["available","missing_input","zero_denominator","incompatible","partial"]
rows[].metrics.spend.reasonstring | nullVerplicht in bovenliggend object—
rows[].metrics.spend.reasonanyOf 1stringVerplicht in bovenliggend object
  • maxLength: 300
rows[].metrics.spend.reasonanyOf 2nullVerplicht in bovenliggend object—
rows[].metrics.spend.input_refsarrayVerplicht in bovenliggend object
  • maxItems: 2000
rows[].metrics.spend.input_refs[]stringOptioneel / item
  • maxLength: 300
rows[].metrics.clicksobjectVerplicht in bovenliggend object
  • additionalProperties: false
rows[].metrics.clicks.valuestring | nullVerplicht in bovenliggend object—
rows[].metrics.clicks.valueanyOf 1stringVerplicht in bovenliggend object
  • pattern: "^\\d{1,24}(?:\\.\\d{1,6})?$"
rows[].metrics.clicks.valueanyOf 2nullVerplicht in bovenliggend object—
rows[].metrics.clicks.unitstringVerplicht in bovenliggend object
  • enum: ["currency","count","currency_per_click","currency_per_conversion","ratio"]
rows[].metrics.clicks.availabilitystringVerplicht in bovenliggend object
  • enum: ["available","missing_input","zero_denominator","incompatible","partial"]
rows[].metrics.clicks.reasonstring | nullVerplicht in bovenliggend object—
rows[].metrics.clicks.reasonanyOf 1stringVerplicht in bovenliggend object
  • maxLength: 300
rows[].metrics.clicks.reasonanyOf 2nullVerplicht in bovenliggend object—
rows[].metrics.clicks.input_refsarrayVerplicht in bovenliggend object
  • maxItems: 2000
rows[].metrics.clicks.input_refs[]stringOptioneel / item
  • maxLength: 300
rows[].metrics.conversionsobjectVerplicht in bovenliggend object
  • additionalProperties: false
rows[].metrics.conversions.valuestring | nullVerplicht in bovenliggend object—
rows[].metrics.conversions.valueanyOf 1stringVerplicht in bovenliggend object
  • pattern: "^\\d{1,24}(?:\\.\\d{1,6})?$"
rows[].metrics.conversions.valueanyOf 2nullVerplicht in bovenliggend object—
rows[].metrics.conversions.unitstringVerplicht in bovenliggend object
  • enum: ["currency","count","currency_per_click","currency_per_conversion","ratio"]
rows[].metrics.conversions.availabilitystringVerplicht in bovenliggend object
  • enum: ["available","missing_input","zero_denominator","incompatible","partial"]
rows[].metrics.conversions.reasonstring | nullVerplicht in bovenliggend object—
rows[].metrics.conversions.reasonanyOf 1stringVerplicht in bovenliggend object
  • maxLength: 300
rows[].metrics.conversions.reasonanyOf 2nullVerplicht in bovenliggend object—
rows[].metrics.conversions.input_refsarrayVerplicht in bovenliggend object
  • maxItems: 2000
rows[].metrics.conversions.input_refs[]stringOptioneel / item
  • maxLength: 300
rows[].metrics.attributed_revenueobjectVerplicht in bovenliggend object
  • additionalProperties: false
rows[].metrics.attributed_revenue.valuestring | nullVerplicht in bovenliggend object—
rows[].metrics.attributed_revenue.valueanyOf 1stringVerplicht in bovenliggend object
  • pattern: "^\\d{1,24}(?:\\.\\d{1,6})?$"
rows[].metrics.attributed_revenue.valueanyOf 2nullVerplicht in bovenliggend object—
rows[].metrics.attributed_revenue.unitstringVerplicht in bovenliggend object
  • enum: ["currency","count","currency_per_click","currency_per_conversion","ratio"]
rows[].metrics.attributed_revenue.availabilitystringVerplicht in bovenliggend object
  • enum: ["available","missing_input","zero_denominator","incompatible","partial"]
rows[].metrics.attributed_revenue.reasonstring | nullVerplicht in bovenliggend object—
rows[].metrics.attributed_revenue.reasonanyOf 1stringVerplicht in bovenliggend object
  • maxLength: 300
rows[].metrics.attributed_revenue.reasonanyOf 2nullVerplicht in bovenliggend object—
rows[].metrics.attributed_revenue.input_refsarrayVerplicht in bovenliggend object
  • maxItems: 2000
rows[].metrics.attributed_revenue.input_refs[]stringOptioneel / item
  • maxLength: 300
rows[].metrics.cpcobjectVerplicht in bovenliggend object
  • additionalProperties: false
rows[].metrics.cpc.valuestring | nullVerplicht in bovenliggend object—
rows[].metrics.cpc.valueanyOf 1stringVerplicht in bovenliggend object
  • pattern: "^\\d{1,24}(?:\\.\\d{1,6})?$"
rows[].metrics.cpc.valueanyOf 2nullVerplicht in bovenliggend object—
rows[].metrics.cpc.unitstringVerplicht in bovenliggend object
  • enum: ["currency","count","currency_per_click","currency_per_conversion","ratio"]
rows[].metrics.cpc.availabilitystringVerplicht in bovenliggend object
  • enum: ["available","missing_input","zero_denominator","incompatible","partial"]
rows[].metrics.cpc.reasonstring | nullVerplicht in bovenliggend object—
rows[].metrics.cpc.reasonanyOf 1stringVerplicht in bovenliggend object
  • maxLength: 300
rows[].metrics.cpc.reasonanyOf 2nullVerplicht in bovenliggend object—
rows[].metrics.cpc.input_refsarrayVerplicht in bovenliggend object
  • maxItems: 2000
rows[].metrics.cpc.input_refs[]stringOptioneel / item
  • maxLength: 300
rows[].metrics.cpaobjectVerplicht in bovenliggend object
  • additionalProperties: false
rows[].metrics.cpa.valuestring | nullVerplicht in bovenliggend object—
rows[].metrics.cpa.valueanyOf 1stringVerplicht in bovenliggend object
  • pattern: "^\\d{1,24}(?:\\.\\d{1,6})?$"
rows[].metrics.cpa.valueanyOf 2nullVerplicht in bovenliggend object—
rows[].metrics.cpa.unitstringVerplicht in bovenliggend object
  • enum: ["currency","count","currency_per_click","currency_per_conversion","ratio"]
rows[].metrics.cpa.availabilitystringVerplicht in bovenliggend object
  • enum: ["available","missing_input","zero_denominator","incompatible","partial"]
rows[].metrics.cpa.reasonstring | nullVerplicht in bovenliggend object—
rows[].metrics.cpa.reasonanyOf 1stringVerplicht in bovenliggend object
  • maxLength: 300
rows[].metrics.cpa.reasonanyOf 2nullVerplicht in bovenliggend object—
rows[].metrics.cpa.input_refsarrayVerplicht in bovenliggend object
  • maxItems: 2000
rows[].metrics.cpa.input_refs[]stringOptioneel / item
  • maxLength: 300
rows[].metrics.attributed_roasobjectVerplicht in bovenliggend object
  • additionalProperties: false
rows[].metrics.attributed_roas.valuestring | nullVerplicht in bovenliggend object—
rows[].metrics.attributed_roas.valueanyOf 1stringVerplicht in bovenliggend object
  • pattern: "^\\d{1,24}(?:\\.\\d{1,6})?$"
rows[].metrics.attributed_roas.valueanyOf 2nullVerplicht in bovenliggend object—
rows[].metrics.attributed_roas.unitstringVerplicht in bovenliggend object
  • enum: ["currency","count","currency_per_click","currency_per_conversion","ratio"]
rows[].metrics.attributed_roas.availabilitystringVerplicht in bovenliggend object
  • enum: ["available","missing_input","zero_denominator","incompatible","partial"]
rows[].metrics.attributed_roas.reasonstring | nullVerplicht in bovenliggend object—
rows[].metrics.attributed_roas.reasonanyOf 1stringVerplicht in bovenliggend object
  • maxLength: 300
rows[].metrics.attributed_roas.reasonanyOf 2nullVerplicht in bovenliggend object—
rows[].metrics.attributed_roas.input_refsarrayVerplicht in bovenliggend object
  • maxItems: 2000
rows[].metrics.attributed_roas.input_refs[]stringOptioneel / item
  • maxLength: 300
totalsobjectVerplicht in bovenliggend object
  • additionalProperties: false
totals.spendobjectVerplicht in bovenliggend object
  • additionalProperties: false
totals.spend.valuestring | nullVerplicht in bovenliggend object—
totals.spend.valueanyOf 1stringVerplicht in bovenliggend object
  • pattern: "^\\d{1,24}(?:\\.\\d{1,6})?$"
totals.spend.valueanyOf 2nullVerplicht in bovenliggend object—
totals.spend.unitstringVerplicht in bovenliggend object
  • enum: ["currency","count","currency_per_click","currency_per_conversion","ratio"]
totals.spend.availabilitystringVerplicht in bovenliggend object
  • enum: ["available","missing_input","zero_denominator","incompatible","partial"]
totals.spend.reasonstring | nullVerplicht in bovenliggend object—
totals.spend.reasonanyOf 1stringVerplicht in bovenliggend object
  • maxLength: 300
totals.spend.reasonanyOf 2nullVerplicht in bovenliggend object—
totals.spend.input_refsarrayVerplicht in bovenliggend object
  • maxItems: 2000
totals.spend.input_refs[]stringOptioneel / item
  • maxLength: 300
totals.clicksobjectVerplicht in bovenliggend object
  • additionalProperties: false
totals.clicks.valuestring | nullVerplicht in bovenliggend object—
totals.clicks.valueanyOf 1stringVerplicht in bovenliggend object
  • pattern: "^\\d{1,24}(?:\\.\\d{1,6})?$"
totals.clicks.valueanyOf 2nullVerplicht in bovenliggend object—
totals.clicks.unitstringVerplicht in bovenliggend object
  • enum: ["currency","count","currency_per_click","currency_per_conversion","ratio"]
totals.clicks.availabilitystringVerplicht in bovenliggend object
  • enum: ["available","missing_input","zero_denominator","incompatible","partial"]
totals.clicks.reasonstring | nullVerplicht in bovenliggend object—
totals.clicks.reasonanyOf 1stringVerplicht in bovenliggend object
  • maxLength: 300
totals.clicks.reasonanyOf 2nullVerplicht in bovenliggend object—
totals.clicks.input_refsarrayVerplicht in bovenliggend object
  • maxItems: 2000
totals.clicks.input_refs[]stringOptioneel / item
  • maxLength: 300
totals.conversionsobjectVerplicht in bovenliggend object
  • additionalProperties: false
totals.conversions.valuestring | nullVerplicht in bovenliggend object—
totals.conversions.valueanyOf 1stringVerplicht in bovenliggend object
  • pattern: "^\\d{1,24}(?:\\.\\d{1,6})?$"
totals.conversions.valueanyOf 2nullVerplicht in bovenliggend object—
totals.conversions.unitstringVerplicht in bovenliggend object
  • enum: ["currency","count","currency_per_click","currency_per_conversion","ratio"]
totals.conversions.availabilitystringVerplicht in bovenliggend object
  • enum: ["available","missing_input","zero_denominator","incompatible","partial"]
totals.conversions.reasonstring | nullVerplicht in bovenliggend object—
totals.conversions.reasonanyOf 1stringVerplicht in bovenliggend object
  • maxLength: 300
totals.conversions.reasonanyOf 2nullVerplicht in bovenliggend object—
totals.conversions.input_refsarrayVerplicht in bovenliggend object
  • maxItems: 2000
totals.conversions.input_refs[]stringOptioneel / item
  • maxLength: 300
totals.attributed_revenueobjectVerplicht in bovenliggend object
  • additionalProperties: false
totals.attributed_revenue.valuestring | nullVerplicht in bovenliggend object—
totals.attributed_revenue.valueanyOf 1stringVerplicht in bovenliggend object
  • pattern: "^\\d{1,24}(?:\\.\\d{1,6})?$"
totals.attributed_revenue.valueanyOf 2nullVerplicht in bovenliggend object—
totals.attributed_revenue.unitstringVerplicht in bovenliggend object
  • enum: ["currency","count","currency_per_click","currency_per_conversion","ratio"]
totals.attributed_revenue.availabilitystringVerplicht in bovenliggend object
  • enum: ["available","missing_input","zero_denominator","incompatible","partial"]
totals.attributed_revenue.reasonstring | nullVerplicht in bovenliggend object—
totals.attributed_revenue.reasonanyOf 1stringVerplicht in bovenliggend object
  • maxLength: 300
totals.attributed_revenue.reasonanyOf 2nullVerplicht in bovenliggend object—
totals.attributed_revenue.input_refsarrayVerplicht in bovenliggend object
  • maxItems: 2000
totals.attributed_revenue.input_refs[]stringOptioneel / item
  • maxLength: 300
totals.cpcobjectVerplicht in bovenliggend object
  • additionalProperties: false
totals.cpc.valuestring | nullVerplicht in bovenliggend object—
totals.cpc.valueanyOf 1stringVerplicht in bovenliggend object
  • pattern: "^\\d{1,24}(?:\\.\\d{1,6})?$"
totals.cpc.valueanyOf 2nullVerplicht in bovenliggend object—
totals.cpc.unitstringVerplicht in bovenliggend object
  • enum: ["currency","count","currency_per_click","currency_per_conversion","ratio"]
totals.cpc.availabilitystringVerplicht in bovenliggend object
  • enum: ["available","missing_input","zero_denominator","incompatible","partial"]
totals.cpc.reasonstring | nullVerplicht in bovenliggend object—
totals.cpc.reasonanyOf 1stringVerplicht in bovenliggend object
  • maxLength: 300
totals.cpc.reasonanyOf 2nullVerplicht in bovenliggend object—
totals.cpc.input_refsarrayVerplicht in bovenliggend object
  • maxItems: 2000
totals.cpc.input_refs[]stringOptioneel / item
  • maxLength: 300
totals.cpaobjectVerplicht in bovenliggend object
  • additionalProperties: false
totals.cpa.valuestring | nullVerplicht in bovenliggend object—
totals.cpa.valueanyOf 1stringVerplicht in bovenliggend object
  • pattern: "^\\d{1,24}(?:\\.\\d{1,6})?$"
totals.cpa.valueanyOf 2nullVerplicht in bovenliggend object—
totals.cpa.unitstringVerplicht in bovenliggend object
  • enum: ["currency","count","currency_per_click","currency_per_conversion","ratio"]
totals.cpa.availabilitystringVerplicht in bovenliggend object
  • enum: ["available","missing_input","zero_denominator","incompatible","partial"]
totals.cpa.reasonstring | nullVerplicht in bovenliggend object—
totals.cpa.reasonanyOf 1stringVerplicht in bovenliggend object
  • maxLength: 300
totals.cpa.reasonanyOf 2nullVerplicht in bovenliggend object—
totals.cpa.input_refsarrayVerplicht in bovenliggend object
  • maxItems: 2000
totals.cpa.input_refs[]stringOptioneel / item
  • maxLength: 300
totals.attributed_roasobjectVerplicht in bovenliggend object
  • additionalProperties: false
totals.attributed_roas.valuestring | nullVerplicht in bovenliggend object—
totals.attributed_roas.valueanyOf 1stringVerplicht in bovenliggend object
  • pattern: "^\\d{1,24}(?:\\.\\d{1,6})?$"
totals.attributed_roas.valueanyOf 2nullVerplicht in bovenliggend object—
totals.attributed_roas.unitstringVerplicht in bovenliggend object
  • enum: ["currency","count","currency_per_click","currency_per_conversion","ratio"]
totals.attributed_roas.availabilitystringVerplicht in bovenliggend object
  • enum: ["available","missing_input","zero_denominator","incompatible","partial"]
totals.attributed_roas.reasonstring | nullVerplicht in bovenliggend object—
totals.attributed_roas.reasonanyOf 1stringVerplicht in bovenliggend object
  • maxLength: 300
totals.attributed_roas.reasonanyOf 2nullVerplicht in bovenliggend object—
totals.attributed_roas.input_refsarrayVerplicht in bovenliggend object
  • maxItems: 2000
totals.attributed_roas.input_refs[]stringOptioneel / item
  • maxLength: 300
gapsarrayVerplicht in bovenliggend object
  • maxItems: 1000
gaps[]stringOptioneel / item
  • maxLength: 300
suggestionsarrayVerplicht in bovenliggend object
  • maxItems: 3
suggestions[]objectOptioneel / item
  • additionalProperties: false
suggestions[].rule_idstringVerplicht in bovenliggend object
  • enum: ["supply_revenue","review_comparable_creative_test","complete_coverage"]
suggestions[].rule_versionnumberVerplicht in bovenliggend object
  • const: 1
suggestions[].proposalstringVerplicht in bovenliggend object
  • maxLength: 600
suggestions[].input_refsarrayVerplicht in bovenliggend object
  • maxItems: 2000
suggestions[].input_refs[]stringOptioneel / item
  • maxLength: 300
suggestions[].limitationsstringVerplicht in bovenliggend object
  • const: "Observational comparison only; no causal uplift or profitability claim. Human review required."
advertising_account_idstringVerplicht in bovenliggend object
  • format: "uuid"
next_cursorstring | nullVerplicht in bovenliggend object—
next_cursoranyOf 1stringVerplicht in bovenliggend object
  • maxLength: 2048
next_cursoranyOf 2nullVerplicht in bovenliggend object—
Volledig JSON Schema
{
  "type": "object",
  "properties": {
    "contract_version": {
      "type": "string",
      "const": "ad-performance/v1"
    },
    "source_id": {
      "type": "string",
      "maxLength": 100
    },
    "source_sha256": {
      "type": "string",
      "pattern": "^[a-f0-9]{64}$"
    },
    "identity_verification": {
      "type": "string",
      "enum": [
        "customer_supplied",
        "accepted_provider_grant"
      ]
    },
    "currency": {
      "type": "string",
      "pattern": "^[A-Z]{3}$"
    },
    "timezone": {
      "type": "string",
      "maxLength": 100
    },
    "selection": {
      "type": "object",
      "properties": {
        "provider_api_version": {
          "type": "string",
          "const": "v26.0"
        },
        "provider_account_id": {
          "type": "string",
          "pattern": "^[1-9]\\d{1,24}$"
        },
        "currency": {
          "type": "string",
          "pattern": "^[A-Z]{3}$"
        },
        "timezone": {
          "type": "string",
          "maxLength": 100
        },
        "level": {
          "type": "string",
          "enum": [
            "campaign",
            "adset",
            "ad"
          ]
        },
        "start_date": {
          "type": "string",
          "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
        },
        "end_date": {
          "type": "string",
          "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
        },
        "action_attribution_windows": {
          "minItems": 1,
          "maxItems": 1,
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "1d_click",
              "7d_click",
              "1d_view"
            ]
          }
        },
        "action_report_time": {
          "type": "string",
          "enum": [
            "impression",
            "conversion"
          ]
        },
        "conversion_action_type": {
          "type": "string",
          "maxLength": 100
        },
        "revenue_action_type": {
          "type": "string",
          "maxLength": 100
        }
      },
      "required": [
        "provider_api_version",
        "provider_account_id",
        "currency",
        "timezone",
        "level",
        "start_date",
        "end_date",
        "action_attribution_windows",
        "action_report_time",
        "conversion_action_type",
        "revenue_action_type"
      ],
      "additionalProperties": false
    },
    "complete": {
      "type": "boolean"
    },
    "rows": {
      "maxItems": 500,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "row_id": {
            "type": "string",
            "maxLength": 100
          },
          "metrics": {
            "type": "object",
            "properties": {
              "spend": {
                "type": "object",
                "properties": {
                  "value": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^\\d{1,24}(?:\\.\\d{1,6})?$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "unit": {
                    "type": "string",
                    "enum": [
                      "currency",
                      "count",
                      "currency_per_click",
                      "currency_per_conversion",
                      "ratio"
                    ]
                  },
                  "availability": {
                    "type": "string",
                    "enum": [
                      "available",
                      "missing_input",
                      "zero_denominator",
                      "incompatible",
                      "partial"
                    ]
                  },
                  "reason": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 300
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "input_refs": {
                    "maxItems": 2000,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 300
                    }
                  }
                },
                "required": [
                  "value",
                  "unit",
                  "availability",
                  "reason",
                  "input_refs"
                ],
                "additionalProperties": false
              },
              "clicks": {
                "type": "object",
                "properties": {
                  "value": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^\\d{1,24}(?:\\.\\d{1,6})?$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "unit": {
                    "type": "string",
                    "enum": [
                      "currency",
                      "count",
                      "currency_per_click",
                      "currency_per_conversion",
                      "ratio"
                    ]
                  },
                  "availability": {
                    "type": "string",
                    "enum": [
                      "available",
                      "missing_input",
                      "zero_denominator",
                      "incompatible",
                      "partial"
                    ]
                  },
                  "reason": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 300
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "input_refs": {
                    "maxItems": 2000,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 300
                    }
                  }
                },
                "required": [
                  "value",
                  "unit",
                  "availability",
                  "reason",
                  "input_refs"
                ],
                "additionalProperties": false
              },
              "conversions": {
                "type": "object",
                "properties": {
                  "value": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^\\d{1,24}(?:\\.\\d{1,6})?$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "unit": {
                    "type": "string",
                    "enum": [
                      "currency",
                      "count",
                      "currency_per_click",
                      "currency_per_conversion",
                      "ratio"
                    ]
                  },
                  "availability": {
                    "type": "string",
                    "enum": [
                      "available",
                      "missing_input",
                      "zero_denominator",
                      "incompatible",
                      "partial"
                    ]
                  },
                  "reason": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 300
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "input_refs": {
                    "maxItems": 2000,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 300
                    }
                  }
                },
                "required": [
                  "value",
                  "unit",
                  "availability",
                  "reason",
                  "input_refs"
                ],
                "additionalProperties": false
              },
              "attributed_revenue": {
                "type": "object",
                "properties": {
                  "value": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^\\d{1,24}(?:\\.\\d{1,6})?$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "unit": {
                    "type": "string",
                    "enum": [
                      "currency",
                      "count",
                      "currency_per_click",
                      "currency_per_conversion",
                      "ratio"
                    ]
                  },
                  "availability": {
                    "type": "string",
                    "enum": [
                      "available",
                      "missing_input",
                      "zero_denominator",
                      "incompatible",
                      "partial"
                    ]
                  },
                  "reason": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 300
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "input_refs": {
                    "maxItems": 2000,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 300
                    }
                  }
                },
                "required": [
                  "value",
                  "unit",
                  "availability",
                  "reason",
                  "input_refs"
                ],
                "additionalProperties": false
              },
              "cpc": {
                "type": "object",
                "properties": {
                  "value": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^\\d{1,24}(?:\\.\\d{1,6})?$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "unit": {
                    "type": "string",
                    "enum": [
                      "currency",
                      "count",
                      "currency_per_click",
                      "currency_per_conversion",
                      "ratio"
                    ]
                  },
                  "availability": {
                    "type": "string",
                    "enum": [
                      "available",
                      "missing_input",
                      "zero_denominator",
                      "incompatible",
                      "partial"
                    ]
                  },
                  "reason": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 300
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "input_refs": {
                    "maxItems": 2000,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 300
                    }
                  }
                },
                "required": [
                  "value",
                  "unit",
                  "availability",
                  "reason",
                  "input_refs"
                ],
                "additionalProperties": false
              },
              "cpa": {
                "type": "object",
                "properties": {
                  "value": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^\\d{1,24}(?:\\.\\d{1,6})?$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "unit": {
                    "type": "string",
                    "enum": [
                      "currency",
                      "count",
                      "currency_per_click",
                      "currency_per_conversion",
                      "ratio"
                    ]
                  },
                  "availability": {
                    "type": "string",
                    "enum": [
                      "available",
                      "missing_input",
                      "zero_denominator",
                      "incompatible",
                      "partial"
                    ]
                  },
                  "reason": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 300
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "input_refs": {
                    "maxItems": 2000,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 300
                    }
                  }
                },
                "required": [
                  "value",
                  "unit",
                  "availability",
                  "reason",
                  "input_refs"
                ],
                "additionalProperties": false
              },
              "attributed_roas": {
                "type": "object",
                "properties": {
                  "value": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^\\d{1,24}(?:\\.\\d{1,6})?$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "unit": {
                    "type": "string",
                    "enum": [
                      "currency",
                      "count",
                      "currency_per_click",
                      "currency_per_conversion",
                      "ratio"
                    ]
                  },
                  "availability": {
                    "type": "string",
                    "enum": [
                      "available",
                      "missing_input",
                      "zero_denominator",
                      "incompatible",
                      "partial"
                    ]
                  },
                  "reason": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 300
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "input_refs": {
                    "maxItems": 2000,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 300
                    }
                  }
                },
                "required": [
                  "value",
                  "unit",
                  "availability",
                  "reason",
                  "input_refs"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "spend",
              "clicks",
              "conversions",
              "attributed_revenue",
              "cpc",
              "cpa",
              "attributed_roas"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "row_id",
          "metrics"
        ],
        "additionalProperties": false
      }
    },
    "totals": {
      "type": "object",
      "properties": {
        "spend": {
          "type": "object",
          "properties": {
            "value": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^\\d{1,24}(?:\\.\\d{1,6})?$"
                },
                {
                  "type": "null"
                }
              ]
            },
            "unit": {
              "type": "string",
              "enum": [
                "currency",
                "count",
                "currency_per_click",
                "currency_per_conversion",
                "ratio"
              ]
            },
            "availability": {
              "type": "string",
              "enum": [
                "available",
                "missing_input",
                "zero_denominator",
                "incompatible",
                "partial"
              ]
            },
            "reason": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 300
                },
                {
                  "type": "null"
                }
              ]
            },
            "input_refs": {
              "maxItems": 2000,
              "type": "array",
              "items": {
                "type": "string",
                "maxLength": 300
              }
            }
          },
          "required": [
            "value",
            "unit",
            "availability",
            "reason",
            "input_refs"
          ],
          "additionalProperties": false
        },
        "clicks": {
          "type": "object",
          "properties": {
            "value": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^\\d{1,24}(?:\\.\\d{1,6})?$"
                },
                {
                  "type": "null"
                }
              ]
            },
            "unit": {
              "type": "string",
              "enum": [
                "currency",
                "count",
                "currency_per_click",
                "currency_per_conversion",
                "ratio"
              ]
            },
            "availability": {
              "type": "string",
              "enum": [
                "available",
                "missing_input",
                "zero_denominator",
                "incompatible",
                "partial"
              ]
            },
            "reason": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 300
                },
                {
                  "type": "null"
                }
              ]
            },
            "input_refs": {
              "maxItems": 2000,
              "type": "array",
              "items": {
                "type": "string",
                "maxLength": 300
              }
            }
          },
          "required": [
            "value",
            "unit",
            "availability",
            "reason",
            "input_refs"
          ],
          "additionalProperties": false
        },
        "conversions": {
          "type": "object",
          "properties": {
            "value": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^\\d{1,24}(?:\\.\\d{1,6})?$"
                },
                {
                  "type": "null"
                }
              ]
            },
            "unit": {
              "type": "string",
              "enum": [
                "currency",
                "count",
                "currency_per_click",
                "currency_per_conversion",
                "ratio"
              ]
            },
            "availability": {
              "type": "string",
              "enum": [
                "available",
                "missing_input",
                "zero_denominator",
                "incompatible",
                "partial"
              ]
            },
            "reason": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 300
                },
                {
                  "type": "null"
                }
              ]
            },
            "input_refs": {
              "maxItems": 2000,
              "type": "array",
              "items": {
                "type": "string",
                "maxLength": 300
              }
            }
          },
          "required": [
            "value",
            "unit",
            "availability",
            "reason",
            "input_refs"
          ],
          "additionalProperties": false
        },
        "attributed_revenue": {
          "type": "object",
          "properties": {
            "value": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^\\d{1,24}(?:\\.\\d{1,6})?$"
                },
                {
                  "type": "null"
                }
              ]
            },
            "unit": {
              "type": "string",
              "enum": [
                "currency",
                "count",
                "currency_per_click",
                "currency_per_conversion",
                "ratio"
              ]
            },
            "availability": {
              "type": "string",
              "enum": [
                "available",
                "missing_input",
                "zero_denominator",
                "incompatible",
                "partial"
              ]
            },
            "reason": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 300
                },
                {
                  "type": "null"
                }
              ]
            },
            "input_refs": {
              "maxItems": 2000,
              "type": "array",
              "items": {
                "type": "string",
                "maxLength": 300
              }
            }
          },
          "required": [
            "value",
            "unit",
            "availability",
            "reason",
            "input_refs"
          ],
          "additionalProperties": false
        },
        "cpc": {
          "type": "object",
          "properties": {
            "value": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^\\d{1,24}(?:\\.\\d{1,6})?$"
                },
                {
                  "type": "null"
                }
              ]
            },
            "unit": {
              "type": "string",
              "enum": [
                "currency",
                "count",
                "currency_per_click",
                "currency_per_conversion",
                "ratio"
              ]
            },
            "availability": {
              "type": "string",
              "enum": [
                "available",
                "missing_input",
                "zero_denominator",
                "incompatible",
                "partial"
              ]
            },
            "reason": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 300
                },
                {
                  "type": "null"
                }
              ]
            },
            "input_refs": {
              "maxItems": 2000,
              "type": "array",
              "items": {
                "type": "string",
                "maxLength": 300
              }
            }
          },
          "required": [
            "value",
            "unit",
            "availability",
            "reason",
            "input_refs"
          ],
          "additionalProperties": false
        },
        "cpa": {
          "type": "object",
          "properties": {
            "value": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^\\d{1,24}(?:\\.\\d{1,6})?$"
                },
                {
                  "type": "null"
                }
              ]
            },
            "unit": {
              "type": "string",
              "enum": [
                "currency",
                "count",
                "currency_per_click",
                "currency_per_conversion",
                "ratio"
              ]
            },
            "availability": {
              "type": "string",
              "enum": [
                "available",
                "missing_input",
                "zero_denominator",
                "incompatible",
                "partial"
              ]
            },
            "reason": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 300
                },
                {
                  "type": "null"
                }
              ]
            },
            "input_refs": {
              "maxItems": 2000,
              "type": "array",
              "items": {
                "type": "string",
                "maxLength": 300
              }
            }
          },
          "required": [
            "value",
            "unit",
            "availability",
            "reason",
            "input_refs"
          ],
          "additionalProperties": false
        },
        "attributed_roas": {
          "type": "object",
          "properties": {
            "value": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^\\d{1,24}(?:\\.\\d{1,6})?$"
                },
                {
                  "type": "null"
                }
              ]
            },
            "unit": {
              "type": "string",
              "enum": [
                "currency",
                "count",
                "currency_per_click",
                "currency_per_conversion",
                "ratio"
              ]
            },
            "availability": {
              "type": "string",
              "enum": [
                "available",
                "missing_input",
                "zero_denominator",
                "incompatible",
                "partial"
              ]
            },
            "reason": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 300
                },
                {
                  "type": "null"
                }
              ]
            },
            "input_refs": {
              "maxItems": 2000,
              "type": "array",
              "items": {
                "type": "string",
                "maxLength": 300
              }
            }
          },
          "required": [
            "value",
            "unit",
            "availability",
            "reason",
            "input_refs"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "spend",
        "clicks",
        "conversions",
        "attributed_revenue",
        "cpc",
        "cpa",
        "attributed_roas"
      ],
      "additionalProperties": false
    },
    "gaps": {
      "maxItems": 1000,
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 300
      }
    },
    "suggestions": {
      "maxItems": 3,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "rule_id": {
            "type": "string",
            "enum": [
              "supply_revenue",
              "review_comparable_creative_test",
              "complete_coverage"
            ]
          },
          "rule_version": {
            "type": "number",
            "const": 1
          },
          "proposal": {
            "type": "string",
            "maxLength": 600
          },
          "input_refs": {
            "maxItems": 2000,
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 300
            }
          },
          "limitations": {
            "type": "string",
            "const": "Observational comparison only; no causal uplift or profitability claim. Human review required."
          }
        },
        "required": [
          "rule_id",
          "rule_version",
          "proposal",
          "input_refs",
          "limitations"
        ],
        "additionalProperties": false
      }
    },
    "advertising_account_id": {
      "type": "string",
      "format": "uuid"
    },
    "next_cursor": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 2048
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "contract_version",
    "source_id",
    "source_sha256",
    "identity_verification",
    "currency",
    "timezone",
    "selection",
    "complete",
    "rows",
    "totals",
    "gaps",
    "suggestions",
    "advertising_account_id",
    "next_cursor"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}

Voorbeeld van een toolaanroep

Deze voorbeelden gebruiken fictieve waarden die tegen de schema's zijn gecontroleerd. Vervang IDs door toegestane IDs, media door gereedstaande bestanden en datums door je bevestigde publicatietijd. Controleer accountgeschiktheid vóór een schrijfhandeling. Deze pagina verstuurt geen API-verzoeken.

{
  "name": "sosoapi_ads_insights_query",
  "arguments": {
    "workspace_id": "11111111-1111-4111-8111-111111111111",
    "advertising_account_id": "11111111-1111-4111-8111-111111111111",
    "level": "campaign",
    "start_date": "2099-01-15",
    "end_date": "2099-01-15",
    "action_attribution_windows": [
      "1d_click"
    ],
    "action_report_time": "impression",
    "conversion_action_type": "example",
    "revenue_action_type": "example"
  }
}

structuredContent

{
  "contract_version": "ad-performance/v1",
  "source_id": "example",
  "source_sha256": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "identity_verification": "customer_supplied",
  "currency": "USD",
  "timezone": "UTC",
  "selection": {
    "provider_api_version": "v26.0",
    "provider_account_id": "12345",
    "currency": "USD",
    "timezone": "UTC",
    "level": "campaign",
    "start_date": "2099-01-15",
    "end_date": "2099-01-15",
    "action_attribution_windows": [
      "1d_click"
    ],
    "action_report_time": "impression",
    "conversion_action_type": "example",
    "revenue_action_type": "example"
  },
  "complete": false,
  "rows": [],
  "totals": {
    "spend": {
      "value": null,
      "unit": "currency",
      "availability": "available",
      "reason": null,
      "input_refs": []
    },
    "clicks": {
      "value": null,
      "unit": "currency",
      "availability": "available",
      "reason": null,
      "input_refs": []
    },
    "conversions": {
      "value": null,
      "unit": "currency",
      "availability": "available",
      "reason": null,
      "input_refs": []
    },
    "attributed_revenue": {
      "value": null,
      "unit": "currency",
      "availability": "available",
      "reason": null,
      "input_refs": []
    },
    "cpc": {
      "value": null,
      "unit": "currency",
      "availability": "available",
      "reason": null,
      "input_refs": []
    },
    "cpa": {
      "value": null,
      "unit": "currency",
      "availability": "available",
      "reason": null,
      "input_refs": []
    },
    "attributed_roas": {
      "value": null,
      "unit": "currency",
      "availability": "available",
      "reason": null,
      "input_refs": []
    }
  },
  "gaps": [],
  "suggestions": [],
  "advertising_account_id": "11111111-1111-4111-8111-111111111111",
  "next_cursor": null
}
Installeer of verbind MCP