Skip to end of metadata
Go to start of metadata

Country Service

The read-only Country Service allows you to see information about the countries registered in the AppNexus system. You can use this service to retrieve the ID for targeting in campaigns (see country_targets in the Profile Service).

On This Page

REST API

View all countries:

View a specific country:

Find out which fields you can filter and sort by:

JSON Fields

Field

Type

Description

id

int

The ID of the country.

name

string

The name of the country.

code

string

The ISO code for the country.

activeBoolean

If true, the country is available for targeting. If false, there is no geolocation data for the country and so delivery is not possible.

For more information, see How AppNexus Geography Targeting Works.

Examples

View all countries
View a specific country by ID
View a specific country by code
View all countries that contain "United" in their names