Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
53 lines (42 sloc) 1.28 KB

AdStyle

Example

Basic

<amp-embed
  width="400"
  height="260"
  type="adstyle"
  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-widget="12345"
>
  <div placeholder="">Loading ...</div>
</amp-embed>

Configuration

For details on the configuration semantics, please contact the ad network or refer to their documentation.

Required parameters

  • data-widget
You can’t perform that action at this time.