Generate a mobile ad tag in DFP

The Google Publisher Tag generator can automatically generate the HTML and JavaScript necessary to integrate one or more ad units on a page or application. Using the tag generator is optional, but generally easier and less error prone than manually rewriting code.

You also have the option of using simplified URL tags for mobile in some cases.

For mobile web, you do not need to follow mobile-specific procedures to generate tags. Instead, use the tag generator; Google Publisher Tags can be used for both mobile and desktop devices.

For apps and mobile web in WebView, we recommend using the Google Mobile Ads SDK.