So I'm testing out HTML5 ads on our dev site and I've run into this issue with the iframe being generated. I've uploaded the ads as zip files and they seem to display properly on their own.
Here's the code that seems to be the culprit.
<iframe id="adplugg-iframe-pvgvdu2tgemfr" scrolling="no" class="adplugg-iframe adplugg-responsive-iframe" data-adplugg-src="http://cdn1.adplugg.io/apusers/serve/A48222563/file/97744/index.html?clickTag=null&clickTarget=_self" src="http://cdn1.adplugg.io/apusers/serve/A48222563/file/97744/index.html?clickTag=null&clickTarget=_self" style="height: 150px;"></iframe>
If you click on the src link, you can see the served ad should be a skyscraper, 600px tall, but when it appears on our site, the iframe crops it at 150px. I've tried it with multiple HTML5 ads and that [style="height: 150px;"] is always added to the iframe regardless of the content height.
Image and banner ads display correctly in the same ad placement so it's not an adplugg size restriction at play.
Do you have any insight as to what's going on?
UPDATE (Aug 18, 2023) [FIXED]: We've updated our systems to determine the height using the GWD (Google Web Designer) ad metadata (included in the ad creative), so this should now be resolved (making the below modifications to the ad creative no longer necessary).
---
Sorry for the trouble. It looks like that ad was created with Google Web Designer and that a size isn't being specified by the creative. Since AdPlugg can handle any size ad, it looks to the ad creative to see what size it should make the iframe. Since no size was specified, AdPlugg doesn't know how to size it and ends up just leaving the iframe at the default height for iframes, 150px.
To fix, please set the size of the ad by doing the following:
FROM
html, body {
width: 100%;
height: 100%;
margin: 0px;
}
TO
html, body {
width: 300px;
height: 600px;
margin: 0px;
}
We plan to update our systems to properly detect the size of ads like this one without requiring this change, but this will fix it in the meantime.
Please let me know if you have any questions or if you need any help.