You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you try to render ads without an ad unit path being present either in the global config or slot config, react-prebid will happily try to initialize GPT slots, prompting an error from the gpt.js library, e.g.:
Exception in queued GPT command TypeError: "slot is null"
Validate if an ad unit path is provided and give the developers a useful error message in this case.
The text was updated successfully, but these errors were encountered:
pahund
changed the title
Display Meaningful Error Message When Path is Missing
feat: Display Meaningful Error Message When Path is Missing
Mar 31, 2021
If you try to render ads without an ad unit path being present either in the global config or slot config,
react-prebid
will happily try to initialize GPT slots, prompting an error from the gpt.js library, e.g.:Validate if an ad unit path is provided and give the developers a useful error message in this case.
The text was updated successfully, but these errors were encountered: