-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
GAM Video Module: make hook to category translation dependent on config #6464
GAM Video Module: make hook to category translation dependent on config #6464
Conversation
This would add a requirement that getConfig('brandCategoryTranslation.translationFile') exists for the hook to the translation module to occur, solving prebid#4048 This is technically a breaking change, as publishers that want this hook to occur from dfp would have to define this config, however I think there are zero affected pubs, because the default translation file is for freewheel, so the it wouldn't make any sense not to have the config.
@jsnellbaker any updates on this? |
So in looking through this change and the code within the At the moment, the While I'm not sure how I feel about that point, I'm not sure of another alternative to suppress the warning message. @snapwich Do you have any thoughts about the above or any other alternatives that may be open? |
It seems unlikely there would ever be a default for gam
#3379 (comment)
Since GAM doesn't have fixed categories, I imagine the configuration would always need to occur.
|
@snapwich Hey rich - have you had a chance to look at Jason's question? |
personally i'd just accept the warning being present and have people ignore it. that's why i created it as a warning and not an error because it's only there to signal a possible misconfiguration. but if we really want to put the hook behind a config flag i'm not opposed to that idea. i'm not familiar enough with the |
At least half a dozen publishers have complained about this warning over
the past two years or so
…On Mon, May 10, 2021, 2:35 PM Rich Snapp ***@***.***> wrote:
personally i'd just accept the warning being present and have people
ignore it. that's why i created it as a warning and not an error because
it's only there to signal a *possible* misconfiguration. but if we really
want to put the hook behind a config flag i'm not opposed to that idea.
i'm not familiar enough with the dfpAdServerVideo module to say if that's
a good or bad idea so i'll have to defer to @jsnellbaker
<https://github.com/jsnellbaker>'s expertise.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#6464 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAM25Z27357O35OM73YM2ETTNARPDANCNFSM4ZWBVRIA>
.
|
This would add a requirement that getConfig('brandCategoryTranslation.translationFile') exists for the hook to the translation module to occur, solving #4048
This is technically a breaking change, as publishers that want this hook to occur from dfp video module would have to define this config, however I think there are zero affected pubs, because the default translation file is for freewheel, so it wouldn't make any sense not to have the config if you are using dfp video module. As such, I don't think it actually requires a doc change on prebid.org, but I added one just in case.