Google Ads Ad Manager V1 Client - Class Field (0.1.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

hasDimension

setDimension

The dimension this field represents.

Parameter
Name Description
var int
Returns
Type Description
$this

getMetric

The metric this field represents.

Returns
Type Description
int

hasMetric

setMetric

The metric this field represents.

Parameter
Name Description
var int
Returns
Type Description
$this

getField

Returns
Type Description
string