Skip to content

How to Create a Script / HTML Ad

Script / HTML Ads allow you to serve third-party programmatic ad tags, Google AdSense responsive snippet units, Affiliate widgets (Amazon, CJ), Prebid wrappers, and custom interactive HTML5 canvas banners.

Navigate to WordPress Admin > AdFuz > Ads > + Add New Ad and select the Script tab.


When you select the Script tab:

  1. Ad Code Editor: A full-featured code editor with a built-in tag insertion toolbar:
    • Formatting buttons: b, i, link, b-quote, del, ins, img, ul, ol, li, code, more, close tags.
  2. Title (0/100 characters): Internal label to distinguish network tags (e.g., Google AdSense - InArticle Responsive).
  3. Hide Title Toggle: Hides any text title overlay to ensure pure third-party tag rendering.
  4. Live Preview: Dynamically compiles and sandbox-evaluates your script code in the left panel.

<!-- Google AdSense Responsive Unit -->
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-XXXXXXXXXXXXXXXX"
crossorigin="anonymous"></script>
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-XXXXXXXXXXXXXXXX"
data-ad-slot="1234567890"
data-ad-format="auto"
data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>

  1. Select the Script ad type tab in the builder.
  2. Paste your raw JavaScript or HTML tag snippet into the Ad Code textarea.
  3. Enter an identifiable Title (e.g., Testing Google Ads 2).
  4. Turn ON Hide Title if you do not want an extra heading rendered above the third-party ad.
  5. Set the Status to Active or Pending.
  6. Click Create Ad to save.