com.google.api.ads.admanager.jaxws.v202405.CreativeErrorReason Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dfp-appengine Show documentation
Show all versions of dfp-appengine Show documentation
Ad Manager specific AppEngine components.
The newest version!
// Copyright 2024 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package com.google.api.ads.admanager.jaxws.v202405;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for CreativeError.Reason.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="CreativeError.Reason">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="FLASH_AND_FALLBACK_URL_ARE_SAME"/>
* <enumeration value="INVALID_INTERNAL_REDIRECT_URL"/>
* <enumeration value="DESTINATION_URL_REQUIRED"/>
* <enumeration value="DESTINATION_URL_NOT_EMPTY"/>
* <enumeration value="DESTINATION_URL_TYPE_NOT_SUPPORTED"/>
* <enumeration value="CANNOT_CREATE_OR_UPDATE_LEGACY_DFP_CREATIVE"/>
* <enumeration value="CANNOT_CREATE_OR_UPDATE_LEGACY_DFP_MOBILE_CREATIVE"/>
* <enumeration value="MISSING_FEATURE"/>
* <enumeration value="INVALID_COMPANY_TYPE"/>
* <enumeration value="INVALID_ADSENSE_CREATIVE_SIZE"/>
* <enumeration value="INVALID_AD_EXCHANGE_CREATIVE_SIZE"/>
* <enumeration value="DUPLICATE_ASSET_IN_CREATIVE"/>
* <enumeration value="CREATIVE_ASSET_CANNOT_HAVE_ID_AND_BYTE_ARRAY"/>
* <enumeration value="CANNOT_CREATE_OR_UPDATE_UNSUPPORTED_CREATIVE"/>
* <enumeration value="CANNOT_CREATE_PROGRAMMATIC_CREATIVES"/>
* <enumeration value="INVALID_SIZE_FOR_THIRD_PARTY_IMPRESSION_TRACKER"/>
* <enumeration value="CANNOT_DEACTIVATE_CREATIVES_IN_CREATIVE_SETS"/>
* <enumeration value="HOSTED_VIDEO_CREATIVE_REQUIRES_VIDEO_ASSET"/>
* <enumeration value="CANNOT_SET_MULTIPLE_IMPRESSION_TRACKING_URLS"/>
* <enumeration value="UNKNOWN"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "CreativeError.Reason")
@XmlEnum
public enum CreativeErrorReason {
/**
*
* {@link FlashRedirectCreative#flashUrl} and
* {@link FlashRedirectCreative#fallbackUrl} are the same. The fallback URL
* is used when the flash URL does not work and must be different from it.
*
*
*/
FLASH_AND_FALLBACK_URL_ARE_SAME,
/**
*
* The internal redirect URL was invalid. The URL must have the following
* syntax http://ad.doubleclick.net/ad/sitename/;sz=size.
*
*
*/
INVALID_INTERNAL_REDIRECT_URL,
/**
*
* {@link HasDestinationUrlCreative#destinationUrl} is required.
*
*
*/
DESTINATION_URL_REQUIRED,
/**
*
* {@link HasDestinationUrlCreative#destinationUrl} must be empty when its type is
* {@link DestinationUrlType#NONE}.
*
*
*/
DESTINATION_URL_NOT_EMPTY,
/**
*
* The provided {@link DestinationUrlType} is not supported for the creative type it is
* being used on.
*
*
*/
DESTINATION_URL_TYPE_NOT_SUPPORTED,
/**
*
* Cannot create or update legacy DART For Publishers creative.
*
*
*/
CANNOT_CREATE_OR_UPDATE_LEGACY_DFP_CREATIVE,
/**
*
* Cannot create or update legacy mobile creative.
*
*
*/
CANNOT_CREATE_OR_UPDATE_LEGACY_DFP_MOBILE_CREATIVE,
/**
*
* The user is missing a necessary feature.
*
*
*/
MISSING_FEATURE,
/**
*
* Company type should be one of Advertisers, House Advertisers and
* Ad Networks.
*
*
*/
INVALID_COMPANY_TYPE,
/**
*
* Invalid size for AdSense dynamic allocation creative.
* Only valid AFC sizes are allowed.
*
*
*/
INVALID_ADSENSE_CREATIVE_SIZE,
/**
*
* Invalid size for Ad Exchange dynamic allocation creative.
* Only valid Ad Exchange sizes are allowed.
*
*
*/
INVALID_AD_EXCHANGE_CREATIVE_SIZE,
/**
*
* Assets associated with the same creative must be unique.
*
*
*/
DUPLICATE_ASSET_IN_CREATIVE,
/**
*
* A creative asset cannot contain an asset ID and a byte array.
*
*
*/
CREATIVE_ASSET_CANNOT_HAVE_ID_AND_BYTE_ARRAY,
/**
*
* Cannot create or update unsupported creative.
*
*
*/
CANNOT_CREATE_OR_UPDATE_UNSUPPORTED_CREATIVE,
/**
*
* Cannot create programmatic creatives.
*
*
*/
CANNOT_CREATE_PROGRAMMATIC_CREATIVES,
/**
*
* A creative must have valid size to use the third-party impression tracker.
*
*
*/
INVALID_SIZE_FOR_THIRD_PARTY_IMPRESSION_TRACKER,
/**
*
* Ineligible creatives can not be deactivated.
*
*
*/
CANNOT_DEACTIVATE_CREATIVES_IN_CREATIVE_SETS,
/**
*
* Ad Manager hosted video creatives must contain a video asset.
*
*
*/
HOSTED_VIDEO_CREATIVE_REQUIRES_VIDEO_ASSET,
/**
*
* {@link ImageCreative#thirdPartyImpressionTrackingUrls} should not contain more than one url.
*
*
*/
CANNOT_SET_MULTIPLE_IMPRESSION_TRACKING_URLS,
/**
*
* The value returned if the actual value is not exposed by the requested API version.
*
*
*/
UNKNOWN;
public String value() {
return name();
}
public static CreativeErrorReason fromValue(String v) {
return valueOf(v);
}
}