Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 611 Bytes

README.md

File metadata and controls

20 lines (16 loc) · 611 Bytes

Smart Dummy

Simple drop in replacement for Smart Ad Server async ad rendering library for local/offline development and displaying mock ads.

Simply reference the dummy smart.js instead of https://ced.sascdn.com/tag/ID/smart.js and define a replacement map:

<script>
    var _sasDummy = {
        debug: true,
        formats: {
            1: 'https://example.org/format1.png',
            2: 'https://example.org/format2.png'        
        }
    }
</script>
<script src="/dist/smart.js" async></script>

See example.html for, well, examples.