Browse the help center

Create site mobile carrier targeting

Creates a mobile carrier targeting rule for the specified site.

Reference
POST https://YOUR-NETWORK-DOMAIN/rest-api/site/{siteId}/targeting/mobile-carrier/create.do

Creates a mobile carrier targeting rule for the specified site. Accepts an array of mobile carrier names and creates a separate targeting rule for each. Use the mobile carrier values endpoint to get valid names. Requires MOBILE_CARRIER targeting permission.

Path Params

siteId integer required

Unique numeric ID of the site

3001

Form Params

rule string required

Targeting rule type — INCLUDE for whitelist or EXCLUDE for blacklist

INCLUDE

mobileCarriers array<string>

Mobile carrier names, spelled exactly as GET /rest-api/targeting/mobile-carrier/bycountry/values.do lists them; an unknown name answers 400

Kyivstar

Responses

200

Success

400

Invalid mobile carrier name

401

Unauthorized

403

Forbidden

404

Site 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.