AI-generated Key Takeaways
-
The
CustomTargetingError
object lists all errors related toCustomTargetingKey
andCustomTargetingValue
objects. -
These errors commonly occur within services like
AdRuleService
,LineItemService
, andProposalLineItemService
when handling custom targeting. -
Reasons for these errors can include key or value duplication, invalid characters, exceeding limits, or targeting inactive/deleted entities.
-
CustomTargetingError
inherits fromApiError
and provides details such asfieldPath
,trigger
, anderrorString
for debugging. -
CustomTargetingError.Reason
is an enumeration encompassing a wide range of specific custom targeting error situations.
Lists all errors related to CustomTargetingKey and CustomTargetingValue objects.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
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. |
CustomTargetingError
|
|
|
Enumerations
|