The Tap Area component is a transparent element you can position over any part of the screen, which lets the user trigger an action with a touch or mouse click.
To add the Tap Area component to your project:
- Open the Components panel, then the Interaction folder.
- Drag the Tap Area component to the stage. The component is transparent to the user, so you may want to position it over a visible element that lets the user know where to click or tap, or resize the component to cover the entire page.
- Right-click the component and select Add event... to set up an event that triggers the action you want when a user taps or clicks the Tap Area. In the Event dialog:
- For the event, select Tap Area > Touch/Click.
- For the action, select the action you want.
- For the receiver, select the element that's associated with the action.
- Depending on the action, you may need to set additional configuration options.
For mobile device compatibility, use the Tap Area > Touch/Click event instead of Mouse > click.
For dynamic ads: Learn how to add a dynamic call to action.
- Be sure your ad has a button or other clear visual call-to-action element for the user to click or touch.
- Drag the Tap Area component from the Interaction folder of the Components panel to the stage, and position it over the call to action.
- Click the new event button in the Events panel.
- In the event dialog, select the following options:
Target The Tap Area component (
Event Tap Area > Touch/Click Action
Google Ad > Exit ad
Note: A similar action, Exit ad (overrides URL), doesn't allow you to modify the URL outside of the creative, such as within Studio or Campaign Manager, and should only be used for dynamic ads.
- Metrics ID - A label (e.g., "CTA") to make reports easier to understand.
- URL - The exit URL.
- Collapse on exit - For expandable ads, check to collapse the ad when the user closes the ad.
- Pause media on exit - Check to stop video and audio playback when the user closes the ad.
- Collapsed page on exit - For expandable ads, the page to show when the user closes the ad.
Events and actionsEvents sent by the Tap Area component
You can trigger other actions based on the following Tap Area component events:
|Touch/Click||Sent when the user touches (mobile) or clicks (desktop) the component.|
To select this event in the Event dialog, set the Tap Area component as the target.
Learn how to configure events.
This component can't be previewed inside the Google Web Designer interface. To see the component in action, preview your document in your preferred browser by clicking the Preview button in the upper right corner.