enum PreferredDealError.Reason (v202411)
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/v202411
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."],[[["\u003cp\u003e\u003ccode\u003ePreferredDealError\u003c/code\u003e outlines the reasons for errors related to preferred deals in Google Ad Manager.\u003c/p\u003e\n"],["\u003cp\u003ePreferred deal proposal line items have specific limitations regarding rate type, frequency caps, roadblocking type, and delivery rate type, which, if violated, result in errors.\u003c/p\u003e\n"],["\u003cp\u003eRate type should be CPM, frequency caps are not supported, roadblocking type should be ONE_OR_MORE, and delivery rate type should be FRONTLOADED for preferred deal proposal line items.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for this error is \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202411\u003c/code\u003e.\u003c/p\u003e\n"]]],["The `PreferredDealError.Reason` details errors for preferred deal proposal line items. Valid `RateType` is only `CPM`. Frequency caps are unsupported. The allowed `RoadblockingType` is `ONE_OR_MORE`, and the only supported `DeliveryRateType` is `FRONTLOADED`. `INVALID_PRIORITY` is a listed error, but no further information is available. The error reasons are located under the namespace `https://www.google.com/apis/ads/publisher/v202411`. There is also a unknown category for errors.\n"],null,["# enum PreferredDealError.Reason (v202411)\n\n**Service** \n**ProposalLineItemService** **Dependencies** \n[PreferredDealError](/ad-manager/api/reference/v202411/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/v202411`\n\n| Enumeration | Description |\n|------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `INVALID_PRIORITY` | |\n| `INVALID_RATE_TYPE` | Preferred deal [proposal line items](/ad-manager/api/reference/v202411/ProposalLineItemService.ProposalLineItem) only support [RateType.CPM](/ad-manager/api/reference/v202411/ProposalLineItemService.RateType#CPM). |\n| `INVALID_FREQUENCY_CAPS` | Preferred deal [proposal line items](/ad-manager/api/reference/v202411/ProposalLineItemService.ProposalLineItem) do not support frequency caps. |\n| `INVALID_ROADBLOCKING_TYPE` | Preferred deal [proposal line items](/ad-manager/api/reference/v202411/ProposalLineItemService.ProposalLineItem) only support [RoadblockingType.ONE_OR_MORE](/ad-manager/api/reference/v202411/ProposalLineItemService.RoadblockingType#ONE_OR_MORE). |\n| `INVALID_DELIVERY_RATE_TYPE` | Preferred deal [proposal line items](/ad-manager/api/reference/v202411/ProposalLineItemService.ProposalLineItem) only support [DeliveryRateType.FRONTLOADED](/ad-manager/api/reference/v202411/ProposalLineItemService.DeliveryRateType#FRONTLOADED). |\n| `UNKNOWN` | |"]]