Git Product home page Git Product logo

dcm_bulk_onboarding's Introduction

DCM Bulk Onboarding Tool

An example tool to perform bulk tasks to onboard DCM accounts using DCM API.

OVERVIEW

This AppScript-based tool lets you use a Google Spreadsheet to perform bulk boarding tasks including - Bulk Create Subaccounts - Bulk Create AdvertiserGroups - Bulk Create Advertisers - Bulk update Advertiser Floodlight Config ID

Additional helper tasks for these bulk creations include - Get User Role Permissions List - Get All Advertisers

It uses DCM APIs to pull and push data to DCM.

The same result could be achieved by manually creating each entities through the DCM UI, but the tool leverages the APIs and Spreadsheet functionalities to automate the most manual steps.

In order to use this tool you need to have valid access to the DoubleClick Campaign Manager APIs through your Google Account, and you will need to enable that API in a Google Cloud Project so that you can generate authenticate the tool (see the corresponding step of Initial Setup section below).

INITIAL SETUP

  • Create a new Google Spreadsheet and open its script editor (from Tools > Script Editor)
    • Copy the code from code.js and utils.js in two corresponding code.gs, utilities.gs files in your AppScript project
    • Enable DCM API Resources > Advanced Google Services and enable the DCM/DFA Reporting and Trafficking API (v2.8)
    • Click on Google API Console link at the bottom of Advanced Google Services window to open the Google Cloud Platform project, select Library from the left hand menu, then search and enable the DCM API in the project
  • Close the script editor and spreadsheet tabs both (this is necessary so the custom functions appear)
  • Re-open the Go back to the Spreadsheet, click on the DCM Functions menu and select Setup Sheets for the initial tabs and header rows setup (wait for the script to finish)
  • Remove any tab not needed (aside from the ones created by script)
  • Input the DCM Profile ID in the setup tab (i.e. at cell C5) then select Data from the sheet menu and select Named Ranges.... to set the title DCMProfileID and value Setup!C5

USAGE

  • As general rules
    • Only manually edit columns with green headers.
    • Columns with blue headers will be auto-populated.
    • Columns with a header* means it's required, otherwise optional
  • Get User Role Permissions List Get all user role permissions populated in UserRoePermissions tab (this tab is for read-only purpose, so do not edit it). Then select "Get User Role Permissions List" from DCM Functions menu.
  • Bulk Create Subaccounts Fill out the tab Subaccounts with names permission IDs (could be retried with "Get User Role Permissions List" function from last step), then select "Bulk Create Subaccounts" from DCM Functions menu.
  • Bulk Create Advertiser Groups Fill out the tab AdvertiserGroups then select "Bulk Create Advertiser Groups" from DCM Functions menu.
  • Bulk Create Advertisers Fill out the tab Advertisers then select "Bulk Create Advertisers" from DCM Functions menu.
  • Get All Advertisers Retrieve all advertisers into "FloodlightConfigShareAdvertisers" tab by selecting "Get All Advertisers" from the DCM Functions menu.
  • Share Advertisers Floodlight Configuration Share advertisers floodlight configuration IDs by modifying "Floodlight Configuration ID" column in FloodlightConfigShareAdvertisers tab (note: only keep the rows of advertisers that you intend to update).

dcm_bulk_onboarding's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.