Invalid parameter v1.4 for adsense #1531
Labels
priority: p1
Important issue which blocks shipping the next release. Will be fixed prior to next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Hey there!
When I try to create an instance of adsense API in a typescript file, only version "v1_4" can be passed. But the correct string is "v1.4" because these is the only one key declared in VERSIONS variable.
So, when I execute
const adsense = google.adsense('v1_4')
the following error is returned:Environment details
googleapis
version: 36.0.0Steps to reproduce
const adsense = google.adsense('v1_4')
I fixed it, renaming the version "v1_4" by "v1.4" in this line
That's all,
Thanks!
The text was updated successfully, but these errors were encountered: