I have followed the syntax from this doc

withCondition("ColumnName IN [Value1, Value2]") 

But I get an error when running this piece of code:

  var adGroups = AdsApp     .adGroups()     .withCondition(agName)     .withCondition(campName)     .get(); 

Error:

5/25/2021 9:32:53 PM    CampaignName CONTAINS_ALL ['test', 'play'] 5/25/2021 9:32:54 PM    Invalid or inapplicable operator is used for field CampaignName. Please check the supported operators. (file Code.gs, line 52) 

Tag:google-ads-api, google-ads-script

Only one comment.

  1. Elad Benda

    CampaignName is of string values, so it can use a chained CONTAINS_IGNORE_CASEcondition.

Add a new comment.