SharedCriterion

A criterion belonging to a shared set.

JSON representation
{
  "resourceName": string,
  "type": enum (CriterionType),
  "sharedSet": string,
  "criterionId": string,

  // Union field criterion can be only one of the following:
  "keyword": {
    object (KeywordInfo)
  },
  "youtubeVideo": {
    object (YouTubeVideoInfo)
  },
  "youtubeChannel": {
    object (YouTubeChannelInfo)
  },
  "placement": {
    object (PlacementInfo)
  },
  "mobileAppCategory": {
    object (MobileAppCategoryInfo)
  },
  "mobileApplication": {
    object (MobileApplicationInfo)
  },
  "brand": {
    object (BrandInfo)
  }
  // End of list of possible types for union field criterion.
}
Fields
resourceName

string

Immutable. The resource name of the shared criterion. Shared set resource names have the form:

customers/{customerId}/sharedCriteria/{shared_set_id}~{criterionId}

type

enum (CriterionType)

Output only. The type of the criterion.

sharedSet

string

Immutable. The shared set to which the shared criterion belongs.

criterionId

string (int64 format)

Output only. The ID of the criterion.

This field is ignored for mutates.

Union field criterion. The criterion.

Exactly one must be set. criterion can be only one of the following:

keyword

object (KeywordInfo)

Immutable. Keyword.

youtubeVideo

object (YouTubeVideoInfo)

Immutable. YouTube Video.

youtubeChannel

object (YouTubeChannelInfo)

Immutable. YouTube Channel.

placement

object (PlacementInfo)

Immutable. Placement.

mobileAppCategory

object (MobileAppCategoryInfo)

Immutable. Mobile App Category.

mobileApplication

object (MobileApplicationInfo)

Immutable. Mobile application.

brand

object (BrandInfo)

Immutable. Brand.

BrandInfo

Represents a Brand Criterion used for targeting based on commercial knowledge graph.

JSON representation
{
  "displayName": string,
  "entityId": string,
  "primaryUrl": string,
  "rejectionReason": enum (BrandRequestRejectionReason),
  "status": enum (BrandState)
}
Fields
displayName

string

Output only. A text representation of a brand.

entityId

string

The Commercial KG MID for the brand.

primaryUrl

string

Output only. The primary url of a brand.

rejectionReason

enum (BrandRequestRejectionReason)

Output only. The rejection reason when a brand status is REJECTED.

status

enum (BrandState)

Output only. The status of a brand.

BrandRequestRejectionReason

Enumeration of different brand request rejection reasons.

Enums
UNSPECIFIED No value has been specified.
UNKNOWN Used for return value only. Represents value unknown in this version.
EXISTING_BRAND Brand is already present in the commercial brand set.
EXISTING_BRAND_VARIANT Brand is already present in the commercial brand set, but is a variant.
INCORRECT_INFORMATION Brand information is not correct (eg: URL and name don't match).
NOT_A_BRAND Not a valid brand as per Google policy.