All APIs

Google

Google Ads API

Retrieve Google Search ad results. ads_available is false when the valid search page contains no ads.

Make a request

Use your existing PrismCrawl API key and credit balance. A completed request consumes one credit, including recognized empty or unavailable results and source changes found during a valid continuation. Validation and operational errors remain uncharged. Each completed continuation request is billed separately.

POST /v1/google/ads
curl 'https://api.prismcrawl.com/v1/google/ads' \
  --request POST \
  --header 'content-type: application/json' \
  --header 'x-api-key: <PRISMCRAWL_API_KEY>' \
  --data '{
  "query": "car insurance"
}'

Supported parameters

ParameterUsage
queryRequiredText to search for on the selected service.
countryTwo-letter country or storefront code, such as us or gb.
languageProvider-supported language code, such as en.
locationLocation to search around, such as Austin, TX.
deviceDevice presentation for the source request.

desktop, mobile, tablet

htmlReturn the encoded original response rather than parsed JSON.
zero_traceDo not archive source or parsed response artifacts.
coordinatesLatitude and longitude for location targeting.
safeProvider safe-search filtering.

active, off

nfprControl automatic spelling correction (1 excludes corrected results).

0, 1

Structured results

Read items from data.content.results. The response also includes the search metadata, pagination state, and any extracted SERP features. Optional fields appear when supplied by the provider.

addresscategorycoordinatesdescriptionidlatitudelongitudenamephonepositionrankratingrating_maxrating_sourcereview_countsnippetthumbnailtitletracking_urltypeurlwebsite

SDKs and guides

The official SDKs cover this endpoint with typed parameters, automatic retries, and pagination helpers.