Building custom components

This feature is unavailable for AMPHTML ads.

Experienced web developers can write their own custom components for use with Google Web Designer.

At minimum, a valid component package consists of a .zip file that contains an appropriately formatted JSON manifest file. A custom component often has other files, such as a custom element, and any CSS files necessary for the component along with the JSON manifest file, although these aren't strictly necessary (for example, a component could have all the JavaScript and CSS files served from a CDN and the JSON manifest file would simply have references to those files). It is good practice to give the .zip file the same name as the component.