Ad Preview

Summary

A classic popup ad — the kind that gave the internet a bad name. This ad opens a new window to a specified URL. It can be rate limited and optionally tied to a click event with a selector. Note: Browsers routinely block these types of ads if not invoke by the user. You can work around this by using the "selector" option. Web developers are very familiar with selectors.

Setup / Inputs

These are the fields / inputs taken to generate this ad. In general, inputs are not required. That said, these inputs are how you customize the ad!

  • URL: The URL that the new window should point to
    Default value:
    [empty]

  • Width: Width of the popup. The default is the width of the screen.
    Default value:
    [empty]

  • Height: Height of the popup. The default is the height of the screen.
    Default value:
    [empty]

  • Repeats: Number of times to show the ad
    Default value:
    1

  • Selector (Optional): If supplied, the popup will open when elements with the specified selector are clicked.
    Default value:
    [empty]

  • Display Period: The number of seconds that should pass before the popup is displayed to the user again
    Default value:
    300

  • Displays per Period: The number of times the popup should show per 'Display Period'
    Default value:
    1

Embed An Example In Your Media Kit

Customers who wish to embed the example on some "Media Kit" page on their website can do so in one of two ways:

  • Option 1: If you have Wordpress and the Broadstreet plugin, you can use this shortcode anywhere in any post to render the example.

    [broadstreet ad=""]
  • Option 2: If you do not have Wordpress, or choose not install the Broadstreet plugin, you can embed this javascript code snippet into your post:

    <div street-address=""></div><script>
    (function(d, s) {
      // CLICK MACRO AND CONFIGURATION SECTION
      var destination = '%%CLICK_URL_ESC%%';
      // DO NOT EDIT BELOW THIS LINE
      var js, bjs = d.getElementsByTagName(s)[0];
      js = d.createElement(s); js.async = true;
      js.src = "//ad.broadstreetads.com/display/.js?sa=1&"
        + (window.broadstreet ? 'init=0' : '')
        + (destination.indexOf('CLICK_URL_ESC') >= 0
          ? '' : '&destination=' + destination);
      bjs.parentNode.insertBefore(js, bjs);
    }(document, 'script'));</script>