curl --request POST \
--url https://api.agentic.scope3.com/mcp/media-buy-update \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'mcp-session-id: <mcp-session-id>' \
--data '
{
"tool": "media_buy_update",
"arguments": {
"media_buy_id": "example_id_123"
}
}
'{
"content": [
{
"type": "text",
"text": "string"
}
],
"structuredContent": {
"media_buy_id": "example_id_123",
"tactic_id": 100,
"customer_id": 100,
"name": "Example Name",
"status": "string",
"created_at": "string",
"updated_at": "string",
"description": "string",
"products": [],
"packages": [],
"creatives": [],
"adcp": {
"media_buy_id": "<string>",
"status": "<string>",
"webhook_url": "<string>"
},
"performance": {
"impressions": 123,
"spend": 123,
"clicks": 123,
"last_updated": "2023-11-07T05:31:56Z"
},
"archived_at": "string",
"debug_info": {
"request": "<unknown>",
"response": "<unknown>",
"debugLogs": [
{
"type": "<string>",
"timestamp": "<string>",
"message": "<string>",
"request": {
"method": "<string>",
"url": "<string>",
"headers": {},
"body": "<unknown>"
},
"response": {
"status": 123,
"statusText": "<string>",
"headers": {},
"body": "<unknown>"
}
}
],
"error": "<unknown>"
}
}
}Update an existing media buy with new budget, targeting, or creative assignments.
curl --request POST \
--url https://api.agentic.scope3.com/mcp/media-buy-update \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'mcp-session-id: <mcp-session-id>' \
--data '
{
"tool": "media_buy_update",
"arguments": {
"media_buy_id": "example_id_123"
}
}
'{
"content": [
{
"type": "text",
"text": "string"
}
],
"structuredContent": {
"media_buy_id": "example_id_123",
"tactic_id": 100,
"customer_id": 100,
"name": "Example Name",
"status": "string",
"created_at": "string",
"updated_at": "string",
"description": "string",
"products": [],
"packages": [],
"creatives": [],
"adcp": {
"media_buy_id": "<string>",
"status": "<string>",
"webhook_url": "<string>"
},
"performance": {
"impressions": 123,
"spend": 123,
"clicks": 123,
"last_updated": "2023-11-07T05:31:56Z"
},
"archived_at": "string",
"debug_info": {
"request": "<unknown>",
"response": "<unknown>",
"debugLogs": [
{
"type": "<string>",
"timestamp": "<string>",
"message": "<string>",
"request": {
"method": "<string>",
"url": "<string>",
"headers": {},
"body": "<unknown>"
},
"response": {
"status": 123,
"statusText": "<string>",
"headers": {},
"body": "<unknown>"
}
}
],
"error": "<unknown>"
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
MCP session identifier (UUID). Initialize your session using the /mcp-initialize endpoint first to obtain a session ID, then reuse it for all subsequent tool requests in the same session.
Request body for media_buy_update