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

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

Request object for CreateLineItemCreativeAssociation method.

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

Namespace

Google \ Ads \ AdManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent resource where this LineItemCreativeAssociation will be created. Format: networks/{network_code}/lineItems/{line_item_id}

↳ line_item_creative_association LineItemCreativeAssociation

Required. The LineItemCreativeAssociation to create.

getParent

Required. The parent resource where this LineItemCreativeAssociation will be created. Format: networks/{network_code}/lineItems/{line_item_id}

Returns
Type Description
string

setParent

Required. The parent resource where this LineItemCreativeAssociation will be created. Format: networks/{network_code}/lineItems/{line_item_id}

Parameter
Name Description
var string
Returns
Type Description
$this

getLineItemCreativeAssociation

Required. The LineItemCreativeAssociation to create.

Returns
Type Description
LineItemCreativeAssociation|null

hasLineItemCreativeAssociation

clearLineItemCreativeAssociation

setLineItemCreativeAssociation

Required. The LineItemCreativeAssociation to create.

Parameter
Name Description
var LineItemCreativeAssociation
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The parent resource where this LineItemCreativeAssociation will be created. Format: networks/{network_code}/lineItems/{line_item_id} Please see LineItemCreativeAssociationServiceClient::lineItemName() for help formatting this field.

lineItemCreativeAssociation LineItemCreativeAssociation

Required. The LineItemCreativeAssociation to create.

Returns
Type Description
CreateLineItemCreativeAssociationRequest