Home » Creative Certification » When a feed contains a column of dynamic clickthrough URLs, what function will a handcoded creative use?

When a feed contains a column of dynamic clickthrough URLs, what function will a handcoded creative use?

Last Updated on 5 years ago by School4Seo Team

  • Enabler .clickthrough()
  • Enabler .exit()
  • Enabler .exitOnQuery()
  • Enabler .exitOverride()

The correct answer is: Enabler .exitOverride()

Explanation: Add the code to connect the dynamic data to the individual elements within your creative such as text, images, and exit URLs. Be sure to add the code after the Enabler has already been initialized.

Example: Setting dynamic click-through URL

document.getElementById(‘cta’).addEventListener(‘click’, ctaHandler);

function ctaHandler() {

Enabler.exitOverride(

“yourExitID”,

dynamicContent.SampleElement[0].landing_url.Url);

}

Read more here:https://support.google.com/richmedia/answer/3526354

N/A

Leave a Comment