Targetads Scraper
Spider read targetads.io in 860 ms without a browser and returned 259 lines of clean markdown.
Fraud Reports API предоставляет детальные данные о событиях с маркерами недействительного трафика (GIVT — General Invalid Traffic). API позволяет получить сырые данные по каждому событию с детализацией причин GIVT.`POST https://api.targetads.io/v1/reports/fraud_reports?project_id={project_id}`MediaCampaignId;array;Нет;ID кампаний;20MediaPlacementId;array;Нет;ID плейсментов;20SysName;string;Тип события (Impression, Click)MediaPlacementId;string;ID плейсментаDeviceType;string;Тип устройства (mobile, desktop, tablet)UserAgent;string;User AgentInteractionDeviceID; string;ID устройстваSSP;string;Supply-Side PlatformGivtReasonDataCentre;string;Трафик из дата-центра (true/false)GivtReasonUnknownDevice;string;Неизвестное устройство (true/false)GivtReasonCrawler;string;Поисковый бот/краулер (true/false)GivtReasonBehavior;string;Подозрительное поведение (true/false)GivtReasonSuspiciousActivity;string;Подозрительная активность (true/false)`curl -X POST "https://api.targetads.io/v1/reports/fraud_reports?project_id=11111" \-H "Authorization: Bearer YOUR_TOKEN" \-H "Content-Type: application/json" \"GivtReasonSuspiciousActivity"`curl -X POST "https://api.targetads.io/v1/reports/fraud_reports?project_id=12486" \"MediaCampaignId": [12345, 12346]"EventDateTime": "2024-01-15 14:23:45","GivtReasonDataCentre": "true","GivtReasonUnknownDevice": "false","GivtReasonSuspiciousActivity": "false""EventDateTime": "2024-01-15 14:24:12","GivtReasonDataCentre": "false","ErrorMessage": "validate error",Для получения агрегированных метрик GIVT и SIVT используйте Aggregated Data API (`/v1/reports/agg_report`). В агрегированном отчёте доступны метрики `GIVT`, `SIVT`, `PartOfGIVT`.! Важно: В Aggregated Data API метрика SIVT не может использоваться совместно с кастомными полями (Country, City, HybridCustom, HybridId), т.к. эти поля переключают запрос на таблицу `events`, где SIVT недоступен. The same call, in code.
The capture above came back as markdown. These examples add a key, so you get browser rendering, proxies, and concurrency on targetads.io.
import { SpiderBrowser } from "spider-browser";
const spider = new SpiderBrowser({
apiKey: process.env.SPIDER_API_KEY!,
});
await spider.connect();
const page = spider.page!;
await page.goto("https://targetads.io");
// No selectors, no schema. Spider reads the page and names the fields.
const data = await page.scrape();
console.log(data);
await spider.close(); import { Spider } from "@spider-cloud/spider-client";
const spider = new Spider({ apiKey: process.env.SPIDER_API_KEY! });
const result = await spider.scrapeUrl("https://www.targetads.io", {
return_format: "markdown",
});
console.log(result); Ready for volume? Get an API key →
Fields you can pull.
Spider names these from the page. The capture above came back as markdown; the same
call with return_format: "json" returns them as keys.
What targetads.io costs to scrape.
The capture above cost $0.000084 to fetch. Pricing is $1 per GB of pre-transformation bandwidth plus $0.001 per CPU minute, so a page like this one lands at a fraction of a cent. Failed requests are billed at $0.
- Free balance on signup
- No card required to test
- Balance never expires
Run it keyless, no account
More AI & Developer scrapers.
ChatGPT Scraper
Extract shared ChatGPT conversations, prompts, and AI-generated content from public links.
Hugging Face Scraper
Extract ML model cards, dataset info, leaderboard data, and paper metadata from Hugging Face.
GitHub Scraper
Extract trending repositories, star counts, contributor data, and code snippets from GitHub.
Start scraping targetads.io.
You already have the call. A key raises the rate limit and turns on browser rendering, proxies, and concurrency. Balance never expires, and top-ups go through secure checkout.