AI-generated Key Takeaways
- 
          CustomCriteria objects are used for custom criteria targeting on predefined or freeform custom targeting keys within various services like AdRuleService, ForecastService, and LineItemService. 
- 
          A CustomCriteria object inherits from CustomCriteriaNode and CustomCriteriaLeaf. 
- 
          Key attributes of a CustomCriteria object include keyId,valueIds, andoperator.
- 
          The keyIdrefers to the ID of the CustomTargetingKey,valueIdsare the IDs of CustomTargetingValue objects to target, andoperatorspecifies the comparison (IS or IS_NOT).
- 
          CustomCriteria objects are part of the https://www.google.com/apis/ads/publisher/v202505namespace.
A CustomCriteria object is used to perform custom criteria targeting on custom targeting keys of type CustomTargetingKey.Type.PREDEFINED or CustomTargetingKey.Type.FREEFORM.
- Namespace
- 
               https://www.google.com/apis/ads/publisher/v202505
| Field | |
|---|---|
| CustomCriteriaNode(inherited) | |
| CustomCriteriaLeaf(inherited) | |
| CustomCriteria | |
| 
                            | 
                            The CustomTargetingKey.id of the CustomTargetingKey object that was created using CustomTargetingService. This attribute is required. | 
| 
                            | 
                            The ids of CustomTargetingValue objects to target the custom targeting key with id CustomCriteria.keyId. This attribute is required. | 
| 
                            | 
                            The comparison operator. This attribute is required. Enumerations 
 |