How to set your own Google Ads developer token
Overview
Matillion ETL uses a Google Ads developer token by default with the Google Ads Query component, removing the necessity for users to add their own token.
However, users can specify their own token if they wish (and therefore override the default token). A user might wish to specify their own token in scenarios such as where the default token was revoked.
Specifying a custom Google Ads developer token
- SSH into the Matillion ETL instance.
- Open the file /usr/share/emerald/WEB-INF/classes/Emerald.properties.
- Specify a new value for the variable
GOOGLE_ADS_DEVELOPER_TOKEN
. - The value must be base64 encoded.
- Restart Tomcat for changes to take effect:
sudo service tomcat restart
.
Alternatively:
- SSH into the Matillion ETL instance.
- Specify a new value for the variable
GOOGLE_ADS_DEVELOPER_TOKEN
as a Java environment variable with theMTLN_
prefix. -
This can be done either as a system level environment variable, or in /etc/sysconfig/tomcat.
Note
When setting variables in Emerald.properties, the
MTLN_
prefix is not required. -
The value must be base64 encoded.
- Restart Tomcat for changes to take effect:
sudo service tomcat restart
.
Need help? Please contact support.