Is this allow to use it commercially?

Dear All,

I want to use youtube video upload functionality in my upcoming plugin, and for this video upload feature youtube also share javascript example file:
https://developers.google.com/youtube/v3/docs/videos/insert#examples

So can i use this javascript code in my plugin as it’ is, like we use jQuery library?

Other then i have to code so before that i want to save time, if its not issue to use sample javascript code in my project, For your information in my plugin this will be a feature, but its not limited as my plugin have many other features too, so this code isn’t as like direct cut and paste and sell.

Please advice.

Thankyou

Yes, you can use