Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface LoadedEvent

CustomEvent type for 'nitroAds.loaded' event. Fired when ad script is completely loaded.

example
document.addEventListener('nitroAds.loaded', (event) => {
    console.log(`user geo code: ${event.detail.geo}`);
});

Hierarchy

  • LoadedEvent

Index

Properties

Optional abp

abp: undefined | false | true

True if user is using adblock with acceptable ads enabled Only available if acceptable ads are enabled

auctionTimeout

auctionTimeout: number

Auction timeout in milliseconds

geo

geo: string

2-letter country code

regionCode

regionCode: string

2-letter state code

Generated using TypeDoc