enum ProposalLineItemActionError.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
Enumeration |
Description |
NOT_APPLICABLE
|
The operation is not applicable to the current state.
|
PROPOSAL_NOT_EDITABLE
|
The operation is not applicable because the containing proposal is not editable.
|
CANNOT_SELECTIVELY_ARCHIVE_PROPOSAL_LINE_ITEMS_FROM_MANDATORY_PRODUCTS
|
The archive operation is not applicable because it would cause some mandatory products
to have no unarchived proposal line items in the package.
|
CANNOT_SELECTIVELY_UNARCHIVE_PROPOSAL_LINE_ITEMS_FROM_MANDATORY_PRODUCTS
|
The unarchive operation is not applicable because it would cause some mandatory products
to have no unarchived proposal line items in the package.
|
CANNOT_UNARCHIVE_SOLD_PROGRAMMATIC_PROPOSAL_LINE_ITEM
|
Sold programmatic ProposalLineItem cannot be unarchived.
|
CANNOT_ARCHIVE_ONGOING_PROPOSAL_LINE_ITEM
|
Active ProposalLineItem cannot be archived
|
UNKNOWN
|
The value returned if the actual value is not exposed by the requested API version.
|
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\u003eProposalLineItemActionError\u003c/code\u003e outlines the reasons why a specific action on a proposal line item might fail.\u003c/p\u003e\n"],["\u003cp\u003eThis error encompasses scenarios like non-editable proposals, archiving restrictions due to mandatory products, and limitations on sold programmatic or ongoing proposal line items.\u003c/p\u003e\n"],["\u003cp\u003eThe error codes provide specific reasons for the failure, such as \u003ccode\u003ePROPOSAL_NOT_EDITABLE\u003c/code\u003e or \u003ccode\u003eCANNOT_UNARCHIVE_SOLD_PROGRAMMATIC_PROPOSAL_LINE_ITEM\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eProposalLineItemActionError\u003c/code\u003e is part of the Google Ad Manager API and uses a specific namespace for identification.\u003c/p\u003e\n"]]],["The `ProposalLineItemActionError` details reasons for errors in `ProposalLineItemService` operations. It defines specific error types like `NOT_APPLICABLE` for operations not allowed in the current state, `PROPOSAL_NOT_EDITABLE` when the proposal is locked, and errors related to archiving/unarchiving mandatory or active items. Other reasons include the inability to unarchive sold programmatic proposal line items, and a generic `UNKNOWN` error for unexposed API values. The namespace is specified as `https://www.google.com/apis/ads/publisher/v202411`.\n"],null,["# enum ProposalLineItemActionError.Reason (v202411)\n\n**Service** \n**ProposalLineItemService** **Dependencies** \n[ProposalLineItemActionError](/ad-manager/api/reference/v202411/ProposalLineItemService.ProposalLineItemActionError) \n▼\n**ProposalLineItemActionError...**\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| `NOT_APPLICABLE` | The operation is not applicable to the current state. |\n| `PROPOSAL_NOT_EDITABLE` | The operation is not applicable because the containing proposal is not editable. |\n| `CANNOT_SELECTIVELY_ARCHIVE_PROPOSAL_LINE_ITEMS_FROM_MANDATORY_PRODUCTS` | The archive operation is not applicable because it would cause some mandatory products to have no unarchived proposal line items in the package. |\n| `CANNOT_SELECTIVELY_UNARCHIVE_PROPOSAL_LINE_ITEMS_FROM_MANDATORY_PRODUCTS` | The unarchive operation is not applicable because it would cause some mandatory products to have no unarchived proposal line items in the package. |\n| `CANNOT_UNARCHIVE_SOLD_PROGRAMMATIC_PROPOSAL_LINE_ITEM` | Sold programmatic [ProposalLineItem](/ad-manager/api/reference/v202411/ProposalLineItemService.ProposalLineItem) cannot be unarchived. |\n| `CANNOT_ARCHIVE_ONGOING_PROPOSAL_LINE_ITEM` | Active [ProposalLineItem](/ad-manager/api/reference/v202411/ProposalLineItemService.ProposalLineItem) cannot be archived |\n| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |"]]