enum CreativeError.Reason (v202508)

  • CreativeError.Reason provides explanations for various errors that can occur with creatives in the Ad Manager API.

  • Errors include issues with flash and fallback URLs being the same, destination URL configuration, unsupported creative types, duplicate assets, and missing required assets like video for hosted video creatives.

  • Specific legacy DFP and programmatic creative operations may result in errors.

  • Invalid company types and creative sizes for third-party impression trackers are also potential reasons for errors.

The reasons for the target error.


Namespace
https://www.google.com/apis/ads/publisher/v202508
Enumeration Description
FLASH_AND_FALLBACK_URL_ARE_SAME FlashRedirectCreative.flashUrl and FlashRedirectCreative.fallbackUrl are the same. The fallback URL is used when the flash URL does not work and must be different from it.
DESTINATION_URL_NOT_EMPTY HasDestinationUrlCreative.destinationUrl must be empty when its type is DestinationUrlType.NONE.
DESTINATION_URL_TYPE_NOT_SUPPORTED The provided DestinationUrlType is not supported for the creative type it is being used on.
CANNOT_CREATE_OR_UPDATE_LEGACY_DFP_CREATIVE Cannot create or update legacy DART For Publishers creative.
CANNOT_CREATE_OR_UPDATE_LEGACY_DFP_MOBILE_CREATIVE Cannot create or update legacy mobile creative.
INVALID_COMPANY_TYPE Company type should be one of Advertisers, House Advertisers and Ad Networks.
DUPLICATE_ASSET_IN_CREATIVE Assets associated with the same creative must be unique.
CREATIVE_ASSET_CANNOT_HAVE_ID_AND_BYTE_ARRAY A creative asset cannot contain an asset ID and a byte array.
CANNOT_CREATE_OR_UPDATE_UNSUPPORTED_CREATIVE Cannot create or update unsupported creative.
CANNOT_CREATE_PROGRAMMATIC_CREATIVES Cannot create programmatic creatives.
INVALID_SIZE_FOR_THIRD_PARTY_IMPRESSION_TRACKER A creative must have valid size to use the third-party impression tracker.
CANNOT_DEACTIVATE_CREATIVES_IN_CREATIVE_SETS Ineligible creatives can not be deactivated.
HOSTED_VIDEO_CREATIVE_REQUIRES_VIDEO_ASSET Ad Manager hosted video creatives must contain a video asset.
UNKNOWN The value returned if the actual value is not exposed by the requested API version.