Google Ads Ad Manager V1 Client - Class Slice (0.6.0)

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.ReportDefinition.Slice

Namespace

Google \ Ads \ AdManager \ V1 \ ReportDefinition

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ dimension
int

Required. The dimension to slice on.

↳ value
Google\Ads\AdManager\V1\ReportValue

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

hasValue

clearValue

setValue

Required. The value of the dimension.

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: