-
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
Update Vertoz adapter for Prebid 1.0 #2104
Conversation
* Migrating to Prebid 1.0 * spec added
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, a few changes requested. Also, when testing this adapter with the test parameters, I'm getting a response of {"slotBidId":"274058c816c8fe","statusText":"Application_Error"}
from the endpoint, please check and advise if these params are still valid for testing
modules/vertozBidAdapter.js
Outdated
|
||
export const spec = { | ||
code: BIDDER_CODE, | ||
aliases: [], // short code |
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.
If you don't have any aliases defined, this line can be dropped
modules/vertozBidAdapter.js
Outdated
} | ||
return bidResponses; | ||
}, | ||
getUserSyncs: function (syncOptions, serverResponses) { |
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.
If you don't need any user syncing, this function can be removed
expect(request.method).to.equal('POST'); | ||
}); | ||
}); | ||
}); |
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.
These tests are only providing 68.97% coverage of the adapter, we require at least 80% before merge. Removing the unneeded code mentioned in the other comments should bump the percentage up, and then testing the interpretResponse
should help getting there
@mohit546 Please also submit a PR to the docs repo to update your adapter file to add |
- removed unneeded code
Docs PR: prebid/prebid.github.io#616 |
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.
Changes look good, tests now have great than 80% coverage. @mohit546 Still receiving {"slotBidId":"274058c816c8fe","statusText":"Application_Error"}
when requesting test bids though, please check. Once we can validate bid responses this should be good for merge
Hi @matthewlane, |
@Prebid-Vertoz Sure. After running
and the response is
|
Hi @matthewlane, |
@Prebid-Vertoz Moved my test page to a domain without a port in the domain, request is now
and response is now
Please advise about this error. If you have a publicly available test page that requests and returns bids with this adapter I can check that as well |
@matthewlane , thanks for response. " http://filmgrapevine.com/prebid_test_page.html " this is a test page where bids are requested and returned from the adapter. |
@Prebid-Vertoz Great, I'm able to access that page. Current response from Vertoz there is
please check. As soon as I can verify a valid bid response rather than a |
Hi @matthewlane , |
* master: Update Vertoz adapter for Prebid 1.0 (prebid#2104) Add multiple bids request (prebid#2136) [NEW Adapter] RTBHouseBidAdapter (prebid#2184) Update Innity Adapter to Prebid.js v1.0 (prebid#2180) Update Adyoulike Adapter to prebid 1.0 (prebid#2077) Change bidderCode for DAN Marketplace Bid Adapter (prebid#2183) only count bid timeouts if bidder didn't call done. fixes prebid#2146 (prebid#2154) [Edit BidAdapter] rxrtb adapter for Perbid.js 1.0 (prebid#2182) Update NasmediaAdmixer adapter (prebid#2164) only do video caching if we don't already have a videoCacheKey (prebid#2143)
@matthewlane , but getting following error on link saw release notes |
@mohit546 Thanks for letting me know, the docs pr was merged before the download page got updated for 1.5.0. I reverted the commit and will add it back once the page is updated and it should work properly then |
@matthewlane i am not seeing vertoz adaptor in 1.12.0, and there is no option for 1.0.0. do i have to update adaptor for latest version ? |
@mohit546 Sorry about that, re-reverted the docs in prebid/prebid.github.io#805 and Vertoz should be on the download page now |
Type of change
Description of change