AdGroupAdError

  • This document describes an enum for possible ad group ad errors.

  • Errors include issues with labels, ads not found in ad groups, and operating on removed ads.

  • Creating or updating deprecated ad types like text ads will result in errors.

  • Errors can also occur due to empty fields or attempting multiple operations on the same ad within a single call.

Enum describing possible ad group ad errors.

Proto definition

Enums

AD_GROUP_AD_LABEL_ALREADY_EXISTS

The label has already been attached to the adgroup ad.

AD_GROUP_AD_LABEL_DOES_NOT_EXIST

No link found between the adgroup ad and the label.

AD_NOT_UNDER_ADGROUP

The specified ad was not found in the adgroup

AD_TYPE_CANNOT_BE_PAUSED

AdGroupAds with the given ad type cannot be paused.

AD_TYPE_CANNOT_BE_REMOVED

AdGroupAds with the given ad type cannot be removed.

CANNOT_CREATE_DEPRECATED_ADS

An ad of this type is deprecated and cannot be created. Only deletions are permitted.

CANNOT_CREATE_TEXT_ADS

Text ads are deprecated and cannot be created. Use expanded text ads instead.

CANNOT_OPERATE_ON_REMOVED_ADGROUPAD

Removed ads may not be modified

CANNOT_UPDATE_DEPRECATED_ADS

An ad of this type is deprecated and cannot be updated. Only removals are permitted.

EMPTY_FIELD

A required field was not specified or is an empty string.

RESOURCE_REFERENCED_IN_MULTIPLE_OPS

An ad may only be modified once per call

UNKNOWN

The received error code is not known in this version.

UNSPECIFIED

Enum unspecified.

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.