powered-ad-config

0.0.19 • Public • Published

powered-ad-config

npm package for dynamic powered ad config

instructions

  1. import powered-ad-config
  2. choose the adFormat you want to integrate eg. fireplace
  3. (optional) give a custom sticky offset to your ad.

example

import poweredAdConfig from 'powered-ad-config'

//setup ad integration on Nine
if (window.frameElement) {
    poweredAdConfig({ adFormat: 'fireplace', stickyOffset: 0 });
}

Readme

Keywords

none

Package Sidebar

Install

npm i powered-ad-config

Weekly Downloads

79

Version

0.0.19

License

MIT

Unpacked Size

21.3 kB

Total Files

4

Last publish

Collaborators

  • studiosdevelopers