Wrapping your existing ads during the EzoicAds setup process is crucial for Ezoic’s system to include them in optimization and testing. When ads are not wrapped, they appear in both the original and Ezoic versions of the site, but Ezoic cannot track their performance, which may lead to inaccurate revenue calculations and issues related to ad density.
Unwrapped ads can negatively impact the overall ad performance and user experience, potentially lowering the value of other ads on the page. This is because an individual ad on a page can actually reduce the value of the other ads on the page - sometimes markedly so. This could be either through increasing the bounce rate (through reduced UX) or by discouraging advertisers from bidding for other ad slots on the site.
One of the most important things Ezoic does is learn from visitor behavior and visitor engagement over time. If certain variables are missing, like ads that aren't being accounted for, Ezoic is learning without sufficient info and cannot make all the right decisions.
Ezoic's AI helps to make sure that the ads work together as a whole to improve your overall revenue. So once you've wrapped all of your ads, Ezoic can optimize your site much more effectively.
The impact on an individual site will vary, but overall, wrapping ads is one of the best revenue optimization techniques you can do on the Ezoic platform.
Case Study 1
![](https://support-osticket.s3.us-west-1.amazonaws.com/article_uploads/ObbMjVfuabh4EJDqc27%2Bni-wYTs%3D_Xe0wkJv7lLJf3ixDbGrcUw%3D%3D?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIARCESARAIUQZMDG2X%2F20240908%2Fus-west-1%2Fs3%2Faws4_request&X-Amz-Date=20240908T044557Z&X-Amz-Expires=900&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEBQaCXVzLWVhc3QtMSJHMEUCIQDDFMSPqGIkX3nyM7t4OnInGzFs9fA9vDEq%2ByzYRSSQjgIgW0JLdo%2FiUe2UrF42L%2Fu7FIriD24ERNYuwzL93Dl4MsYquwUIPRAAGgwwNzMzMjA2NjMwNTciDNgj%2B6Oyq38FRRMZ7yqYBcMD9HVv%2Fa9NA5XsaEaz36LLgYtSNREH447YbBZoxIVOYFaOrpY9QDLxZba%2Bk0F5o8fJxmuUqM2Q%2BC9JbzZS6%2BY6wot%2FnU%2BjR5ksQ36h%2F%2F3cjFiSbwiTFLPA0lJ0qoH5IQJVayhlzdIwn481aR6G10eeRXzEAZEzOy8pULr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e7fe28f9636bda7ff07e24c01e3535f8530deb1fa0ec7)
![](https://support-osticket.s3.us-west-1.amazonaws.com/article_uploads/tyhwzdlw2%2BcDThsXMQwxdNy2DqA%3D_sI%2BJXt7rVyelGJ0gDWAk7A%3D%3D?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIARCESARAIUQZMDG2X%2F20240908%2Fus-west-1%2Fs3%2Faws4_request&X-Amz-Date=20240908T044557Z&X-Amz-Expires=900&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEBQaCXVzLWVhc3QtMSJHMEUCIQDDFMSPqGIkX3nyM7t4OnInGzFs9fA9vDEq%2ByzYRSSQjgIgW0JLdo%2FiUe2UrF42L%2Fu7FIriD24ERNYuwzL93Dl4MsYquwUIPRAAGgwwNzMzMjA2NjMwNTciDNgj%2B6Oyq38FRRMZ7yqYBcMD9HVv%2Fa9NA5XsaEaz36LLgYtSNREH447YbBZoxIVOYFaOrpY9QDLxZba%2Bk0F5o8fJxmuUqM2Q%2BC9JbzZS6%2BY6wot%2FnU%2BjR5ksQ36h%2F%2F3cjFiSbwiTFLPA0lJ0qoH5IQJVayhlzdIwn481aR6G10eeRXzEAZEzOy8pULrvPdQ9qDEMz4e7dvlG1AcjmYLewUWGAN6lvdn04372ZRhaMmaAjRIKEgvXvHLuUodV7U1%2FGbmhtaiHFDFnNvq3PP%2FUIZZr%2FfPvuoD%2BIMRtPVbpj%2Ba9HtOZ8t09xWTU90OHZuPrwMW0Oic1gPuO7rc6zfSHZFBUUT5%2F9WnnuE17i4wiCpLWu4kB2uq1aHwEMUcaGBOfY2ZRJQWJ7WvIJfOtSC4OkkOKnPbJcT5xVD2XKLdIr92o5XdrrQoaFxGLBQFuVB4%2Fs7o3iHvPT%2FZc7j7OlOrQvGCK%2Bs5tcDN4WhzEJpcXOo59lWn5CiAm1%2Bnc99PduKL9KtSHG%2Bj5woKIl7VmMgdJ6H1ldFa8eKsRF1LH78hnvTE7k5CSie4eEGIoX7RASiW6DZcVCn8JMvUxGwmjBr3n32tV9rGRXtgWaHHF9E5HfT1i8RzVhTsi9NGYgV7ADcBP30ZUjVrv0Rr77QELIHrnYtNH61xmqxMliu5VJIwMq6EMvnN5i25hTyfh2nzhPIo3qE%2B5JtYzZYeqjlCCQrv%2BwqMm83xkXBdyNMhPEr5YOfDgF%2B3Qcudq2Avs801cXWvChdgDI0Fn7WwtL5EY5xan8vCBM%2FxYVUz%2BsZy6h6CSEYGWHfphCox3XN6nNuIseXDeirrCd4qqnrfCgpiROrqDlzO4ehFto4UkISIgUvUtK84A8e0oP6O0BZivCWHa7d3Pz9tfZGV3mTUwmsD0tgY6sQGhAox1rJUV0w3VcwC9llfAbGkILyNGkcZfsI3qoILA7UICpevCof9dZBeBzNtm3V3wRzG9HYPVAsBVGg0AJpF0k1iQMDIKVGYcCxhB2X1TNPEwxF19lGSsEGSGPF2EBO2p1G1cyOjn9ELuCVdu2rAyHzCGdBccvAe%2BSWTwehbm9R15hiUZ0cEgA8DuXpWEzUA4Fw4WHr6%2FxWOBSZioCzBMVuO6N9yprXDyXXINoGA9qyE%3D&X-Amz-SignedHeaders=host&x-id=GetObject&X-Amz-Signature=af8ad8f82ec562c6c3573c7745b9a29f6dccd48a0a1a3f5290c5370a5fd68809)
This website did not have 3 of their existing ad units wrapped; preventing Ezoic from accounting for them in optimization. It turns out that these ads were diluting the value of all ads throughout the session.
Once all the ads were wrapped on this website, EPMV nearly tripled. This resulted in an increase of nearly $500 per day in revenue.
The unwrapped ads were badly diluting the ad value; severely limiting the capacity for Ezoic to improve the publisher's revenue.
This site also saw a slight increase in pageviews per visit, as now Ezoic was able to better understand the relationship between average pageviews per visit and ad density.
![](https://support-osticket.s3.us-west-1.amazonaws.com/article_uploads/kOd3XiMqyeZv-6LkmjAzh5u2otw%3D_0c0aM-hB96JCrIJFgwGJHQ%3D%3D?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIARCESARAIUQZMDG2X%2F20240908%2Fus-west-1%2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5EY5xan8vCBM%2FxYVUz%2BsZy6h6CSEYGWHfphCox3XN6nNuIseXDeirrCd4qqnrfCgpiROrqDlzO4ehFto4UkISIgUvUtK84A8e0oP6O0BZivCWHa7d3Pz9tfZGV3mTUwmsD0tgY6sQGhAox1rJUV0w3VcwC9llfAbGkILyNGkcZfsI3qoILA7UICpevCof9dZBeBzNtm3V3wRzG9HYPVAsBVGg0AJpF0k1iQMDIKVGYcCxhB2X1TNPEwxF19lGSsEGSGPF2EBO2p1G1cyOjn9ELuCVdu2rAyHzCGdBccvAe%2BSWTwehbm9R15hiUZ0cEgA8DuXpWEzUA4Fw4WHr6%2FxWOBSZioCzBMVuO6N9yprXDyXXINoGA9qyE%3D&X-Amz-SignedHeaders=host&x-id=GetObject&X-Amz-Signature=fc321178724654e7c15f2fdc9473e454037b7f05391a9d56dbcf0e6fd0379ccc)
Case Study 2
![](https://support-osticket.s3.us-west-1.amazonaws.com/article_uploads/HxPQJiDuQmDMQdFdMzxpt1mMda4%3D_ETelJoRvABla4P1YKkF4Gw%3D%3D?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIARCESARAIUQZMDG2X%2F20240908%2Fus-west-1%2Fs3%2Faws4_request&X-Amz-Date=20240908T044557Z&X-Amz-Expires=900&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEBQaCXVzLWVhc3QtMSJHMEUCIQDDFMSPqGIkX3nyM7t4OnInGzFs9fA9vDEq%2ByzYRSSQjgIgW0JLdo%2FiUe2UrF42L%2Fu7FIriD24ERNYuwzL93Dl4MsYquwUIPRAAGgwwNzMzMjA2NjMwNTciDNgj%2B6Oyq38FRRMZ7yqYBcMD9HVv%2Fa9NA5XsaEaz36LLgYtSNREH447YbBZoxIVOYFaOrpY9QDLxZba%2Bk0F5o8fJxmuUqM2Q%2BC9JbzZS6%2BY6wot%2FnU%2BjR5ksQ36h%2F%2F3cjFiSbwiTFLPA0lJ0qoH5IQJVayhlzdIwn481aR6G10eeRXzEAZEzOy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7c4be96129566b2940dcd1a73926adb675f2bcf9f69efc8a82)
This publisher saw a 43% increase in EPMV when they made sure that all ads on their site's pages were wrapped.
They had previously thought that several ads on their page "didn't need to be optimized" by Ezoic, so they left them unwrapped for a period of time.
Once they elected to wrap these ads, their revenue roughly doubled in the next 4 months (nearly an additional $2,500 per month). The reason why this publisher saw such a dramatic revenue increase was due to the effect those unwrapped ads were having on all other ads. Once wrapped, Ezoic could better account for the way things like page ad density affected total session revenue and long-term ad value; resulting in fast revenue improvements.
![](https://support-osticket.s3.us-west-1.amazonaws.com/article_uploads/L5JmRAUQ0TiGqugsrFoeqVaVMI8%3D_iLcXXX6ayhTZqZrs9NUV6Q%3D%3D?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIARCESARAIUQZMDG2X%2F20240908%2Fus-west-1%2Fs3%2Faws4_request&X-Amz-Date=20240908T044557Z&X-Amz-Expires=900&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEBQaCXVzLWVhc3QtMSJHMEUCIQDDFMSPqGIkX3nyM7t4OnInGzFs9fA9vDEq%2ByzYRSSQjgIgW0JLdo%2FiUe2UrF42L%2Fu7FIriD24ERNYuwzL93Dl4MsYquwUIPRAAGgwwNzMzMjA2NjMwNTciDNgj%2B6Oyq38FRRMZ7yqYBcMD9HVv%2Fa9NA5XsaEaz36LLgYtSNREH447YbBZoxIVOYFaOrpY9QDLxZba%2Bk0F5o8fJxmuUqM2Q%2BC9JbzZS6%2BY6wot%2FnU%2BjR5ksQ36h%2F%2F3cjFiSbwiTFLPA0lJ0qoH5IQJVayhlzdIwn481aR6G10eeRXzEAZEzOy8pULrvPdQ9qDEMz4e7dvlG1AcjmYLewUWGAN6lvdn04372ZRhaMmaAjRIKEgvXvHLuUodV7U1%2FGbmhtaiHFDFnNvq3PP%2FUIZZr%2FfPvuoD%2BIMRtPVbpj%2Ba9HtOZ8t09xWTU90OHZuPrwMW0Oic1gPuO7rc6zfSHZFBUUT5%2F9WnnuE17i4wiCpLWu4kB2uq1aHwEMUcaGBOfY2ZRJQWJ7WvIJfOtSC4OkkOKnPbJcT5xVD2XKLdIr92o5XdrrQoaFxGLBQFuVB4%2Fs7o3iHvPT%2FZc7j7OlOrQvGCK%2Bs5tcDN4WhzEJpcXOo59lWn5CiAm1%2Bnc99PduKL9KtSHG%2Bj5woKIl7VmMgdJ6H1ldFa8eKsRF1LH78hnvTE7k5CSie4eEGIoX7RASiW6DZcVCn8JMvUxGwmjBr3n32tV9rGRXtgWaHHF9E5HfT1i8RzVhTsi9NGYgV7ADcBP30ZUjVrv0Rr77QELIHrnYtNH61xmqxMliu5VJIwMq6EMvnN5i25hTyfh2nzhPIo3qE%2B5JtYzZYeqjlCCQrv%2BwqMm83xkXBdyNMhPEr5YOfDgF%2B3Qcudq2Avs801cXWvChdgDI0Fn7WwtL5EY5xan8vCBM%2FxYVUz%2BsZy6h6CSEYGWHfphCox3XN6nNuIseXDeirrCd4qqnrfCgpiROrqDlzO4ehFto4UkISIgUvUtK84A8e0oP6O0BZivCWHa7d3Pz9tfZGV3mTUwmsD0tgY6sQGhAox1rJUV0w3VcwC9llfAbGkILyNGkcZfsI3qoILA7UICpevCof9dZBeBzNtm3V3wRzG9HYPVAsBVGg0AJpF0k1iQMDIKVGYcCxhB2X1TNPEwxF19lGSsEGSGPF2EBO2p1G1cyOjn9ELuCVdu2rAyHzCGdBccvAe%2BSWTwehbm9R15hiUZ0cEgA8DuXpWEzUA4Fw4WHr6%2FxWOBSZioCzBMVuO6N9yprXDyXXINoGA9qyE%3D&X-Amz-SignedHeaders=host&x-id=GetObject&X-Amz-Signature=a19bd7845e1dd72e0f580024b4116d87b4d35b51572f5ab06b9e05337be42f5e)
How to Wrap Your Ads
To wrap your ads, replace your existing ad code with an Ezoic ad placeholder. For example, if you have an AdSense code, you need to place it within the Ezoic code structure. This ensures that Ezoic can account for all ads and optimize them accordingly.
Here's an example.
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 -->
Note: It is also important to correctly wrap link units and native ads using the appropriate steps in the EzoicAds app, ensuring that they are identified correctly in the Ezoic system. This comprehensive wrapping of all ad types will allow Ezoic to better analyze and optimize ad performance, leading to higher ad revenue.