Hype HTML5 & Google studio Dynamic Creative

Afternoon everyone!
Just wanted to check whether anyone had had any experience implementing Google Studio Dynamic Creative based off a Google Sheets into a Hype Document;
https://support.google.com/richmedia/answer/3526354?hl=en
I’ve been supplied that so I think it’s doable, but just wanted to check whether anyone had a template or similar I could look over and see exactly where all this stuff is implemented… I learn better looking at source and files rather than reading.

Hope that makes sense :slight_smile:
Thanks all!

I don’t see why this wouldn’t work, but I haven’t encountered this myself. Just make sure that when you link to the spreadsheet, you do it after the enabler has loaded (after the //run things here line below)

// If true, start function. If false, listen for INIT.
window.onload = function() {
  if (Enabler.isInitialized()) {
    enablerInitHandler();
  } else {
    Enabler.addEventListener(studio.events.StudioEvent.INIT, enablerInitHandler);
  }
}

function enablerInitHandler() {
   // run things here. 
document.getElementById('headline').innerHTML = dynamicContent.SampleElement[0].headline;
}

I would run all your setup code as a JS function in the <head> of your document so it can load asynchronously alongside your Hype document. If you’ve made progress on this please share what you can :slight_smile: