Google Ads Ad Manager V1 Client - Class Value (0.1.1)

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

Represents a single value in a report.

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

Namespace

Google \ Ads \ AdManager \ V1 \ Report

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ int_value int|string

For integer values.

↳ double_value float

For double values.

↳ string_value string

For string values.

↳ bool_value bool

For boolean values.

↳ int_list_value Google\Ads\AdManager\V1\Report\Value\IntList

For lists of integer values.

↳ string_list_value Google\Ads\AdManager\V1\Report\Value\StringList

For lists of string values.

↳ bytes_value string

For bytes values.

getIntValue

For integer values.

Returns
Type Description
int|string

hasIntValue

setIntValue

For integer values.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getDoubleValue

For double values.

Returns
Type Description
float

hasDoubleValue

setDoubleValue

For double values.

Parameter
Name Description
var float
Returns
Type Description
$this

getStringValue

For string values.

Returns
Type Description
string

hasStringValue

setStringValue

For string values.

Parameter
Name Description
var string
Returns
Type Description
$this

getBoolValue

For boolean values.

Returns
Type Description
bool

hasBoolValue

setBoolValue

For boolean values.

Parameter
Name Description
var bool
Returns
Type Description
$this

getIntListValue

For lists of integer values.

Returns
Type Description
Google\Ads\AdManager\V1\Report\Value\IntList|null

hasIntListValue

setIntListValue

For lists of integer values.

Parameter
Name Description
var Google\Ads\AdManager\V1\Report\Value\IntList
Returns
Type Description
$this

getStringListValue

For lists of string values.

Returns
Type Description
Google\Ads\AdManager\V1\Report\Value\StringList|null

hasStringListValue

setStringListValue

For lists of string values.

Parameter
Name Description
var Google\Ads\AdManager\V1\Report\Value\StringList
Returns
Type Description
$this

getBytesValue

For bytes values.

Returns
Type Description
string

hasBytesValue

setBytesValue

For bytes values.

Parameter
Name Description
var string
Returns
Type Description
$this

getValue

Returns
Type Description
string