Find Google Search ads
litescrape.google.serp.adsReturns the Google results page for a query at a named location, including the ads, local_ads, and shopping_results groups when Google serves them
- Price
- $0.00015/success제공업체 원가
- Success rate
- 76.5%Last 30 days · 2,446 calls
- Latency p50
- 4.3 sp95 39 s
- Last verified
- 2026. 9. 29.Verified working
GEThttps://toolswitch.dev/v1/tools/litescrape.google.serp.ads?q=running+shoes&location=Austin%2C+Texas%2C+United+StatesPreview- Uses platform quota
- Synchronous response
- Reads public data
파라미터
| 파라미터 | 유형 | 필수 | 설명 | 예시 |
|---|---|---|---|---|
| 쿼리 파라미터 | ||||
q | 문자열 | 필수 | Google Ads query, up to 2,048 characters with no control characters. | coffee maker |
hl | 문자열 | 선택 | Google interface and result language, such as en, en-US, or de. Defaults to en. | en |
nfpr | 문자열 | 선택 | Set 1 to disable Google spelling auto-correction, or 0 to allow it. | |
safe | 문자열 | 선택 | Google adult-content filtering: active or off. | |
device | 문자열 | 선택 | Google returns its real layout for the selected device: desktop, tablet, or mobile. | desktop |
timeout | 숫자 | 선택 | Optional budget for the entire request in seconds, measured from gateway receipt until the response is ready to send. Includes admission, queueing and settlement. Must be greater than 0 and at most 90. On expiry, the call is not billed and returns 503 request_deadline_exceeded with retryable=true and a request ID. Omit to retain the standard server deadline. | |
location | 문자열 | 필수 | Named location to search from, up to 512 characters and at most 63 bytes once URL-encoded. | Austin, Texas, United States |
- 쿼리 파라미터
q문자열필수Google Ads query, up to 2,048 characters with no control characters.
예시:
coffee makerhl문자열선택Google interface and result language, such as en, en-US, or de. Defaults to en.
예시:
ennfpr문자열선택Set 1 to disable Google spelling auto-correction, or 0 to allow it.
safe문자열선택Google adult-content filtering: active or off.
device문자열선택Google returns its real layout for the selected device: desktop, tablet, or mobile.
예시:
desktoptimeout숫자선택Optional budget for the entire request in seconds, measured from gateway receipt until the response is ready to send. Includes admission, queueing and settlement. Must be greater than 0 and at most 90. On expiry, the call is not billed and returns 503 request_deadline_exceeded with retryable=true and a request ID. Omit to retain the standard server deadline.
location문자열필수Named location to search from, up to 512 characters and at most 63 bytes once URL-encoded.
예시:
Austin, Texas, United States
코드 예제
$TOOLSWITCH_KEY를 콘솔에서 생성한 키로 바꾸세요.
curl -X GET 'https://toolswitch.dev/v1/tools/litescrape.google.serp.ads?q=running+shoes&location=Austin%2C+Texas%2C+United+States' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/litescrape.google.serp.ads?q=running+shoes&location=Austin%2C+Texas%2C+United+States",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/litescrape.google.serp.ads?q=running+shoes&location=Austin%2C+Texas%2C+United+States", {
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.00015/success이며 서비스 수수료가 포함되어 있습니다.