Replace traffic modifier

Traffic Modifier

Overview

A traffic modifier that multiplies the targeted Ad Requests by a constant amount.

If this Traffic Modifier is active during a forecast, a MODTRF warning will be triggered.

JSON Schema

Response Codes

Example Request

curl --request PUT \
     --url https://api.kevel.co/v1/forecaster/modifiers/traffic/trafficModifierId \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '
{
  "TimeZone": "UTC",
  "Type": "adRequestMultiplier"
}
'```

### Example Response
```json
{
  "Id": "e123e48",
  "StartDate": "2024-09-03T00:00:00",
  "EndDate": "2024-09-04T23:59:59",
  "TimeZone": "UTC",
  "Rule": "$location.countryCode = \"GB\"",
  "Type": "adRequestMultiplier",
  "Multiplier": 2
}