Skip to main content
POST
/
media-buy-execute
Execute media buy
curl --request POST \
  --url https://api.agentic.scope3.com/mcp/media-buy-execute \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'mcp-session-id: <mcp-session-id>' \
  --data '
{
  "tool": "media_buy_execute",
  "arguments": {
    "media_buy_id": "example_id_123"
  }
}
'
{
  "content": [
    {
      "type": "text",
      "text": "string"
    }
  ],
  "structuredContent": {
    "success": true,
    "media_buy_id": "example_id_123",
    "status": "string",
    "adcp_media_buy_id": "example_id_123",
    "adcp_status": "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>"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

mcp-session-id
string<uuid>
required

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.

Body

application/json

Request body for media_buy_execute

tool
enum<string>
required
Available options:
media_buy_execute
arguments
object
required

Response

Successful response

content
object[]
required
structuredContent
object
required