Back to Amphtml

MGID

ads/vendors/mgid.md

latest696 B
Original Source

MGID

Example

Basic

Latest version:

html
<amp-embed
  width="100"
  height="283"
  type="mgid"
  data-website="98765"
  data-widget="12345"
>
</amp-embed>

Legacy version:

html
<amp-embed
  width="100"
  height="283"
  type="mgid"
  data-publisher="amp-demo"
  data-widget="12345"
  data-container="demo-container"
>
</amp-embed>

Configuration

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

Required parameters

Latest version:

  • data-widget
  • data-website

Legacy version:

  • data-widget
  • data-publisher
  • data-container

Optional parameters

  • data-url
  • data-options