Hub
Pricing About
WorkflowWorkflow

Google Ads Report

Release 5.3Google AdsQueryReport
knime profile image
Versionv1.0 KNIME AP 5.3 ReleaseLatest, created on 
Jul 10, 2024 11:36 AM
Drag & drop
Like
Download workflow
Workflow preview

Fetch data from your Google Ads account into KNIME using the Google Ads Connector and Google Ads Query nodes. Then, the workflow will pull this data into Google Sheets for further analysis.

You can download and run the workflow in your local KNIME Analytics Platform. However, you need the latest version to do so.

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.


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.

Additionally, you will need:

  1. Google Ads Developer Token

  2. Manager Customer Account ID

  3. Account ID

Please refer to the description of the Google Ads Connector to get more information about how to obtain these items.


Workflow Step-by-Step

  1. Create Variables

    • 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.

  2. Authenticate and Connect

    • 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.

  3. Query Google Ads Data

    • 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.

  4. Write to Google Sheets

    • 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.

External resources

  • Docs: KNIME Secrets User Guide
  • OAuth 2.0 Scopes for Google APIs
Loading deploymentsLoading ad hoc jobs

Used extensions & nodes

Created with KNIME Analytics Platform version 5.3.0
  • Go to item
    KNIME Base nodesTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.3.0

    knime profile image
    knime
  • Go to item
    KNIME ExpressionsTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.3.0

    knime profile image
    knime
  • Go to item
    KNIME Google ConnectorsTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.3.0

    knime profile image
    knime
  • Go to item
    KNIME Nodes for Google Ads (Labs)Trusted extension

    KNIME AG, Zurich, Switzerland

    Version 1.0.0

    knime profile image
    knime

Legal

By using or downloading the workflow, you agree to our terms and conditions.

KNIME
Open for Innovation

KNIME AG
Talacker 50
8001 Zurich, Switzerland
  • Software
  • Getting started
  • Documentation
  • Courses + Certification
  • Solutions
  • KNIME Hub
  • KNIME Forum
  • Blog
  • Events
  • Partner
  • Developers
  • KNIME Home
  • Careers
  • Contact us
Download KNIME Analytics Platform Read more about KNIME Business Hub
© 2025 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Data Processing Agreement
  • Credits