com.google.api.ads.admanager.jaxws.v202408.DateTimeRangeTargetingErrorReason 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.v202408;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for DateTimeRangeTargetingError.Reason.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="DateTimeRangeTargetingError.Reason">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="EMPTY_RANGES"/>
* <enumeration value="NOT_SPONSORSHIP_LINEITEM"/>
* <enumeration value="NOT_SPONSORSHIP_OR_STANDARD_LINEITEM"/>
* <enumeration value="UNSUPPORTED_LINEITEM_RESERVATION_TYPE"/>
* <enumeration value="PAST_RANGES_CHANGED"/>
* <enumeration value="RANGES_OVERLAP"/>
* <enumeration value="FIRST_DATE_TIME_DOES_NOT_MATCH_START_TIME"/>
* <enumeration value="LAST_DATE_TIME_DOES_NOT_MATCH_END_TIME"/>
* <enumeration value="RANGES_OUT_OF_LINEITEM_ACTIVE_PERIOD"/>
* <enumeration value="START_TIME_IS_NOT_START_OF_DAY"/>
* <enumeration value="END_TIME_IS_NOT_END_OF_DAY"/>
* <enumeration value="START_DATE_TIME_IS_IN_PAST"/>
* <enumeration value="MODIFY_START_DATE_TIME_TO_PAST"/>
* <enumeration value="RANGE_END_TIME_BEFORE_START_TIME"/>
* <enumeration value="END_DATE_TIME_IS_TOO_LATE"/>
* <enumeration value="LIMITED_RANGES_IN_UNLIMITED_LINEITEM"/>
* <enumeration value="UNKNOWN"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "DateTimeRangeTargetingError.Reason")
@XmlEnum
public enum DateTimeRangeTargetingErrorReason {
/**
*
* No targeted ranges exists.
*
*
*/
EMPTY_RANGES,
/**
*
* Type of lineitem is not sponsorship.
*
*
*/
NOT_SPONSORSHIP_LINEITEM,
/**
*
* Type of lineitem is not sponsorship or standard.
*
*
*/
NOT_SPONSORSHIP_OR_STANDARD_LINEITEM,
/**
*
* Line item must have a reservation type of sponsorship, standard or preferred deal to use date
* time range targeting.
*
*
*/
UNSUPPORTED_LINEITEM_RESERVATION_TYPE,
/**
*
* Past ranges are changed.
*
*
*/
PAST_RANGES_CHANGED,
/**
*
* Targeted date time ranges overlap.
*
*
*/
RANGES_OVERLAP,
/**
*
* First date time does not match line item's start time.
*
*
*/
FIRST_DATE_TIME_DOES_NOT_MATCH_START_TIME,
/**
*
* Last date time does not match line item's end time.
*
*
*/
LAST_DATE_TIME_DOES_NOT_MATCH_END_TIME,
/**
*
* Targeted date time ranges fall out the active period of lineitem.
*
*
*/
RANGES_OUT_OF_LINEITEM_ACTIVE_PERIOD,
/**
*
* Start time of range (except the earliest range) is not at start of day.
* Start of day is 00:00:00.
*
*
*/
START_TIME_IS_NOT_START_OF_DAY,
/**
*
* End time of range (except the latest range) is not at end of day.
* End of day is 23:59:59.
*
*
*/
END_TIME_IS_NOT_END_OF_DAY,
/**
*
* Start date time of earliest targeted ranges is in past.
*
*
*/
START_DATE_TIME_IS_IN_PAST,
/**
*
* Cannot modify the start date time for date time targeting to the past.
*
*
*/
MODIFY_START_DATE_TIME_TO_PAST,
/**
*
* The end time of range is before the start time.
* Could happen when start type is IMMEDIATE or ONE_HOUR_LATER.
*
*
*/
RANGE_END_TIME_BEFORE_START_TIME,
/**
*
* End date time of latest targeted ranges is too late.
*
*
*/
END_DATE_TIME_IS_TOO_LATE,
LIMITED_RANGES_IN_UNLIMITED_LINEITEM,
/**
*
* The value returned if the actual value is not exposed by the requested API version.
*
*
*/
UNKNOWN;
public String value() {
return name();
}
public static DateTimeRangeTargetingErrorReason fromValue(String v) {
return valueOf(v);
}
}