react-dfp icon indicating copy to clipboard operation
react-dfp copied to clipboard

Add amazon ATM support

Open evgenizhuk opened this issue 5 years ago • 10 comments

evgenizhuk avatar Oct 25 '19 10:10 evgenizhuk

This PR adds amazon transparent market place support (https://aps.amazon.com/aps/transparent-ad-marketplace/)

evgenizhuk avatar Oct 25 '19 10:10 evgenizhuk

@evgenizhuk @jaanauati what are you thoughts on keeping this component brand agnostic of add-ons? We use Amazon TAM + react-dfp as well but simply utilize the built-in AdSlot props to connect it all and it works fine.

Just bringing this up because there are other bidding systems out there and if we go down the route of internally supporting other systems this project could balloon in scope & size. Open to discussion here.

scott-thrillist avatar Oct 25 '19 17:10 scott-thrillist

Ps- here's the original PR that allowed react-dfp to work with Amazon TAM

https://github.com/jaanauati/react-dfp/pull/158

scott-thrillist avatar Oct 25 '19 17:10 scott-thrillist

Ps- here's the original PR that allowed react-dfp to work with Amazon TAM

#158

@scott-thrillist thank you for the reference, I've missed this prop. Probably, it makes sense to update documentation.

yahenizhuk avatar Oct 28 '19 08:10 yahenizhuk

@scott-thrillist could you provide an example? As I understand for amazon TAM enabling DFPSlotsProvider:autoReload:adUnit should be set to true and register bids fetching as onSlotRegister callback. Does a DFP single request architecture mode work correctly with it? Thank you

yahenizhuk avatar Oct 28 '19 08:10 yahenizhuk

@yahenizhuk Here's a snippet I created for someone else. I may clean this up and make an example within this project when some time opens up.

https://gist.github.com/scott-thrillist/bf7d429f6c78a417fe4717a2e1791dc1

A potential downside here is we're not making a single request to Amazon but ideally you should be lazy loading ads to increase your viewability metrics. This would make new, separate requests as you scroll down the page vs. a single bigger payload and longer wait times during load.

scott-thrillist avatar Oct 28 '19 21:10 scott-thrillist

@scott-thrillist Thank you for the example. Unfortunately, it doesn't fit our requirements. I'll try to approach it with a plugin.

yahenizhuk avatar Oct 31 '19 14:10 yahenizhuk

@yahenizhuk Gotcha and thank you. Can I ask what are the requirements that this doesn't meet? Always interested in understanding how other organizations implement ad bidding with DFP.

scott-thrillist avatar Oct 31 '19 17:10 scott-thrillist

Hi @scott-thrillist , thank you for quick answers. Unfortunately, I don't think I can share a lot due to our policy. I can say only that SRA mode is critically important for us also we need to add bidding, not to all ad units on the page so with disableInitialLoad in provider and refreshes in adSlot it's hard to control ads behavior. But I like your idea about the plugin. I will continue with this and will return with the PR when it will be done. I think this PR can be closed. Thank you!

yahenizhuk avatar Nov 04 '19 09:11 yahenizhuk

Thanks for sharing. We implement conditional ad bidding as well, and simply refresh the ad sans-TAM if it doesn't meet the condition. But I understand everyone has different requirements. Happy coding

scott-thrillist avatar Nov 06 '19 16:11 scott-thrillist