Google Ads Ad Manager V1 Client - Class DeviceCategoryTargeting (0.3.1)

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

Represents a list of targeted and excluded device categories.

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

Namespace

Google \ Ads \ AdManager \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ targeted_categories
array

Optional. A list of device category resource names that should be targeted/included.

↳ excluded_categories
array

Optional. A list of device category resource names that should be excluded.

getTargetedCategories

Optional. A list of device category resource names that should be targeted/included.

Returns
Type
Description

setTargetedCategories

Optional. A list of device category resource names that should be targeted/included.

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

getExcludedCategories

Optional. A list of device category resource names that should be excluded.

Returns
Type
Description

setExcludedCategories

Optional. A list of device category resource names that should be excluded.

Parameter
Name
Description
var
string[]
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: