1.1.2 • Published 9 months ago

nypr-ads v1.1.2

Weekly downloads
34
License
MIT
Repository
github
Last release
9 months ago

nypr-ads

  {{dfp-ad
    slotClassNames="l-constrained aligncenter leaderboard"
    slot="6483581/leaderboard/wqxr_leaderboard_demo"
    target="leaderboard_ad_home"
    mapping=(array (array 0 (array 300 50)) (array 758 (array 728 90)) (array 1203 (array 970 415)))
    sizes=(array (array 970 415) (array 728 90) (array 300 50))
  }}

Things you might want to know when using this addon:

  • For an ad to display, both the full slot name and the ad size have to match something being served out of DFP

  • the slot name above is 6483581/leaderboard/wqxr_leaderboard_demo

  • The mapping parameter above says:

    • for screen sizes between 0px wide and 757px wide, use ads from the 300 x 50 slot
    • for screen sizes between 757px wide and 1203, use ads from the 728 x 90 slot
    • for screen sizes above 1203 use 970 x 415
  • The sizes above say:

    • there is a 970 x 415 slot, a 728 x 90 slot, and a 300 x 50 slot
0.2.1

9 months ago

0.1.1

9 months ago

1.1.2

9 months ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago

0.2.0

5 years ago

0.1.0

6 years ago

0.0.1

6 years ago