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?

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

    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

    Comments are closed.