function main() {
var managerAccount = AdsApp.currentAccount();
var accountIterator = accountSelector.get();
while (accountIterator.hasNext()) {
var account = accountIterator.next();
AdsManagerApp.select(account);
const myreport = AdsApp.search(
'SELECT
customer.id, customer.descriptive_name, customer.auto_tagging_enabled FROM customer WHERE customer.auto_tagging_enabled = FALSE');
for (const row of myreport) {
const CID =
row.customer.id;
const clientname = row.customer.descriptiveName;
const AutoTagging = row.customer.autoTaggingEnabled;
// const status = row.customer.status;
console.log(`${CID}, ${clientname}, ${AutoTagging},`);
}
}
}