com.google.api.ads.admanager.jaxws.v202311.ProposalLineItemErrorReason 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 2023 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.v202311;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for ProposalLineItemError.Reason.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="ProposalLineItemError.Reason">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="NOT_SAME_RATE_CARD"/>
* <enumeration value="LINE_ITEM_TYPE_NOT_ALLOWED"/>
* <enumeration value="END_DATE_TIME_NOT_AFTER_START_TIME"/>
* <enumeration value="START_DATE_TIME_TOO_LATE_IN_MONTH"/>
* <enumeration value="END_DATE_TIME_TOO_LATE"/>
* <enumeration value="START_DATE_TIME_IS_IN_PAST"/>
* <enumeration value="END_DATE_TIME_IS_IN_PAST"/>
* <enumeration value="FRONTLOADED_NOT_ALLOWED"/>
* <enumeration value="ALL_ROADBLOCK_NOT_ALLOWED"/>
* <enumeration value="ALL_COMPANION_DELIVERY_NOT_ALLOWED"/>
* <enumeration value="CREATIVE_SET_ROADBLOCK_NOT_ALLOWED"/>
* <enumeration value="ALREADY_STARTED"/>
* <enumeration value="CONFLICT_WITH_PRODUCT"/>
* <enumeration value="VIOLATE_BUILT_IN_TARGETING_COMPATIBILITY_RESTRICTION"/>
* <enumeration value="VIOLATE_BUILT_IN_TARGETING_LOCKED_RESTRICTION"/>
* <enumeration value="MOBILE_TECH_CRITERIA_NOT_SUPPORTED"/>
* <enumeration value="UNSUPPORTED_TARGETING_TYPE"/>
* <enumeration value="WRONG_COST"/>
* <enumeration value="NO_WEB_PROPERTY_FOR_TARGETED_REQUEST_PLATFORM"/>
* <enumeration value="CALCULATED_COST_TOO_HIGH"/>
* <enumeration value="INVALID_PRIORITY_FOR_LINE_ITEM_TYPE"/>
* <enumeration value="UPDATE_PROPOSAL_LINE_ITEM_NOT_ALLOWED"/>
* <enumeration value="CANNOT_UPDATE_TO_OR_FROM_CREATIVE_SET_ROADBLOCK"/>
* <enumeration value="SEQUENTIAL_CREATIVE_ROTATION_NOT_ALLOWED"/>
* <enumeration value="UPDATE_RESERVATION_NOT_ALLOWED"/>
* <enumeration value="INVALID_COMPANION_DELIVERY_OPTION_FOR_ROADBLOCKING_TYPE"/>
* <enumeration value="INCONSISTENT_ROADBLOCK_TYPE"/>
* <enumeration value="INVALID_CONTRACTED_QUANTITY_BUFFER"/>
* <enumeration value="INVALID_VALUES_FOR_CLICK_TRACKING_LINE_ITEM_TYPE"/>
* <enumeration value="UPDATE_COST_ADJUSTMENT_NOT_ALLOWED"/>
* <enumeration value="UNSUPPORTED_RATE_CARD_CURRENCY_CODE"/>
* <enumeration value="END_DATE_TIME_IS_BEFORE_LAST_PAUSED_TIME"/>
* <enumeration value="VIDEO_INVALID_ROADBLOCKING"/>
* <enumeration value="UPDATE_TIME_ZONE_NOT_ALLOWED"/>
* <enumeration value="INVALID_TIME_ZONE_FOR_RATE_TYPE"/>
* <enumeration value="INVALID_TIME_ZONE_FOR_DEALS"/>
* <enumeration value="INVALID_ENVIRONMENT_TYPE"/>
* <enumeration value="SIZE_REQUIRED"/>
* <enumeration value="COMPANION_NOT_ALLOWED"/>
* <enumeration value="MISSING_COMPANION"/>
* <enumeration value="DUPLICATED_MASTER_SIZE"/>
* <enumeration value="INVALID_EXPECTED_CREATIVE_COUNT"/>
* <enumeration value="CANNOT_HAVE_CREATIVE_TEMPLATE"/>
* <enumeration value="NATIVE_CREATIVE_TEMPLATE_REQUIRED"/>
* <enumeration value="CANNOT_INCLUDE_NATIVE_PLACEHOLDER_WITHOUT_TEMPLATE_ID"/>
* <enumeration value="INVALID_CLICK_TRACKING_LINE_ITEM_TYPE"/>
* <enumeration value="INVALID_TARGETING_FOR_CLICK_TRACKING"/>
* <enumeration value="INVALID_CONTRACTED_UNITS_BOUGHT"/>
* <enumeration value="PLACEHOLDER_CANNOT_CONTAIN_LABELS"/>
* <enumeration value="INVALID_LABEL_TYPE_IN_PLACEHOLDER"/>
* <enumeration value="PLACEHOLDER_CANNOT_CONTAIN_NEGATED_LABELS"/>
* <enumeration value="CONTRACTED_UNITS_LESS_THAN_DELIVERED"/>
* <enumeration value="DISPLAY_ENVIRONMENT_MUST_HAVE_EXCLUDED_MOBILE_APPS_TARGETING"/>
* <enumeration value="MOBILE_ENVIRONMENT_MUST_HAVE_INCLUDED_MOBILE_APPS_TARGETING"/>
* <enumeration value="SKIPPABLE_AD_TYPE_NOT_ALLOWED"/>
* <enumeration value="CROSS_SELL_TARGETING_UNSUPPORTED"/>
* <enumeration value="CANNOT_SET_VIDEO_DURATION_ON_NON_VIDEO_DEAL"/>
* <enumeration value="UPDATE_VIDEO_CREATIVE_SKIPPABILITY_NOT_ALLOWED"/>
* <enumeration value="UNKNOWN"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "ProposalLineItemError.Reason")
@XmlEnum
public enum ProposalLineItemErrorReason {
/**
*
* The proposal line item's rate card is not the same as other proposal line items
* in the proposal.
*
*
*/
NOT_SAME_RATE_CARD,
/**
*
* The proposal line item's type is not yet supported by Sales Manager.
*
*
*/
LINE_ITEM_TYPE_NOT_ALLOWED,
/**
*
* The proposal line item's end date time is not after its start date time.
*
*
*/
END_DATE_TIME_NOT_AFTER_START_TIME,
/**
*
* The proposal line item's start date time is too late in the month. This error applies to
* Programmatic Guaranteed deals sold on Nielsen audience measurement.
*
*
*/
START_DATE_TIME_TOO_LATE_IN_MONTH,
/**
*
* The proposal line item's end date time is after 1/1/2037.
*
*
*/
END_DATE_TIME_TOO_LATE,
/**
*
* The proposal line item's start date time is in past.
*
*
*/
START_DATE_TIME_IS_IN_PAST,
/**
*
* The proposal line item's end date time is in past.
*
*
*/
END_DATE_TIME_IS_IN_PAST,
/**
*
* Frontloaded delivery rate type is not allowed.
*
*
*/
FRONTLOADED_NOT_ALLOWED,
/**
*
* Roadblocking to display all creatives is not allowed.
*
*
*/
ALL_ROADBLOCK_NOT_ALLOWED,
/**
*
* Display all companions is not allowed.
*
*
*/
ALL_COMPANION_DELIVERY_NOT_ALLOWED,
/**
*
* Roadblocking to display all master and companion creative set is not allowed.
*
*
*/
CREATIVE_SET_ROADBLOCK_NOT_ALLOWED,
/**
*
* Some changes may not be allowed because the related line item has already started.
*
*
*/
ALREADY_STARTED,
/**
*
* The setting is conflict with product's restriction.
*
*
*/
CONFLICT_WITH_PRODUCT,
/**
*
* The proposal line item's setting violates the product's built-in targeting
* compatibility restriction.
*
*
*/
VIOLATE_BUILT_IN_TARGETING_COMPATIBILITY_RESTRICTION,
/**
*
* The proposal line item's setting violates the product's built-in targeting
* locked restriction.
*
*
*/
VIOLATE_BUILT_IN_TARGETING_LOCKED_RESTRICTION,
/**
*
* Cannot target mobile-only targeting criteria.
*
*
*/
MOBILE_TECH_CRITERIA_NOT_SUPPORTED,
/**
*
* The targeting criteria type is unsupported.
*
*
*/
UNSUPPORTED_TARGETING_TYPE,
/**
*
* The contracted cost does not match with what calculated from final rate and units bought.
*
*
*/
WRONG_COST,
/**
*
* The proposal line item targets an inventory type for which the network does not have a
* corresponding web property.
*
*
*/
NO_WEB_PROPERTY_FOR_TARGETED_REQUEST_PLATFORM,
/**
*
* The cost calculated from cost per unit and units is too high.
*
*
*/
CALCULATED_COST_TOO_HIGH,
/**
*
* The line item priority is invalid if it's different than the default.
*
*
*/
INVALID_PRIORITY_FOR_LINE_ITEM_TYPE,
/**
*
* Propsoal line item cannot update when it is archived.
*
*
*/
UPDATE_PROPOSAL_LINE_ITEM_NOT_ALLOWED,
/**
*
* A proposal line item cannot be updated from having
* {@link RoadblockingType#CREATIVE_SET} to having a different
* RoadblockingType, or vice versa.
*
*
*/
CANNOT_UPDATE_TO_OR_FROM_CREATIVE_SET_ROADBLOCK,
/**
*
* Serving creatives exactly in sequential order is not allowed.
*
*
*/
SEQUENTIAL_CREATIVE_ROTATION_NOT_ALLOWED,
/**
*
* Proposal line item cannot update its reservation detail once start delivering.
*
*
*/
UPDATE_RESERVATION_NOT_ALLOWED,
/**
*
* The companion delivery option is not valid for the roadblocking type.
*
*
*/
INVALID_COMPANION_DELIVERY_OPTION_FOR_ROADBLOCKING_TYPE,
/**
*
* Roadblocking type is inconsistent with creative placeholders. If the roadblocking
* type is creative set, creative placeholders should contain companions,
* and vice versa.
*
*
*/
INCONSISTENT_ROADBLOCK_TYPE,
/**
*
* ContractedQuantityBuffer is only applicable to standard line item with
* {@link RateType#CPC}/{@link RateType#CPM}/{@link RateType#VCPM} type.
*
*
*/
INVALID_CONTRACTED_QUANTITY_BUFFER,
/**
*
* One or more values on the proposal line item are not valid for a
* {@link LineItemType#CLICK_TRACKING} line item type.
*
*
*/
INVALID_VALUES_FOR_CLICK_TRACKING_LINE_ITEM_TYPE,
/**
*
* Proposal line item cannot update its cost adjustment after first approval.
*
*
*/
UPDATE_COST_ADJUSTMENT_NOT_ALLOWED,
/**
*
* The currency code of the proposal line item's rate card is not supported by
* the current network. All supported currencies can be found in the union of
* {@link Network#currencyCode} and {@link Network#secondaryCurrencyCodes}.
*
*
*/
UNSUPPORTED_RATE_CARD_CURRENCY_CODE,
/**
*
* The corresponding line item is paused, but the proposal line item's end date time is before
* the last paused time.
*
*
*/
END_DATE_TIME_IS_BEFORE_LAST_PAUSED_TIME,
/**
*
* Video line items cannot have roadblocking options.
*
*
*/
VIDEO_INVALID_ROADBLOCKING,
/**
*
* Time zone cannot be updated once the proposal line item has been sold.
*
*
*/
UPDATE_TIME_ZONE_NOT_ALLOWED,
/**
*
* Time zone must be network time zone if the proposal line item is {@link RateType#VCPM}.
*
*
*/
INVALID_TIME_ZONE_FOR_RATE_TYPE,
/**
*
* Only the {@link Network#timeZone} is allowed for programmatic {@link Proposal proposals}.
*
*
*/
INVALID_TIME_ZONE_FOR_DEALS,
/**
*
* The {@link ProposalLineItem#environmentType} is invalid.
*
*
*/
INVALID_ENVIRONMENT_TYPE,
/**
*
* At least one size must be specified.
*
*
*/
SIZE_REQUIRED,
/**
*
* A placeholder contains companions but the roadblocking type is not
* {@link RoadblockingType#CREATIVE_SET} or the {@link ProductType product type} is offline.
*
*
*/
COMPANION_NOT_ALLOWED,
/**
*
* A placeholder does not contain companions but the roadblocking type is
* {@link RoadblockingType#CREATIVE_SET}.
*
*
*/
MISSING_COMPANION,
/**
*
* A placeholder's master size is the same as another placeholder's master size.
*
*
*/
DUPLICATED_MASTER_SIZE,
/**
*
* Only creative placeholders with standard {@link CreativePlaceholder#size sizes} can set
* an expected creative count.
*
*
*/
INVALID_EXPECTED_CREATIVE_COUNT,
/**
*
* Non-native placeholders cannot have creative templates.
*
*
*/
CANNOT_HAVE_CREATIVE_TEMPLATE,
/**
*
* Placeholders can only have native creative templates.
*
*
*/
NATIVE_CREATIVE_TEMPLATE_REQUIRED,
/**
*
* Cannot include native placeholders without native creative templates.
*
*
*/
CANNOT_INCLUDE_NATIVE_PLACEHOLDER_WITHOUT_TEMPLATE_ID,
/**
*
* One or more values are not valid for a {@link LineItemType#CLICK_TRACKING} line item type.
*
*
*/
INVALID_CLICK_TRACKING_LINE_ITEM_TYPE,
/**
*
* The targeting is not valid for a {@link LineItemType#CLICK_TRACKING} line item type.
*
*
*/
INVALID_TARGETING_FOR_CLICK_TRACKING,
/**
*
* The contractedUnitsBought of the proposal line item is invalid.
*
*
*/
INVALID_CONTRACTED_UNITS_BOUGHT,
/**
*
* Only creative placeholders with standard {@link CreativePlaceholder#size sizes} can contain
* labels.
*
*
*/
PLACEHOLDER_CANNOT_CONTAIN_LABELS,
/**
*
* One or more labels on a creative placeholder is invalid.
*
*
*/
INVALID_LABEL_TYPE_IN_PLACEHOLDER,
/**
*
* A placeholder cannot contain a negated label.
*
*
*/
PLACEHOLDER_CANNOT_CONTAIN_NEGATED_LABELS,
/**
*
* Contracted impressions of programmatic proposal line item must be greater than already
* delivered impressions.
*
*
*/
CONTRACTED_UNITS_LESS_THAN_DELIVERED,
/**
*
* If AdExchangeEnvironment is DISPLAY, the proposal line item must have mobile apps as excluded
* device capability targeting.
*
*
*/
DISPLAY_ENVIRONMENT_MUST_HAVE_EXCLUDED_MOBILE_APPS_TARGETING,
/**
*
* If AdExchangeEnvironment is MOBILE, the proposal line item must have mobile apps as included
* device capability targeting.
*
*
*/
MOBILE_ENVIRONMENT_MUST_HAVE_INCLUDED_MOBILE_APPS_TARGETING,
/**
*
* The {@code SkippableAdType} is not allowed.
*
*
*/
SKIPPABLE_AD_TYPE_NOT_ALLOWED,
/**
*
* Cross sell targeting is unsupported for this proposal line item.
*
*
*/
CROSS_SELL_TARGETING_UNSUPPORTED,
/**
*
* Can't set a video duration for non video deals.
*
*
*/
CANNOT_SET_VIDEO_DURATION_ON_NON_VIDEO_DEAL,
/**
*
* Cannot update video creative skippability on a YouTube-targeted proposal line item once it
* has been sold (pushed to an order line item).
*
*
*/
UPDATE_VIDEO_CREATIVE_SKIPPABILITY_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 ProposalLineItemErrorReason fromValue(String v) {
return valueOf(v);
}
}