Google Cloud Platform event forwarding extension

Google Cloud Platform is a cloud computing platform that offers a wide variety of services such as distributed computing, database storage, content delivery, and software-as-a-service (SaaS) integration services for customer relationship management (CRM) and enterprise resource planning (ERP).

The Google Cloud Platform event forwarding extension leverages Cloud Pub/Sub to send events from the Adobe Experience Platform Edge Network to the Google Cloud Platform for further processing. This guide covers how to install the extension and employ its capabilities in an event forwarding rule.

Prerequisites

In order to use this extension, you must have an Google Cloud Platform account with an existing Cloud Pub/Sub topic. If you do not have a pre-existing topic, see the Google Cloud Platform documentation on creating and manage topics.

Create a secret and a data element

First, create a new Google OAuth 2 event forwarding secret, which will be used to authenticate the connection to your account while keeping the value secure.

Next, create a data element using the Core extension and a Secret data element type to reference the Google OAuth 2 secret you just created.

Install and configure the Google Cloud Platform extension install

To install the extension, create an event forwarding property or choose an existing property to edit instead.

Select Extensions in the left navigation. In the Catalog tab, select Install on the card for the Google Cloud Platform extension.

The catalog Google Cloud Platform extension highlighting install.

On the configuration screen, enter the data element secret that you created earlier into the Access Token field. The data element secret will contain your Google Cloud Platform OAuth 2 token. Select Save when finished.

The Google Cloud Platform extension configuration page.

Create a Send Data to Cloud Pub/Sub rule tracking-rule

Once the extension is installed, create a new event forwarding rule and configure its conditions as desired. When configuring the actions for the rule, select the Google Cloud Platform extension, then select Send Data to Cloud Pub/Sub for the action type.

The action configuration view for Google Cloud Platform, with the action highlighted and Send Data to Cloud Pub/Sub.

Input
Description
Topic
The topic that will receive the events from Event forwarding. The value must have the format projects/{projectName}/topics/{topicName}.
Data
This field contains the data to be forwarded to the Cloud Pub/Sub topic in JSON format.

Under the Raw option, you can paste the JSON object directly into the provided text field, or you can select the data element icon ( Dataset icon ) to select from a list of existing data elements to represent the data.

You can also use the JSON Key-Value Pairs Editor option to manually add each key-value pair through a UI editor. Each value can be represented by a raw input, or a data element can be selected instead.
Attributes
This field contains the JSON object with extra attributes to be sent along with the message.

Under the Raw option, you can paste the JSON object directly into the provided text field, or you can select the data element icon ( Dataset icon ) to select from a list of existing data elements to represent the data.

You can also use the JSON Key-Value Pairs Editor option to manually add each key-value pair through a UI editor. Each value can be represented by a raw input, or a data element can be selected instead.

Next steps

This guide covers how to send data to Cloud Pub/Sub using the Google Cloud Platform event forwarding extension. For more information on event forwarding capabilities in Experience Platform, refer to the event forwarding overview.

recommendation-more-help
12b4e4a9-5028-4d88-8ce6-64a580811743