# Scrape & analyze Google Ads with Bright Data API: n8n workflow

> Started by an event in a connected app, and works across Gmail and Google Sheets. It hands the judgement calls to Gemini and OpenRouter.

Source: https://millionrounds.com/workflow/scrape-and-analyze-google-ads-with-bright-data-api (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Lead generation](https://millionrounds.com/workflows?category=Lead+generation#library)

# Scrape & analyze Google Ads with Bright Data API

Started by an event in a connected app, and works across Gmail and Google Sheets. It hands the judgement calls to Gemini and OpenRouter. 36 steps, 1 loop or waits: large, and worth reading before you trust it with anything live.

Large Calls a model: Gemini, OpenRouter

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fscrape-and-analyze-google-ads-with-bright-data-api)

**36 steps** Large: read it before trusting it with anything live

**0** Branches: places the flow splits

**1** Loop or waits

**2** Services it connects to

## The flow

Starts it 1 Model 15 Logic 16 Service 4

The steps in the order they run, from what starts it.

- 1 **When clicking ‘Execute workflow’** Manual trigger *Starts it*
- 2 **OpenRouter Chat Model** Lm Chat Open Router *Model*
- 3 **Structured Output Parser3** Output Parser Structured *Model*
- 4 **Google Gemini Chat Model3** Lm Chat Google Gemini *Model*
- 5 **OpenRouter Chat Model1** Lm Chat Open Router *Model*
- 6 **Google Gemini Chat Model4** Lm Chat Google Gemini *Model*
- 7 **Structured Output Parser4** Output Parser Structured *Model*
- 8 **OpenRouter Chat Model2** Lm Chat Open Router *Model*
- 9 **Google Gemini Chat Model5** Lm Chat Google Gemini *Model*
- 10 **Structured Output Parser5** Output Parser Structured *Model*
- 11 **Google Gemini Chat Model6** Lm Chat Google Gemini *Model*
- 12 **OpenRouter Chat Model3** Lm Chat Open Router *Model*
- 13 **Get Keywords** Google Sheets *Service*
- 14 **Value Proposition & Messaging Analysis** Chain Llm *Model*
- 15 **Site Link Extension Mining** Chain Llm *Model*
- 16 **Keyword-Ad Mapping** Chain Llm *Model*
- 17 **Generate HTML** Agent *Model*
- 18 **Filter1** Filter *Logic*
- 19 **value proposition** Set *Logic*
- 20 **site links** Set *Logic*
- 21 **keywords1** Set *Logic*
- 22 **Send a message** Gmail *Service*
- 23 **Loop Over Items** Split In Batches *Logic*
- 24 **Merge1** Merge *Logic*
- 25 **set keyword** Set *Logic*
- 26 **Fetch Google Search Results JSON** Http Request *Service*
- 27 **filter ads** Filter *Logic*
- 28 **No Operation, do nothing1** No Op *Logic*
- 29 **ads found** Set *Logic*
- 30 **extract ads** Code *Logic*
- 31 **value proposition1** Aggregate *Logic*
- 32 **extensions** Aggregate *Logic*
- 33 **keywords** Aggregate *Logic*
- 34 **Split ads** Split Out *Logic*
- 35 **Edit Fields** Set *Logic*
- 36 **Top ads** Google Sheets *Service*

## How it's built

- **Starts on:** An event in a connected app
- **Steps:** 36, 1 loop or waits
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Gmail, Google Sheets
- **Model:** Gemini, OpenRouter

## Questions

What does it need to run?

An n8n account, plus your own Gmail and Google Sheets accounts, and a key for Gemini and OpenRouter. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an event in a connected app.

Does it use AI?

Yes. It calls Gemini and OpenRouter. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 36 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 36 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fscrape-and-analyze-google-ads-with-bright-data-api)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Gmail](https://millionrounds.com/workflows?service=Gmail#library)[Google Sheets](https://millionrounds.com/workflows?service=Google+Sheets#library)

## Workflows like it

Also lead generation, with the same services where possible, closest in size first.

- [**AI-personalized multi-product email outreach with SMTP** 36 steps · calls a model · Gmail](https://millionrounds.com/workflow/ai-personalized-multi-product-email-outreach-with-smtp)
- [**Generate leads with Google Maps** 36 steps · Google Sheets](https://millionrounds.com/workflow/generate-leads-with-google-maps)
- [**Capture, qualify, and route real estate leads with WhatsApp** 37 steps · calls a model · Airtable, Gmail](https://millionrounds.com/workflow/capture-qualify-and-route-real-estate-leads-with-whatsapp)
- [**Manage hotel guest requests and post-stay outreach** 35 steps · calls a model · Google Sheets, Slack](https://millionrounds.com/workflow/manage-hotel-guest-requests-and-post-stay-outreach)
- [**Automate B2B lead generation with Google Places API** 35 steps · Google Sheets, SendGrid](https://millionrounds.com/workflow/automate-b2b-lead-generation-with-google-places-api)
- [**Speed-to-Lead AI Response Engine for WhatsApp, Web Forms** 37 steps · Email, Google Sheets](https://millionrounds.com/workflow/speed-to-lead-ai-response-engine-for-whatsapp-web-forms)
