# Google Ads Traffic Forecast (`opspilot.cc/google-ads-traffic-forecast`) Actor

Estimate Google Ads clicks, average CPC, and campaign cost for up to 1,000 keywords across major countries, languages, bids, match types, and forecast periods.

- **URL**: https://apify.com/opspilot.cc/google-ads-traffic-forecast.md
- **Developed by:** [wang wei](https://apify.com/opspilot.cc) (community)
- **Categories:** E-commerce, SEO tools
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.50 / actor start

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js/docs.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python/docs.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Google Ads Traffic Forecast — Estimate Clicks, CPC & Campaign Cost

Estimate Google Ads traffic before launching a campaign. Submit one keyword per run, choose target countries and language, set your maximum bid and match type, then export projected clicks, average CPC, and total advertising cost.

### Why Use This Actor

- Forecast paid-search demand before committing campaign budget.
- Compare the same keyword across major countries.
- Test exact, phrase, and broad match scenarios.
- Model next-week, next-month, or next-quarter performance.
- Export structured results to JSON, CSV, Excel, databases, or automation tools.
- Run without configuring external API credentials.

### Important Forecast Scope

Each result is a forecast for the single input keyword in one selected country. If you select three countries, the Actor creates three forecast tasks and normally exports one forecast per country.

### Quick Start

```json
{
  "keywords": "seo tools",
  "locations": ["United States", "United Kingdom"],
  "language": "English",
  "bid": 999,
  "match": "exact",
  "date_interval": "next_month"
}
````

All fields have defaults, so empty automated-test inputs also run successfully.

### Input Reference

#### Keyword

Enter exactly one keyword or phrase per run, with a maximum of 80 characters and 10 words. Multiple keywords are rejected before any paid request is sent. Default: `seo tools`.

#### Target Locations

Choose one or more countries from a 39-country multi-select dropdown. One forecast task is generated for each country. Default: United States.

Available markets include the United States, United Kingdom, Germany, France, Canada, Australia, Japan, India, China, Brazil, Italy, Spain, Netherlands, South Korea, Mexico, Indonesia, Turkiye, Switzerland, Sweden, Poland, Belgium, Austria, Norway, Denmark, Finland, Ireland, Singapore, New Zealand, Israel, United Arab Emirates, Saudi Arabia, South Africa, Philippines, Thailand, Vietnam, Malaysia, Argentina, Chile, and Colombia.

#### Target Language

Choose one of 20 major languages. Keywords are not translated automatically. Default: English.

#### Maximum Bid

Positive integer representing the maximum bid used by the forecasting model. Higher bids can produce higher projected traffic and cost. Default: `999`.

#### Keyword Match Type

- **Exact** — focuses on the entered keywords.
- **Phrase** — includes close phrase-level demand.
- **Broad** — models wider related demand.

Default: Exact.

#### Forecast Period

Choose Next week, Next month, or Next quarter. Default: Next month.

### Output Fields

Each Dataset row contains only user-relevant, queryable fields:

| Field | Type | Description |
|---|---|---|
| `keywords` | array | Single input keyword, preserved as a queryable array |
| `location_name` | string | Selected target country |
| `language` | string | Selected target language |
| `bid` | integer | Maximum bid used by the model |
| `match_type` | string | `exact`, `phrase`, or `broad` |
| `forecast_period` | string | `next_week`, `next_month`, or `next_quarter` |
| `average_cpc` | number/null | Estimated average cost per click in USD |
| `estimated_clicks` | number/null | Projected clicks during the selected period |
| `estimated_cost` | number/null | Projected total ad spend in USD |

Internal task IDs, service status codes, provider metadata, location/language codes, and deprecated metrics are hidden. The service currently does not provide meaningful impression or CTR forecasts, so those always-empty fields are intentionally excluded.

### Defaults and Automated Tests

When a field is empty or missing, the Actor uses:

| Field | Default |
|---|---|
| Keywords | `seo tools` |
| Target Locations | United States |
| Target Language | English |
| Maximum Bid | `999` |
| Match Type | Exact |
| Forecast Period | Next month |

Runtime defaults apply to Console runs, API requests, schedules, integrations, and Apify automated tests.

### Pricing & Limits

| Tier or setting | Limit |
|---|---|
| Free users | **5 runs per day** |
| Paid Apify users | Unlimited runs |
| Keyword | Exactly 1 per run |
| Countries | 39 major selectable markets |
| Languages | 20 major selectable languages |
| Forecast tasks | One per selected country |

Usage is billed through the Actor's configured Apify events. Each run accepts one keyword to keep usage predictable and control costs.

### Use Cases

- **Campaign budgeting** — estimate spend and clicks before launch.
- **Market comparison** — compare the same campaign across countries.
- **Bid scenario planning** — run multiple bids and compare projected economics.
- **Match-type testing** — quantify exact versus phrase versus broad demand.
- **Agency reporting** — export consistent forecasts for client proposals.

### FAQ

**Are impressions and CTR included?**\
No. Those fields are no longer populated reliably, so the Actor hides them instead of returning meaningless null columns.

**What currency is used?**\
`average_cpc` and `estimated_cost` are returned in USD.

**Does Target Language translate my keywords?**\
No. It selects the language market used by the forecast model. Enter localized keywords yourself when researching non-English markets.

**Where can I inspect errors?**\
Open the default Key-Value Store and read the `SUMMARY` record.

### Support

Open an issue from the Actor page and include the run ID plus the `SUMMARY` record. Never include account credentials.

# Actor input Schema

## `keywords` (type: `string`):

Enter exactly one keyword or phrase per run. Maximum 80 characters and 10 words.

## `locations` (type: `array`):

Select one or more major countries. One forecast task is created per selected country.

## `language` (type: `string`):

Select the target language market. Keywords are not translated automatically.

## `bid` (type: `integer`):

Maximum bid used for the forecast. Higher bids may produce higher projected traffic and cost. Default: 999.

## `match` (type: `string`):

Exact targets the entered keywords, phrase includes close phrase variants, and broad estimates wider related demand.

## `date_interval` (type: `string`):

Time period covered by estimated clicks and cost.

## Actor input object example

```json
{
  "keywords": "seo tools",
  "locations": [
    "United States"
  ],
  "language": "English",
  "bid": 999,
  "match": "exact",
  "date_interval": "next_month"
}
```

# Actor output Schema

## `results` (type: `string`):

One row per country forecast with keywords, target market, bid, match type, forecast period, average CPC, estimated clicks, and estimated cost.

## `summary` (type: `string`):

Input counts, forecast settings, exported totals, duplicate counts, and error samples.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("opspilot.cc/google-ads-traffic-forecast").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("opspilot.cc/google-ads-traffic-forecast").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call opspilot.cc/google-ads-traffic-forecast --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=opspilot.cc/google-ads-traffic-forecast",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Google Ads Traffic Forecast",
        "description": "Estimate Google Ads clicks, average CPC, and campaign cost for up to 1,000 keywords across major countries, languages, bids, match types, and forecast periods.",
        "version": "1.1",
        "x-build-id": "NG1bOhejo9PhURyNv"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/opspilot.cc~google-ads-traffic-forecast/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-opspilot.cc-google-ads-traffic-forecast",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/opspilot.cc~google-ads-traffic-forecast/runs": {
            "post": {
                "operationId": "runs-sync-opspilot.cc-google-ads-traffic-forecast",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/opspilot.cc~google-ads-traffic-forecast/run-sync": {
            "post": {
                "operationId": "run-sync-opspilot.cc-google-ads-traffic-forecast",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "keywords",
                    "locations",
                    "language",
                    "bid",
                    "match",
                    "date_interval"
                ],
                "properties": {
                    "keywords": {
                        "title": "Keyword",
                        "type": "string",
                        "description": "Enter exactly one keyword or phrase per run. Maximum 80 characters and 10 words.",
                        "default": "seo tools"
                    },
                    "locations": {
                        "title": "Target Locations",
                        "type": "array",
                        "description": "Select one or more major countries. One forecast task is created per selected country.",
                        "items": {
                            "type": "string",
                            "enum": [
                                "United States",
                                "United Kingdom",
                                "Germany",
                                "France",
                                "Canada",
                                "Australia",
                                "Japan",
                                "India",
                                "China",
                                "Brazil",
                                "Italy",
                                "Spain",
                                "Netherlands",
                                "South Korea",
                                "Mexico",
                                "Indonesia",
                                "Turkiye",
                                "Switzerland",
                                "Sweden",
                                "Poland",
                                "Belgium",
                                "Austria",
                                "Norway",
                                "Denmark",
                                "Finland",
                                "Ireland",
                                "Singapore",
                                "New Zealand",
                                "Israel",
                                "United Arab Emirates",
                                "Saudi Arabia",
                                "South Africa",
                                "Philippines",
                                "Thailand",
                                "Vietnam",
                                "Malaysia",
                                "Argentina",
                                "Chile",
                                "Colombia"
                            ],
                            "enumTitles": [
                                "United States",
                                "United Kingdom",
                                "Germany",
                                "France",
                                "Canada",
                                "Australia",
                                "Japan",
                                "India",
                                "China",
                                "Brazil",
                                "Italy",
                                "Spain",
                                "Netherlands",
                                "South Korea",
                                "Mexico",
                                "Indonesia",
                                "Turkiye",
                                "Switzerland",
                                "Sweden",
                                "Poland",
                                "Belgium",
                                "Austria",
                                "Norway",
                                "Denmark",
                                "Finland",
                                "Ireland",
                                "Singapore",
                                "New Zealand",
                                "Israel",
                                "United Arab Emirates",
                                "Saudi Arabia",
                                "South Africa",
                                "Philippines",
                                "Thailand",
                                "Vietnam",
                                "Malaysia",
                                "Argentina",
                                "Chile",
                                "Colombia"
                            ]
                        },
                        "default": [
                            "United States"
                        ]
                    },
                    "language": {
                        "title": "Target Language",
                        "enum": [
                            "English",
                            "Chinese (Simplified)",
                            "Chinese (Traditional)",
                            "Japanese",
                            "Korean",
                            "Hindi",
                            "Arabic",
                            "Indonesian",
                            "Vietnamese",
                            "Thai",
                            "German",
                            "French",
                            "Spanish",
                            "Portuguese",
                            "Russian",
                            "Italian",
                            "Dutch",
                            "Polish",
                            "Turkish",
                            "Hebrew"
                        ],
                        "type": "string",
                        "description": "Select the target language market. Keywords are not translated automatically.",
                        "default": "English"
                    },
                    "bid": {
                        "title": "Maximum Bid",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Maximum bid used for the forecast. Higher bids may produce higher projected traffic and cost. Default: 999.",
                        "default": 999
                    },
                    "match": {
                        "title": "Keyword Match Type",
                        "enum": [
                            "exact",
                            "phrase",
                            "broad"
                        ],
                        "type": "string",
                        "description": "Exact targets the entered keywords, phrase includes close phrase variants, and broad estimates wider related demand.",
                        "default": "exact"
                    },
                    "date_interval": {
                        "title": "Forecast Period",
                        "enum": [
                            "next_week",
                            "next_month",
                            "next_quarter"
                        ],
                        "type": "string",
                        "description": "Time period covered by estimated clicks and cost.",
                        "default": "next_month"
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
