AI-generated Key Takeaways
-
CustomTargetingError
objects encompass issues related toCustomTargetingKey
andCustomTargetingValue
objects in Google Ad Manager. -
This error is commonly encountered when working with services such as
AdRuleService
,LineItemService
, andProposalLineItemService
, among others. -
These errors can arise from a variety of issues such as exceeding network limits, using reserved or unsupported characters in names, incorrect key-value associations, or issues with
CustomCriteria
targeting expressions. -
Problems with key and value status (e.g., inactive, deleted, missing values), or disallowed targeting of specific segment types (e.g.,
AudienceSegment
, third-party segments) may also triggerCustomTargetingError
instances. -
CustomTargetingError.Reason
provides detailed information regarding the cause of the specific error, covering a wide range of potential issues related to custom targeting in Google Ad Manager.
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
|