Browse the help center

Create campaign browser country targeting

Creates browser country targeting rules for the specified campaign.

Reference
POST https://YOUR-NETWORK-DOMAIN/rest-api/campaign/{campaignId}/targeting/browser-country/create.do

Creates browser country targeting rules for the specified campaign. Multiple country codes can be provided, creating a separate targeting rule for each. Rules match the country resolved from the visitor's browser time zone instead of the IP location. Targeting is automatically enabled if it was previously disabled. Requires UPDATE permission on the campaign and MANAGE_DEMAND_TARGETING user permission.

Path Params

campaignId integer required

Unique numeric ID of the campaign

1234

Form Params

countryCode array<string> required

Array of ISO 3166-1 alpha-2 country codes to target

US

rule string required

Targeting rule type — INCLUDE for whitelist or EXCLUDE for blacklist

INCLUDE

Responses

200

Success

400

Invalid country code

401

Unauthorized

403

Forbidden

404

Campaign not found

500

Internal server error

Please disable Adblock
Are you using adblock? Disable it and reload the page to proceed to the destination page.

A registration has already been submitted from this page. Please try again in 10 minutes.