googletag targeting is graphics

This commit is contained in:
Jon McClure 2024-03-06 09:08:52 +00:00
parent 6dfd00d213
commit 3814b14b2e

View file

@ -62,11 +62,7 @@ export const loadBootstrap = () => {
(<any>window).googletag.pubads().setTargeting('adstest', adstest);
}
// Ask Rachel about targeting
const template = (<any>document.querySelector('meta[name="ad:template"]'))?.content;
if (template) {
(<any>window).googletag.pubads().setTargeting('template', template);
}
(<any>window).googletag.pubads().setTargeting('template', 'graphics');
});
if (!Array.isArray((<any>window).graphicsAdQueue)) {