Segment
Segment - Update
Mutable: name, criteria (JSONB), bid_low, bid_high, prefer_high_bid, active, and (CPA campaigns) conversion_rate_assumed, effective_cpc_override, observation_tuning_enabled. Editing any rate field re-derives the read-only conversion_rate_working. bid_low must be >= 0 and bid_high >= bid_low (enforced by both this endpoint and the DB CHECK).
patch/admin/v1/segments/{segment_id}
Request
- Base URL: https://api.juju.com
- URL: https://api.juju.com/admin/v1/segments/{segment_id}
- Auth: none declared
Path parameters
segment_idinteger required
Response
Updated segment.
Example response
{
"data": {
"bid_low": "0.12",
"bid_high": "0.42",
"conversion_rate_assumed": "0.040000",
"conversion_rate_working": "0.037500",
"effective_cpc_override": "1.20"
},
"errors": []
}Changes
No recorded changes to this operation across all 1 revision of this API.