It may be how new I am to using Google’s DoubleClick For Publishers but I had a bit of a hard time getting our Moat script working.
If you have found this post I am going to guess you are facing similar problems. Here is what I did to get Moat working.
DoubleClick for Publishers
DoubleClick for Publishers, or DFP, is Google’s platform for delivering ads you have created yourself or imported from third parties. Moat does work with other things, this short guide just covers DFP integration.
Moat is a tool you can use with DFP to improve the tracking of your adverts. Specifically to track the viewability of your advert. Viewablility is becoming an important metric for businesses who serve adverts to be able to report on.
Getting the two to play nicely
The main part of the ad which appears on your website is ‘the Creative’.
In order to get Moat playing well with our creatives I had to create my own custom User-defined Template.
You can do this by clicking on;
- Creative Templates
- New Creative Template
Once here there are only a handful of more things you need to do;
- Name your template. This should be something memorable, you will be referring to it every time you upload new creative from now on.
- Add any custom variables you need. For our uses we needed an image, some dimension data for the image and the URL we wanted the image to go to when clicked.
- Add your snippet of code. I have included some sample code below.
Once you have your custom snippet when you add new Creative you can select from your newly created template from User-defined Templates.