I've got a script that is generating my Google Web Designer template populated with content. I have two files being created, one is the editable template as I would normally edit in GWD, the other is a populated copy of the index.html extracted from a Published ad.
My problem is that I can edit and publish the Editable version to a new zip file and that uploads successfully to Google Ads, but the "pre-published" version that I am generating and zipping causes an error when I upload to Google Ads.
I have isolated the problem to this meta tag:
<meta name="GCD" content="********"/>
When I copy the GCD tag from my manually published index.html file to the auto-generated one (and then re-zip) it uploads fine. That is the only line that changes between the two zip files.
Does anyone know how GWD generates the GCD meta tag? If I could figure this out it would save me a ton of time opening and manually publishing the Ad package each time so would love to hear any ideas!
Thanks :)