AI-generated Key Takeaways
-
ProgrammaticError is an error associated with programmatic line items.
-
ProgrammaticError inherits from ApiError and includes fields like fieldPath, fieldPathElements, trigger, and errorString.
-
ProgrammaticError has a specific 'reason' field with various enumerated reasons for the error, such as unsupported features or invalid settings for programmatic line items.
-
Supported programmatic line item types are
LineItemType.STANDARDandLineItemType.SPONSORSHIP(with the relevant feature on), and the only supported cost type isCostType.CPM.
Errors associated with programmatic line items.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202502
Field |
|
|---|---|
ApiError (inherited)
|
|
|
The OGNL field path to identify cause of error. |
|
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)}. |
|
The data that caused the error. |
|
A simple string representation of the error and reason. |
ProgrammaticError
|
|
|
The error reason represented by an enum. Enumerations
|