Google Ads history by domain — ad copy and keywords
spyfu.google.domain.ad_historyGoogle Ads a domain has run over time, with ad copy and the keywords it ran against
- Price
- $0.003/result제공업체 원가
- Success rate
- 100%Last 30 days · 1,949 calls
- Latency p50
- 198 msp95 2.6 s
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/spyfu.google.domain.ad_historyPreview- Uses platform quota
- Synchronous response
- Reads public data
파라미터
The path segment is `cloud_ad_history_api`, NOT `ad_history_api` — the reference slug and the URL disagree. Siblings in the same family: getDomainAdHistoryByDate, getTermAdHistory, getTermAdHistoryWithStats. For the ads a domain is running RIGHT NOW rather than historically, use `/apis/serp_api/v2/ppc/getPaidSerps` (`query` required), which is on the $2.00 PPC CPM.
| 파라미터 | 유형 | 필수 | 설명 | 예시 |
|---|---|---|---|---|
| 쿼리 파라미터 | ||||
domain | 문자열 | 필수 | the advertiser's root domain | spyfu.com |
sortBy | 문자열 | 선택 | Best (default) | Worst | KeywordAsc | KeywordDesc | SearchDateId | |
pageSize | 정수 | 선택 | COST DIAL — 1 to 10,000, DEFAULT 5. This is the most expensive family in the file at $3.00 per 1,000 rows | 10 |
countryCode | 문자열 | 선택 | default US | US |
startingRow | 정수 | 선택 | 1-based; default 1 | |
keywordFilter | 문자열 | 선택 | restrict to ads that ran on keywords matching this | |
- 쿼리 파라미터
domain문자열필수the advertiser's root domain
예시:
spyfu.comsortBy문자열선택Best (default) | Worst | KeywordAsc | KeywordDesc | SearchDateId
pageSize정수선택COST DIAL — 1 to 10,000, DEFAULT 5. This is the most expensive family in the file at $3.00 per 1,000 rows
예시:
10countryCode문자열선택default US
예시:
USstartingRow정수선택1-based; default 1
keywordFilter문자열선택restrict to ads that ran on keywords matching this
코드 예제
$TOOLSWITCH_KEY를 콘솔에서 생성한 키로 바꾸세요.
curl -X GET 'https://toolswitch.dev/v1/tools/spyfu.google.domain.ad_history' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/spyfu.google.domain.ad_history",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/spyfu.google.domain.ad_history", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());게이트웨이 API는 미리보기 버전이며 URL과 인증 방식이 변경될 수 있습니다. 예제 매개변수는 샘플 데이터입니다. 호출 요금은 $0.003/result이며 서비스 수수료가 포함되어 있습니다.