AdGroupAssetOperation

  • This content describes a single operation on an ad group asset, which can be creating, updating, or removing the asset.

  • Theupdate_mask field is used to specify which fields are modified during an update operation.

  • Theoperation field determines the type of mutate operation to be performed (create, update, or remove).

  • For a create operation, no resource name is expected for the new ad group asset.

  • For update and remove operations, a valid resource name for the ad group asset is required, with a specific format for the remove operation.

A single operation (create, update, remove) on an ad group asset.

Proto definition

Fields

operation

Union field. The mutate operation.

operation can be only one of the following:

create

AdGroupAsset

Create operation: No resource name is expected for the new ad group asset.

remove

string

Remove operation: A resource name for the removed ad group asset is expected, in this format:

customers/{customer_id}/adGroupAssets/{ad_group_id}~{asset_id}~{field_type}

update

AdGroupAsset

Update operation: The ad group asset is expected to have a valid resource name.

update_mask

FieldMask

FieldMask that determines which resource fields are modified in an update.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-12-12 UTC.