There are many ways to add a clicktag in HTML5 banners for GAM. Below are suggested instructions on how to fix the clicktag when using Google Web Designer (GWD).
Keep in mind that this method may not be compatible with your creative code. Please test final file in the HTML5 validator prior to submission.
Step 1: Find the index HTML file and open it in a text editor application.
Step 2: Find the meta name “GCD” in the search and replace with any name. See example below.
Original Code: <meta name="GCD" content="AVb3ODp3ZQZfN2Y7NzWmMiBvNKEcYJn"/>
Replaced code: <meta name="Globecreative" content="AVb3ODp3ZQZfN2Y7NzWmMiBvNKEcYJn"/>
Step 3: Add the ClickTag variable script in the header before </head> in the index file. See the code below.
ClickTag Variable script:
<script type="text/javascript">
var clickTag = "https://www.clientURL.com";
</script>
Step 4: Add the onclick variable code below to the <body> in the index file.
Onclick variable code:
<body onclick="javascript:window.open(window.clickTag)" style="cursor:pointer">
Step 5: Save the creative and zip it.
Above info paraphrased from:
Pwm. “How to Fix ClickTag Issue in Google Web Designer (GWD) Creatives?” Pragmatic Web Media, 16 May 2021, pragmaticwebmedia.com/coding/how-to-fix-clicktag-issue-in-google-web-designer-gwd-creatives/.