nanointeractive bid adapter#1627
Conversation
|
hi @nanointeractive You can see an example of the new format implemented here: https://github.com/prebid/Prebid.js/blob/master/modules/appnexusAstBidAdapter.js Thanks! |
|
Dear Matt, can you please give us an info when can we expect approval of the pull request. If there is anything from our side we can do to fasten the process please let us know. |
|
@nanointeractive |
|
Great, thanks ! |
mkendall07
left a comment
There was a problem hiding this comment.
@nanointeractive
Few comments to address. I'm not seeing bids returned for a 300x250 ad unit with the included bid params. Please advise.
Also please include a markdown file with you bid params example. Thanks
modules/nanointeractiveBidAdapter.js
Outdated
| function createSingleBidResponse(serverBid) { | ||
| return { | ||
| requestId: serverBid.id, | ||
| bidderCode: serverBid.bidderCode, |
There was a problem hiding this comment.
please drop bidderCode here - we add it automatically - this was an error in our docs sorry.
modules/nanointeractiveBidAdapter.js
Outdated
| return bid.params[CATEGORY] || null; | ||
| } | ||
|
|
||
| function getQueryParam(nq) { |
There was a problem hiding this comment.
I think you can use utils. getParameterByName() here:
https://github.com/prebid/Prebid.js/blob/master/src/utils.js#L257
…n().href - bidderCode is removed - Default ALG changed to 'ihr' - added protocol to 'cors' param
|
@mkendall07 I've also changed params for the bid validation, please use this one: Cheers |
|
@nanointeractive |
|
@nanointeractive |
|
strange, I know the issue but we solved it by changing dynamically 'Access-Control-Allow-Origin' for each bid request from location.origin value. Can you please send me the Response headers and Request Payload. |
|
It's because of Date: Wed, 25 Oct 2017 16:50:10 GMT
Server: Apache/2.4.27 (Amazon) PHP/5.6.25
X-Powered-By: PHP/5.6.25
Status: 200 OK
RequestId: e082476220652d6695d50c78b790b634
Hostname: 10-75-1-58#slave3
P3P: CP="NID DSP ALL COR"
Access-Control-Allow-Origin: *
responseTime: 90
Content-Length: 835
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: application/x-javascript``` |
|
mystery solved, we disabled localhost for bid requests. I have enabled localhost, now everything should be fine |
* 'master' of https://github.com/prebid/Prebid.js: (22 commits) Update GetIntent adapter to 1.0 version (prebid#1721) Add `usePaymentRule` param to AN bidders (prebid#1778) New hooks API (replaces monkey-patching for currency) (prebid#1683) Change prebidServer to call client user syncs if they exist (prebid#1734) Fix Centro adapter to allow requests of the same units (prebid#1746) add vastUrl + media type for video bids Prebid Server (prebid#1739) Update adxcg adapter for prebid 1.0 (prebid#1741) Update yieldmoBid adapter request url (prebid#1771) Upgrade Quantcast adapter for Prebid 1.0 (prebid#1753) Fidelity Media Adapter update. Prebid v1.0 (prebid#1719) Kargo Adapter for Prebid 1.0 (prebid#1729) updated for prebid 1.0 api (prebid#1722) Add AdOcean adapter (prebid#1735) Update Conversant adapter to Prebid 1.0 (prebid#1711) Fix test-coverage bug (prebid#1765) Migrating TrustX adapter to 1.0 (prebid#1709) Update Improve Digital adapter for Prebid 1.0 (prebid#1728) Fixed the argument type on getUserSyncs. (prebid#1767) nanointeractive bid adapter (prebid#1627) Validating bid response params (prebid#1738) ...
Type of change
https://github.com/nanointeractive/prebid.github.io/blob/2a57cea7d15b3e3a69b24db288d8e3364c3996b5/dev-docs/bidders/nanointeractive.md
Description of change
New bid adapter
test parameters for validating bids
{
bidder: 'nanointeractive',
params: {
sec: '04a0cb7fb9ac02840f7f33d68a883780',
dpid: '58bfec94eb0a1916fa380162',
pid: '58bfec94eb0a1916fa380163'
}
}
contact email of the adapter’s maintainer
rade@nanointeractive.com