Skip to main content
POST
/
media-buy-get
Get media buy
curl --request POST \
  --url https://api.agentic.scope3.com/mcp/media-buy-get \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'mcp-session-id: <mcp-session-id>' \
  --data '
{
  "tool": "media_buy_get",
  "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"
  }
}

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_get

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

Response

Successful response

content
object[]
required
structuredContent
object
required