enum ReservationDetailsError.Reason (v202502)

  • UNLIMITED_UNITS_BOUGHT_NOT_ALLOWED occurs when setting unlimited units bought for unsupported line item types.

  • UNLIMITED_END_DATE_TIME_NOT_ALLOWED is an error when attempting to set an unlimited end date for line items of unsupported types.

  • PERCENTAGE_UNITS_BOUGHT_TOO_HIGH happens when the percentage of reserved impressions for a Sponsorship line item exceeds 100.

  • DURATION_NOT_ALLOWED indicates the specified duration is not supported by the line item type.

  • UNIT_TYPE_NOT_ALLOWED signifies that the unit type is not permitted for the given line item type.

  • COST_TYPE_NOT_ALLOWED indicates that the cost type is not allowed for the given line item type.

  • COST_TYPE_UNIT_TYPE_MISMATCH_NOT_ALLOWED occurs when the cost type and unit type combination is invalid (e.g., CPM with clicks).

  • LINE_ITEM_TYPE_NOT_ALLOWED is an error when trying to reserve inventory for unsupported line item types.

  • NETWORK_REMNANT_ORDER_CANNOT_UPDATE_LINEITEM_TYPE means network remnant line items cannot change types after delivery starts.

  • BACKFILL_WEBPROPERTY_CODE_NOT_ALLOWED occurs when a dynamic allocation web property is set on a non-AdSense or Ad Exchange line item.

  • CPA_DEPRECATED indicates CPA line items cannot have end dates older than February 22, 2024.

  • UNKNOWN is returned when the actual error value is not exposed by the requested API version.

The reasons for the target error.


Namespace
https://www.google.com/apis/ads/publisher/v202502
Enumeration Description
UNLIMITED_UNITS_BOUGHT_NOT_ALLOWED There is no limit on the number of ads delivered for a line item when you set LineItem.duration to be LineItemSummary.Duration.NONE. This can only be set for line items of type LineItemType.PRICE_PRIORITY.
UNLIMITED_END_DATE_TIME_NOT_ALLOWED LineItem.unlimitedEndDateTime can be set to true for only line items of type LineItemType.SPONSORSHIP, LineItemType.NETWORK, LineItemType.PRICE_PRIORITY and LineItemType.HOUSE.
PERCENTAGE_UNITS_BOUGHT_TOO_HIGH When LineItem.lineItemType is LineItemType.SPONSORSHIP, then LineItem.unitsBought represents the percentage of available impressions reserved. That value cannot exceed 100.
DURATION_NOT_ALLOWED The line item type does not support the specified duration. See LineItemSummary.Duration for allowed values.
UNIT_TYPE_NOT_ALLOWED The LineItem.unitType is not allowed for the given LineItem.lineItemType. See UnitType for allowed values.
COST_TYPE_NOT_ALLOWED The LineItem.costType is not allowed for the LineItem.lineItemType. See CostType for allowed values.
COST_TYPE_UNIT_TYPE_MISMATCH_NOT_ALLOWED When LineItem.costType is CostType.CPM, LineItem.unitType must be UnitType.IMPRESSIONS and when LineItem.costType is CostType.CPC, LineItem.unitType must be UnitType.CLICKS.
LINE_ITEM_TYPE_NOT_ALLOWED Inventory cannot be reserved for line items which are not of type LineItemType.SPONSORSHIP or LineItemType.STANDARD.
NETWORK_REMNANT_ORDER_CANNOT_UPDATE_LINEITEM_TYPE Network remnant line items cannot be changed to other line item types once delivery begins. This restriction does not apply to any new line items created in Ad Manager.
BACKFILL_WEBPROPERTY_CODE_NOT_ALLOWED A dynamic allocation web property can only be set on a line item of type AdSense or Ad Exchange.
CPA_DEPRECATED CPA LineItems can't have end dates older than February 22, 2024.
UNKNOWN The value returned if the actual value is not exposed by the requested API version.