Q&A
Mr. Pickles the AdPlugg Pug

HTML5 Ad

+1
1
-1

Hi,

 

I've got a HMTL5 from a partner and unsure how to get it to work.

I got a HTML script, an JavaScript file and an image. I've tried creating an add with the image as base and add another creative on top of it but i'm getting errors.

Kind regards,

Tom



Answers

+1
1
-1

Hi Tom,

AdPlugg Pro supports zipped HTML5 ads. Assuming it is in the correct structure (see Troubleshooting below) you should be able to just upload the zip file to AdPlugg. Here's how to do it.

  • Make sure that your account is on AdPlugg Pro (I checked and yours is).
  • Go to Ads > Ads and then click Create New Ad.
  • Give the Ad a Name and enter a Click Through URL.
  • Scroll down, and in the Creative section, click Custom.
  • Drag the zip file for the HTML5 ad onto the upload area.
  • Set up any scheduling or targeting as required.
  • Press Save.
  • Back on the Ads list, click the Preview link to see the ad.

Troubleshooting

AdPlugg requires that zipped HTML5 ads have a file named index.html in the root of the zip file. If the preview doesn't work, make sure that there is a file called index.html in the root of the zip folder. Sometimes, zip files come with a folder inside of them and then the actual files are inside of the folder. You'll want to eliminate the folder so that at least the index.html file sits in the root of the zip file. You can do this by unzipping the zip file, selecting the individual files and then rezipping them. If the zip file has just a single .html file but it isn't named index.html (ex myad.html) you aught to be able to rename the file to index.html and that should get it to work.

If you still can't get it to work or are having issues structuring the zip file, please contact us and we can do it for you.

+1
0
-1

Fixed it with a css overwrite on teh .adplugg-ad-wrapper for now.

It sounds like it might be an issue with your site's layout. Overwriting the css is totally fine though you might want to do the overwrite on the ad tag instead of the wrapper. This way your overwrite will work for other ads in that same slot and the overwrite won't effect other ads on the page.
+1
0
-1

Thx!

 

I followed the steps and got it working. Though the banner shown isn't the same format as the image banner has. Is this something wrong in the script or can i force/overrule it in the ad?

 

Kind regards,

Tom