Share your feedback about the Google Ads (AdWords) API. Take the 2021 AdWords API and Google Ads API Annual Survey.

The AdWords API will sunset on April 27, 2022. Migrate to the Google Ads API to take advantage of the latest Google Ads features.

type WebpageCondition (v201809)

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

A condition is defined as operand OP argument where operand is one of the values enumerated in WebpageConditionOperand, and, based on this value, OP is either of EQUALS or CONTAINS.


Namespace
https://adwords.google.com/api/adwords/cm/v201809

Field

operand

WebpageConditionOperand

Operand of webpage targeting condition.


Enumerations
URL
Operand denoting a webpage URL targeting condition. Operators WebpageConditionOperator.CONTAINS and WebpageConditionOperator.EQUALS are supported for such conditions.
CATEGORY
Operand denoting a webpage category targeting condition. The operator WebpageConditionOperator.EQUALS will be used for such conditions.
PAGE_TITLE
Operand denoting a webpage title targeting condition. The operator WebpageConditionOperator.CONTAINS will be used for such conditions.
PAGE_CONTENT
Operand denoting a webpage content targeting condition. The operator WebpageConditionOperator.CONTAINS will be used for such conditions.
CUSTOM_LABEL
Operand denoting a webpage custom label targeting condition.
The operator WebpageConditionOperator.EQUALS will be used for such conditions.
UNKNOWN

This field is required and should not be null.

argument

xsd:string

Argument of the webpage targeting condition.

This string must not contain a substring that matches the regular expression '\*|\>\>|\=\=|\&\+'
This field is required and should not be null.
The length of this string should be between 1 and 2048, inclusive.

operator

WebpageConditionOperator

Operator of webpage targeting condition.


Enumerations
UNKNOWN
EQUALS
The argument web condition equals to the compared web condition.
CONTAINS
The argument condition is a part of the compared web condition.