Google Ads Ad Manager V1 Client - Class Field (0.5.0)

Reference documentation and code samples for the Google Ads Ad Manager V1 Client class Field.

A dimension or a metric in a report.

Generated from protobuf message google.ads.admanager.v1.Report.Field

Namespace

Google \ Ads \ AdManager \ V1 \ Report

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ dimension
int

The dimension this field represents.

↳ metric
int

The metric this field represents.

getDimension

The dimension this field represents.

Returns
Type
Description
int
Enum of type Dimension .

hasDimension

setDimension

The dimension this field represents.

Parameter
Name
Description
var
int

Enum of type Dimension .

Returns
Type
Description
$this

getMetric

The metric this field represents.

Returns
Type
Description
int
Enum of type Metric .

hasMetric

setMetric

The metric this field represents.

Parameter
Name
Description
var
int

Enum of type Metric .

Returns
Type
Description
$this

getField

Returns
Type
Description
string
Create a Mobile Website
View Site in Mobile | Classic
Share by: