AI-generated Key Takeaways
-
DealError.Reason lists potential errors related to deals and proposals within the API.
-
Several reasons indicate restrictions when a proposal is marked as "sold," preventing additions, archiving line items, or archiving the proposal itself.
-
Some errors relate to the state of the proposal, such as requiring buyer approval for changes, needing to be editable, missing line items, or being out of sync with the marketplace.
-
Other reasons cover issues like missing seller ID, environment, Ad Exchange property, or product for buyer-initiated proposals.
The reasons for the target error.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
| Enumeration | Description |
|---|---|
CANNOT_ADD_LINE_ITEM_WHEN_SOLD
|
Cannot add new proposal line items to a Proposal when
Proposal.isSold is true.
|
CANNOT_ARCHIVE_LINE_ITEM_WHEN_SOLD
|
Cannot archive proposal line items from a Proposal when
Proposal.isSold is true.
|
CANNOT_ARCHIVE_PROPOSAL_WHEN_SOLD
|
Cannot archive a Proposal when Proposal.isSold is true.
|
CANNOT_CHANGE_FIELD_REQUIRING_BUYER_APPROVAL
|
Cannot change a field that requires buyer approval during the current operation. |
CANNOT_GET_SELLER_ID
|
Cannot find seller ID for the Proposal. |
CAN_ONLY_EXECUTE_IF_LOCAL_EDITS
|
Proposal must be marked as editable by EditProposalsForNegotiation before performing requested action. |
MISSING_PROPOSAL_LINE_ITEMS
|
Proposal contains no proposal line items. |
MISSING_ENVIRONMENT
|
No environment set for Proposal. |
MISSING_AD_EXCHANGE_PROPERTY
|
The Ad Exchange property is not associated with the current network. |
CANNOT_FIND_PROPOSAL_IN_MARKETPLACE
|
Cannot find Proposal in Marketplace. |
CANNOT_GET_PRODUCT
|
No Product exists for buyer-initiated programmatic proposals.
|
NEW_VERSION_FROM_BUYER
|
A new version of the Proposal was sent from buyer, cannot execute the requested action before performing DiscardLocalVersionEdits. |
PROPOSAL_OUT_OF_SYNC_WITH_MARKETPLACE
|
A new version of the Proposal exists in Marketplace, cannot execute the requested action before the proposal is synced to newest revision. |
NO_PROPOSAL_CHANGES_FOUND
|
No Proposal changes were found. |
UNKNOWN
|
The value returned if the actual value is not exposed by the requested API version. |