Update Flight Segment Targeting Rule
{
"FlightId": {
"type": "int32",
"required": true,
"description": "The flight the targeting rule applies to"
},
"SegmentTargetingId": {
"type": "int32",
"required": true,
"description": "Id of the Flight Segment targeting rule"
},
"IsExclude": {
"type": "boolean",
"default": false,
"description": "Whether targeting is to be excluded or included."
},
"200": {
"type": "object",
"properties": {
"Id": {
"type": "integer",
"default": 0
},
"FlightId": {
"type": "integer",
"default": 0
},
"SegmentId": {
"type": "integer",
"default": 0
},
"IsExclude": {
"type": "boolean",
"default": false
},
"Segment": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Name": {
"type": "string"
},
"Reach": {
"type": "object",
"properties": {
"all_time": {
"type": "integer"
},
"28d": {
"type": "integer"
}
}
},
"Description": {
"type": "string"
},
"Category": {
"type": "string"
}
}
}
}
},
"400": {
"type": "integer"
},
"curl": "curl -X PUT -H "X-Adzerk-ApiKey: