Page Summary
-
Technology targeting allows ads to be shown based on the user's operating system, browser, platform type, mobile carrier, and connection type.
-
When targeting specific operating systems, use the
operatingSystemsfield with thedartId, while specific versions require usingoperatingSystemVersionswith theid. -
Browser targeting uses the
browsersfield, requiring eitherbrowserVersionIdordartIdalong with version numbers, butbrowserVersionIdis prioritized if both are present. -
Platform types, mobile carriers, and connection types are targeted using their respective fields, requiring only the
id. -
The
Browserobject contains fields likebrowserVersionId,dartId,name,majorVersion, andminorVersionto specify browser details for targeting, with support for wildcards in version numbers.
Technology Targeting.
| JSON representation |
|---|
{ "operatingSystems": [ { object ( |
| Fields | |
|---|---|
operatingSystems[] |
Operating systems that this ad targets. To target specific versions, use |
browsers[] |
Browsers that this ad targets. For each browser either set |
platformTypes[] |
Platform types that this ad targets. For example, desktop, mobile, or tablet. For each platform type, only |
mobileCarriers[] |
Mobile carriers that this ad targets. For each mobile carrier only |
connectionTypes[] |
Connection types that this ad targets. For each connection type only |
operatingSystemVersions[] |
Operating system versions that this ad targets. To target all versions, use |
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 |
ID referring to this grouping of browser and version numbers. This is the ID used for targeting. |
dartId |
DART ID of this browser. This is the ID used when generating reports. |
name |
Name of this browser. |
majorVersion |
Major version number (leftmost number) of this browser. For example, for |
minorVersion |
Minor version number (number after first dot on left) of this browser. For example, for |
kind |
Identifies what kind of resource this is. Value: the fixed string |