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 StringRuleItem (v201809)

An atomic rule fragment composing of string operation.


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

Field

key

StringKey

This field is required and should not be null.

op

StringRuleItem.StringOperator


Enumerations
UNKNOWN
CONTAINS
EQUALS
STARTS_WITH
ENDS_WITH
NOT_EQUAL
NOT_CONTAIN
NOT_START_WITH
NOT_END_WITH

This field is required and should not be null.

value

xsd:string

The right hand side of the string rule item. For URL/Referrer URL, value can not contain illegal URL chars such as: "()'\"\t".

String value can not contain newline ( ) or both single quote and double quote. This is checked by the regular expression '[^ ']*|[^ "]*'.
This field is required and should not be null.