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

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

Request message for BatchActivateLineItemCreativeAssociations method.

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

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 activated. 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 activate. A maximum of 1000 objects can be activated in a batch. Format: networks/{network_code}/lineItems/{line_item_id}/creatives/{creative_id}

getParent

Required. The parent resource where LineItemCreativeAssociations will be activated. 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 activated. 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 activate. A maximum of 1000 objects can be activated 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 activate. A maximum of 1000 objects can be activated 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 activated. 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 activate. A maximum of 1000 objects can be activated 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
BatchActivateLineItemCreativeAssociationsRequest