Notification

Welcome to the help center for Search Ads 360, a platform for managing search marketing campaigns.  While the help center is available to the public, access to the Search Ads 360 product is available only to subscribing customers who are signed in. To subscribe or find out more, contact our sales team.

Sidan du har begärt finns tyvärr inte på ditt språk för närvarande. Du kan välja ett annat språk längst ned på sidan eller översätta vilken webbsida du vill till valfritt språk direkt med hjälp av den inbyggda översättningsfunktionen i Google Chrome.

months

Counts backwards the specified number of months. Can only be used as a duration parameter in for_date_range().

To count forward, eliminate the minus (-).

Syntax

  • months(-x) (counts backwards x months)
  • -months(x) (counts backwards x months)
  • months(x) (counts forward x months)

x is required to be an integer.

Examples

If you view a column with the following formula on October 15th, the function returns the number of clicks between 2013-07-15 to 2013-10-14:
Clicks.for_date_range(today(), months(-3))

The following formula returns the number of clicks between October 1 and December 31:
Clicks.for_date_range(date(2013, 10, 01), months(3))

Was this helpful?

How can we improve it?

Need more help?

Try these next steps:

true
Search
Clear search
Close search
Main menu
17020584204844094695
true
Search Help Center
true
true
true
true
true
263
false
false