enum PreferredDealError.Reason (v202502)
Stay organized with collections
Save and categorize content based on your preferences.
Service
ProposalLineItemService
The reasons for the target error.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202502
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[],["The `PreferredDealError` namespace, `https://www.google.com/apis/ads/publisher/v202502`, outlines errors related to preferred deal proposal line items. These items can have issues like `INVALID_PRIORITY`, `INVALID_RATE_TYPE` (only CPM is supported), `INVALID_FREQUENCY_CAPS` (not supported), `INVALID_ROADBLOCKING_TYPE` (only ONE_OR_MORE is allowed), or `INVALID_DELIVERY_RATE_TYPE` (only FRONTLOADED is allowed). The `UNKNOWN` error also exists. They provide descriptions of the restrictions for the proposal line items.\n"],null,["# enum PreferredDealError.Reason (v202502)\n\n**Service** \n**ProposalLineItemService** **Dependencies** \n[PreferredDealError](/ad-manager/api/reference/v202502/ProposalLineItemService.PreferredDealError) \n▼\n**PreferredDealError.Reason**\n\nThe reasons for the target error.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202502`\n\n| Enumeration | Description |\n|------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `INVALID_PRIORITY` | |\n| `INVALID_RATE_TYPE` | Preferred deal [proposal line items](/ad-manager/api/reference/v202502/ProposalLineItemService.ProposalLineItem) only support [RateType.CPM](/ad-manager/api/reference/v202502/ProposalLineItemService.RateType#CPM). |\n| `INVALID_FREQUENCY_CAPS` | Preferred deal [proposal line items](/ad-manager/api/reference/v202502/ProposalLineItemService.ProposalLineItem) do not support frequency caps. |\n| `INVALID_ROADBLOCKING_TYPE` | Preferred deal [proposal line items](/ad-manager/api/reference/v202502/ProposalLineItemService.ProposalLineItem) only support [RoadblockingType.ONE_OR_MORE](/ad-manager/api/reference/v202502/ProposalLineItemService.RoadblockingType#ONE_OR_MORE). |\n| `INVALID_DELIVERY_RATE_TYPE` | Preferred deal [proposal line items](/ad-manager/api/reference/v202502/ProposalLineItemService.ProposalLineItem) only support [DeliveryRateType.FRONTLOADED](/ad-manager/api/reference/v202502/ProposalLineItemService.DeliveryRateType#FRONTLOADED). |\n| `UNKNOWN` | |"]]