Campaign

Campaign - Create Segment

Body: name*, criteria* (JSONB), bid_low*, bid_high*, prefer_high_bid. CPA campaigns also accept conversion_rate_assumed, effective_cpc_override, observation_tuning_enabled; conversion_rate_working is seeded from the assumed rate. On a CPA campaign, bid_low/bid_high are denominated in CPA dollars.

post/admin/v1/campaigns/{id}/segments

Request

  • Base URL: https://api.juju.com
  • URL: https://api.juju.com/admin/v1/campaigns/{id}/segments
  • Auth: none declared

Path parameters

idinteger required

Response

Created segment.

metaobject required

Pagination and context metadata. Always present, empty object ({}) when no metadata applies to the response.

errorsstring[] required

Empty array on success. On failure, human-readable error strings suitable for surfacing to end users.

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.