IFrame Integration

There are certain requirements for an ad to function properly when the ad container is within an iframe.

  • If the API is implemented inside of an iframe (or a series of iframes), the top level iframe must be wrapped in a div. For example, the format on the left should instead be written as shown on the right.

IframeExample1

  • If the API is implemented inside of an iframe (or a series of iframes), no parent element between the ad container and the root iframe can have a position other than static.

IframeExample2

  • If the API is implemented inside of an iframe (or a series of iframes), the iframe(s) should have no styling.

IframeExample3