-
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
Shinez Bid Adapter: update adapter to comply with latest Prebid version #8494
Conversation
PR was created 7 days ago, could anybody take a look at it, please? |
Guys, would anybody take a look at this PR, please? |
Rebased on the last state of master, anything else I can do to speed up the review process? |
Hey, any update re this PR ? |
@ChrisHuie could you please update us on how we can get this approved? |
@Soterix @gitsh84 my apologies our integration tests didn't seem to run on this pr and we just got Prebid 7 out the door so this looks to have got lost in the shuffle. Can you please give me edit access so I can try and get them to run? They automatically run on new prs but you are likely following your fork of Prebid in CircleCi instead of Prebid itself. |
Also, this will now go on Prebid 7. If you want to add it to the maintained Prebid 6 legacy version the branch is here (https://github.com/prebid/Prebid.js/tree/6.29.x-legacy) or once we get this squared away I can add it back to Prebid 6 as well if you like? |
@ChrisHuie, thanks for update. Unfortunately, I am not able to allow editing for you because of https://github.com/orgs/github-community/discussions/5634. Instead, I have rebased changes on the last state of the upstream master and fixed failed tests. Is everything ok now? |
@Soterix so our CircleCI tests still didn't run on this pr. It has to do with your github account linking to your fork of the project in CircleCI vs the main project. You have to unfollow your fork in CircleCi I beleive. I can just resubmit this pr and the testing should pop up though if you are cool with that? It's a weird issue that pops up occasionally but not common. Likely would be the same for you on the 6 legacy branch though |
understand... @ChrisHuie, can you advise where it is possible to change CircleCi configuration (linking)? I have tried to log in to https://app.circleci.com/ with my GitHub account but I can't find anything related to Prebid. Maybe the issue is that fork is not under the personal account but under the organization one? Do we need to allow integration between CircleCi and our organization account? |
@ChrisHuie, you have mentioned that you can re-submit this PR, which should also be ok for us. Could you please do it? |
Sure. Will submit and copy you both today. Will make 2 prs. One for master and one for Prebid 6 legacy branch. |
modules/shinezBidAdapter.js
Outdated
|
||
if (bidderRequest && bidderRequest.refererInfo) { | ||
generalParams.referrer = deepAccess(bidderRequest, 'refererInfo.referer'); | ||
generalParams.page_url = config.getConfig('pageUrl') || deepAccess(window, 'location.href'); |
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.
this isn't valid behavior in 7
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.
just look for site.page
modules/shinezBidAdapter.js
Outdated
} | ||
|
||
if (bidderRequest && bidderRequest.refererInfo) { | ||
generalParams.referrer = deepAccess(bidderRequest, 'refererInfo.referer'); |
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.
look for site.ref
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.
Hey @patmmccann, as i understand ortb2.site.page
and ortb2.site.ref
should be for Prebid 7 - right?
@patmmccann, @ChrisHuie updated, and it looks like |
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
…on (prebid#8494) * Shinez adapter refactored, new Prebid version supported * Endpoints updated for Shinez adapter * Tests fixed for ortb2 in Shinez adapter * ortb2 site.ref and site.page used in Shinez Shinez adapter
Type of change
Description of change
A refactored version of the Shinez bid adapter.
Be sure to test the integration with your adserver using the Hello World sample page.
For any changes that affect user-facing APIs or example code documented on http://prebid.org, please provide:
Other information