Reference documentation and code samples for the Google Ads Ad Manager V1 Client class Slice.
Use to specify a slice of data.
For example, in a report, to focus on just data from the US, specify
COUNTRY_NAME for dimension and value: "United States".
Generated from protobuf message google.ads.admanager.v1.Report.Slice
Namespace
Google \ Ads \ AdManager \ V1 \ ReportMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ dimension |
int
Required. The dimension to slice on. |
↳ value |
Value
Required. The value of the dimension. |
getDimension
Required. The dimension to slice on.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type Dimension. |
setDimension
Required. The dimension to slice on.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type Dimension. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getValue
Required. The value of the dimension.
| Returns | |
|---|---|
| Type | Description |
Value|null |
|
hasValue
clearValue
setValue
Required. The value of the dimension.
| Parameter | |
|---|---|
| Name | Description |
var |
Value
|
| Returns | |
|---|---|
| Type | Description |
$this |
|