Introduction
Raptor's Customer Data Platform (CDP) integrates with Google Ads & Youtube (Youtube is a part of the Google Ads platform). From the CDP, it is possible to synchronize audiences to Google Ads for advertisement use in Googles marketing channels including Youtube. The audiences can also be used for look-a-like targeting.
When a person enters/leaves an Audience in Raptor's CDP, the Google Ads & Youtube activation is automatically updated in real-time.
How it works
1. Setup general information in Raptor
In Raptor you will find a template created to assist the integration setup. To create the Google Ads Activation, go to “Customer Data Platform --> Activation --> Create New Activation --> Google Ads / Youtube”.
Type in Name, Description and select the preferred person identifier - in Google Ads this would be Email - then click Next.
2. Google Information
Note: Setting up the Google Activation is not a simple task. Please go through the following steps thoroughly. In the bottom of this article, you can watch a video published by Google going through the setup.
Below, you will see an overview of the different information that needs to be added to use Google Ads for communication. This includes:
- ClientID
- Client Customer ID
- Upload Type
- ClientSecret
- RefreshToken
- Login Customer ID
NB: Keep this browser tab open through the whole setup.
3. Create New Project in "Google Cloud Platform" and enable “Google Ads API”
To be able to find all necessary ID’s, tokens, etc. you must first go to Google's Cloud Platform to create a new project.
- Go to your Google Cloud Platform here: https://console.cloud.google.com/apis/dashboard?
- Click the dropdown menu Select a project and click New project in the top right corner of the pop-up.
- Give your project a name (CDP Raptor), select a location (not mandatory), and click Create
- Click the dropdown menu (see step 2) and Select the project you just created. Click Open in the bottom right corner.
- To enable the “Google Ads API” follow the steps below:
- Go to the following link: https://console.cloud.google.com/apis/library/googleads.googleapis.com
- In the drop-down menu besides “Google Cloud Platform”, choose the project you just made - “CDP Raptor” - and click “Enable”.
4. Create an “Oauth consent”
To create an "Oauth consent" follow the steps below:
- Go to the following site: https://console.cloud.google.com/apis/ and click on Oauth consent screen in the menu to the left
- Choose the user type External and click Create
- Under "App Information" you write the following:
- App name: Raptor CDP
- User Support mail: Click the e-mail in the dropdown - Scroll down to "Developer contact information" in the bottom and type the following
- Email address: ps@raptor.dk and {your e-mail} - Click Save and continue
- In the next section "Scopes", you do not need to add any information. Just click Save and continue in the bottom.
- In the next section “Test users”, you do not need to add any information. Just click Save and continue at the bottom.
- In the next section "Summary", you do not need to add any information. Just click Back to dashboard at the bottom.
- Finally, make sure you click the Publish app button under "Publishing status”.
5. Create “Credentials”
To create Credentials, follow the steps below
- Click on Credentials in the menu to the left
- Click +Create credentials in the top and select OAuth Client ID from the dropdown menu
- Choose “Web application” as “Application type”
- Give the Application a name. We recommend naming it “Raptor CDP”.
- Add a URL under “Authorized redirects URLs”. The URL should be: https://developers.google.com/oauthplayground
- Click Create
- Now a pop-up will appear with your "OAuth client credentials”. Copy/paste the “Your Client ID” and “Your Client Secret” and save this information - or paste it directly into the CDP. When you're done, close the pop-up.
6. Generate “Tokens”
To generate tokens, follow the steps below
- Go to "OAuth2 Playground" by clicking the link HERE.
- In the middle of the screen, on your left hand side, you will find the “AdWords API” – click there and set a check mark on the link underneath (https://www.googleapis.com/auth/adwords) by clicking on it.
- Now, on your right-hand side, you insert your saved “Oauth Client ID” and “OAuth Client secret” by clicking on the “cog” symbol as shown below:
- Click Authorize APIs in the menu on your left-hand side
- In this next step, you will be presented with a "Warning page" saying "Google hasn't verified this app", however, it is safe to continue. You will be asked to login again to verify the new app. Click Advanced, Go to Raptor CDP (Unsafe) and Allow the Raptor CDP permission
- Now to get a “´Refresh and access token”, click on the button Exchange authorization code for tokens on your right.
- Copy/paste and save the “refresh token” in a seperate document (Go back to step 2. Exchange authorization code for tokens)
7. Insert values in Raptor Activation
With the three values you have saved, you are now able to finish the Google Ads activation in Raptor Controlpanel. Return to setup page from "step 1“.
- Insert the following values and click Next
- ClientID (saved from step 5.7)
- Client Customer ID (Go to Google Ads and find the Client Customer ID in the top right corner next to your name/company name. Format is: xxx-xxx-xxxx)
- Upload Type (Choose email)
- ClientSecret (saved from step 5.7)
- RefreshToken (saved from step 6.7)
- Login Customer ID (Go to Google Ads and find the CustomerID from you MCC account in the top right corner next to your name/company name. Format is: xxx-xxx-xxxx) - At the bottom of the page, you can attach an audience. Click "Select audiences" to attach audiences to your Google Ads Account. After you have chosen an "Audience" click Apply - a success message will appear on screen. (NB: Start with one audience – you can always attach more)
- Now wait 5 minutes for the sync to take place.
In Google Ads the audience will be synced in batches. Depending on the size of the audience the sync will finish within 24 hours.
Video guide from Google
Watch this video guide made by Google for demonstration of how to set up a cloud project to generate OAuth client ID and client secret for a web application (such as the Raptor activation), and then use the OAuth Playground to retrieve refresh and access tokens.
Comments
0 comments
Article is closed for comments.