Google Ads Ad Manager V1 Client - Class InventorySizeTargeting (0.17.0)

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

Represents a list of targeted and excluded sizes.

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

Namespace

Google \ Ads \ AdManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ targeted_inventory_sizes array<Size>

Optional. A list of sizes that should be targeted/included.

↳ excluded_inventory_sizes array<Size>

Optional. A list of sizes that should be excluded.

getTargetedInventorySizes

Optional. A list of sizes that should be targeted/included.

Returns
Type Description
Google\Protobuf\RepeatedField<Size>

setTargetedInventorySizes

Optional. A list of sizes that should be targeted/included.

Parameter
Name Description
var array<Size>
Returns
Type Description
$this

getExcludedInventorySizes

Optional. A list of sizes that should be excluded.

Returns
Type Description
Google\Protobuf\RepeatedField<Size>

setExcludedInventorySizes

Optional. A list of sizes that should be excluded.

Parameter
Name Description
var array<Size>
Returns
Type Description
$this