- JSON representation
- CustomTargetingClause
- CustomTargetingLiteral
- AudienceSegmentTargeting
- CmsMetadataTargeting
Represents the top level targeting expression for custom key/values, audience segments, and/or CMS metadata.
| JSON representation |
|---|
{
"customTargetingClauses": [
{
object ( |
| Fields | |
|---|---|
customTargetingClauses[] |
Optional. These clauses are all ORed together. |
CustomTargetingClause
Represents a logical AND of individual custom targeting expressions.
| JSON representation |
|---|
{ "customTargetingLiterals": [ { object ( |
| Fields | |
|---|---|
customTargetingLiterals[] |
Optional. Leaf targeting expressions for custom key/values. |
audienceSegmentTargetings[] |
Optional. Leaf targeting expressions for audience segments. |
cmsMetadataTargetings[] |
Optional. Leaf targeting expressions for cms metadata. |
CustomTargetingLiteral
Represents targeting for custom key/values. The values are ORed together.
| JSON representation |
|---|
{ "customTargetingValues": [ string ], "negative": boolean, "customTargetingKey": string } |
| Fields | |
|---|---|
customTargetingValues[] |
Optional. The resource names of the targeted CustomValues. |
negative |
Whether this expression is negatively targeted, meaning it matches ad requests that exclude the below values. |
customTargetingKey |
Optional. The resource name of the targeted CustomKey. |
AudienceSegmentTargeting
Represents targeting for audience segments. The values are combined in a logical OR.
| JSON representation |
|---|
{ "audienceSegments": [ string ], "negative": boolean } |
| Fields | |
|---|---|
audienceSegments[] |
Optional. The targeted audience segments. This is either the resource name of a first-party audience segment or an alias to the effective third-party audience segment. Third-party audience segment resource names containing |
negative |
Whether this expression is negatively targeted, meaning it matches ad requests that exclude the below values. |
CmsMetadataTargeting
Represents targeting for CMS metadata. The values are ORed together.
| JSON representation |
|---|
{ "cmsMetadataValues": [ string ], "negative": boolean } |
| Fields | |
|---|---|
cmsMetadataValues[] |
Optional. The resource names of the targeted CMS metadata values. |
negative |
Whether this expression is negatively targeted, meaning it matches ad requests that exclude the below values. |