AdTechAnswers

GPT-guides-learn-basics Ad Manager docs

The following guide expands on displaying a test ad, and introduces more basic concepts to make the most of the Google Publisher Tag (GPT) library. These concepts include: Start by loading and initializing the GPT library. Add the following to the <head of the HTML document: <script async src=" crossorigin="anonymous" </script <script window.googletag = window.googletag || { cmd: [] }; This loads the GPT library and initializes both the googletag and CommandArray objects. Initializing these objects lets you start using the GPT command array immediately. Add the JavaScript code that follows to

7,605 characters of text.

Open original →

Ad Manager docs in the corpus →