-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Relaido Adapter #5101
Add Relaido Adapter #5101
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR. I have gone through your code, looks good for the most part. But am facing an issue while I'm trying to test your banner
and outstream video
ads, taken from the md
file.
I'm getting this error:
I did a little bit of digging and thought this maybe because hasUuid()
is returning false in isBidRequestValid
function. And, this maybe because for the first time, I don't have the value of uuid
set in my local storage.
I see you're setting the value of localStorage in this function:
Prebid.js/modules/relaidoBidAdapter.js
Line 216 in 1d0240f
function receiveMessage() { |
Is it possible for you to remove the event listener (added in the function receiveMessage
) once you've set the key? (We don't want any open handlers)
Hi @Fawke , thanks for the review. |
Thanks for making the change. But, when I'm trying to load your banner ad and video ad following the example you shared in the md file, and plugged those values in the hello_world example, am getting this error. I think your |
The first access results in an error because there is no uuid. |
I put your adapter js file through a debugger and made some observations:
(serverResponses is empty because no auction is taking place because the function, Also, are there any particular reasons for setting the localStorage value in getUserSyncs function? What if the publisher doesn't allow userSync? What if the pub only allows image sync and not iframe sync?
What do you mean second time on? You mean if I refresh the page again? A bit confused, because your |
Sometimes returns true. e.data can also send objects.
You're right. Check with isPlainObject.
Fixed. However, some people have said this.
Fixed.
I want to save uuid in localStorage at the first access.
Unfortunately, no auction is possible.
Auction cannot be done here as well.
Is to visit the same page again.
The auction will be held because uuid is stored in localStorage.
Hmm. I can conduct an auction.
Do you allow userSync and iframe sync? |
Unfortunately, that's not right. We still need the check in place. The deprecation was for the publisher facing API, but internally, the adapter is still using Also, I noticed one thing, when sending a banner response, you are returning a Is this done to overcome some of prebid's limitations? Rest of things look okay to me. |
Thanks. understood.
Banner could be a safeframe. to overcome that, I pass VASTXML as a parameter. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
doc also please review. |
* 'master' of https://github.com/prebid/Prebid.js: (102 commits) Marsmedia - Add vastXml and fix id response (prebid#5067) PubMatic adapter to support image sync (prebid#5104) minor consentManagement fix (prebid#5050) fix circle ci failing tests (prebid#5113) Add Relaido Adapter (prebid#5101) Add new bid adapter for ConnectAd (prebid#4806) change payload (prebid#5105) Utils updates (prebid#5092) Read OpenRTB app objects if set in config + bug fix for when ad units are reloaded (prebid#5086) Criteo : added first party data mapping to bidder request (prebid#4954) updateAdGenerationManual (prebid#5032) New bid adapter: Wipes (prebid#5051) Prebid manager analytics utm tags (prebid#4998) CRITEO RTUS Integration with Yieldmo Prebid (prebid#5075) isSafariBrowser update (prebid#5077) Support min &max duration for onevideo (prebid#5079) increment pre version Prebid 3.15.0 release prebid#5011 Fix to set Secure attribute on cookie when SameSite=none (prebid#5064) Prebid adapter for windtalker (prebid#5040) ...
* add relaido adapter * remove event listener * fixed UserSyncs and e.data Co-authored-by: ishigami_shingo <s.ishigami@relaido.co.jp>
Type of change
Description of change
New adapter
For any changes that affect user-facing APIs or example code documented on http://prebid.org, please provide:
Relaido adapter docs prebid.github.io#1917