v1
latestOpenAPI 3.0.32026-07-2226694862.5 KBUpdate Traffic Control
Update an existing traffic control. This is a full object replacement.
Path parameters
The unique traffic control ID to update.
Request body
The ID of the traffic control to update.
Name of the traffic control.
Status of the traffic control. Can be one of the following values: active or inactive.
Traffic controls can be either whitelist or blacklist.
The targeting action can be either block or fail_traffic.
Defines how the variables will be compared.
When this is false, the network_affiliate_ids array must be filled.
When this is false, the network_offer_ids or network_advertiser_ids array must be filled.
The click variable that will be looked up and compared to the values supplied. Can be one or multiple values among: sub1, sub2, sub3, sub4, sub5, sub6, sub7, sub8, sub9, sub10, source_id, referrer, isp, ip, user_agent, country, tracking_domain.
The values that the traffic control will filter. Limited to 3000 values when using exact_match and 100 values otherwise. Please note that when using a whitelist, all values besides the ones specified here will be blocked / sent to fail traffic.
The offers IDs that will be affected by the traffic control (only relevant when is_apply_all_offers is set to false).
The affiliate IDs that will be affected by the traffic control (only relevant when is_apply_all_affiliates is set to false).
The advertiser IDs that will be affected by the traffic control (only relevant when is_apply_all_offers is set to false). All offers for the specified advertiser IDs will be affected.
An optional start date after which the traffic control will be enforced. Use the YYYY-MM-DD format.
An optional end date after which the traffic control will no longer be enforced. Use the YYYY-MM-DD format.
Response
Unique traffic control ID.
Network ID.
Name of the traffic control.
Status of the traffic control.
Traffic controls can be either whitelist or blacklist.
The targeting action.
Whether this control applies to all offers.
Whether this control applies to all affiliates.
Defines how the variables are compared.
The click variable that will be looked up and compared to the values supplied. Can be one or multiple values among: sub1, sub2, sub3, sub4, sub5, sub6, sub7, sub8, sub9, sub10, source_id, referrer, isp, ip, user_agent, country, tracking_domain. Note: variables and values are only populated by the Get by ID endpoint.
Start date for the control's validity period (YYYY-MM-DD).
End date for the control's validity period (YYYY-MM-DD).
Unix timestamp of creation.
Unix timestamp of last update.
Example response
{
"time_created": 1734455015,
"time_saved": 1734455015
}