Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
AdSense
v1.0
24/08/2010
This document is a step by step explanation for the implementation of the Criteo Direct solution with Google AdSense.
Summary
1. a. b. c. 2. a. b. 3. 4. Global Explanation ........................................................................................................ 2 How does it work? ..................................................................................................... 2 When Criteo takes the impression ............................................................................... 3 When Criteo gives the impression back ........................................................................ 4 Set up in the Criteo Direct Interface ................................................................................ 5 Explanation .............................................................................................................. 5 Details of the implementation ..................................................................................... 6 Implementation of the Criteo Ad Code ............................................................................. 7 Test the Criteo Implementation ...................................................................................... 8 How to check the integration? ........................................................................................ 8 Checking list in case of implementation issue ................................................................... 9 How to delete your cookies. ..................................................... Erreur ! Signet non dfini. 5. Glossary ..................................................................................................................... 10
CRITEO
AdSense
v1.0
24/08/2010
1. Global Explanation
Criteo Direct allows you to monetize a significant part of your advertising space at a guaranteed CPM. For every advertising display, Criteo is committed to: Either purchasing this display at the guaranteed CPM. In this case, you get 100% of the guaranteed CPM you have put in the Criteo Direct interface Or we will pass back this display in a transparent manner to your AdSense. In this case, Criteo does not take any commission: you get 100% of the revenue which comes from your usual advertising AdSense network.
CRITEO
AdSense
v1.0
24/08/2010
CRITEO
AdSense
v1.0
24/08/2010
CRITEO
AdSense
v1.0
24/08/2010
a. Explanation
We call this code the Passback Code. It will be called when the Criteo system does not take the impression. It will call back your current AdSense code so it can display an ad from another campaign. You need to paste a HTML AdSense Unit code from your AdSense in that section (see below for more details). For every Criteo Zone you want to create, you need one Ad Unit with the same size from AdSense.
If you have some difficulties to manage your AdSense Ad, please look at the Google documentation here.
CRITEO
AdSense
v1.0
24/08/2010
In order to easily set up your Criteo campaign, you can find bellow the step by step details of the implementation. The Ad code you paste in the Criteo interface is the same than the one you have in your site. You need to create one Criteo Zone per Ad you have on your AdSense account. Then, you just need to replace the Ad Unit code you have on your site by the Criteo code. The Criteo code will be implemented directly in your site and will then redirect to your existing Ad in case Criteo dont take the impression. There is no set up or creation to do in your AdSense account. In AdSense, click on AdSense Setup on the top left, then on Manage Ads. You should now see the list of your running AdSense ads. Click on the Code button for every ad on the right.
If you have some difficulties to manage your ads, please look at the Google documentation here.
If you have some difficulties to create your ad code, please look at the Google documentation here.
And then, paste this code in the Criteo Interface into the field Your current advertising code (without Criteo).
CRITEO
AdSense
v1.0
24/08/2010
You now need to copy the Criteo code into your site code. You can find this HTML in every zone in the field Your Criteo advertising code. You can see below an example of a Criteo Code:
<script type='text/javascript'><!--//<![CDATA[ var m3_u = (location.protocol=='https:'?'https://cas.criteo.com/delivery/ajs.php':'http://cas.criteo.com/delivery/ajs.php'); var m3_r = Math.floor(Math.random()*99999999999); if (!document.MAX_used) document.MAX_used = ','; document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u); document.write ("?nodis=1&zoneid=XXXX"); document.write ('&cb=' + m3_r); if (document.MAX_used != ',') document.write ("&exclude=" + document.MAX_used); document.write (document.charset ? '&charset='+document.charset : (document.characterSet ? '&charset='+document.characterSet : '')); document.write ("&loc=" + escape(window.location)); if (document.referrer) document.write ("&referer=" + escape(document.referrer)); if (document.context) document.write ("&context=" + escape(document.context)); if (document.mmm_fo) document.write ("&mmm_fo=1"); document.write ("'><\/scr"+"ipt>"); //]]>--></script>
With AdSense, you have one piece of code to implement on your site for every ad. This Ad Unit code displays an AdSense ad. As these pieces of code are now in the Criteo Direct, you need to delete them and replace them by the corresponding Criteo code. Whenever you have the bellow type of AdSense code in your site, replace it by the Criteo Code:
<script type="text/javascript"><!-google_ad_client = "pub-XXXXXXXXXXXXX"; /* 300x250, RG */ google_ad_slot = "XXXXXXXXX"; google_ad_width = 300; google_ad_height = 250; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script>
CRITEO
AdSense
v1.0
24/08/2010
You can check the banners are from Criteo with clicking on the i.
If you cant see any Criteo banners even after several refresh, there might be an issue on the implementation. (Checks below).
CRITEO
AdSense
v1.0
24/08/2010
If you can see a banner from Criteo, refresh the page several times until you see other ads from AdSense. It you see white displays or no ads on your website, there might be a problem with the passback code. To be sure, you can use tools like Firebug or Fiddler to check that Criteo calls your adserver back if we dont want the impression.
CRITEO
AdSense
v1.0
24/08/2010
5. Glossary
Ad Unit: defines in AdSense the size of an ad and its specific properties. Ad Unit Code: JavaScript code from AdSense that need to be place in Criteo Direct. Here is an example of Ad Unit Code:
<script type="text/javascript"><!-google_ad_client = "pub-XXXXXXXXXXXXX"; /* 300x250, RG */ google_ad_slot = "XXXXXXXXX"; google_ad_width = 300; google_ad_height = 250; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script>
AdSense: adserving platform for publisher made by Google. Invocation code : Criteo tags (called Your Criteo advertising code in the Criteo Direct interface) Passback: a piece of code that Criteo calls when the system does not want to take the impression (called Your current advertising code (without Criteo) in the Criteo Direct interface). Site: the url of your website in Criteo Direct. Zone: an ad placement in Criteo Direct.
10