Questions tagged [gpt]

GPT is an ad tagging library with which you can dynamically build ad requests.

GPT takes key details from you such as ad unit code, ad size, and key-values, builds the request, and displays the ad on web pages or mobile apps.

With GPT, you can define shared settings such as targeting at a page level instead of defining the same targeting for individual ads on the page. You can also control how and when ad requests are made. For example, you can render ads asynchronously so that they don't block other elements on the page and you can use single-request architecture to call all ads once in the header of your page.

77 questions
22
votes
1 answer

Google DFP in SPA (Angular, Vue) - how to destroy ad and all it's references to avoid memory leak

I tried to use google's DFP in both Vue.js and Angular SPA but it seems to be causing a memory leak. In Angular here you can see the proof of concept https://github.com/jbojcic1/angular-dfp-memory-leak-proof-of-concept. For ads, I am using ngx-dfp…
jbojcic
  • 837
  • 1
  • 10
  • 23
13
votes
2 answers

DoubleClick for publishers: Displaying responsive ads

Here is my current code. // Head