Create a media buy (AdCP 3.1 compatibility)
create_media_buySame as buy_products in the AdCP 3.1 shape: packages[] with product_id and optional pricing_option_id and budget. Answers task status "submitted"; a human reviews the order within 3 working days. Then sync_creatives and get_media_buys.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"idempotency_key": "<idempotency_key>",
"packages": "<packages>",
"start_time": "<start_time>",
"end_time": "<end_time>"
},
"name": "create_media_buy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| brand | No | ||
| account | No | ||
| end_time | Yes | ||
| packages | Yes | ||
| po_number | No | ||
| start_time | Yes | ||
| total_budget | No | ||
| idempotency_key | Yes |