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)
  }
  // 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.