googletag targeting is graphics
This commit is contained in:
parent
6dfd00d213
commit
3814b14b2e
1 changed files with 1 additions and 5 deletions
|
|
@ -62,11 +62,7 @@ export const loadBootstrap = () => {
|
||||||
(<any>window).googletag.pubads().setTargeting('adstest', adstest);
|
(<any>window).googletag.pubads().setTargeting('adstest', adstest);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Ask Rachel about targeting
|
(<any>window).googletag.pubads().setTargeting('template', 'graphics');
|
||||||
const template = (<any>document.querySelector('meta[name="ad:template"]'))?.content;
|
|
||||||
if (template) {
|
|
||||||
(<any>window).googletag.pubads().setTargeting('template', template);
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
|
|
||||||
if (!Array.isArray((<any>window).graphicsAdQueue)) {
|
if (!Array.isArray((<any>window).graphicsAdQueue)) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue