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

An atomic rule fragment composing of date operation.


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

Field

key

DateKey

This field is required and should not be null.

op

DateRuleItem.DateOperator


Enumerations
UNKNOWN
EQUALS
NOT_EQUAL
BEFORE
AFTER

This field is required and should not be null.

value

xsd:string

The right hand side of date rule item. The date's format should be YYYYMMDD.

relativeValue

RelativeDate

The relative date value of the right hand side. The value field will override this field when both are present.