Bids
Update a Bid
Change a bid’s amount, limits, lead type or location, or pause and unpause it.
PATCH
Send only the fields you want to change. Anything you leave out keeps its current value. It works like editing the bid in Juiced, and the customer’s activity timeline shows your API key’s label. It needs the
bids:write ability.
pausedpauses the bid withtrueand turns it back on withfalse.amount, caps and budgets change just those values. Caps and budgets are only accepted when that limit is turned on under Configure → Bidding. Sendnullto remove one.lead_typeandlocationmove the bid to another market. They follow the same rules as creating a bid, so bidding must be turned on for the lead type at the new scope. If another of the customer’s active bids already holds that lead type and location, the change is refused anderror.bidholds that bid’s ID. The message is onerrors.lead_typewhen you only changed the lead type, and onerrors.locationotherwise. An emptylocationobject is refused onlocation.country.
422 with the message on errors.bid, and nothing is written. Move it with lead_type or location, or archive it.
When you send "paused": true with a new amount, the bid is paused first, so raising a paused bid doesn’t send outbid notices. A refused change changes nothing.
Overlapping changes
Changes to one bid run one at a time, and so do changes that move bids onto the same customer, lead type and location. If a request waits more than 10 seconds for another to finish, it returns429 with rate_limited and a Retry-After header.
If another change moved this bid to a different lead type or location, or archived it, while your request was waiting, your request is refused with 429 and rate_limited, the message “This bid changed while this request was waiting. Send the request again.” and Retry-After: 1. Nothing from it is applied. When you send it again, it’s checked against the bid as it is now.
An archived bid can’t be changed. Create a new bid instead.Authorizations
An API key from Configure → API Keys (it starts with jz_live_), sent as a bearer token. See API Keys.
Body
application/json
Send only the fields you want to change.

