-
Notifications
You must be signed in to change notification settings - Fork 782
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
Connatix: Add viewability field #4168
Conversation
Code coverage summaryNote:
connatixRefer here for heat map coverage report
|
Code coverage summaryNote:
connatixRefer here for heat map coverage report
|
Code coverage summaryNote:
connatixRefer here for heat map coverage report
|
abaaced
to
216311a
Compare
Code coverage summaryNote:
connatixRefer here for heat map coverage report
|
}, | ||
"viewabilityPercentage": { | ||
"type": "number", | ||
"description": "Declared viewability percentage (values from 0 to 1, where 1 = 100%)" |
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 viewabilityPercentage
's value should range from 0 to 1, should we specify a minimum
and a maximum
?
12 "viewabilityPercentage": {
13 "type": "number",
14 "description": "Declared viewability percentage (values from 0 to 1, where 1 = 100%)"
+ "minimum": 0,
+ "maximum": 1
15 }
16 },
static/bidder-params/connatix.json
If not, is a validation inside adapters/connatix/connatix.go
desired?
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 don’t want to enforce this because is handled on our side.
@@ -199,7 +199,8 @@ func buildRequestImp(imp *openrtb2.Imp, ext impExtIncoming, displayManagerVer st | |||
|
|||
impExt := impExt{ | |||
Connatix: impExtConnatix{ | |||
PlacementId: ext.Bidder.PlacementId, | |||
PlacementId: ext.Bidder.PlacementId, | |||
ViewabilityPercentage: ext.Bidder.ViewabilityPercentage, |
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 ViewabilityPercentage
's value should range from 0 to 1, should we place a validation somewhere? If not in static/bidder-params/connatix.json
, here just before assigning?
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 don’t want to enforce this because is handled on our side and should not block the request.
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
Add ViewabilityPercentage for connatix adaptor