Skip to Content
Developers
Bids and budgets

Change a bid, lead rate, budget or hours, or pause and resume

Needs the bids:write scope. About scopes

Try it with a test key

Sends to https://api.traki.io

Test keys only. The key stays in this page while it is open and is never saved.

/v1/buyer/bids

A change inside what the account lets you change applies at once (applied); anything else waits for the account (pendingApproval). A bid above the campaign ceiling always waits. Send ifVersion to refuse a change based on an older value (409).

Authorization

key
headerAuthorizationBearer <traki_buyer_…>

Request Body

application/json
  1. body
field*string
Value in"bid""leadRate""budget""hours""pause"
campaignId?string
Formatuuid
value?number
Range0 <= value <= 100000000
hours?
hoursSummary?string
Lengthlength <= 200
pause?string
Value in"hour""day""clear"
ifVersion?string
Lengthlength <= 40

Response Body

Success

application/json
  1. response
result*string
Value in"applied""pendingApproval"
field*string
campaignId*|null
value*string|null
version*string|null
message*string
changeRequestId*|null
Example Request
curl -X POST 'https://api.traki.io/v1/buyer/bids' \  -H "Authorization: Bearer $TRAKI_KEY" \  -H 'Content-Type: application/json' \  -H 'Idempotency-Key: a-unique-id-for-this-change' \  -d '{  "field": "bid"}'
Example Response
{  "result": "applied",  "field": "string",  "campaignId": "13f8bf6d-dc27-4a04-bffe-6e5b13c19ddf",  "value": "string",  "version": "string",  "message": "string",  "changeRequestId": "d5a18ebf-600a-4c49-94e6-860a60628549"}