dv360-automation icon indicating copy to clipboard operation
dv360-automation copied to clipboard

Example code snippets for automating workflow with the Display & Video 360 API

This is not an officially supported Google product.

DV360 Automation

Overview

The following notebook includes accompanying code snippets for the Display & Video 360 Automation workshop, an interactive workshop for DV360 advertisers to explore functionality of the Display & Video 360 API and DoubleClick Bid Manager API.

It is intended to provide a snapshot of the available functionality and is by no means an exhaustive look at all features of the API. For additional support using the DV360 API, refer to the official developer documentation.

Notebook

This .ipynb notebook is intended for use within Google Colab, but should be fully compatible with other Jupyter notebook environments with small adjustments.

Open In Colab

Contents

  • Setup and authentication
  • Structured Data Files (SDF)
    • Manually create SDF
    • Editing SDF programmatically
    • SDF + Entity Read Files
    • SDF + Cloud Vision API
    • Optimisation using Reports
    • Challenge
  • Display & Video 360 API
    • Campaign builds
    • Individual targeting
    • Bulk targeting
    • Optimisation (external trigger)
    • Optimisation (reporting data)
    • Creative upload
    • Challenge
  • Resources

License

Apache 2.0