Prebid.js icon indicating copy to clipboard operation
Prebid.js copied to clipboard

Get Refresh counter in buildRequests for same adUnit in Bidder Adapter

Open vedantseta opened this issue 8 years ago • 5 comments

Type of issue

Feature

Description

Bidders doesn't come to know if buildRequests is called multiple times for same slot. It would be better to have counter for the same.

vedantseta avatar Mar 20 '18 14:03 vedantseta

What's the use case?

mkendall07 avatar Mar 20 '18 22:03 mkendall07

@mkendall07 , Certain bidders might not want to bid on refresh slots on specific domains.

vedantseta avatar Mar 23 '18 05:03 vedantseta

Is PR accepted for this?

vedantseta avatar Apr 05 '18 17:04 vedantseta

so, basically a counter to know how many times requestBids was invoked? I'm ok with a global counter but I don't want to store it by bidder. Too much state to carry around.

mkendall07 avatar Apr 05 '18 17:04 mkendall07

Global level is fine but at an adUnit level.

ruturajv avatar Apr 06 '18 06:04 ruturajv