Technology Targeting.
JSON representation |
---|
{ "operatingSystems": [ { object ( |
Fields | |
---|---|
operating |
Operating systems that this ad targets. To target specific versions, use
. For each operating system only
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[] |
Browsers that this ad targets. For each browser either set
or
along with the version numbers. If both are specified, only
will be used. The other fields are populated automatically when the ad is inserted or updated. |
platform |
Platform types that this ad targets. For example, desktop, mobile, or tablet. For each platform type, only
is required, and the other fields are populated automatically when the ad is inserted or updated. |
mobile |
Mobile carriers that this ad targets. For each mobile carrier only
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. |
connection |
Connection types that this ad targets. For each connection type only
is required. The other fields are populated automatically when the ad is inserted or updated. |
operating |
Operating system versions that this ad targets. To target all versions, use
. For each operating system version, only
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
. |
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 | |
---|---|
browser |
ID referring to this grouping of browser and version numbers. This is the ID used for targeting. |
dart |
DART ID of this browser. This is the ID used when generating reports. |
name |
Name of this browser. |
major |
Major version number (leftmost number) of this browser. For example, for
, 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,
targets any version of Chrome: 1.2, 2.5, 3.5, and so on.
targets Chrome 3.1, 3.5, but not 4.0.
targets cases where the ad server knows the browser is Firefox but can't tell which version it is. |
minor |
Minor version number (number after first dot on left) of this browser. For example, for
, 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,
targets any version of Chrome: 1.2, 2.5, 3.5, and so on.
targets Chrome 3.1, 3.5, but not 4.0.
targets cases where the ad server knows the browser is Firefox but can't tell which version it is. |
kind |
Identifies what kind of resource this is. Value: the fixed string
. |