Skip to content

Latest commit

 

History

History
57 lines (45 loc) · 1.6 KB

revcontent.md

File metadata and controls

57 lines (45 loc) · 1.6 KB

Revcontent

Example

<amp-ad width="400" height="260" layout="responsive" 
      type="revcontent"
      heights="(max-width: 320px) 933px,
      (max-width: 360px) 1087px,
      (max-width: 375px) 1138px,
      (max-width: 412px) 1189px,
      (max-width: 414px) 1072px,
      (max-width: 568px) 1151px,
      (max-width: 640px) 1128px,
      (max-width: 667px) 1151px,
      (max-width: 732px) 1211px,
      (max-width: 736px) 1151px,
      (max-width: 768px) 633px,
      (max-width: 1024px) 711px,
      86vw"
      data-wrapper="rcjsload_2ff711"
      data-id="203">
  <div placeholder="">Loading ...</div>
</amp-ad>

Configuration

For semantics of configuration, please see ad network documentation.

Supported parameters:

  • data-id
  • data-wrapper
  • data-endpoint
  • data-ssl
  • data-testing

Auto-sizing of Ads

Revcontent's AMP service will be updated to support resizing of ads for improved rendering, no additional tag parameters are required at this time.