The Google Maps API supports many commonly used KML elements, but has some restrictions. Read about <a href="https://developers.google.com/maps/documentation/javascript/kmllayer">Google Maps support for KML</a> in the developers' guide, and also see the list of supported KML elements on that page.