Google Ads Ad Manager V1 Client - Class OperatingSystemTargeting (0.3.0)

Reference documentation and code samples for the Google Ads Ad Manager V1 Client class OperatingSystemTargeting.

Operating System Targeting

Generated from protobuf message google.ads.admanager.v1.OperatingSystemTargeting

Namespace

Google \ Ads \ AdManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ targeted_operating_systems array

Optional. A list of operating system resource names that should be targeted/included.

↳ excluded_operating_systems array

Optional. A list of operating system resource names that should be excluded.

↳ targeted_operating_system_versions array

Optional. A list of operating system version resource names that should be targeted/included.

↳ excluded_operating_system_versions array

Optional. A list of operating system version resource names that should be excluded.

getTargetedOperatingSystems

Optional. A list of operating system resource names that should be targeted/included.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setTargetedOperatingSystems

Optional. A list of operating system resource names that should be targeted/included.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getExcludedOperatingSystems

Optional. A list of operating system resource names that should be excluded.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setExcludedOperatingSystems

Optional. A list of operating system resource names that should be excluded.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getTargetedOperatingSystemVersions

Optional. A list of operating system version resource names that should be targeted/included.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setTargetedOperatingSystemVersions

Optional. A list of operating system version resource names that should be targeted/included.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getExcludedOperatingSystemVersions

Optional. A list of operating system version resource names that should be excluded.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setExcludedOperatingSystemVersions

Optional. A list of operating system version resource names that should be excluded.

Parameter
Name Description
var string[]
Returns
Type Description
$this