dukechronicle / chronline

The official repository for the Duke Chronicle website
http://www.dukechronicle.com
202 stars 21 forks source link

Change OpenX Ads to use Async #182

Closed grivkees closed 10 years ago

grivkees commented 10 years ago

Still do sync ads right now, can do async by changing the JS to .load() instead of .fetchAds() and using setAdUnitSlodId() instead of showAdUnit()

  var OX_5382d6fe6c = OX();
  OX_5382d6fe6c.addPage("536870985");
  OX_5382d6fe6c.setAdUnitSlotId("536871737","exampleAd1");
  OX_5382d6fe6c.load();

http://docs.openx.com/ad_server/adtagguide_tagapi_instancemethods.html

jimpo commented 10 years ago

http://docs.openx.com/ad_server/adtagguide_synchjs_implementing_async.html