Why Do I Need To Wrap My Ads?

Ezoic Customer Service -

During the setup wizard for Ad Tester, you will be asked to wrap your existing ads

Wrapping your existing ads allows Ezoic’s system to test the same locations on the Ad Tester layouts along with new ad sizes/locations. For the portion of traffic that sees your original (non Ad Tester) version, they will see your original ads.

If you have unwrapped ads, they will show up on all versions - both the original and the Ad Tester versions. However, Ezoic's system won't be able to track the performance of the unwrapped ads or see how they impact the overall revenue and user experience. Also, there may end up being too many ads per page because the unwrapped ads show up alongside ones that Ezoic is testing.

This creates an issue and directly impacts Ezoic's performance. For the best results, we recommend wrapping all your existing ads - both native and display - and making sure you have a lot of placeholders on the site. If an ad is added to the site using a script, you can comment it out using the guide here

Example of Wrapping an Ad

Let's say you create an Ezoic ad placeholder shown below:

<!-- Ezoic - above definition - under_second_paragraph -->

<div id="ezoic-pub-ad-placeholder-100">

<!-- optional: your normal ad code can go here -->

</div>

<!-- End Ezoic - above definition - under_second_paragraph -->

 

 

If you had an Adsense code on your site that looks like this:

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>

<!-- 1-banner-1 -->

<ins class="adsbygoogle"

style="display:inline-block;width:468px;height:60px"

data-ad-client="ca-pub-123456789101112"

data-ad-slot="5744848575"></ins>

<script>

(adsbygoogle = window.adsbygoogle || []).push({});

</script>

You would simply place the code where the <!-- optional: your normal ad code can go here --> is in the Ezoic Code - so the final result would look like this:

<!-- Ezoic - above definition - under_second_paragraph -->

<div id="ezoic-pub-ad-placeholder-100">

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>

<!-- 1-banner-1 -->

<ins class="adsbygoogle"

style="display:inline-block;width:468px;height:60px"

data-ad-client="ca-pub-123456789101112"

data-ad-slot="5744848575"></ins>

<script>

(adsbygoogle = window.adsbygoogle || []).push({});

</script>

</div>

<!-- End Ezoic - above definition - under_second_paragraph -->

 

 

*Wrapping link and native ad types:

It's important to make sure, when wrapping ads from your original setup, that link units and native ads are identified as such. Don't worry - this is easy to do, and just involves a slightly different code from your display ads. When you reach step 3, instead of clicking "create display unit", click "add native" or "add link" in your Ad Tester app.

ad_tester_link.png

 

The resulting code produced will then be similar, to this display code:

display1.png

 

only with "link" or "native" identified as the position type, for example:

link_1.png

native_2.png

If you have any issues, please contact your Ezoic Representative or email support@ezoic.com. 

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk