referenced 'registerAdserver' but it was never created
Type of issue
bug/question
Description
When I add a dfpAdServerVideo to my modules I get Warning in the console. I don't use this module in my webpage, it is only included into Prebid.js library.

Steps to reproduce
- Use: gulp serve --modules=consentManagement,rubiconBidAdapter,adomikAnalyticsAdapter,dfpAdServerVideo
- On the site with active Prebid library above described
Warningis present.
Expected results
My questions are: Is it a bug? How can I handle this issue?
Platform details
I tested Prebid.js version 2.26.0, 2.25.0 only.
@aszydlo Thanks for reporting this, I will check and get back to you.
+1, i get this as well and no idea if its something to worry about?
Just FYI, the warning is because the registerAdserver hook is defined in the categoryTranslation module (which isn't in your build) but is referenced in other modules such as the dfpAdServerVideo that are in your build.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I am using Prebid 2.34.0 Getting the same warning as well as one other:- "fun-hooks: referenced 'registerAdserver' but it was never created" "fun-hooks: referenced 'adpod' but it was never created" Is there anything I should worry about?
@tandalevaibhav We have verified this and not a bug. This warning appears when an optional module is adds a hook on hook point which does not exist.
In this case, dfpAdserverVideo here is trying to add hook on categoryTranslation here but as categoryTranslation module is not included in build this warning is logged.
We are trying to fix this unwanted warning message
assigning @robertrmartinez
@patmmccann do the referenced PRs just relate or do the address the issue? If they don't address, @robertrmartinez quick ping reminder on this one!
#6464 fixes the issue, awaiting merge
merged and fixed in 5.0, closing issue