Reference documentation and code samples for the Google Ads Ad Manager V1 Client class Targeting.
Targeting expression.
Generated from protobuf message google.ads.admanager.v1.Targeting
Namespace
Google \ Ads \ AdManager \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ geo_targeting |
GeoTargeting
Optional. Used to target/exclude various geo targets. |
↳ technology_targeting |
TechnologyTargeting
Optional. Used to target various technology targeting dimensions. |
↳ inventory_targeting |
InventoryTargeting
Optional. Used to target/exclude various ad units and/or placements. |
↳ request_platform_targeting |
RequestPlatformTargeting
Optional. Used to target specific request platforms. |
↳ custom_targeting |
CustomTargeting
Optional. Used to target key/values, audience segments, and/or CMS metadata. |
↳ user_domain_targeting |
UserDomainTargeting
Optional. Used to target user domains. |
↳ video_position_targeting |
VideoPositionTargeting
Optional. Used to target video positions. |
↳ data_segment_targeting |
DataSegmentTargeting
Optional. Used to target data segments. |
getGeoTargeting
Optional. Used to target/exclude various geo targets.
| Returns | |
|---|---|
| Type | Description |
GeoTargeting|null |
|
hasGeoTargeting
clearGeoTargeting
setGeoTargeting
Optional. Used to target/exclude various geo targets.
| Parameter | |
|---|---|
| Name | Description |
var |
GeoTargeting
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTechnologyTargeting
Optional. Used to target various technology targeting dimensions.
| Returns | |
|---|---|
| Type | Description |
TechnologyTargeting|null |
|
hasTechnologyTargeting
clearTechnologyTargeting
setTechnologyTargeting
Optional. Used to target various technology targeting dimensions.
| Parameter | |
|---|---|
| Name | Description |
var |
TechnologyTargeting
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getInventoryTargeting
Optional. Used to target/exclude various ad units and/or placements.
| Returns | |
|---|---|
| Type | Description |
InventoryTargeting|null |
|
hasInventoryTargeting
clearInventoryTargeting
setInventoryTargeting
Optional. Used to target/exclude various ad units and/or placements.
| Parameter | |
|---|---|
| Name | Description |
var |
InventoryTargeting
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRequestPlatformTargeting
Optional. Used to target specific request platforms.
| Returns | |
|---|---|
| Type | Description |
RequestPlatformTargeting|null |
|
hasRequestPlatformTargeting
clearRequestPlatformTargeting
setRequestPlatformTargeting
Optional. Used to target specific request platforms.
| Parameter | |
|---|---|
| Name | Description |
var |
RequestPlatformTargeting
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCustomTargeting
Optional. Used to target key/values, audience segments, and/or CMS metadata.
| Returns | |
|---|---|
| Type | Description |
CustomTargeting|null |
|
hasCustomTargeting
clearCustomTargeting
setCustomTargeting
Optional. Used to target key/values, audience segments, and/or CMS metadata.
| Parameter | |
|---|---|
| Name | Description |
var |
CustomTargeting
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUserDomainTargeting
Optional. Used to target user domains.
| Returns | |
|---|---|
| Type | Description |
UserDomainTargeting|null |
|
hasUserDomainTargeting
clearUserDomainTargeting
setUserDomainTargeting
Optional. Used to target user domains.
| Parameter | |
|---|---|
| Name | Description |
var |
UserDomainTargeting
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getVideoPositionTargeting
Optional. Used to target video positions.
| Returns | |
|---|---|
| Type | Description |
VideoPositionTargeting|null |
|
hasVideoPositionTargeting
clearVideoPositionTargeting
setVideoPositionTargeting
Optional. Used to target video positions.
| Parameter | |
|---|---|
| Name | Description |
var |
VideoPositionTargeting
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDataSegmentTargeting
Optional. Used to target data segments.
| Returns | |
|---|---|
| Type | Description |
DataSegmentTargeting|null |
|
hasDataSegmentTargeting
clearDataSegmentTargeting
setDataSegmentTargeting
Optional. Used to target data segments.
| Parameter | |
|---|---|
| Name | Description |
var |
DataSegmentTargeting
|
| Returns | |
|---|---|
| Type | Description |
$this |
|