com.google.api.ads.admanager.jaxws.v202402.CreativeSetErrorReason 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.v202402;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for CreativeSetError.Reason.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="CreativeSetError.Reason">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="VIDEO_FEATURE_REQUIRED"/>
* <enumeration value="CANNOT_CREATE_OR_UPDATE_VIDEO_CREATIVES"/>
* <enumeration value="ROADBLOCK_FEATURE_REQUIRED"/>
* <enumeration value="MASTER_CREATIVE_CANNOT_BE_COMPANION"/>
* <enumeration value="INVALID_ADVERTISER"/>
* <enumeration value="UPDATE_MASTER_CREATIVE_NOT_ALLOWED"/>
* <enumeration value="MASTER_CREATIVE_CANNOT_BELONG_TO_MULTIPLE_VIDEO_CREATIVE_SETS"/>
* <enumeration value="SKIPPABLE_AD_TYPE_NOT_ALLOWED"/>
* <enumeration value="UNKNOWN"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "CreativeSetError.Reason")
@XmlEnum
public enum CreativeSetErrorReason {
/**
*
* The 'video' feature is required but not enabled.
*
*
*/
VIDEO_FEATURE_REQUIRED,
/**
*
* Video creatives (including overlays, VAST redirects, etc..) cannot be created
* or updated through the API.
*
*
*/
CANNOT_CREATE_OR_UPDATE_VIDEO_CREATIVES,
/**
*
* The 'roadblock' feature is required but not enabled.
*
*
*/
ROADBLOCK_FEATURE_REQUIRED,
/**
*
* A master creative cannot be a companion creative in the same creative set.
*
*
*/
MASTER_CREATIVE_CANNOT_BE_COMPANION,
/**
*
* Creatives in a creative set must be for the same advertiser.
*
*
*/
INVALID_ADVERTISER,
/**
*
* Updating a master creative in a creative set is not allowed.
*
*
*/
UPDATE_MASTER_CREATIVE_NOT_ALLOWED,
/**
*
* A master creative must belong to only one video creative set.
*
*
*/
MASTER_CREATIVE_CANNOT_BELONG_TO_MULTIPLE_VIDEO_CREATIVE_SETS,
/**
*
* The {@Code SkippableAdType} is not allowed.
*
*
*/
SKIPPABLE_AD_TYPE_NOT_ALLOWED,
/**
*
* The value returned if the actual value is not exposed by the requested API version.
*
*
*/
UNKNOWN;
public String value() {
return name();
}
public static CreativeSetErrorReason fromValue(String v) {
return valueOf(v);
}
}