Hi Paul (and anyone else reading this),
It appears the issue is not unique to that account and is now showing up in another account with image ads. As the error only points to the catch { } for the URL checking function, I'm assuming it's in here:
function getAdAsText(ad) {
// There is no AdTypeSpace method for textAd
if (ad.getType() === 'TEXT_AD') {
return ad.getHeadline();
} else if (ad.isType().expandedTextAd()) {
var eta = ad.asType().expandedTextAd();
return eta.getHeadlinePart1() + ' - ' + eta.getHeadlinePart2();
} else if (ad.isType().gmailImageAd()) {
return ad.asType().gmailImageAd().getName();
} else if (ad.isType().gmailMultiProductAd()) {
return ad.asType().gmailMultiProductAd().getHeadline();
} else if (ad.isType().gmailSinglePromotionAd()) {
return ad.asType().gmailSinglePromotionAd().getHeadline();
} else if (ad.isType().html5Ad()) {
return ad.asType().html5Ad().getName();
} else if (ad.isType().imageAd()) {
return ad.adType().imageAd().getName();
} else if (ad.isType().responsiveDisplayAd()) {
return ad.asType().responsiveDisplayAd().getLongHeadline();
}
return 'N/A';
}
and related to some recent change in the image ad object.
I'd be happy to provide the CID for this as well, and as before the script was freshly copied from the Google solution page (
https://developers.google.com/adwords/scripts/docs/solutions/link-checker) and the template was just created with no modification besides email options. As before, the script runs just fine if I pause all of the image ads and it doesn't try to check them.