Custom HTML Ad Sets

Custom HTML Ad Sets allow you to insert your own HTML code into an ad slot. This enables two core use cases:


1. Custom-Coded HTML5 Banners

You can embed fully interactive HTML5 creatives, often built with tools like Google Web Designer. These banners can include animations, clickable elements, and dynamic behaviors using HTML, CSS, and JavaScript.

Use case examples:

  • Product carousels

  • Animated brand messages

  • Mini-games

  • Interactive call-to-actions

Example

<div style="width:100%; height:100%; background:#f0f0f0;">
  <h2 style="text-align:center;">Try Our New Product!</h2>
  <img src="https://example.com/banner.jpg" style="width:100%;" />
</div>

⚠️ Your uploaded HTML must respect the size selected in the ad-set. Responsiveness or fixed dimensions must be handled inside the code itself.


2. Injecting External Ad Server Scripts

You can also inject third-party ad server scripts into your ad slot. This is useful if you want to serve ads from platforms like Google Ad Manager, Adform, or proprietary ad systems.

<script async src="https://ads.example.com/render?id=12345"></script>

These scripts may load dynamic content, perform tracking, or render creative logic on the fly.

⚠️ Be aware of the technical limitations within in-app WebView environments:

  • JavaScript is sandboxed (e.g., iOS WKWebView, Android WebView)

  • Click tracking or redirects may behave differently than in full browsers

  • CORS issues may affect asset loading

  • No full browser context = potential limits to user agent or cookie access


Best Practices

✅ Use only secure (HTTPS) asset and script URLs

✅ Keep creatives lightweight for fast loading

✅ Fully test each ad-set across iOS and Android

✅ Ensure your HTML fits the selected ad dimensions to prevent scrollbars or clipping

✅ Include fallback content in case scripts fail to load


When to Use Custom HTML?

Custom HTML ad-sets are ideal if:

  • You want maximum creative control

  • Your client requires custom interactive formats

  • You need to integrate external ad networks not natively supported

They are not recommended if:

  • You rely on desktop-style tracking or complex browser behavior

  • You cannot ensure compatibility with mobile WebViews


We strongly recommend testing each Custom HTML ad-set thoroughly before going live.



Still need help?

Contact us

16 Advertisement