Method: customers.adGroupAds.removeAutomaticallyCreatedAssets

Remove automatically created assets from an ad.

List of thrown errors: AdError AuthenticationError AuthorizationError AutomaticallyCreatedAssetRemovalError HeaderError InternalError MutateError QuotaError RequestError

HTTP request

POST https://googleads.googleapis.com/v17/{adGroupAd=customers/*/adGroupAds/*}:removeAutomaticallyCreatedAssets

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
adGroupAd

string

Required. The resource name of the AdGroupAd from which to remove automatically created assets.

Request body

The request body contains data with the following structure:

JSON representation
{
  "assetsWithFieldType": [
    {
      object (AssetsWithFieldType)
    }
  ]
}
Fields
assetsWithFieldType[]

object (AssetsWithFieldType)

Required. List of assets with field type to be removed from the AdGroupAd.

Response body

If successful, the response body is empty.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/adwords

For more information, see the OAuth 2.0 Overview.

AssetsWithFieldType

The combination of system asset and field type to remove.

JSON representation
{
  "asset": string,
  "assetFieldType": enum (AssetFieldType)
}
Fields
asset

string

Required. The resource name of the asset to be removed.

assetFieldType

enum (AssetFieldType)

Required. The asset field type.