Snowflake

Learn how to enable Snowflake for supported destinations.

On this page


Requirements

  • You must have Snowflake account credentials (username and password).
  • You must have a Snowflake account with access to the table containing the data you’d like to use. You can create an account that only has access to the data needed for your use case.
Note: Snowflake is accessed from Google Cloud IP addresses . However, Google Cloud external IP ranges are dynamic and subject to change. To ensure that your firewall automatically filters the latest Google Cloud external IP ranges, monitor the list of IP ranges for updates and dynamically update your firewall.

Set up Snowflake as a data source

Apply a use case now

The following sections walk you through a single procedure to link a data source to a use case, such as audience or Floodlight conversion creation. To link the data source only, and apply a use case later, you can refer to Apply a use case later .

Customer Match

Through the "Audience manager" page

  1. Sign in to your Search Ads 360  account.
  2. Navigate to a sub-manager account, and then to the Google Ads client account .
  3. Go to the Shared librarydropdown under “Tools & settings” and select Audience manager.
  4. Select + Customer list.
  5. In the “Data source” card, select Connect a new data source.
    • If you previously linked a data source from the Data manager screen that you want to use, choose  Select an existing source.
  6. Search and select Snowflakefrom the list of data sources.
  7. Select Direct connection, then select Continue.
  8. Select the data type, then select Next.
  9. Enter your Snowflake account identifier, username, and password, then select Connect.
  10. Enter the Snowflake database, schema, and table (or view) that you want to use, then select Next. Learn how to Format your data for Customer Match.
  11. Select the Snowflake warehouse, database, and table that you want to use, then select Next.
  12. To map fields, select the data source fields from the dropdown lists that match the destination fields.
  13. Optional: Apply transformations to your data.
  14. Select Next.
  15. Enter a name for this connection.
  16. Optional: Edit connection details .
  17. Select Finish.
  18. Enter a name for the segment, confirm policy compliance, then select Save and continue.

Learn more about Customer Match and audience segments .

Offline conversion import

Through the "Conversions" page

  1. Sign in to your Search Ads 360  account.
  2. Navigate to a sub-manager account .
  3. Go to the Conversionsdropdown under “Tools & settings” and select Summary.
  4. Select + Create conversion action.
  5. Select Import.
  6. Select CRMs, files, or other data sources.
  7. Select a tracking method.
  8. In the “Data source” card, select Connect a new data source.
    • If you previously linked a data source from the Data manager screen that you want to use, choose  Select an existing source.
  9. Search and select Snowflakefrom the list of data sources.
  10. Select Direct connection, then select Continue.
  11. Read and accept the customer data policy, then select Continue.
  12. Select a category from the conversion goal list, then select Set up.
  13. Enter your Snowflake account identifier, username, and password, then select Connect.
  14. Enter the Snowflake warehouse, database, schema, and table (or view) that you want to use, then select Next.
  15. Optional: You can add filters to select the records you want to import. This is important especially if you have multiple different conversion goals in the file you will be importing. Learn more about using filters .
  16. To map fields, select the data source fields from the dropdown lists that match the destination fields.
  17. Optional: Apply transformations to your data.
  18. Select Next.
  19. Enter a name for this connection.
  20. Optional: Edit connection details .
  21. Select Finish.
  22. Select Save and continue.

Apply a use case later

In this type of setup, you complete each part of the connection at different times. This can be useful when you are ready to link a data source, but you are not ready to set up your use case, for example, you aren’t ready to create a customer list.

Example

Consider the following scenario:

  • Step 1: Dana is an engineer who manages data for your company. Dana sets up the data source to be used for activation in Search Ads 360. The data source is ready to be associated with a use case.
  • Step 2: Mahan is a media specialist who needs to measure audience activation. Mahan creates a customer list and then associates it to the data source that Dana has previously set up, to use that data for Customer Match.

Step 1. Initiate the connection to the data source

Note: It’s recommended that you add an audience segment or conversion goal to a connection that you created. You can either set up an audience segment or conversion goal before you link a data source or you can create an audience segment or conversion goal in the final step of setting up a data source.

Open Setup, select Data manager. Select the connection you just made from “Connected products” and under “Usage”, select  + Add audience segmentor + Add conversion action.

Set up a data source and create a connection to be associated with a use case later.

  1. Sign in to your Search Ads 360  account.
  2. Navigate to a sub-manager account .
  3. In the page menu, select Setupdrop-down, and then select Data manager.
  4. Select + Connect Product.
  5. Under Data source, search and select a data source from the list of products.
  6. If prompted, select Direct connection.
  7. Select your use case, read and accept the customer data policy, then select Continue. If you select Audiences, you are prompted to select the data type at this step.
  8. Enter your data source location and credentials*, then select Next.
  9. To map fields, select the data source fields from the dropdown lists that match the destination fields.
  10. Optional: Apply transformations to your data.
  11. Select Next.
  12. Enter a name for this connection.
  13. Optional: Edit connection details .
  14. Select Finish.
Note: You must reauthorize your Snowflake account for each new audience segment or conversion action connection that you create. This means that you’ll need to re-enter your Snowflake account identifier, username, and password for every connection, even if you have previously set up Snowflake as a data source.

* Use the same credentials and location details for this data source as described in the first part of this article.

Step 2. Complete the connection by applying a use case

  1. Open the destination you intend to use–for example, begin to create a new customer list or conversion goal using the steps from the previous sections. Return to these steps before completing the data source step.
  2. Under Data source, choose Select an existing source.
  3. Select the data source that was initiated in Step 1 from the list of data sources.
  4. Continue to follow the remaining steps for your use case in the first part of this article. Note that you’ll need to re-enter your Snowflake account identifier, username, and password when connecting the existing data source to a new audience or conversion action.

Find your Snowflake account identifiers

Use Snowsight , Snowflake’s web interface, to find your Snowflake account identifier . You can find your Snowflake account identifiers through the user menu or by using SQL commands.

Through the user menu

  1. Below the Snowsight navigation menu, click your user name to open the user menu.
  2. Select Accountto open the account selector.
  3. Hover over the account to view additional details, including the account identifier
  4. Select the copy icon to copy the account identifier.

Using SQL commands

  1. Below the Snowsight navigation menu, click your user name to open the user menu.
  2. In the account selector, review the list of accounts that you previously signed in to.
  3. Under your chosen account, select View account details.
  4. Under “Account Details”, select the “SQL Commands” tab to find and copy the SQL statement that returns the account identifier.
  5. To retrieve the organization of your current account, run this SQL command to get your organization’s name:
SELECT CURRENT_ORGANIZATION_NAME();
  1. To retrieve the name of the current account, run this SQL command to get your account’s name:
SELECT CURRENT_ACCOUNT_NAME();
  1. Combine the organization and account names with a hyphen to get the account identifier for configuring a client, driver, or library to connect to Snowflake.
SELECT CURRENT_ORGANIZATION_NAME() || '-' || CURRENT_ACCOUNT_NAME();

This will return the account identifier in the format “ orgname-account_name ”.

Note:

The account identifier is copied in the format “ orgname.account_name ”, which is used for SQL commands and operations.

If the underscores in the account names aren’t supported, replace underscores with hyphens in the account name.


Troubleshoot errors

  • Ensure that your conversion goal has successfully connected to the chosen connection. Otherwise, no data will come in. 

Was this helpful?

How can we improve it?

Need more help?

Try these next steps:

true
Search
Clear search
Close search
Google apps
Main menu
5201445447120334348
true
Search Help Center
false
true
true
true
true
true
5055977
true
false
false
false
Create a Mobile Website
View Site in Mobile | Classic
Share by: