# Google Ads

{% hint style="info" %}

💪 **Difficulty:** easy-to-medium

⏳ **Time to complete**: approx. 3 minutes
{% endhint %}

## 💬 Description

This Connector can help you if you’re running any kind of ads on Google. We extracting data on click-through rates, cost, clicks, impression and more.

Less’ will not use data transferred from Google API’s (as with any other Less data source) unless explicitly requested by the client. Less thus comply with [Google API Services User Data Policy](https://developers.google.com/terms/api-services-user-data-policy).

## 🤑 Use Case

This Connector can help you if you’re running any kind of ads on Google. We extract data on click-through rates, cost, clicks, impression and more.

## 🛠️ Setup

### Step #1: Authenticate through Google

Googles Ads is an OAuth Connector which means that all you have to do is log in with your Google account. You’ll be redirected from Less to Google to authenticate and once that’s done, we’ll bring you back to Less. You’ll see that screen below and need to click “Allow”.

<figure><img src="/files/YudVOU3kTKXUrxVsqWfn" alt=""><figcaption></figcaption></figure>

### Step #2: Select "Number of Days"

After Authenticating with Google you’ll be redirected back to Less. Here you’ll need to input the number of days you want to look back in time and extract data from. For example: if you input 365 you’ll always have the past year's data (if you schedule the Connector to run daily).

### Step #3: Input Account ID

You need the Account ID of the account you want to extract data from. You can find it by signing into your [Google Ads account](http://ads.google.com) and clicking the **?**-symbol in the top right corner. From there, your ID is the one shown below. Copy/paste it and you’re good to go!

<figure><img src="/files/B7hkyBdm4Y1NhklS6jKf" alt=""><figcaption></figcaption></figure>

[Google also has its own guide](https://support.google.com/google-ads/answer/1704344?hl=en).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://resources.less.tech/less-tech/connectors/connector-guides/google-ads.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
