Reference documentation and code samples for the Google Ads Ad Manager V1 Client class DeviceManufacturerTargeting.
Device Manufacturer Targeting.
Can be used to target/exclude users on devices made by specific brands or companies, such as Apple, Google, Samsung and others. For more information, see https://support.google.com/admanager/answer/2884033 ("Targeting types > Device manufacturer").
Generated from protobuf message google.ads.admanager.v1.DeviceManufacturerTargeting
Namespace
Google \ Ads \ AdManager \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ targeted_device_manufacturers |
array
Optional. A list of device manufacturer resource names that should be targeted/included. |
↳ excluded_device_manufacturers |
array
Optional. A list of device manufacturer resource names that should be excluded. |
↳ targeted_mobile_devices |
array
Optional. A list of mobile device resource names that should be targeted/included. |
↳ excluded_mobile_devices |
array
Optional. A list of mobile device resource names that should be excluded. |
↳ targeted_mobile_device_submodels |
array
Optional. A list of mobile device submodel resource names that should be targeted/included. |
↳ excluded_mobile_device_submodels |
array
Optional. A list of mobile device submodel resource names that should be excluded. |
getTargetedDeviceManufacturers
Optional. A list of device manufacturer resource names that should be targeted/included.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setTargetedDeviceManufacturers
Optional. A list of device manufacturer resource names that should be targeted/included.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getExcludedDeviceManufacturers
Optional. A list of device manufacturer resource names that should be excluded.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setExcludedDeviceManufacturers
Optional. A list of device manufacturer resource names that should be excluded.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTargetedMobileDevices
Optional. A list of mobile device resource names that should be targeted/included.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setTargetedMobileDevices
Optional. A list of mobile device resource names that should be targeted/included.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getExcludedMobileDevices
Optional. A list of mobile device resource names that should be excluded.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setExcludedMobileDevices
Optional. A list of mobile device resource names that should be excluded.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTargetedMobileDeviceSubmodels
Optional. A list of mobile device submodel resource names that should be targeted/included.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setTargetedMobileDeviceSubmodels
Optional. A list of mobile device submodel resource names that should be targeted/included.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getExcludedMobileDeviceSubmodels
Optional. A list of mobile device submodel resource names that should be excluded.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setExcludedMobileDeviceSubmodels
Optional. A list of mobile device submodel resource names that should be excluded.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|