Choose the action that you want triggered by the event. The list of actions varies depending on the types of elements and components in your document.
If the action you want isn't listed in the Event dialog, you can create your own JavaScript functions and use them as custom actions. However, this feature is unavailable for AMPHTML ads.