Permalink
Find file
2a791b5 Feb 2, 2017
44 lines (33 sloc) 1.16 KB

Swoop

Example

<amp-ad width=auto height=125
        type="swoop"
        layout="fixed-height"
        data-layout="fixed-height"
        data-publisher="SW-11122234-1AMP"
        data-placement="page/content"
        data-slot="article/body">
  <div placeholder></div>
  <div fallback></div>
</amp-ad>

Configuration

For semantics of configuration, please see ad network documentation.

Required parameters:

  • layout: AMP layout style, should match the layout attribute of the amp-ad tag
  • publisher: Publisher ID
  • placement: Placement type
  • slot: Slot ID