-
Notifications
You must be signed in to change notification settings - Fork 224
New Adapter: TeqBlaze #4161
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
New Adapter: TeqBlaze #4161
Conversation
src/main/java/org/prebid/server/bidder/teqblaze/TeqblazeBidder.java
Outdated
Show resolved
Hide resolved
src/main/java/org/prebid/server/bidder/teqblaze/TeqblazeBidder.java
Outdated
Show resolved
Hide resolved
src/test/java/org/prebid/server/bidder/teqblaze/TeqblazeBidderTest.java
Outdated
Show resolved
Hide resolved
src/test/java/org/prebid/server/bidder/teqblaze/TeqblazeBidderTest.java
Outdated
Show resolved
Hide resolved
|
|
||
| public class TeqblazeBidderTest extends VertxTest { | ||
|
|
||
| private static final String ENDPOINT_URL = "https://test.com/test"; |
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.
I would also added a few tests the checks the following:
- headers
- endpoint url
- a set of impIds
src/test/java/org/prebid/server/bidder/teqblaze/TeqblazeBidderTest.java
Outdated
Show resolved
Hide resolved
| "ext": { | ||
| "teqblaze": { | ||
| "placementId": "testPlacementId", | ||
| "type": "publisher" |
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.
remove the type
| maintainer-email: support@rocketlab.ai | ||
| usersync: | ||
| enabled: true | ||
| cookie-family-name: teqblaze |
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.
rocketlab
| } else { | ||
| throw new PreBidException("found no valid impressions"); | ||
| } |
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 else is not reachable, because one of the placementId or endpointId is required by the bidder schema
| } | ||
|
|
||
| private BidType getBidType(Bid bid) { | ||
|
|
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.
remove an empty line
| redirect: | ||
| url: https://usync.rocketlab.ai/pbserver?gdpr={{gdpr}}&consent={{gdpr_consent}}&us_privacy={{us_privacy}}&gpp={{gpp}}&gpp_sid={{gpp_sid}}&redirect={{redirect_url}} | ||
| support-cors: false | ||
| uid-macro: '{UID}' |
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.
'[UID]'
🔧 Type of changes
✨ What's the context?
#4152
#4175
#4158