This guide explains how to use the Display \& Video 360 API to build and run a new
Display \& Video 360 Demand Gen ad campaign under an existing insertion order.

## Prerequisites

Before you start this guide:

1. [Generate credentials](https://developers.google.com/display-video/api/guides/quickstart/generate-credentials#generate_credentials) and [configure your
   client](https://developers.google.com/display-video/api/guides/quickstart/configure-client#configure_your_client).
2. Verify that your Display \& Video 360 user has either an Admin or Standard [user
   role](https://support.google.com/displayvideo/answer/2723011). You need one of these roles for the partner or advertiser that will run the ad campaign.
3. Complete the [initial setup to run YouTube \& Partners and Demand Gen line
   items](https://support.google.com/displayvideo/answer/6274611).
4. Ensure that [Floodlight optimization for YouTube and Demand
   Gen](https://support.google.com/displayvideo/answer/12863891) is enabled in your advertiser.
5. Follow the instructions in the [Run an Ad Campaign](https://developers.google.com/display-video/api/guides/tasks/run-ad-campaign/overview) guide to create an [advertiser](https://developers.google.com/display-video/api/guides/tasks/run-ad-campaign/create-advertiser), [campaign](https://developers.google.com/display-video/api/guides/tasks/run-ad-campaign/create-campaign), and [insertion order](https://developers.google.com/display-video/api/guides/tasks/run-ad-campaign/create-insertion-order) using the Display \& Video 360 API as needed.