You are here: Developers > OpenX Mobile Android SDK > Request parameters > Automatically-detected parameters

Automatically-detected parameters

Last updated on October 4, 2017

The OpenX Mobile Android SDK can automatically determine certain parameters. To provide alternative values, override these auto-detected parameters by submitting valid key-value pairs.

Parameter

Method

Description

af

None

The comma-delimited list of API frameworks supported on the user's device, which can be one or more of the following:

For example: af=3,5

Note that this setting will be overridden by any API framework setting in the ad unitThe smallest inventory component that represents the space on a site where ads display..

app.bundle

None

Indicates the bundle ID (packageA bundle of targeting criteria for similar inventory segments which you can offer at a predetermined price (typically to facilitate regular sales efforts) and automatically create line items from in OpenX. name) of the app.

app.name

None

Indicates the display name of the app.

cnt

setCountry

The user's ISO 3166-1 country code (a lowercase code with two letters).

For example: us

crr

setDeviceCarrier

The unique identifier for the user's mobile carrier, which includes the mobile country code (MCC) and mobile network code (MNC) in the <MCC>-<MNC> format.

For example: 310-410, where the MCC is the US and the MNC is AT&T Mobility

cty

setCity

The city where the user is located, such as boston.

did.adid

None

(Android only) Indicates Google advertising ID for the Android OS on the user's device. It is recommended that you provide this parameter for ad serving within an app.

did.adid.enabled

None

(Android only) Indicates the tracking parameter set on the end-user's Android device, which shows if the user's device has ad tracking on or off.

lon,lat

setCoordinates

GPS longitude and latitude location coordinates of the user's device in decimal form, which is determined using the closest network spot.

For example: 33.7,44.0

w

None

Width according to the orientation of the device at the time of the ad requestCommunication from a web browser or app to an ad server to display an ad..

h

None

Height according to the orientation of the device at the time of the ad request.

net

setConnectionType

The user's network connection type.

For example: wifi

sp

None

OpenX Mobile SDK platform type (iOS or Android) .

stt

setState

The US state where the user is located

For example: california

sv

None

OpenX Mobile Android SDK version, such as 4.0.

xid

setUserId

The customer-provided user ID if different from the device ID (did).

For example: 234hskhjfdkhjs

zip

setZipCode

The user's US ZIP or postal code.

For example: 91203

Feedback form