New Year Sale is here!
40% off on Everything for a very limited time

Claim The Offer Now

Add ads via DFP Doubleclick for Publishers

You can add AdSense or any other DFP ads to your WordPress site with WP QUADS Pro very easily. At first add the generic Google DFP script into the head of your website. To do so open the file header.php in your theme location and copy the code below into the <head> of it:

<script async=’async’ src=’‘></script>
var googletag = googletag || {};
googletag.cmd = googletag.cmd || [];

Secondly copy the ad specific code into the ad input form:

doubleclick for publishers

Alternatively you can copy the header code above the ad specific code as well but it is a better technique to copy the code into the head of your site instead.

That’s it! Now you can control on the general settings tag where you want to show the newly created DFP ad:

DFP ad control

Powered by BetterDocs