> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zeotap.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Google Cloud Storage

## Overview

Google Cloud Storage (GCS) is a cloud-based object storage service provided by Google Cloud Platform (GCP). It allows you to store and retrieve data in a highly scalable, durable, and secure manner. Integrated with Zeotap CDP, it enables you to push the audiences (segments) from Zeotap CDP to Google Cloud Storage in CSV format. The data sent from Zeotap CDP to GCS can be used for several use cases such as automation of campaigns, creation of personalised notifications, optimisation of campaigns and more.

## Prerequisites

Before you create a Google Cloud Storage Destination in Zeotap CDP, note that you must have an account with Google Cloud Storage.

## Supported Identifiers

This integration supports MAIDs, Hashed email addresses, Hashed mobile numbers and CRM IDs. Note that you can send any number of identifiers and attributes to Google Cloud Storage using this integration.

## Available Actions and Supported Features

The following table lists the available action types for the integration and the supported features for each action type:

| Action Name                                             | [ID EXTENSION](/articles/segment-customer/extend-your-audience#id-extension) | [DELETE](https://docs.zeotap.com/articles/#!integrate-customer/delta-upload-and-delete-functions) | [DELTA UPLOAD](https://docs.zeotap.com/articles/#!integrate-customer/delta-upload-and-delete-functions) |
| :------------------------------------------------------ | :--------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------ | :------------------------------------------------------------------------------------------------------ |
| Send identifiers to Google Cloud Storage                | ✅                                                                            | -                                                                                                 | -                                                                                                       |
| Send attributes and identifiers to Google Cloud Storage | -                                                                            | -                                                                                                 | -                                                                                                       |

## Components of Google Cloud Storage

Ensure that you have the details about the below components of the Google Cloud Storage account before creating a Destination.

<CardGroup>
  <Card title="Bucket" href="#bucket" icon="bucket" horizontal />

  <Card title="Folder" href="#folder" icon="folder" horizontal />

  <Card title="Account" href="#account" icon="user-circle" horizontal />
</CardGroup>

### Bucket

This is the name of your Google Cloud Storage Bucket. You can obtain this information from your Google Cloud Storage account as shown in the image below.

<Frame>
  <img src="https://mintcdn.com/zeotap/UNwlFBI6l-jpipWP/articles/integrate-customer/Storage/integrate-customer/google-cloud-storage/gcs_bucket.png?fit=max&auto=format&n=UNwlFBI6l-jpipWP&q=85&s=27a98eddfc923035a9733033c5c0fc10" width="2974" height="1356" data-path="articles/integrate-customer/Storage/integrate-customer/google-cloud-storage/gcs_bucket.png" />
</Frame>

### Folder

In Google Cloud Storage, a folder serves as a logical container for organising stored objects within a bucket. In reality, there are no actual folders in Google Cloud Storage. Instead, the folder concept is emulated by employing object key names containing slashes ("/") to replicate a hierarchical arrangement. You can obtain this information from your Google Cloud Storage account as shown in the image below.

<Frame>
  <img src="https://mintcdn.com/zeotap/UNwlFBI6l-jpipWP/articles/integrate-customer/Storage/integrate-customer/google-cloud-storage/gcs_folder.png?fit=max&auto=format&n=UNwlFBI6l-jpipWP&q=85&s=ee827f65a647fe9656d55c7b3a13717c" width="2974" height="1356" data-path="articles/integrate-customer/Storage/integrate-customer/google-cloud-storage/gcs_folder.png" />
</Frame>

### Account

This is the Zeotap Service Account that is used to access the Google Cloud Storage account. Ensure that you whitelist the Zeotap Service Account to successfully push audiences (segments) from Zeotap CDP to Google Cloud Storage.

## Create a Destination for Google Cloud Storage

Perform the following steps to create a Destination for Google Cloud Storage:

<Steps>
  <Step>
    Log into the Zeotap CDP App and go to the **DESTINATIONS** application.
  </Step>

  <Step>
    Click **+ Create Destination**.

    <Frame>
      <img src="https://mintcdn.com/zeotap/UNwlFBI6l-jpipWP/articles/integrate-customer/Storage/integrate-customer/google-cloud-storage/ADOBE_DMP_3_(1).png?fit=max&auto=format&n=UNwlFBI6l-jpipWP&q=85&s=562fa59a1a1e2b76442fa98f6e6f991e" width="2870" height="796" data-path="articles/integrate-customer/Storage/integrate-customer/google-cloud-storage/ADOBE_DMP_3_(1).png" />
    </Frame>
  </Step>

  <Step>
    Under the **All Destinations** section, search for **Google Cloud Storage**.

    <Frame>
      <img src="https://mintcdn.com/zeotap/UNwlFBI6l-jpipWP/articles/integrate-customer/Storage/integrate-customer/google-cloud-storage/ADOBE_DMP_4_(1).png?fit=max&auto=format&n=UNwlFBI6l-jpipWP&q=85&s=653728565c7ed5863548171765d4086f" width="2866" height="888" data-path="articles/integrate-customer/Storage/integrate-customer/google-cloud-storage/ADOBE_DMP_4_(1).png" />
    </Frame>
  </Step>

  <Step>
    Click **Google Cloud Storage**. A screen appears displaying details about the particular destination towards the left. On the right-hand side of the screen find a list of fields that are required for the integration to be established. Provide the required details as mentioned in the following steps:

    a. Enter a name for the Destination.

    b. In the **Destination Instance Name** field, provide a desired value for this internal field.

    c. In the **Bucket** field, provide the name of the Google Cloud Storage Bucket.

    d. In the **Folder** field, provide the folder path in your storage location where Zeotap CDP can store your exported data.

    <Note>
      **Note:**

      Ensure to follow the below points while providing the folder path:

      * The folder path should follow the below structure:
        * `folder_name/sub_folder_name/`
      * The folder name should not start with a `/`
      * The folder name and sub-folder name should end with a `/`
    </Note>

    e. Under **Filename Prefix,** enter a text value without special characters, such as underscores (\_), spaces, or symbols (`#, @, $, %, &, \*`). Note that the file name follows the format: `${filenamePrefix}part-${sequence}_${destinationAudienceId}_${timestamp}`.csv, where the timestamp is in yyyy-MM-dd format and destinationAudienceId is the ID associated with your audience (segment) in Zeotap CDP, which is generated by the Zeotap CDP after the audience (segment) is linked to a Destination.

    <Frame>
      <img src="https://mintcdn.com/zeotap/99ae7Xt83Dkoy1LQ/articles/integrate-customer/Storage/integrate-customer/integrate-customer/amazon-s3-destination/amazon-s3-destination-2025-08-06-1.png?fit=max&auto=format&n=99ae7Xt83Dkoy1LQ&q=85&s=9815ce4ace2add60e912e2a98028d8d4" width="936" height="162" data-path="articles/integrate-customer/Storage/integrate-customer/integrate-customer/amazon-s3-destination/amazon-s3-destination-2025-08-06-1.png" />
    </Frame>

    | Variable                   | Description                                                                                                               |
    | :------------------------- | :------------------------------------------------------------------------------------------------------------------------ |
    | `filenamePrefix`           | The prefix for the file name, typically indicating the context or purpose of the file (e.g., the segment or export type). |
    | `part-${sequence}`         | A sequential number or identifier indicating the part or chunk number if the data is split across multiple files.         |
    | `${destinationAudienceId}` | The unique ID assigned by Zeotap CDP to the audience (segment) after it is linked to a Destination.                       |
    | `${timestamp}`             | The date when the file is generated, formatted as `yyyy-MM-dd` (e.g., 2024-08-06).                                        |
    | `.csv`                     | The file extension, indicating that the file is in CSV (Comma-Separated Values) format.                                   |

    **Example File Name:**
    `exportpart-01_894548842_2024-08-06.csv`

    f. Under **Account,** choose either **Zeotap Service Account** or **Client Service Account Json** using the drop-down menu based on the type of authentication you need. If you wish to use Zeotap Service Account, then ensure that you whitelist this it to push audiences (segments) from Zeotap CDP to Google Cloud Storage Platform.

    <Frame>
      <img src="https://mintcdn.com/zeotap/UNwlFBI6l-jpipWP/articles/integrate-customer/Storage/integrate-customer/google-cloud-storage/google-cloud-storage-2024-05-08.png?fit=max&auto=format&n=UNwlFBI6l-jpipWP&q=85&s=4035a760431f47f9e2282dd46a2e57d4" width="1128" height="340" data-path="articles/integrate-customer/Storage/integrate-customer/google-cloud-storage/google-cloud-storage-2024-05-08.png" />
    </Frame>

    i. If you choose **Zeotap Service Account** as the Account, then ensure that you whitelist the service account provided by Zeotap CDP to push the audiences (segments) from Zeotap CDP to Google Cloud Storage Platform. This service account information auto-populates under **Service Account to be Whitelisted** as shown in the image below.

    <Frame>
      <img src="https://mintcdn.com/zeotap/UNwlFBI6l-jpipWP/articles/integrate-customer/Storage/integrate-customer/google-cloud-storage/google-cloud-storage-2024-05-08-1.png?fit=max&auto=format&n=UNwlFBI6l-jpipWP&q=85&s=80b9f59a37bb2c7b8b83268ea131378a" width="1126" height="432" data-path="articles/integrate-customer/Storage/integrate-customer/google-cloud-storage/google-cloud-storage-2024-05-08-1.png" />
    </Frame>

    ii. If you choose **Client Service Account** **Json** as the Account, then you need to upload the JSON file with the required authentication information using the **+ Select File** option so that Zeotap CDP can push the audiences to Google Cloud Storage Platform.

    <Frame>
      <img src="https://mintcdn.com/zeotap/UNwlFBI6l-jpipWP/articles/integrate-customer/Storage/integrate-customer/google-cloud-storage/google-cloud-storage-2024-05-08-2.png?fit=max&auto=format&n=UNwlFBI6l-jpipWP&q=85&s=a5bc85536732956d054503de1b2bc797" width="1136" height="670" data-path="articles/integrate-customer/Storage/integrate-customer/google-cloud-storage/google-cloud-storage-2024-05-08-2.png" />
    </Frame>

    g. Under **Send Encrypted Data**, choose whether you want to encrypt your data using the PGP ([Pretty Good Privacy](https://en.wikipedia.org/wiki/Pretty_Good_Privacy)) data transfer mechanism. If you choose **Yes**, then ensure that you upload the Public Key. For more information about PGP encryption, refer [here](/articles/integrate-customer/pgp-encryption-in-destinations).

    <Frame>
      <img src="https://mintcdn.com/zeotap/UNwlFBI6l-jpipWP/articles/integrate-customer/Storage/integrate-customer/google-cloud-storage/google-cloud-storage-2025-01-31.png?fit=max&auto=format&n=UNwlFBI6l-jpipWP&q=85&s=ee987cfe15afd49be9f5838c54d02e95" width="1144" height="664" data-path="articles/integrate-customer/Storage/integrate-customer/google-cloud-storage/google-cloud-storage-2025-01-31.png" />
    </Frame>

    h. Review all the values entered above and then click **Next** to proceed.

    <Frame>
      <img src="https://mintcdn.com/zeotap/UNwlFBI6l-jpipWP/articles/integrate-customer/Storage/integrate-customer/google-cloud-storage/google-cloud-storage-2025-01-31-1.png?fit=max&auto=format&n=UNwlFBI6l-jpipWP&q=85&s=b3b208c5f008d170813b8ef6bed8f209" width="1322" height="2646" data-path="articles/integrate-customer/Storage/integrate-customer/google-cloud-storage/google-cloud-storage-2025-01-31-1.png" />
    </Frame>
  </Step>

  <Step>
    In the new screen that appears, choose the appropriate action and mapping as explained below. Under **Choose your Action**, you can either choose **Send Identifiers to Google Cloud Storage** or **Send attributes and identifiers to Google Cloud Storage** as the action for activating your audience in Audiences.

    a. If you choose **Send Identifiers to Google Cloud Storage** as your action, then you can send **MAIDS** and **raw email addresses** to Google Cloud Storage.

    <Frame>
      <img src="https://mintcdn.com/zeotap/UNwlFBI6l-jpipWP/articles/integrate-customer/Storage/integrate-customer/google-cloud-storage/GCS_2.png?fit=max&auto=format&n=UNwlFBI6l-jpipWP&q=85&s=3ea2095f61ddb2135745ce8d77132fee" width="2812" height="1404" data-path="articles/integrate-customer/Storage/integrate-customer/google-cloud-storage/GCS_2.png" />
    </Frame>

    b. If you choose **Send attributes and identifiers to Google Cloud Storage** as your action, then you can send any attributes and identifiers to Google Cloud Storage.

    <Frame>
      <img src="https://mintcdn.com/zeotap/UNwlFBI6l-jpipWP/articles/integrate-customer/Storage/integrate-customer/google-cloud-storage/Screenshot_2024-04-18_at_11.40.24_AM.png?fit=max&auto=format&n=UNwlFBI6l-jpipWP&q=85&s=603a9fa8e5244df76d081abed6f9a3f0" width="2812" height="1404" data-path="articles/integrate-customer/Storage/integrate-customer/google-cloud-storage/Screenshot_2024-04-18_at_11.40.24_AM.png" />
    </Frame>
  </Step>

  <Step>
    After finalising the attributes and identifiers to send, click **Create Destination**. The created Destination gets listed in the Audiences application, which can be linked to an audience.
  </Step>
</Steps>

## Identify Segment Files in the Google Cloud Storage Bucket

After an Audience is linked to a Destination, Zeotap CDP generates segment files in CSV format with the following naming convention:

`{filenamePrefix}{fileNumber}_${channelId}_${timestamp}`.csv, where the timestamp is in epoch format.

In case of multipart upload, the format is `{partNumber}_{filenamePrefix}{fileNumber}_${channelId}_${timestamp}`.csv

where,

* `partNumber` refers to the parts or segments of a multipart upload in Google Cloud Storage. Multipart uploads allows you to upload large files in multiple parts or chunks rather than uploading the entire file in one go. In the above naming convention, Part 0 refers to the first part of the multipart upload.
* `channelId` is the ID associated with your audience (segment) in Zeotap CDP. This is generated by the Zeotap CDP after the audience (segment) is linked to a Destination. You can obtain this information as shown in the image below.

<Frame>
  <img src="https://mintcdn.com/zeotap/UNwlFBI6l-jpipWP/articles/integrate-customer/Storage/integrate-customer/google-cloud-storage/google-cloud-storage-2024-05-08-3.png?fit=max&auto=format&n=UNwlFBI6l-jpipWP&q=85&s=ab92718b7e470b1333769c4f5a6b2eb6" width="2864" height="1426" data-path="articles/integrate-customer/Storage/integrate-customer/google-cloud-storage/google-cloud-storage-2024-05-08-3.png" />
</Frame>

* `epochmilliTimestamp` is the timestamp in epoch format.

Let's understand this with an example. Suppose you create an audience segment called **PublicAbove18** with **Channel ID** `12345678`, a **filename prefix** `testprefix`, and a **file number** `98765`. The timestamp information in **epoch milliseconds** is `1625138600`. When this file is uploaded to GCS as the first part of the multipart upload, the file is named as follows:

`Part0_testprefix98765_12345678_1625138600.csv`

## Link an Audience to the Google Cloud Storage Destination

For information about how to link an audience or segment to the created Destination in Audiences application, refer [here](/articles/integrate-customer/link-an-audience-to-the-destination).

<Note>
  **Note:**

  The terms *Audiences* and *Segments* are used interchangeably to refer to customer cohorts belonging to a specific category. For example, an Audience or a segment could be a specific group of customers who are over 18 years of age and who have performed an `addToCart` event within the last 30 days.
</Note>
