The Bold BI dashboard designer supports connecting to Google Ads web services through the REST API.
NOTE: If you want to connect a Google Ads data source, your account must be linked to Google Analytics.
To configure the Google Ads data source, follow the below steps:
NOTE: You can also create a data source from the home page by clicking the Data Sources menu from the left menu panel and Create Data Sources from the data sources page.
Use the following steps to authenticate with the Google Ads web service:
Click on the data source, which will prompt a login window. Enter the credentials of your Google Ads account to authorize.
Click on Allow in the authorization window to accept the scopes requested by Bold BI dashboards.
NOTE: If permission is denied, the account will not be accessible from the dashboard.
Set a name to identify the account and then click Next.
You have now successfully authorized your connection. Click Connect to continue with the data source connection.
To connect through an already connected account, refer to the Connected Accounts.
NOTE: To connect to another account click Connect New Account.
After successful authentication, the configuration panel for the NEW DATA SOURCE opens. Follow the steps below to create a Google Ads data source.
Enter a name and description (optional) for the data source.
Select account, properties, and view value.
Choose a specific start date and end date using the date picker controls. If you select the launch date option, the initial launch date of the Google Ads will be considered as the start date for the API. If no end date option is selected, the current date will be used as the end date to pull data up to date during data source creation and refresh.
Select your metrics and dimensions or enter a valid URL in the custom URL text box. Refer to the Google Ads API documentation for more details.
Example: https://www.googleapis.com/analytics/v3/data/ga?ids=%3c:id%3e&start-date=%3c:startDate%3e&end-date=%3c:endDate%3e&metrics=ga:users,ga:sessions,ga:pageviews&dimensions=ga:month,ga:year&sort=-ga:month
Select the GET method for the REST API in the Method combo box.
Enter the maximum number of pages to be fetched from the Google Ads data source in the In-Page(s) field. This value is used for data retrieval via pagination.
Choose a time interval for the Refresh Settings using the combo box, to trigger the Rest API request periodically to keep the data in sync with our dashboard.
Select the JSON data type in the Data Format combo box.
The authentication type will be set to Google Ads automatically because OAuth is used for authenticating with the Google Ads account.
You can also edit the connection information set here using the Edit Connection option.
Accessing API |
For API access, ensure that you have Read and Analyze permissions |
Modes |
Simple mode : This interface allows users to construct a query that retrieves data from the Google Ads account. |
Page(s) | Most REST APIs return only a limited amount of data on a single API request. To retrieve the necessary amount of data, you can set a value in this field. Pagination is handled internally and will fetch the required data. |
Refresh Settings | A period will pass before the next refresh call is triggered. This will automatically trigger a call for the API configured in the data source to keep the data up to date. If you do not want to sync your new data,then choose ‘Never’. |
Dimensions or Metrics | Dimension or Metrics may require additional input sometimes |
NOTE: If you need to make any modifications to the prepared URL, select the Custom URL checkbox and edit the URL. You can use the Google Query Explorer tool to prepare the URL.
If you have already logged into the account and authenticated with the web data source, the account information will be listed here. You can select one of the accounts or connect to a new account by clicking the Connect New Account button.
You can edit, delete and re-authorize this account from the Connected Accounts page.
NOTE: To obtain the client ID and client secret for the Google-related data sources, Refer to the Google OAuth Documentation.
Dashboard Designer Walkthrough