Rate Your Experience

Comment envelopper vos publicités

Modified on: Thu, 11 Apr, 2024

Se rendre à :

Générer un code publicitaire Ezoic 

Wrapping Your Existing Ads In Ezoic Code

Wrapping Native Ads And Link Units

Using Page Level Ads/Auto-ads?

Why Do I Need To Wrap My Ads?

Wrapping Your Ads For Ad Tester (Video)



The first and most important step of setting up ad testing is to wrap all of your existing ad code inside Code generated by Ezoic. This converts your existing ads into Ezoic placeholders when users visit Ezoic versions of your site. Users who visit non Ezoic versions of your site will see your original ad setup unaffected



Generating Ezoic Ad Code


  1. Log into your Ezoic Account and click the Monetization tab.

  2. Click 'New Placeholder'.

  3. Configure the placeholder including (more detailed info on placeholder set up here):
    1. Where on the page the ad is located
    2. Which pages the ad will appear on
    3. Which ad sizes you'd like in this location.

Once you've configured your placeholder, click Save and we'll generate Ezoic placeholder code that looks like this:


image



Wrapping Your Existing Ads In Ezoic Code


Once you have the generated code snippet, you need to go to the tool you used to insert the ad unit to your site, and wrap it in the Ezoic snippet we've generated for you so that this:


image


Becomes:

ins class="adsbygoogle" style="display:inline-block;width:468px;height:60px" data-ad-client="ca-pub-123456789101112" data-ad-slot="5744848575">


Wrapping Native Ads & Link Units


Remember to make sure, when wrapping ads from your original setup, that link units and native ads are identified as such. All you need to do is select Link, native horizontal, or native vertical from this drop down menu when creating the new placeholder:

image



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 them!



Why Do I Need To Wrap My Ads?


It's important to make sure that every one of your ads from your original set up 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 set up the 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 - we're unable to see any ads that aren't wrapped on the page and so can't guarantee protection from policy violations.


IMPORTANT!


It is your responsibility to ensure that each individual placement has the correct ad location selected AND that all of your placements comply with the Adsense Terms of Service (https://support.google.com/adsense/answer/1346295?hl=en)


This includes no ads under pictures that mimic a slideshow, no ads too close to next buttons or menu items, no ads that look like content and no large ads on the first screen of mobile devices.



Wrapping Your Ads For Ad Tester (Video)




Loading ...