Google Ads Ad Manager V1 Client - Class ForecastingLineItem (0.17.0)

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

A LineItem or ProposalLineItem to be forecasted along with an optional override advertiser.

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

Namespace

Google \ Ads \ AdManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ line_item LineItem

Optional. The LineItem to be forecasted.

↳ advertiser string

Optional. The resource name of the advertiser Company for the prospective line item. Format: networks/{network_code}/companies/{company_id}

getLineItem

Optional. The LineItem to be forecasted.

Returns
Type Description
LineItem|null

hasLineItem

setLineItem

Optional. The LineItem to be forecasted.

Parameter
Name Description
var LineItem
Returns
Type Description
$this

getAdvertiser

Optional. The resource name of the advertiser Company for the prospective line item.

Format: networks/{network_code}/companies/{company_id}

Returns
Type Description
string

setAdvertiser

Optional. The resource name of the advertiser Company for the prospective line item.

Format: networks/{network_code}/companies/{company_id}

Parameter
Name Description
var string
Returns
Type Description
$this

getLineItemEntry

Returns
Type Description
string