Skip to content

google-marketing-solutions/dv360-api-appsscript-samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

DV360 API Samples in Apps Script

This repository contains usage samples for the Display & Video 360 (DV360) API, written in Google Apps Script. You can use these samples to create, manage, update and delete DV360 entities (Advertisers, Insertion Orders, Line Items and Campaigns) at scale and in bulk.

DISCLAIMER: The code samples shared here are not formally supported by Google and are provided only as a reference. See LICENSE for more information.

Contributions are highly encouraged; see CONTRIBUTING.md.

Configuration and Setup

  1. Make a copy of this template Google Sheets Spreadsheet.
  2. Create a new Google Cloud Platform (GCP) Project that will be linked to your script.
  3. Open the GCP console and navigate to APIs & Services > Library and enable the Display & Video 360 API.
  4. Create an Apps Script project that is linked to the Google Sheets Spreadsheet by navigating to Tools > Script Editor within the Spreadsheet. Alternatively open the script directly from the Apps Script Project Dashboard.
  5. Within the Script Editor, navigate to Resources > Cloud platform project and link the GCP project created in step #1 using its project number. You can retrieve the project number ny navigating to the GCP console's Home and copying the number out of the Project info card.
  6. Copy the code samples provided in src/ to the script project created above. Consider using clasp for easier code management.

About

Google Apps Script samples for the Display & Video (DV360) API

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published