Use Adobe Campaign Classic Federated Data Access (FDA) option to process information stored in an external database. Follow the steps below to configure access to Google BigQuery.
Google BigQuery connector is available for hosted, hybrid and on-premise deployments. For more on this, refer to this page.
Download the ODBC driver for Windows.
Configure the ODBC driver in Windows. For more on this, refer to this page.
For the Google BigQuery connector to work, Adobe Campaign Classic requires the following parameters to connect:
Project: create or use an existing project.
For more information, refer to this page.
Service account: create a service account.
For more information, refer to this page.
Key File Path: the Service account requires a Key File for a Google BigQuery connection through ODBC.
For more information, refer to this page.
Dataset: Dataset is optional for an ODBC connection. Since every query needs to provide the dataset where the table is located, specifying a Dataset is mandatory for Google BigQuery FDA Connector in Adobe Campaign Classic.
For more information, refer to this page.
In Adobe Campaign Classic, you can then configure your Google BigQuery external account. For more on how to configure your external account, refer to this section.
You need Python installed for Google Cloud SDK to work.
We recommend using Python3, see this page.
Bulk Load utility allows faster transfer, which is achieved through Google Cloud SDK.
Download Windows 64-bit (x86_64) archive from this page and extract it in the corresponding directory.
Run the google-cloud-sdk\install.sh
script. You need to accept the setting of path variable.
After the installation, check that the path variable ...\google-cloud-sdk\bin
is set. If not, add it manually.
In the ..\google-cloud-sdk\bin\bq.cmd
file, add the CLOUDSDK_PYTHON
local variable, which will redirect to the location of the Python installation.
For example:
Restart Adobe Campaign Classic for the changes to be taken into account.
Before setting up the driver, note that script and commands must be ran by root user. It is also recommended to use Google DNS 8.8.8.8, while running the script.
To configure Google BigQuery on Linux, follow the steps below:
Before the ODBC installation, check that the following packages are installed on your Linux distribution:
For Red Hat/CentOS:
yum update
yum upgrade
yum install -y grep sed tar wget perl curl
For Debian:
apt-get update
apt-get upgrade
apt-get install -y grep sed tar wget perl curl
Update system before installation:
For Red Hat/CentOS:
# install unixODBC driver manager
yum install -y unixODBC
For Debian:
# install unixODBC driver manager
apt-get install -y odbcinst1debian2 libodbc1 odbcinst unixodbc
Before running the script, you can obtain more info by specifying --help argument:
cd /usr/local/neolane/nl6/bin/fda-setup-scripts
./bigquery_odbc-setup.sh --help
Access the directory where the script is located and run the following script as root user:
cd /usr/local/neolane/nl6/bin/fda-setup-scripts
./bigquery_odbc-setup.sh
You need Python installed for Google Cloud SDK to work.
We recommend using Python3, see this page.
Bulk Load utility allows faster transfer, which is achieved through Google Cloud SDK.
Before the ODBC installation, check that the following packages are installed on your Linux distribution:
For Red Hat/CentOS:
yum update
yum upgrade
yum install -y python3
For Debian:
apt-get update
apt-get upgrade
apt-get install -y python3
Access the directory where the script is located and run the following script:
cd /usr/local/neolane/nl6/bin/fda-setup-scripts
./bigquery_sdk-setup.sh
You need to create a Google BigQuery external account to connect your Adobe Campaign Classic instance to your Google BigQuery external database.
From Adobe Campaign Classic Explorer, click Administration ‘>’ Platform ‘>’ External accounts.
Click New.
Select External database as your external account’s Type.
Configure the Google BigQuery external account, you must specify:
Type: Google BigQuery
Service account: Email of your Service account. For more information on this, refer to Google Cloud documentation.
Project: Name of your Project. For more information on this, refer to Google Cloud documentation.
Key file Path:
Upload key file to the server: select Click here to upload if you choose to upload the key through Adobe Campaign Classic.
Enter manually the key file path: copy/paste your absolute path in this the field if you choose to use a pre-existing key.
Dataset: Name of your Dataset. For more information on this, refer to Google Cloud documentation.
The connector supports the following options:
Option | Description |
---|---|
ProxyType | Type of proxy used to connect to BigQuery through ODBC and SDK connectors. HTTP (default), http_no_tunnel, socks4 and socks5 are currently supported. |
ProxyHost | Hostname or IP address where the proxy can be reached. |
ProxyPort | Port number the proxy is running on, e.g. 8080 |
ProxyUid | Username used for the authenticated proxy |
ProxyPwd | ProxyUid password |
bqpath | Note that this is applicable for bulk-load tool only (Cloud SDK). To avoid using PATH variable or if the google-cloud-sdk directory has to be moved to another location, you can specify with this option the exact path to the cloud sdk bin directory on the server. |