Open
Description
There is a race condition causing this code (in DFP.ts
) to run even when the slot does end up having a contentUrl:
if (!slot.getContentUrl()) {
this.ad.isEmpty = true;
dispatchEvent(
Number(this.id.substring(this.id.length, this.id.length - 1)),
LOG_LEVELS.WARN,
'DFP Network',
'Ad sizes missing. Bypassing ad.',
);
resolve();
}
This causes ad lifecycle events intended for after the ad renders to think that the ad is empty when it is not.
Metadata
Metadata
Assignees
Labels
No labels