Caution: You are viewing documentation for the API's REST interface. Most of our official client libraries use gRPC. See the
REST Introduction for details.
CustomerNegativeCriterion
A negative criterion for exclusions at the customer level.
JSON representation |
{
"resourceName": string,
"type": enum (CriterionType ),
"id": string,
// Union field criterion can be only one of the following:
"contentLabel": {
object (ContentLabelInfo )
},
"mobileApplication": {
object (MobileApplicationInfo )
},
"mobileAppCategory": {
object (MobileAppCategoryInfo )
},
"placement": {
object (PlacementInfo )
},
"youtubeVideo": {
object (YouTubeVideoInfo )
},
"youtubeChannel": {
object (YouTubeChannelInfo )
},
"negativeKeywordList": {
object (NegativeKeywordListInfo )
},
"ipBlock": {
object (IpBlockInfo )
}
// End of list of possible types for union field criterion .
} |
Fields |
resourceName |
string
Immutable. The resource name of the customer negative criterion. Customer negative criterion resource names have the form: customers/{customerId}/customerNegativeCriteria/{criterionId}
|
type |
enum (CriterionType )
Output only. The type of the criterion.
|
id |
string (int64 format)
Output only. The ID of the criterion.
|
Union field criterion . The customer negative criterion. Exactly one must be set. criterion can be only one of the following: |
contentLabel |
object (ContentLabelInfo )
Immutable. ContentLabel.
|
mobileApplication |
object (MobileApplicationInfo )
Immutable. MobileApplication.
|
mobileAppCategory |
object (MobileAppCategoryInfo )
Immutable. MobileAppCategory.
|
placement |
object (PlacementInfo )
Immutable. Placement.
|
youtubeVideo |
object (YouTubeVideoInfo )
Immutable. YouTube Video.
|
youtubeChannel |
object (YouTubeChannelInfo )
Immutable. YouTube Channel.
|
negativeKeywordList |
object (NegativeKeywordListInfo )
Immutable. NegativeKeywordList.
|
ipBlock |
object (IpBlockInfo )
Immutable. IPBLock
|
NegativeKeywordListInfo
A Negative Keyword List criterion. Represents a shared set of negative keywords that can be excluded at the account-level. Only one negative keyword list criterion can be attached per account.
JSON representation |
{
"sharedSet": string
} |
Fields |
sharedSet |
string
The NegativeKeywordListInfo shared set resource name.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-03-06 UTC.
[null,null,["Last updated 2025-03-06 UTC."],[[["CustomerNegativeCriterion is used to define negative criteria for exclusions at the customer level."],["It supports various criterion types such as ContentLabel, MobileApplication, MobileAppCategory, Placement, YouTubeVideo, YouTubeChannel, NegativeKeywordList, and IpBlock."],["NegativeKeywordListInfo represents a shared set of negative keywords that can be applied at the account level."],["Only one negative keyword list criterion can be associated with each account."]]],["This document details customer-level negative criteria for exclusions, defined through a JSON structure. Key actions involve specifying `criterion` types, with only one allowed per entry. Available types include `contentLabel`, `mobileApplication`, `mobileAppCategory`, `placement`, `youtubeVideo`, `youtubeChannel`, `negativeKeywordList`, and `ipBlock`. Each criterion is identified by a `resourceName`, `type`, and `id`. `NegativeKeywordListInfo` allows the exclusion of a shared set of negative keywords, defined by the `sharedSet` field.\n"]]