Update Flight Segment Targeting Rule

Update a Flight to Segment targeting rule

put/v1/flight/{FlightId}/segmenttargeting/{Id}

Request

  • Base URL
    https://api.kevel.co
  • URL
    https://api.kevel.co/v1/flight/{FlightId}/segmenttargeting/{Id}
  • Auth
    API key in header X-Adzerk-ApiKey

Path parameters

FlightIdinteger required

The flight the targeting rule applies to

SegmentTargetingIdinteger required

Id of the Flight Segment targeting rule

Request body

IsExcludeboolean

Whether targeting is to be excluded or included.

Response

200

Idinteger
FlightIdinteger
SegmentIdinteger
IsExcludeboolean

Example response

{
  "Id": 56789,
  "FlightId": 55555,
  "SegmentId": 123456,
  "IsExclude": true,
  "Segment": {
    "Source": "audience",
    "Name": "best customers",
    "Reach": {
      "all_time": 3187463,
      "28d": 387434
    },
    "Description": "top 1% spenders in the last 30 days.",
    "Category": "CRM"
  }
}

Changes

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