Reference documentation and code samples for the Google Ads Ad Manager V1 Client class GrpDemographicBreakdown.
GRP forecast breakdown counts associated with a gender and age demographic.
Generated from protobuf message google.ads.admanager.v1.GrpDemographicBreakdown
Namespace
Google \ Ads \ AdManager \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ available_units |
int|string
The number of units matching the demographic breakdown that can be booked without affecting the delivery of any reserved line items. |
↳ matched_units |
int|string
The number of units matching the demographic and matching specified targeting and delivery settings. |
↳ unit_type |
int
The GrpUnitType associated with this demographic breakdown. |
↳ gender |
int
The GrpGender associated with this demographic breakdown. |
↳ age |
int
The GrpAge associated with this demographic breakdown. |
getAvailableUnits
The number of units matching the demographic breakdown that can be booked without affecting the delivery of any reserved line items.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
hasAvailableUnits
clearAvailableUnits
setAvailableUnits
The number of units matching the demographic breakdown that can be booked without affecting the delivery of any reserved line items.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMatchedUnits
The number of units matching the demographic and matching specified targeting and delivery settings.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
hasMatchedUnits
clearMatchedUnits
setMatchedUnits
The number of units matching the demographic and matching specified targeting and delivery settings.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUnitType
The GrpUnitType associated with this demographic breakdown.
| Returns | |
|---|---|
| Type | Description |
int |
|
hasUnitType
clearUnitType
setUnitType
The GrpUnitType associated with this demographic breakdown.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getGender
The GrpGender associated with this demographic breakdown.
| Returns | |
|---|---|
| Type | Description |
int |
|
hasGender
clearGender
setGender
The GrpGender associated with this demographic breakdown.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAge
The GrpAge associated with this demographic breakdown.
| Returns | |
|---|---|
| Type | Description |
int |
|
hasAge
clearAge
setAge
The GrpAge associated with this demographic breakdown.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|