Campaign

Campaign - List Segments

Paginated. Realistic sets are small (a handful per campaign), but the meta block is included for shape consistency with every other list endpoint on this surface.

get/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

Query parameters

pageinteger
per_pageinteger
sort'name' | 'date_created' | 'bid_low' | 'bid_high' | 'active'
direction'asc' | 'desc'

Response

Paginated segment list.

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"
    }
  ],
  "meta": {
    "total": 137,
    "page": 1,
    "per_page": 50,
    "total_pages": 3
  },
  "errors": []
}

Changes

No recorded changes to this operation across all 1 revision of this API.