enum ProposalLineItemActionError.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
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."],[],["The `ProposalLineItemActionError` within the `ProposalLineItemService` details reasons why operations on proposal line items might fail. Errors include operations not being applicable to the current state, such as when a proposal is not editable (`PROPOSAL_NOT_EDITABLE`). Archiving or unarchiving actions may fail if they impact mandatory products or involve sold programmatic or active proposal line items, and there is an unknown reason option.\n"],null,["# enum ProposalLineItemActionError.Reason (v202502)\n\n**Service** \n**ProposalLineItemService** **Dependencies** \n[ProposalLineItemActionError](/ad-manager/api/reference/v202502/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/v202502`\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/v202502/ProposalLineItemService.ProposalLineItem) cannot be unarchived. |\n| `CANNOT_ARCHIVE_ONGOING_PROPOSAL_LINE_ITEM` | Active [ProposalLineItem](/ad-manager/api/reference/v202502/ProposalLineItemService.ProposalLineItem) cannot be archived |\n| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |"]]