When should the code from "Step 4: Generate Code" be called by a hand-coded dynamic creative?
Choose an answer
Tap an option to check your answer.
Correct answer: AFTER the Enabler has been initialized, but BEFORE dynamic content is accessed.
Why this is the answer
The "Generate Code" from Step 4 contains the Enabler.set.profileId and Enabler.set.feedId calls, which are crucial for connecting your creative to the correct dynamic profile and feed. These calls must execute after the Enabler library has been loaded and initialized (so its methods are available) but before you attempt to access any dynamic content. If you try to access dynamic content before these IDs are set, the Enabler won't know which data to retrieve, leading to errors or blank content. If called before Enabler initialization, the Enabler.set methods would not exist, causing a script error. If called after dynamic content is accessed, the initial content would be missing or incorrect.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed