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

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

Request message for BatchDeleteLineItemCreativeAssociations method.

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

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 LineItemCreativeAssociations will be deleted. This request supports using the "-" character as a wildcard for resources that span across multiple LineItem parents. Format: networks/{network_code}/lineItems/{line_item_id} Format: networks/{network_code}/lineItems/-

↳ names string[]

Required. The names of the LineItemCreativeAssociation objects to delete. A maximum of 1000 objects can be deleted in a batch. Format: networks/{network_code}/lineItems/{line_item_id}/creatives/{creative_id}

getParent

Required. The parent resource where LineItemCreativeAssociations will be deleted. This request supports using the "-" character as a wildcard for resources that span across multiple LineItem parents. Format: networks/{network_code}/lineItems/{line_item_id} Format: networks/{network_code}/lineItems/-

Returns
Type Description
string

setParent

Required. The parent resource where LineItemCreativeAssociations will be deleted. This request supports using the "-" character as a wildcard for resources that span across multiple LineItem parents. Format: networks/{network_code}/lineItems/{line_item_id} Format: networks/{network_code}/lineItems/-

Parameter
Name Description
var string
Returns
Type Description
$this

getNames

Required. The names of the LineItemCreativeAssociation objects to delete.

A maximum of 1000 objects can be deleted in a batch. Format: networks/{network_code}/lineItems/{line_item_id}/creatives/{creative_id}

Returns
Type Description
Google\Protobuf\RepeatedField<string>

setNames

Required. The names of the LineItemCreativeAssociation objects to delete.

A maximum of 1000 objects can be deleted in a batch. Format: networks/{network_code}/lineItems/{line_item_id}/creatives/{creative_id}

Parameter
Name Description
var string[]
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The parent resource where LineItemCreativeAssociations will be deleted. This request supports using the "-" character as a wildcard for resources that span across multiple LineItem parents. Format: networks/{network_code}/lineItems/{line_item_id} Format: networks/{network_code}/lineItems/- Please see LineItemCreativeAssociationServiceClient::lineItemName() for help formatting this field.

names string[]

Required. The names of the LineItemCreativeAssociation objects to delete. A maximum of 1000 objects can be deleted in a batch. Format: networks/{network_code}/lineItems/{line_item_id}/creatives/{creative_id} Please see LineItemCreativeAssociationServiceClient::lineItemCreativeAssociationName() for help formatting this field.

Returns
Type Description
BatchDeleteLineItemCreativeAssociationsRequest