AI-generated Key Takeaways
-
ProposalError lists various errors associated with proposals in the Ad Manager API.
-
It includes inherited fields from ApiError such as fieldPath, fieldPathElements, trigger, and errorString to provide details about the cause of an error.
-
The reason field within ProposalError is an enum specifying the error's cause, covering issues like invalid updates, duplicated associations, and unsupported currencies or contacts.
Lists all errors associated with proposals.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
Field
ApiError
(inherited) fieldPath
xsd:
string
The OGNL field path to identify cause of error.
fieldPathElements
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.
ProposalError
reason
The error reason represented by an enum.
Enumerations
-
AD_SERVER_UNKNOWN_ERROR - Unknown error from ad-server
-
AD_SERVER_API_ERROR - Ad-server reports an api error for the operation.
-
UPDATE_ADVERTISER_NOT_ALLOWED - Advertiser cannot be updated once the proposal has been reserved.
-
UPDATE_PROPOSAL_NOT_ALLOWED - Proposal cannot be updated when its status is not
DRAFTor it is archived. -
CONTACT_UNSUPPORTED_FOR_ADVERTISER - Contacts are not supported for advertisers in a programmatic Proposal .
-
INVALID_CONTACT - Contact associated with a proposal does not belong to the specific company.
-
DUPLICATED_CONTACT - Contact associated with a proposal's advertiser or agency is duplicated.
-
UNACCEPTABLE_COMPANY_CREDIT_STATUS - A proposal cannot be created or updated because the company
it is associated with has Company.creditStatus
that is not
ACTIVEorON_HOLD. -
COMPANY_CREDIT_STATUS_NOT_ACTIVE - Advertiser or agency associated with the proposal has Company.creditStatus
that is
not
ACTIVE. -
PRIMARY_AGENCY_REQUIRED - Cannot have other agencies without a primary agency.
-
PRIMARY_AGENCY_NOT_UNIQUE - Cannot have more than one primary agency.
-
UNSUPPORTED_COMPANY_ASSOCIATION_TYPE_FOR_PROGRAMMATIC_PROPOSAL - The Company association type is not supported for programmatic proposals .
-
DUPLICATED_COMPANY_ASSOCIATION - Advertiser or agency associated with a proposal is duplicated.
-
DUPLICATED_SALESPERSON - Found duplicated primary or secondary sales person.
-
DUPLICATED_SALES_PLANNER - Found duplicated sales planner.
-
DUPLICATED_TRAFFICKER - Found duplicated primary or secondary trafficker.
-
HAS_NO_UNARCHIVED_PROPOSAL_LINEITEMS - The proposal has no unarchived proposal line items.
-
DUPLICATE_TERMS_AND_CONDITIONS - One or more of the terms and conditions being added already exists on the proposal.
-
UNSUPPORTED_PROPOSAL_CURRENCY_CODE - The currency code of the proposal is not supported by the current network. All supported currencies can be found in the union of Network.currencyCode and Network.secondaryCurrencyCodes .
-
UNSUPPORTED_BUYER_CURRENCY_CODE - The currency code of the proposal is not supported by the selected buyer.
-
INVALID_POC - The POC value of the proposal is invalid.
-
UPDATE_CURRENCY_NOT_ALLOWED - Currency cannot be updated once the proposal has been reserved.
-
UPDATE_TIME_ZONE_NOT_ALLOWED - Time zone cannot be updated once the proposal has been sold.
-
UNKNOWN - The value returned if the actual value is not exposed by the requested API version.

