chevron_right
chevron_right
How To Wrap Your Ads
How-To/Instructional

How To Wrap Your Ads

Last Updated over a month ago

Introduction

Wrapping your ads in Ezoic code is an important first step to optimizing your ad setup and maximizing your revenue potential. This guide will provide you with step-by-step instructions on how to generate Ezoic ad code and wrap your existing ads, including native ads and link units, in this code. Additionally, you'll learn why wrapping your ads is important for both optimization and compliance with Google Policies. By the end of this article, you'll have a clear understanding of how to effectively integrate Ezoic placeholders into your site for an enhanced ad experience.

Steps

1. Log into your Ezoic Account:

  • Click on the 'Ezoic Ads' tab.
  • Navigate to 'Ad Positions' > 'Placeholders.'

2. Create a New Placeholder:

  • Select 'New Placeholder.'
  • Configure the placeholder settings:
    • Determine where on the page the ad is located.
    • Specify which pages the ad will appear on.
    • Choose the ad sizes for this location.

3. Save the Placeholder:

  • Click Save to generate the Ezoic placeholder code.

4. Wrap Your Existing Ads in Ezoic Code:

  • Take the generated code snippet.
  • Go to the tool you used to insert the ad unit on your site.
  • Wrap your existing ad code in the Ezoic snippet.

The ad code:

Becomes:

Remember to make sure that when wrapping ads from your original setup, link units and native ads are identified as such. All you need to do is select 'Link Units,' 'Native Horizontal,' or 'Native Vertical' from this drop-down menu before selecting 'New Placeholder':

5. Using Page Level/Auto Ads?

  • Ezoic will automatically detect and remove Adsense Auto ads or page-level ads on Ezoic versions of the site, so there's no need to wrap these ads.

6. Final Check:

  • Verify that all placements meet the AdSense Terms of Service.
  • Make sure every ad from your original setup is wrapped in Ezoic placeholder code.
  • Ensure each placement has the correct ad location selected.
  • Confirm that no ads are under pictures mimicking a slideshow, too close to next buttons or menu items, look like content, or are large ads on the first screen of mobile devices.

Troubleshooting

Common issues users may encounter while wrapping ads with Ezoic code along with their solutions are as follows:

  1. Ads Not Displaying Properly
    • Solution: Ensure that all existing ads are properly wrapped with the Ezoic placeholder code. Double-check that you have correctly identified link units and native ads as such before generating the placeholder code.
  2. AdSense Auto Ads Still Appearing
    • Solution: If using Page Level or Auto Ads, remember that Ezoic automatically detects and removes these types of ads on Ezoic versions of the site. No additional wrapping is needed for these ads.
  3. Incorrect Ad Placement
    • Solution: Make sure that each placeholder is configured correctly, specifying where on the page the ad is located, which pages the ad will appear on, and which ad sizes are preferred for that location.

If issues persist, it's essential to review the detailed instructions provided during the placeholder setup to ensure all steps were followed correctly.

FAQs

Why do I need to wrap my ads?

It's important to make sure that every one of your ads from your original setup has been wrapped in Ezoic placeholder code for the following reasons:

  1. Optimization: Ezoic placeholders are designed to work together in order to provide you with the ad setup that is best for user experience, whilst maximizing your ad revenue. Leaving any ads unwrapped is limiting the system's potential! So make sure to wrap them all for the best return. 
  2. Protection from Google Policy Violations: Ezoic's machine learning engine will protect you from Google Policy Violations relating to ad density, BUT the system is unable to see any ads that aren't wrapped on the page. So if any ads are left unwrapped, we can't guarantee protection from policy violations.

Need Further Assistance?

For further assistance, you can reach out to Ezoic support at support.ezoic.com.

Loading ...