-
Notifications
You must be signed in to change notification settings - Fork 744
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: Generic #3743
New Adapter: Generic #3743
Conversation
Code coverage summaryNote:
genericRefer here for heat map coverage report
|
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.
Thank you for implementing the generic adapter. This will be more complicated than other adapter ports due to the special case nature of the generic adapter. We'll likely want to talk through some of these comments. I'm out for the June 19 meeting though.
"minLength": 1 | ||
} | ||
} | ||
} |
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.
It's invalid in PBS-Go for aliases to specify a different json schema. Does PBS-Java allow generic aliases to specify their own schema?
- native | ||
- audio | ||
supported-vendors: | ||
vendor-id: 0 |
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.
The PBS-Java config is not valid for PBS-Go. This should break out into one file per alias of the generic adapter.
IMHO the root generic adapter is a special case which should not have a generic.yaml
file, which likely requires extra logic.
} | ||
|
||
type genericBidExt struct { | ||
VideoCreativeInfo *genericBidExtVideo `json:"video,omitempty"` |
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.
Do bidders return these fields today in PBS-Java?
|
||
} | ||
} | ||
return bidType |
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.
Is this the approach used by PBS-Java? It's an antipattern which is all too common in adapters. IMHO we should prefer MType, then perhaps the prebid metadata extension, and maybe finally fall back to this approach,, in which case audio needs to be supported here too.
Closing. We will revisit at some point and will need to discuss as this is quite involved. |
No description provided.