The supported ad types by the AdWords API can be found
here. As for template ads such as HTML5 ads, you can refer to this
guide on how to create them and also
here for their specifications. You can then refer to this
link for the sample code which is also available in other languages.
Let me know if that is what you're looking for.