Google Ad Transparency Scraper
Pay $25.00 for 1,000 Ads
Google Ad Transparency Scraper
Pay $25.00 for 1,000 Ads
Extract and analyze data from Google's Ads Transparency Center. Monitor advertising spending, targeting strategies, and campaign performance across all advertisers. Get detailed insights into ad creatives, impressions, and demographics.
You can access the Google Ad Transparency Scraper programmatically from your own JavaScript applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, youβll need an Apify account and your API token, found in Integrations settings in Apify Console.
1import { ApifyClient } from 'apify-client';
2
3// Initialize the ApifyClient with your Apify API token
4// Replace the '<YOUR_API_TOKEN>' with your token
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9// Prepare Actor input
10const input = {
11 "queries": [
12 "AR13129532367502835713",
13 "google.com"
14 ],
15 "fromDate": "7 days",
16 "toDate": "1 day",
17 "platforms": "5",
18 "adType": "1",
19 "targetCountries": [
20 "2840"
21 ]
22};
23
24// Run the Actor and wait for it to finish
25const run = await client.actor("xtech/google-ad-transparency-scraper").call(input);
26
27// Fetch and print Actor results from the run's dataset (if any)
28console.log('Results from dataset');
29console.log(`πΎ Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
30const { items } = await client.dataset(run.defaultDatasetId).listItems();
31items.forEach((item) => {
32 console.dir(item);
33});
34
35// π Want to learn more π? Go to β https://docs.apify.com/api/client/js/docs
Google Ads Transparency Scraper API in JavaScript
The Apify API client for JavaScript is the official library that allows you to use Google Ad Transparency Scraper API in JavaScript or TypeScript, providing convenience functions and automatic retries on errors.
Install the apify-client
npm install apify-client
Other API clients include:
Actor Metrics
21 monthly users
-
2 stars
>99% runs succeeded
Created in Dec 2024
Modified a month ago