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

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

Request object for UpdateLineItem method.

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

Namespace

Google \ Ads \ AdManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ line_item LineItem

Required. The LineItem to update. The LineItem's name is used to identify the LineItem to update.

↳ update_mask Google\Protobuf\FieldMask

Optional. The list of fields to update.

getLineItem

Required. The LineItem to update.

The LineItem's name is used to identify the LineItem to update.

Returns
Type Description
LineItem|null

hasLineItem

clearLineItem

setLineItem

Required. The LineItem to update.

The LineItem's name is used to identify the LineItem to update.

Parameter
Name Description
var LineItem
Returns
Type Description
$this

getUpdateMask

Optional. The list of fields to update.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Optional. The list of fields to update.

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

static::build

Parameters
Name Description
lineItem LineItem

Required. The LineItem to update.

The LineItem's name is used to identify the LineItem to update.

updateMask Google\Protobuf\FieldMask

Optional. The list of fields to update.

Returns
Type Description
UpdateLineItemRequest