Icon

Google Ads Report

<p>Fetch data from your <strong>Google Ads account</strong> into KNIME using the <em>Google Ads Connector and Google Ads Query nodes</em>. Then, the workflow will pull this data into Google Sheets for further analysis.</p><p>You can download and run the workflow in your local KNIME Analytics Platform. However, you need the latest version to do so.</p><p>It is also possible to deploy and schedule the workflow to run once a week in KNIME Business Hub using the Secret Store feature and the Secrets Retriever node instead of the Google Authenticator.</p><p><br>Before you run the workflow, you need to authenticate actively. Using Google APIs with OAuth 2.0 "on your behalf" allows third-party applications to access and interact securely with your Google services, such as Google Sheets and Google Ads, enhancing functionality and user experience while maintaining security and control over your data.</p><p><strong>Additionally, you will need:</strong></p><ol><li><p>Google Ads Developer Token</p></li><li><p>Manager Customer Account ID</p></li><li><p>Account ID</p></li></ol><p>Please refer to the <em>description </em>of the Google Ads Connector to get more information about how to obtain these items.</p><p><strong><br>Workflow Step-by-Step</strong></p><ol><li><p><strong>Create Variables</strong></p><ul><li><p>In the top branch, we create variables to pass to the downstream nodes, such as the current date, the last week's date, and the year-week column. You can adjust the dates to query data for the previous 30 days or even build a data application to input your data interactively.</p></li></ul></li><li><p><strong>Authenticate and Connect</strong></p><ul><li><p>Using the Google Authenticator for interactive authentication, provide the custom scopes listed in the node comments. Then, connect to Google Sheets and the Google Ads Account by providing the specified items.</p></li></ul></li><li><p><strong>Query Google Ads Data</strong></p><ul><li><p>Use the Google Ads Query node with the flow variable to set the start and end date of the Search Terms report. After execution, append a new column called Year Week with the flow variable generated in point 1.</p></li></ul></li><li><p><strong>Write to Google Sheets</strong></p><ul><li><p>Use the Google Sheets Writer node to create a new Google Spreadsheet named "Historical Data" and write your data in the "Search terms" sheet. Note that you will create a new Spreadsheet each time you execute the node.<br></p></li></ul></li></ol>

URL: OAuth 2.0 Scopes for Google APIs https://developers.google.com/identity/protocols/oauth2/scopes
URL: Docs: KNIME Secrets User Guide https://docs.knime.com/latest/business_hub_secrets_guide/index.html#secrets

Nodes

Extensions

Links