Skip to content

Commit d051719

Browse files
Merge pull request #4 from kubarozek-google:master
PiperOrigin-RevId: 378851537 Change-Id: If4d5d246d4bb81684bc86ec59987b2e94169fba9
2 parents 6c0fb82 + e4ef397 commit d051719

13 files changed

+1535
-579
lines changed

README.md

+14-19
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,33 @@
11
# DV360 API Samples in Apps Script
22

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

68
**DISCLAIMER**: The code samples shared here are _not_ formally supported
79
by Google and are provided only as a reference. See [LICENSE](LICENSE.md)
810
for more information.
911

1012
Contributions are highly encouraged; see [CONTRIBUTING.md](CONTRIBUTING.md).
1113

12-
## Table of Contents
13-
14-
[Bulk Resource Management](#bulk-resource-management)
15-
16-
## Bulk Resource Management
17-
18-
This folder contains samples for bulk DV360 resource management using Google
19-
Sheets. If you are interested in using this solution at scale, please get in
20-
contact with your DV360 representative to get a copy of a template Spreadsheet
21-
that is preconfigured for bulk management.
22-
23-
### Configuration and Setup
14+
## Configuration and Setup
2415

16+
1. Make a copy of this
17+
[template](https://docs.google.com/spreadsheets/d/1F9O8rwtbkeMnZ_mUd7WAcDFka7wryuy4X15e8gCwDFU)
18+
Google Sheets Spreadsheet.
2519
1. Create a new Google Cloud Platform (GCP) Project that will be linked to your
2620
script.
27-
2. [Open the GCP console](https://console.cloud.google.com/) and navigate to
21+
1. [Open the GCP console](https://console.cloud.google.com/) and navigate to
2822
_APIs & Services > Library_ and enable the _Display & Video 360 API_.
29-
3. Create an Apps Script project that is linked to a Google Spreadsheet by
30-
navigating to _Tools > Script Editor_ within the desired Spreadsheet.
23+
1. Create an Apps Script project that is linked to the Google Sheets
24+
Spreadsheet by navigating to _Tools > Script Editor_ within the Spreadsheet.
3125
Alternatively open the script directly from the
3226
[Apps Script Project Dashboard](https://script.google.com/home/all).
33-
4. Within the Script Editor, navigate to _Resources > Advanced Google Services_
34-
and toggle the switch for _Google Sheets API_.
35-
5. Within the Script Editor, navigate to _Resources > Cloud platform project_
27+
1. Within the Script Editor, navigate to _Resources > Cloud platform project_
3628
and link the GCP project created in step #1 using its _project number_. You
3729
can retrieve the project number ny navigating to the GCP console's _Home_
3830
and copying the number out of the _Project info_ card.
31+
1. Copy the code samples provided in [src/](src) to the script project created
32+
above. Consider using
33+
[clasp](https://github.com/google/clasp) for easier code management.

0 commit comments

Comments
 (0)