How to create rules for LogicalUserList in apps Script

29 views
Skip to first unread message

Kirti Ghritlahre

unread,
Jan 11, 2017, 11:03:59 AM1/11/17
to AdWords API Forum


My Code,  

  var json = {
       className: 'com.google.ads.api.services.datax.userlists.LogicalUserList',
       name: 'script_List1',
       description: 'i came from a script',
       rules:[ {operator: 'ANY',  operands:userLists1}]

};   

var creation = ScriptyApp.create(json);
  if (!creation.isSuccessful()) {
  var errors = creation.getErrors();
    Logger.log("error::"+creation.getErrors());
    Logger.log(" not succesfull");
  } else {
     Logger.log("succesfull");
  }



i am getting error map are not supported yet.

Vishal Vinayak (Adwords API Team)

unread,
Jan 11, 2017, 3:41:18 PM1/11/17
to AdWords API Forum
Hi,

Since your sample code looks AdWords Scripts related, I would recommend posting your query on the AdWords Scripts Forum.

Regards,
Vishal, AdWords API Team
Reply all
Reply to author
Forward
0 new messages