Browse the help center

Get language targeting values for site

Returns a JSON map of available language codes and their display names for language targeting.

Reference
GET https://YOUR-NETWORK-DOMAIN/rest-api/site/{siteId}/targeting/language/values.do

Returns a JSON map of available language codes and their display names for language targeting. The language codes (map keys) are used as the 'languageCode' parameter when creating language targeting rules. Requires UPDATE permission on the site and MANAGE_SUPPLY_PRE_TARGETING user permission.

Path Params

siteId integer required

Unique numeric ID of the site

3001

Responses

200

Success

400

Bad request — invalid or missing parameters

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.