TechnologyTargeting

Technology Targeting.

JSON representation
{
  "operatingSystems": [
    {
      object (OperatingSystem)
    }
  ],
  "browsers": [
    {
      object (Browser)
    }
  ],
  "platformTypes": [
    {
      object (PlatformType)
    }
  ],
  "mobileCarriers": [
    {
      object (MobileCarrier)
    }
  ],
  "connectionTypes": [
    {
      object (ConnectionType)
    }
  ],
  "operatingSystemVersions": [
    {
      object (OperatingSystemVersion)
    }
  ]
}
Fields
operatingSystems[]

object (OperatingSystem)

Operating systems that this ad targets. To target specific versions, use

operatingSystemVersions

. For each operating system only

dartId

is required. The other fields are populated automatically when the ad is inserted or updated. If targeting an operating system, do not set targeting for operating system versions for the same operating system.

browsers[]

object (Browser)

Browsers that this ad targets. For each browser either set

browserVersionId

or

dartId

along with the version numbers. If both are specified, only

browserVersionId

will be used. The other fields are populated automatically when the ad is inserted or updated.

platformTypes[]

object (PlatformType)

Platform types that this ad targets. For example, desktop, mobile, or tablet. For each platform type, only

id

is required, and the other fields are populated automatically when the ad is inserted or updated.

mobileCarriers[]

object (MobileCarrier)

Mobile carriers that this ad targets. For each mobile carrier only

id

is required, and the other fields are populated automatically when the ad is inserted or updated. If targeting a mobile carrier, do not set targeting for any zip codes.

connectionTypes[]

object (ConnectionType)

Connection types that this ad targets. For each connection type only

id

is required. The other fields are populated automatically when the ad is inserted or updated.

operatingSystemVersions[]

object (OperatingSystemVersion)

Operating system versions that this ad targets. To target all versions, use

operatingSystems

. For each operating system version, only

id

is required. The other fields are populated automatically when the ad is inserted or updated. If targeting an operating system version, do not set targeting for the corresponding operating system in

operatingSystems

.

Browser

Contains information about a browser that can be targeted by ads.

JSON representation
{
  "browserVersionId": string,
  "dartId": string,
  "name": string,
  "majorVersion": string,
  "minorVersion": string,
  "kind": string
}
Fields
browserVersionId

string (int64 format)

ID referring to this grouping of browser and version numbers. This is the ID used for targeting.

dartId

string (int64 format)

DART ID of this browser. This is the ID used when generating reports.

name

string

Name of this browser.

majorVersion

string

Major version number (leftmost number) of this browser. For example, for

Chrome 5.0.376.86 beta

, this field should be set to 5. An asterisk (*) may be used to target any version number, and a question mark (?) may be used to target cases where the version number cannot be identified. For example,

Chrome .

targets any version of Chrome: 1.2, 2.5, 3.5, and so on.

Chrome 3.*

targets Chrome 3.1, 3.5, but not 4.0.

Firefox ?.?

targets cases where the ad server knows the browser is Firefox but can't tell which version it is.

minorVersion

string

Minor version number (number after first dot on left) of this browser. For example, for

Chrome 5.0.375.86 beta

, this field should be set to 0. An asterisk (*) may be used to target any version number, and a question mark (?) may be used to target cases where the version number cannot be identified. For example,

Chrome .

targets any version of Chrome: 1.2, 2.5, 3.5, and so on.

Chrome 3.*

targets Chrome 3.1, 3.5, but not 4.0.

Firefox ?.?

targets cases where the ad server knows the browser is Firefox but can't tell which version it is.

kind

string

Identifies what kind of resource this is. Value: the fixed string

"dfareporting#browser"

.