update docs to clarify usage of auctionDelay - #1539
Conversation
… module IDs, while syncDelay applies to both.
bretg
left a comment
There was a problem hiding this comment.
Question: if auctionDelay > 0, does syncDelay make sense?
i.e. if auctionDelay=500 and syncDelay is 3000, have we just wasted 500ms? Looked at the code and it seems like this might be the case.
If so, we want to make sure that no examples are shown doing this.
|
@bretg since |
|
The documentation says that syncDelay is So it appears that syncDelay is not just for bid adapter usersyncs? |
|
right...syncDelay works for both, but auctionDelay ONLY works for userId module. That's not clear in the docs which is what I was attempting to clarify with my change |
Yes that appears to be correct |
|
so back to my original question if auctionDelay > 0, does syncDelay make sense? i.e. if auctionDelay=500 and syncDelay is 3000, have we just wasted 500ms? This seems like something we need to prevent. i.e. when auctionDelay > 0 syncDelay is ignored for userIds. |
i agree with this for userId module. obviously bid adapters should still sync post auction like normal using the auctionDelay |
|
@idettman - is this the way it actually works? i.e. is syncDelay ignored when auctionDelay is > 0? |
|
Yes |
|
Thanks Scott and Isaac. I added a note. Merging. |
|
@bretg I think the doc might be wrong here; @idettman said "Yes syncDelay is ignored in the User ID module if auctionDelay is > 0" but users are reading this as bidder adapters ignore syncDelay too. specifically https://redditadops.slack.com/archives/C0HVALS8P/p1615281622031800 tagging @smenzer also as the question is about your integration |
|
yea, seems like the "Ignored if auctionDelay > 0" part should clarify that the ignoring only applies to user id modules. |
The docs are not clear about what auctionDelay and syncDelay are used for. Based on asking @jaiminpanchal27,
auctionDelayis only for userId module providers, whilesyncDelayis used for both userId module providers and bid adapter user sync pixels.