Google Ads Ad Manager V1 Client - Class LineItemDealInfo (0.14.1)

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

Data transfer object for the exchange deal info of a line item.

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

Namespace

Google \ Ads \ AdManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ external_deal_id int|string

Optional. The external deal ID shared between seller and buyer. This field is only present if the deal has been finalized.

getExternalDealId

Optional. The external deal ID shared between seller and buyer. This field is only present if the deal has been finalized.

Returns
Type Description
int|string

hasExternalDealId

clearExternalDealId

setExternalDealId

Optional. The external deal ID shared between seller and buyer. This field is only present if the deal has been finalized.

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