Google Ads Ad Manager V1 Client - Class ForecastBreakdown (0.15.0)

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

Represents the breakdown entries for a list of targetings and creatives.

Generated from protobuf message google.ads.admanager.v1.ForecastBreakdown

Namespace

Google \ Ads \ AdManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ start_time Google\Protobuf\Timestamp

The starting time of the represented breakdown.

↳ end_time Google\Protobuf\Timestamp

The end time of the represented breakdown.

↳ named_entries array<ForecastBreakdownEntry>

The forecast breakdown entries in the same order as in the ForecastBreakdownOptions.targets field.

getStartTime

The starting time of the represented breakdown.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasStartTime

clearStartTime

setStartTime

The starting time of the represented breakdown.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getEndTime

The end time of the represented breakdown.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasEndTime

clearEndTime

setEndTime

The end time of the represented breakdown.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getNamedEntries

The forecast breakdown entries in the same order as in the ForecastBreakdownOptions.targets field.

Returns
Type Description
Google\Protobuf\RepeatedField<ForecastBreakdownEntry>

setNamedEntries

The forecast breakdown entries in the same order as in the ForecastBreakdownOptions.targets field.

Parameter
Name Description
var array<ForecastBreakdownEntry>
Returns
Type Description
$this