Skip to Content
Developers

Push a bid or budget

Change your bid, lead rate, budget, caps or hours from your own system, and know whether it applied.

These routes ship with the Buyer API's first release

Today a Buyer API key answers /v1/buyer/key. The bid and budget routes ship next, with the bids:write scope. Until then, the buyer key that starts b3m_ keeps pushing bids and budgets at its current address.

Applied, or waiting for approval

The account decides which of your settings you may change yourself. Every push answers which way it went:

AnswerMeaning
appliedThe change was inside what the account lets you change. It is live now
pendingApprovalThe change goes to the account as a request. It applies when the account approves it

A bid above the campaign's ceiling always waits for approval.

Never overwrite a newer change

Each setting has a version. Send the version you read with your change. If someone changed it since, in the portal or from another system, TRAKI refuses your change with version_conflict instead of overwriting theirs. Read it again and decide.

Pause and resume

Pausing stops new calls or leads from reaching you at once, without touching your bid. Resume when you are ready again.

Make each push safe to retry

Send an Idempotency-Key with every change. If the network fails, send the same change with the same key: it is made once. See safe retries.