AdSharingError

Enum describing possible ad sharing errors.

Proto definition

Enums

AD_GROUP_ALREADY_CONTAINS_AD

Error resulting in attempting to add an Ad to an AdGroup that already contains the Ad.

CANNOT_SHARE_INACTIVE_AD

Cannot add AdGroupAd on inactive Ad.

INCOMPATIBLE_AD_UNDER_AD_GROUP

Ad is not compatible with the AdGroup it is being shared with.

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 2026-01-22 UTC.