Sandbox: approve as the account holder
advertiser.bookings.approve_sandboxSandbox only: approve a booking that is awaiting_approval, as the advertiser's account holder would from their email, so the rest of the flow can be tried. Live bookings can only be approved by the account holder.
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": {
"booking_id": "<booking_id>"
},
"name": "advertiser.bookings.approve_sandbox"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| booking_id | Yes | From advertiser.bookings.create or bookings.list. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The booking_id. | |
| error | No | Present instead of the other fields when the call failed. | |
| object | No | Always "booking". | |
| status | No | One of: awaiting_approval, in_review, awaiting_payment, payment_expired, scheduled, live, finished, declined, cancelled. | |
| payment | No | Payment state. | |
| approval | No | The account holder's approval and any staff check. | |
| category | No | The advert's category. | |
| currency | No | Always "usd". | |
| livemode | No | False in the sandbox. | |
| quote_id | No | The quote it was booked from. | |
| next_step | No | Plain-language instruction for what happens or what to do next. | |
| total_usd | No | Total price in US dollars. | |
| created_at | No | When it was booked. ISO 8601, UTC. | |
| placements | No | One per venue, with its dates and state. | |
| report_url | No | Proof-of-display report (REST). | |
| updated_at | No | Last change. ISO 8601, UTC. | |
| creative_id | No | The artwork shown. | |
| campaign_name | No | The campaign name. | |
| status_reason | No | Why it is declined or cancelled, if it is. | |
| order_reference | No | Wall Marketing's order reference once paid. | |
| cancellation_requested_at | No | When cancellation of a paid booking was requested. ISO 8601, UTC. |