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.

last_month

Returns a range of the most recent full month. Can only be used as a range parameter in for_date_range().

The time range selected for a report does not affect this function. That is, no matter what time range is selected for a report, this function always returns the most recent full month based on today's date.

Syntax

last_month()

Example

  • Clicks.for_date_range(last_month()):
    • If today is March 15th, returns the number of clicks from the most recent February.
    • If today is March 31st, returns the number of clicks from the most recent February, since March isn't yet complete.
    • If today is April 1st, returns the number of clicks from the most recent March.

Was this helpful?

How can we improve it?

Need more help?

Try these next steps:

true
Search
Clear search
Close search
Google apps
Main menu
18288326380429081356
true
Search Help Center
true
true
true
true
true
263
false
false