Decide on the tagging type

Read more

Now that you've created your first ad unit it’s time to start serving ads on your pages. To do so you will first have to think about the type of ads you want to serve in order to decide on the type of Google Publisher Tag (GPT) you want to use. The tag is a snippet of code, which you will have to insert into your site’s HTML. This process is similar to placing Google AdSense ad tags on your site. The big difference is that Google Publisher Tags will be able to serve ads from any of your advertisers.

Tag options

You have a few different options for the style of code your ad tag uses:

  • Google Publisher Tag (asynchronous)
    This is the recommended tagging type. The biggest advantage of this tag is that it can decrease your site’s page load time by allowing the rest of your content to load while the ad is loading (instead of loading content after the ad has loaded). The way it works is that the ads render into frames that are reserved on the page until the ad is ready to display. This is the most user-friendly tagging option.

  • Google Publisher Tag (synchronous)
    Some ads don't render properly into frames. For these type of ads, including expandable or interstitial ads, you should use the synchronous GPT. The synchronous GPT loads ads simultaneously to the content of your page. Unlike the asynchronous GPT the synchronous mode doesn't reserve the ad space. 

  • Enable single request
    Checking this box may allow for better page load performance in some cases. These kind of tags call all of the ads on a page at once in the header of your HTML, rather than requesting each ad separately. 

For more on the advantages of the different tagging options, see the DFP Help Center.

Good to know: You can use different tag types on different pages of your website, but you shouldn’t mix them on the same page.