Paragon
Search…
Google Campaign Manager 360
Connect your Google Campaign Manager 360 app for OAuth in Paragon.

Setup Guide

You can find your Google app credentials by visiting your Google Cloud Console dashboard.
You'll need the following information to set up your Google App with Paragon Connect:
  • Client ID
  • Client Secret
  • Scopes Requested
Note: You'll need to create a new project in Google Cloud Console if you don't already have one.

Add the Redirect URL to your Google app

Paragon provides a redirect URL to send information to your Google app. To add the redirect URL to your Google app:
1. Copy the link under "Redirect URL" in your integration settings in Paragon. The Redirect URL is:
1
https://passport.useparagon.com/oauth
Copied!
2. In your Google Cloud Console dashboard, navigate to APIs & Services > Credentials in the sidebar.
3. Press "+ Create Credentials", then select OAuth client ID.
4. Select "Web application" from the Application type drop-down menu.
Note: You'll need to configure Google's consent screen for access to Client ID and Client Secret if you haven't already.
5. Under Authorized redirect URIs, press the "+ Add URI" button.
6. Paste-in the redirect URL from Paragon.
7. Press the blue "Create" button.
Google provides you with the Client ID and Client Secret needed for the next steps after adding the redirect URL to your project.

Enable Google Campaign Manager 360 API in Google Cloud Console Dashboard

1. In your Google Cloud Console dashboard, navigate to APIs & Services > Library in the sidebar.
2. Search for "Google Campaign Manager 360" from the API Library.
3. Select the "Google Campaign Manager 360 API".
4. Press the blue "Enable" button to enable the API for your application.

Add your Google app to Paragon

1. Select Google Campaign Manager 360 from the Integrations Catalog.
2. Under Integrations > Connected Integrations > {YOUR_APP} > Settings, fill out your credentials from the end of Step 1 in their respective sections:
  • Client ID: Found at the end of Step 1.
  • Client Secret: Found at the end of Step 1.
  • Permissions: Select the scopes you've requested for your application. They should begin with sheets.
Press the blue "Connect" button to save your credentials.
Note: Leaving the Client ID and Client Secret blank will use Paragon development keys.

Connecting to Google Campaign Manager 360

Once your users have connected their Google Campaign Manager 360 account, you can use the Paragon SDK to access the Google Campaign Manager 360 API on behalf of connected users.
See the Google Campaign Manager 360 REST API documentation for their full API reference.
Any Google Campaign Manager 360 API endpoints can be accessed with the Paragon SDK as shown in this example.
1
// You can find your project ID in the Overview tab of any Integration
2
3
// Authenticate the user
4
paragon.authenticate(<ProjectId>, <UserToken>);
5
6
// List accounts
7
await paragon.request("googlecampaignmanager", "/userprofiles/{profileId}/accounts", {
8
method: "GET"
9
});
10
11
12
// Create ad
13
await paragon.request("googlecampaignmanager", "/userprofiles/{profileId}/ads", {
14
method: "POST",
15
body: {
16
"accountId": <some-account-id>,
17
"active": false,
18
"advertiserId": <some-advertiser-id>,
19
"campaignId": <some-campaign-id>,
20
"endTime": new Date("2021-01-02").toISOString(),
21
"startTime": new Date("2021-01-02").toISOString(),
22
"name": "Ad name"
23
}
24
});
25
Copied!

Building Google Campaign Manager 360 workflows

Once your Google Campaign Manager 360 account is connected, you can add steps to perform the following actions:
  • Create Ad
  • Update Ad
  • Get Ads
  • Get Ad by ID
  • Get Advertisers
  • Get Advertiser by ID
  • Create Campaign
  • Update Campaign
  • Get Creatives
  • Get Creative by ID
  • Create Creative Asset
  • Create Campaign Creative Association
  • Get Campaign Creative Association
  • Create Creative Group
  • Update Creative Group
  • Get Creative Groups
  • Get Creative Group by ID
  • Create Placement
  • Update Placement
  • Get Placements
  • Get Placement by ID
When creating or getting ads in Google Campaign Manager 360, you can reference data from previous steps by typing {{ to invoke the variable menu.
Last modified 25d ago