How to create basic image wallpapers

Wallpaper ads are large display ads that take up the entire background of a page. This guide will walk you through setting up a basic image that can be used as the page background served as a native ad.

This style of basic wallpaper add will only work with a Dynamic Standard Zone.

Create a Standard Zone (Dynamic)

  1. Navigate to (Your AdButler > Publishers > Your Publisher >)
  2. Create a New Zone by clicking Add Zone
  3. Select Standard as the Zone Type
  4. Choose Dynamic as the size.

Create a Native Ad Template for Wallpaper Images

  1. Click Templates in the left navigation menu to go to the Templates section.
  2. Click Add Native Ad Template in the Native Ad Templates table. The New Native Template window will appear.
  3. Select "Custom Rendering/API" as the Native Ad Template type.
  4. Name the template then add an "Image URL" variable. In our sample code, we called this variable Wallpaper Image. You can optionally add in a background color parameter as well, we've called this "Background Color"
  5. Enter the code in the HTML/Script field, then click Save template.

Here's the code we used in our example:

<script>
document.body.style.backgroundColor = "[%Background Color%]";
document.body.style.backgroundImage = "url('[%Wallpaper Image%]')";
</script>

Create a Native Wallpaper Ad Item

  1. Go to the section of the relevant zone (Your AdButler > Publishers > Your Publisher > Your Zone) or campaign (Your AdButler > Advertisers > Your Advertiser > Your Campaign).
  2. Click Add Ad Item in the Ad Items table. The Add Ad Item window will appear.
  3. Click Native - Custom Rendering. The New Ad Item page will appear.
  4. Select your wallpaper native ad template in the Template dropdown menu.
  5. Fill in the rest of the fields as needed, including the image URL. If you entered a destination URL, you can test it by clicking Open Destination URL to the right of the field.
  6. Click Save Ad Item.
Read About ad items for more on AdButler's ad item types and their parameters.

Can't find what you're looking for?

Send us an email

hello@adbutler.com

Visit the blog

For more ad serving tips, industry news and AdButler insights.