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

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

Describes contending line items for a forecast.

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

Namespace

Google \ Ads \ AdManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ line_item string

The resource name of the contending line item. Format: networks/{network_code}/lineItems/{line_item_id}

↳ contending_units int|string

The number of impressions contended for by both the forecasted line item and this line item.

getLineItem

The resource name of the contending line item.

Format: networks/{network_code}/lineItems/{line_item_id}

Returns
Type Description
string

hasLineItem

clearLineItem

setLineItem

The resource name of the contending line item.

Format: networks/{network_code}/lineItems/{line_item_id}

Parameter
Name Description
var string
Returns
Type Description
$this

getContendingUnits

The number of impressions contended for by both the forecasted line item and this line item.

Returns
Type Description
int|string

hasContendingUnits

clearContendingUnits

setContendingUnits

The number of impressions contended for by both the forecasted line item and this line item.

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