Reference documentation and code samples for the Google Ads Ad Manager V1 Client class TargetingCriteriaBreakdown.
A single targeting criteria breakdown result.
Generated from protobuf message google.ads.admanager.v1.TargetingCriteriaBreakdown
Namespace
Google \ Ads \ AdManager \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ targeting_dimension |
int
The dimension of this breakdown |
↳ targeting_criteria_id |
int|string
The unique ID of the targeting criteria. |
↳ targeting_criteria |
string
The name of the targeting criteria. |
↳ excluded |
bool
When true, the breakdown is negative. |
↳ available_units |
int|string
The available units for this breakdown. |
↳ matched_units |
int|string
The matched units for this breakdown. |
getTargetingDimension
The dimension of this breakdown
| Returns | |
|---|---|
| Type | Description |
int |
|
hasTargetingDimension
clearTargetingDimension
setTargetingDimension
The dimension of this breakdown
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTargetingCriteriaId
The unique ID of the targeting criteria.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
hasTargetingCriteriaId
clearTargetingCriteriaId
setTargetingCriteriaId
The unique ID of the targeting criteria.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTargetingCriteria
The name of the targeting criteria.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasTargetingCriteria
clearTargetingCriteria
setTargetingCriteria
The name of the targeting criteria.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getExcluded
When true, the breakdown is negative.
| Returns | |
|---|---|
| Type | Description |
bool |
|
hasExcluded
clearExcluded
setExcluded
When true, the breakdown is negative.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAvailableUnits
The available units for this breakdown.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
hasAvailableUnits
clearAvailableUnits
setAvailableUnits
The available units for this breakdown.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMatchedUnits
The matched units for this breakdown.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
hasMatchedUnits
clearMatchedUnits
setMatchedUnits
The matched units for this breakdown.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|