How to use conditional formatting in Google sheets api v4
问题 Good day. Please tell me how I can convert this script to use Google sheets api v4 and reduce the cost of the request. Understand correctly that I need to dig to the side: https://developers.google.com/sheets/api/samples/conditional-formatting?hl=en#add_a_conditional_formatting_rule_to_a_set_of_ranges ? Sample code below while (folders.hasNext()) { var folder = folders.next().getId(); var sheet1 = SpreadsheetApp.openById(folder); var sheet = sheet1.getActiveSheet(); var r1 = sheet.getRange(