Can anyone share experience of implementing DFP/GAM (Google Ad Manager)? #29782
Replies: 1 comment
-
It's not a Gatsby-related approach, since everything that works in React, will work in Gatsby. The idea is to make a promise-based approach to get the data from the GAM/DFP in order to display the ad somewhere in the code. You can achieve it manually or using third-party dependencies such as Given a markup snippet like (provided by Google Ad Manager):
It can be transpiled with something like:
Notice that the
Disclaimer
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'd like to monetize by blog (gatsby with md/mdx) with Google Ad Manager (aka DFP).
As mention in this blog post the process consists of three parts
What is the best way to implement this in react?
I was surprised to see that there aren't any discussions about GAM/DFP in the community.
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions