Skip to main content

Obtaining HTML code for ads in DFP

Updated over 4 months ago

This feature is available for the following products:

If you are displaying an ad from DFP in your portal using custom HTML, you will need the "Header Content" code and "Body Content" code. To obtain this code, go to DFP and follow these instructions:

  1. Select "Ad units" on the left-hand panel (as shown below).

  2. Click "Generate Tag" for the desired ad (as shown below).

  3. Select the Tag Type (as shown below).

  4. Select the Tag Options (as shown below).

  5. In the "Additional Tag Parameters" step, click "Continue" (as shown below).

The "Header Content" code and "Body Content" code will then be listed (as shown below).

Did this answer your question?