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 \ V1Methods
__construct
Constructor.
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.
setTargetedCategories
Optional. A list of device category resource names that should be targeted/included.
var
string[]
$this
getExcludedCategories
Optional. A list of device category resource names that should be excluded.
setExcludedCategories
Optional. A list of device category resource names that should be excluded.
var
string[]
$this