If you want to create Google Ads data sources for custom Klips, you're in the right place.
If you're using PowerMetrics and want to create Google Ads data sources for custom metrics, go here.
Visualize, discover, and act on your data with Klips and Klip dashboards.
Ready to get the most from your Google Ads data? Get started by setting up a connection between Klipfolio and your Google Ads data and adding some data sources.
When you're finished adding Google Ads data sources, you'll use them to power your custom Klips.
Notes:
- Account access: Depending on the data source you want to create, you may require access to a Google Ads Manager Account. Learn how to gain or grant access to a manager account.
- Google Ads money values: Money type fields in Google Ads reports return money values in micro currency units (also known as micros). For example, $1.23 US currency is returned as 1,230,000 micros (1.23 x 1,000,000). To convert micros to the currency used by reports, you need to divide the number of micros by 1,000,000. Options for any money fields must also be in micros.
This article includes:
- Connecting to your Google Ads data
- Adding a Google Ads custom data source
- Custom building: About APIs and queries
- I've added Google Ads data sources - What's next?
Connecting to your Google Ads data
Here are a couple things to note about connecting Klipfolio to your Google Ads data:
Your data is safe with us. The first time you connect your Google Ads data to Klipfolio, you'll be prompted to sign in to Google Ads and give permission to allow Klipfolio to securely access data within your Google Ads account. We are serious about protecting your data privacy.
Managing your connections. By default, your connection name looks like this: yourname@GoogleAds <date and time created>. You can modify the default connection name when you create a new connection or from your list of connections, accessed by clicking your Account Name (located at the bottom of the left navigation sidebar) and selecting Account > Connected Accounts or by clicking the button in the left navigation sidebar and selecting Connections.
You can use and reuse the same account connection every time you connect to Google Ads. If you have trouble accessing an existing connection, your OAuth token may have expired. If that happens to you, check out these troubleshooting tips.
Adding a Google Ads custom data source
Create your own custom data sources from scratch. If you need some help writing queries, you can refer to the Google Ads API documentation for inspiration.
To add a Google Ads custom data source:
- Click the + beside Data Sources in the left navigation sidebar.
If you don’t see the option above, go to the bottom of the left navigation sidebar and click your Account Name > Data Sources > Create a New Data Source.
- On the Where is your data? page, select Google Ads.
- On the Which account do you want to use? page:
- If this is your first time connecting to Google Ads, click Connect an account. Enter your Google Ads login credentials and click Next. If prompted, click Allow Access to enable Klipfolio to securely access your Google Ads data. Click Continue.
- If you've connected with Google Ads before, select an existing connection (token) from the drop-down list and click Continue.
- In the Query URL field, replace <clientAccountId> with the Client Account ID you want to query.
- At Data Format, select JSON.
- At Method, select POST.
- Click Get data.
- Ensure this is the data you’re looking for and, optionally, select the checkbox to Model your data. Learn more about modelling your data source. Note: Google Ads returns JSON formatted data. Learn how to model JSON data.
- Click Continue.
- Name, choose refresh settings, and, optionally, share your data source.
- Click Save.
The data source is added to your account and is ready to use for custom Klips. You can see all your data sources in your Data Source Library, accessed by clicking Data Sources in the left navigation sidebar.
Custom building: About APIs and queries
Want to learn more about custom building? This section is for you. Klipfolio connects to hundreds of services in the cloud that have a REST API. If you take the time to learn your service’s API to create queries for the data you want, your possibilities are endless. Here’s a quick overview video on APIs and Klipfolio:
If you need help using APIs, ask a data analyst or developer.
See the reference table below for API related information and sample queries.
API Documentation | Google Ads API documentation |
Authentication Method |
OAuth Token Authentication |
Response Format | JSON |
Sample Queries |
Get Google Ads data (group name, click-through-rate, and campaign name) for the last month:
|
Date Format |
The default format for Google Ads is yyyy-MM-dd. Date parameters must be on separate lines in the query (apart from the rest of the body). For example,
|
Notes |
Learn more about Google Ads reports. Go here for more information on custom and predefined Google Ads date ranges. For information on error messages you might receive when using Google Ads API, go to the Common Errors page. |
Next steps
Great! You've connected to your Google Ads data and created one (or more) data sources. Now you're ready to use those data sources in custom Klips.
Want to learn more?
Check out these related articles: