Questions tagged [google-publisher-tag]

Google Publisher Tag (GPT) is an ad tagging library with which you can dynamically build ad requests. Not to be confused with the ChatGPT, the Artificial Intelligence for text creation.

91 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
  • 954
  • 1
  • 11
  • 25
13
votes
2 answers

DoubleClick for publishers: Displaying responsive ads

Here is my current code. // Head