Google Product Forums

How to make the served creative (image ad) also trigger customization of two lines of text below it

KB_KB May 6, 2012 3:09 PM
Posted in group: DoubleClick for Publishers

Categories: Tagging : DFP Small Business :

Can anyone assist in how to do the following customization?

On our site, we'd like a DFP served visual image ad to relate to text viewed below the ad. For instance, below a visual banner ad we want the text, "Sponsored by "BLANK BLANK"" and a text link that reads, "Learn More".

For each ad served, we want the "Sponsored by" text to change to correspond to the current ad. So for instance, it could read, "Sponsored by Mike's Florist" and have a Mike's Florist advertisement above it. We also want the "Learn More" text to be wrapped in the Sponsors chosen URL. So "Learn more" would become a link to Mike's Florist webpage. An image example is above.

We were told we could do this with custom javascript work, but we are unable to figure it out. We thought that somewhere in DFP we could use two custom variables and associate
a custom URL and the sponsorship name with the visual creative.

Other Notes: The ads will be rotating on a page, so the text below needs to change in sync with the served visual ads above it.

Any and all help is appreciated.