LAST 60 MONTHS (Google Ads Script)

30 views
Skip to first unread message

Omer Saridja

unread,
Oct 29, 2020, 9:36:23 AM10/29/20
to AdWords API and Google Ads API Forum
  DEFAULT_DATE_RANGE: 'LAST_30_DAYS'

Hi I am trying to create a script for auto labelling on Google Ads. 

I am not able to define date range as last 60 days? Is there any way to do so? 

};

/**
 * Defines the rules by which keywords will be labeled.
 * The labelName field is required. Other fields may be null.
 * @type {Array.<{
 *     conditions: Array.<string>,
 *     dateRange: string,
 *     filter: function(Object): boolean,
 *     labelName: string,
 *   }>
 * }
 */
var RULES = [

  {
    conditions: [
      'Ctr < 5',
    ],
    labelName: 'OMERTEST LABEL'
  }
];

Google Ads API Forum Advisor Prod

unread,
Oct 29, 2020, 12:13:44 PM10/29/20
to omer.s...@usaycompare.com, adwor...@googlegroups.com
Hello,

Since your issue is related to Google Ads Scripts, you will need to use the Scripts forum to get assistance on this.

Regards,
Anthony
Google Ads API Team

Google Logo
Anthony
Google Ads API Team
 
 

ref:_00D1U1174p._5004Q275bpa:ref
Reply all
Reply to author
Forward
0 new messages