Page Summary
-
A CustomCriteria object is used for custom criteria targeting on custom targeting keys of type PREDEFINED or FREEFORM.
-
The CustomCriteria object contains fields such as
keyId,valueIds, andoperatorwhich are all required for targeting. -
The
keyIdlinks to a CustomTargetingKey object, andvalueIdslink to CustomTargetingValue objects to specify the targeting criteria. -
The
operatordetermines the comparison for the custom criteria, with possible values likeISandIS_NOT. -
CustomCriteria is a leaf in the inheritance hierarchy, descending from CustomCriteriaNode and CustomCriteriaLeaf.
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/v202502
Field
CustomCriteriaNode
(inherited)CustomCriteriaLeaf
(inherited)CustomCriteria
keyId
xsd:
long
The CustomTargetingKey.id of the CustomTargetingKey object that was created using CustomTargetingService . This attribute is required.
valueIds
xsd:
long[]
The ids of CustomTargetingValue objects to target the custom targeting key with id CustomCriteria.keyId . This attribute is required.
operator
CustomCriteria.ComparisonOp...
The comparison operator. This attribute is required.
Enumerations
-
IS -
IS_NOT

