Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google Campaign Manager 360 destination docs. #7121

Open
wants to merge 8 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ GEM
ffi (1.15.5)
filesize (0.2.0)
forwardable-extended (2.6.0)
google-protobuf (3.23.2-x86_64-darwin)
google-protobuf (3.23.2)
http_parser.rb (0.8.0)
httpclient (2.8.3)
i18n (1.13.0)
Expand Down Expand Up @@ -87,7 +87,9 @@ GEM
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.4.0)
nokogiri (1.15.2-x86_64-darwin)
mini_portile2 (2.8.7)
nokogiri (1.15.2)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
Expand All @@ -104,8 +106,9 @@ GEM
rouge (4.1.2)
ruby2_keywords (0.0.5)
safe_yaml (1.0.5)
sass-embedded (1.62.1-x86_64-darwin)
sass-embedded (1.62.1)
google-protobuf (~> 3.21)
rake (>= 10.0.0)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
thread_safe (0.3.6)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
---
title: Google Campaign Manager 360
strat: google
hide-boilerplate: true
hide-dossier: false
id: 123456
hidden: true
private: true
versions:
- name: "Google Campaign Manager 360"
link: '/docs/connections/destinations/catalog/actions-google-campaign-manager-360/'
---

The Google Campaign Manager 360 destination allows users to upload [conversions](https://developers.google.com/doubleclick-advertisers/guides/conversions_upload){:target="_blank"} and [conversion enhancements](https://developers.google.com/doubleclick-advertisers/guides/conversions_ec){:target="_blank"} to Google Campaign Manager 360. Marketers can use this integration to attribute conversions to specific campaigns, ad groups, and ads.

## Getting Started

> info ""
> You can connect the Google Campaign Manager 360 Destination to an event source, Reverse ETL source, or Engage space.

### Prerequisites

Before you begin, you need to have a Google Campaign Manager 360 account, with a Profile ID and a Floodlight Configuration ID. It'll be also necessary to configure the Floodlight activities you want to track.
seg-leonelsanches marked this conversation as resolved.
Show resolved Hide resolved

### Connect to Google Campaign Manager 360

1. From the Segment web app, navigate to **Catalog > Destinations**.
2. Search for “Google Campaign Manager 360” in the Destinations Catalog, and select it.
3. Click **Add destination**.
4. Select the source that will send data to Google Campaign Manager 360.
* If you select an Engage space, you'll be redirected to Engage to complete the following steps.
* If you select a Reverse ETL source, you must enter a name for your destination and click **Create destination**.
5. On the **Settings** tab for your Google Campaign Manager destination:
* Enter your **Profile ID**. Optionally, you can also provide your default **Floodlight Configuration ID** and/or your default **Floodlight Activity ID**. These fields are optional, but if you provide them, they will be used as defaults for all events sent to Google Campaign Manager 360. Otherwise, you can override these values in your mappings.
6. Click **Save**.
7. Follow the steps in the Destinations Actions documentation to [customize your mappings](/docs/connections/destinations/actions/#customize-mappings).

## Hashing

Google requires you to hash all PII before sending it to the Google API.

The Google Campaign Manager 360 destination supports hashing for the following fields:

* Email
* Phone
* First Name
* Last Name
* Street Address

The hashing algorithm used is SHA-256. If incoming data arrives already hashed, the destination will not hash it again. The values will be sent as-is to Google.

{% include components/actions-fields.html settings="true"%}

## FAQ and troubleshooting

### Refreshing access tokens

When you use OAuth to authenticate into the Google Campaign Manager 360 destination, Segment stores an access token and refresh token. Access tokens for Google Campaign Manager 360 expire after one hour. Once expired, Segment receives an error and then uses the refresh token to fetch a new access token. This results in two API requests to Google Campaign Manager 360, one failure and one success.

Because of the duplicate API requests, you may see a warning in Google for unprocessed conversions due to incorrect or missing OAuth credentials. This warning is expected and does not indicate data loss. Google has confirmed that conversions are being processed, and OAuth retry behavior will not cause any issues for your web conversions. Whenever possible, Segment caches access tokens to reduce the total number of requests made to Google Campaign Manager 360.