-
Notifications
You must be signed in to change notification settings - Fork 762
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
AdView: support multi imps request & formattype tag for bid response #3355
Merged
Merged
Changes from 42 commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
dc07339
adview adapter v1.0
wildcat0601 2121b66
fix for review #1982.
wildcat0601 b8a4d78
fix format test json.
wildcat0601 4b60aa1
recover ext in request to adview bid.
wildcat0601 93fb6c7
remove invalid mediatype test
wildcat0601 1dce3fa
remove tabs from codes
wildcat0601 a482d51
tab issue fix.
wildcat0601 cab079d
fix gofmt
AdviewOpen c426908
1.fixed error log process.
wildcat0601 048c8ef
Merge branch 'master' of https://github.com/adview/prebid-server
wildcat0601 de429fa
Merge branch 'prebid:master' into master
AdviewOpen 77747c7
for adapter currency fix.
wildcat0601 ef9ab39
(1)remove unused codes
wildcat0601 9c9c479
(1)add currency convert of request process.
wildcat0601 ef39579
Merge branch 'prebid:master' into master
AdviewOpen 26e317d
add currency test case.
wildcat0601 9a26bcc
just removed case.
wildcat0601 8228da0
Merge branch 'prebid:master' into master
AdviewOpen e985bcc
add currency test script for new currency convert commit.
wildcat0601 d016752
Merge branch 'prebid:master' into master
AdviewOpen adb5217
add gzip & modifyingVastXmlAllowed mode in yaml config.
wilder0601 990ff0c
Merge branch 'prebid:master' into master
AdviewOpen 47e3856
Merge branch 'prebid:master' into master
AdviewOpen 1927653
Merge branch 'prebid:master' into master
AdviewOpen 8301a2f
Merge branch 'prebid:master' into master
AdviewOpen 56ab374
1.support multi imps from request.
wilder0601 ec7ddf0
fixes.
wilder0601 fb078a1
revert to older version codes.
wilder0601 62e2de8
fix2
wilder0601 8cccf08
fix3
wilder0601 333db3c
fix4
wilder0601 1d4e882
fix 5
wilder0601 6401e82
1)support multi imps from request.
wilder0601 b6988f1
Merge branch 'prebid:master' into master
AdviewOpen f2697d8
Fixed #3355 review:
wilder0601 41dc731
Merge branch 'prebid:master' into master
AdviewOpen 3f8f06a
Adding default case and returning error in getBidType().
wilder0601 188fcfc
Merge branch 'prebid:master' into master
AdviewOpen ed5fec3
change getMediaTypeForBid(), use mtype to get bid type in response.
wilder0601 1d0d0f9
Merge branch 'prebid:master' into master
AdviewOpen d68ca53
1.add mtype in error case output.
wilder0601 21372b8
gofmt it.
wilder0601 2711af5
Merge branch 'prebid:master' into master
AdviewOpen 57af4f6
remove audio type cause not support now.
wilder0601 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
150 changes: 150 additions & 0 deletions
150
adapters/adview/adviewtest/exemplary/banner-app-resp-no-formattype.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,150 @@ | ||
{ | ||
"mockBidRequest": { | ||
"id": "some-request-id", | ||
"device": { | ||
"ua": "test-user-agent", | ||
"ip": "123.123.123.123", | ||
"ifa":"00000000-0000-0000-0000-000000000000", | ||
"language": "en", | ||
"dnt": 0 | ||
}, | ||
"tmax": 1000, | ||
"user": { | ||
"buyeruid": "awesome-user" | ||
}, | ||
"app": { | ||
"publisher": { | ||
"id": "123456789" | ||
}, | ||
"cat": [ | ||
"IAB22-1" | ||
], | ||
"bundle": "com.app.awesome", | ||
"name": "Awesome App", | ||
"domain": "awesomeapp.com", | ||
"id": "123456789" | ||
}, | ||
"imp": [ | ||
{ | ||
"id": "some-impression-id", | ||
"banner": { | ||
"w": 320, | ||
"h": 50 | ||
}, | ||
"ext": { | ||
"bidder": { | ||
"placementId": "posid00001", | ||
"accountId": "accountid01" | ||
} | ||
} | ||
} | ||
] | ||
}, | ||
"httpCalls": [ | ||
{ | ||
"expectedRequest": { | ||
"uri": "https://bid.adview.com/agent/thirdAdxService/accountid01", | ||
"body": { | ||
"id": "some-request-id", | ||
"cur": ["USD"], | ||
"device": { | ||
"ua": "test-user-agent", | ||
"ip": "123.123.123.123", | ||
"ifa":"00000000-0000-0000-0000-000000000000", | ||
"language": "en", | ||
"dnt": 0 | ||
}, | ||
"imp": [ | ||
{ | ||
"id": "some-impression-id", | ||
"banner": { | ||
"w": 320, | ||
"h": 50 | ||
}, | ||
"tagid": "posid00001", | ||
"ext": { | ||
"bidder": { | ||
"placementId": "posid00001", | ||
"accountId": "accountid01" | ||
} | ||
} | ||
} | ||
], | ||
"app": { | ||
"id": "123456789", | ||
"name": "Awesome App", | ||
"bundle": "com.app.awesome", | ||
"domain": "awesomeapp.com", | ||
"cat": [ | ||
"IAB22-1" | ||
], | ||
"publisher": { | ||
"id": "123456789" | ||
} | ||
}, | ||
"user": { | ||
"buyeruid": "awesome-user" | ||
}, | ||
"tmax": 1000 | ||
} | ||
}, | ||
"mockResponse": { | ||
"status": 200, | ||
"body": { | ||
"id": "awesome-resp-id", | ||
"seatbid": [ | ||
{ | ||
"bid": [ | ||
{ | ||
"id": "a3ae1b4e2fc24a4fb45540082e98e161", | ||
"impid": "some-impression-id", | ||
"price": 3.5, | ||
"adm": "awesome-markup", | ||
"adomain": [ | ||
"awesome.com" | ||
], | ||
"crid": "20", | ||
"w": 320, | ||
"h": 50, | ||
"mtype": 1 | ||
} | ||
], | ||
"type": "banner", | ||
"seat": "adview" | ||
} | ||
], | ||
"cur": "USD", | ||
"ext": { | ||
"responsetimemillis": { | ||
"adview": 154 | ||
}, | ||
"tmaxrequest": 1000 | ||
} | ||
} | ||
} | ||
} | ||
], | ||
"expectedBidResponses": [ | ||
{ | ||
"currency": "USD", | ||
"bids": [ | ||
{ | ||
"bid": { | ||
"id": "a3ae1b4e2fc24a4fb45540082e98e161", | ||
"impid": "some-impression-id", | ||
"price": 3.5, | ||
"adm": "awesome-markup", | ||
"adomain": [ | ||
"awesome.com" | ||
], | ||
"crid": "20", | ||
"w": 320, | ||
"h": 50, | ||
"mtype": 1 | ||
}, | ||
"type": "banner" | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
as per
adview
bidder-info yml, audio media type is not supported. should remove audio caseprebid-server/static/bidder-info/adview.yaml
Lines 9 to 12 in cd98554
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 reminder, fixed.