type DealError (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
Errors associated with creating or updating programmatic proposals.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202408
Field
|
ApiError (inherited)
|
fieldPath
|
xsd:string
The OGNL field path to identify cause of error.
|
fieldPathElements
|
FieldPathElement[]
A parsed copy of the field path. For example, the field path "operations[1].operand"
corresponds to this list: {FieldPathElement(field = "operations", index = 1),
FieldPathElement(field = "operand", index = null)}.
|
trigger
|
xsd:string
The data that caused the error.
|
errorString
|
xsd:string
A simple string representation of the error and reason.
|
DealError
|
reason
|
DealError.Reason
The error reason represented by an enum.
Enumerations
-
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.
|
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\u003eThis documentation details the \u003ccode\u003eDealError\u003c/code\u003e object within the Google Ad Manager API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDealError\u003c/code\u003e objects are returned when issues arise during the creation or updating of programmatic proposals.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ereason\u003c/code\u003e field provides a specific code indicating the nature of the error encountered.\u003c/p\u003e\n"],["\u003cp\u003eErrors can stem from various issues, including proposals marked as sold, missing line items, or synchronization conflicts with the Marketplace.\u003c/p\u003e\n"],["\u003cp\u003eA table outlines the \u003ccode\u003eDealError\u003c/code\u003e fields, including the error reason and its corresponding description.\u003c/p\u003e\n"]]],["The content outlines the `ProposalLineItemService` and its associated errors, which are used when interacting with programmatic proposals. Key actions include adding or archiving proposal line items. Errors include `DealError` reasons like `CANNOT_ADD_LINE_ITEM_WHEN_SOLD`, `CANNOT_ARCHIVE_PROPOSAL_WHEN_SOLD`, `MISSING_PROPOSAL_LINE_ITEMS` and others related to proposal status, edits, and synchronization. Other errors, inheriting from `ApiError`, detail issues in fields, data, and general system operation. The provided `DealError.Reason` are the types of error that can occur when interacting with proposals.\n"],null,[]]