WebpageInfo

Represents a criterion for targeting webpages of an advertiser's website.

JSON representation
{
  "conditions": [
    {
      object (WebpageConditionInfo)
    }
  ],
  "coveragePercentage": number,
  "sample": {
    object (WebpageSampleInfo)
  },
  "criterionName": string
}
Fields
conditions[]

object (WebpageConditionInfo)

Conditions, or logical expressions, for webpage targeting. The list of webpage targeting conditions are and-ed together when evaluated for targeting. An empty list of conditions indicates all pages of the campaign's website are targeted.

This field is required for CREATE operations and is prohibited on UPDATE operations.

coveragePercentage

number

Website criteria coverage percentage. This is the computed percentage of website coverage based on the website target, negative website target and negative keywords in the ad group and campaign. For instance, when coverage returns as 1, it indicates it has 100% coverage. This field is read-only.

sample

object (WebpageSampleInfo)

List of sample urls that match the website target. This field is read-only.

criterionName

string

The name of the criterion that is defined by this parameter. The name value will be used for identifying, sorting and filtering criteria with this type of parameters.

This field is required for CREATE operations and is prohibited on UPDATE operations.

WebpageConditionInfo

Logical expression for targeting webpages of an advertiser's website.

JSON representation
{
  "operand": enum (WebpageConditionOperand),
  "operator": enum (WebpageConditionOperator),
  "argument": string
}
Fields
operand

enum (WebpageConditionOperand)

Operand of webpage targeting condition.

operator

enum (WebpageConditionOperator)

Operator of webpage targeting condition.

argument

string

Argument of webpage targeting condition.

WebpageConditionOperand

The webpage condition operand in webpage criterion.

Enums
UNSPECIFIED Not specified.
UNKNOWN Used for return value only. Represents value unknown in this version.
URL Operand denoting a webpage URL targeting condition.
CATEGORY Operand denoting a webpage category targeting condition.
PAGE_TITLE Operand denoting a webpage title targeting condition.
PAGE_CONTENT Operand denoting a webpage content targeting condition.
CUSTOM_LABEL Operand denoting a webpage custom label targeting condition.

WebpageConditionOperator

The webpage condition operator in webpage criterion.

Enums
UNSPECIFIED Not specified.
UNKNOWN Used for return value only. Represents value unknown in this version.
EQUALS The argument web condition is equal to the compared web condition.
CONTAINS The argument web condition is part of the compared web condition.

WebpageSampleInfo

List of sample urls that match the website target

JSON representation
{
  "sampleUrls": [
    string
  ]
}
Fields
sampleUrls[]

string

Webpage sample urls