Skip to end of metadata
Go to start of metadata

Device Model Service

Mobile devices are categorized by make and model, where make is generally the manufacturer of the device (such as Apple) and model is generally the specific product (such as iPhone). The read-only Device Model Service allows you to see what models of mobile devices are registered in the AppNexus system, as well as the make, device type (phone, tablet, or other device), device screen size, and supported capabilities (such as JavaScript creatives, Flash creatives, cookies) for each model. You can use this service to retrieve this data for targeting in mobile campaigns.

You can target mobile campaigns based on mobile carrier as well. For more details, see the Carrier Service.

On This Page

REST API

View all device models:

View all device models of a specific type (i.e., pc, phone, or tablet):

View a specific device model:

Find out which fields you can filter and sort by:

JSON Fields

Field

Type

Description

id

int

The ID of the device model.

name

string

The name of the device model (such as iPhone).

device_make_id

int

The ID of the device make to which the model belongs. For example, the iPhone device model would belong to the Apple device make.

device_type

enum

The type of device. Possible values: pc, phone, tablet, tv, gameconsole, stb, mediaplayer

screen_width

int

The width of the screen on the device.

screen_height

int

The height of the screen on the device.

supports_js

Boolean

Not yet available. If true, the device supports JavaScript creatives. If null, AppNexus does not know whether or not the device supports JavaScript.

supports_cookies

Boolean

Not yet available. If true, the device supports cookies. If null, AppNexus does not know whether or not the device supports cookies.

supports_flash

Boolean

Not yet supported. If true, the device supports Flash creatives. If null, AppNexus does not know whether or not the device supports Flash.

supports_geo

Boolean

Not yet available. If true, the device can pass the latitude and longitude of users, when GPS data is available. 

supports_html_video

Boolean

Not yet available. If true, the device supports HTML video creatives. If null, AppNexus does not know whether or not the device supports HTML video.

supports_html_audio

Boolean

Not yet available. If true, the device supports HTML audio creatives. If null, AppNexus does not know whether or not the device supports HTML audio.

device_make_name

int

The name of the device make to which the model belongs.

codes

array of objects

Third-party representations for the device model. See Codes below for more details.

Codes

Each object in the codes array contains the following fields.

Field

Type

Description

id

int

The ID for the device model.

code

string

The third-party representation for the device model.

notes

string

Identification information about the third-party.

device_model_id

int

The ID for the device model.

Examples

View all models of mobile devices
View a specific model of mobile device
View all models of "tablet" devices