Hi,
We are unable to select child accounts with AdsManagerApp in the New Google Ads Script Experience.
Following is the code to get the child account.
var accountSelecter = AdsManagerApp.accounts().withIds(['127-167-0580']]);
var account = accountSelecter.get();
if(account.hasNext())
{
MccApp.select(account.next());
Logger.log("Account Set");
}
else
{
Logger.log("Account NOT Set");
}
Through the above code, we are not getting the account if we toggle on New scripts experience, if we toggle off that then it's working...
Please suggest what we need to do to make it work in the new script experience.
Regards,
Indrani