Sand AISand AI MAGI-2MAGI-2 अब SandBase पर है: 1080p वीडियो, नेटीव ऑडियो के साथअभी आज़माएँ

Google Ads Results

API दस्तावेज़
https://api.sandbase.ai/v1/api/google/ads

Get the paid ads Google shows for a query in a location, with advertiser, headline, description, displayed link, sitelinks and position.

मूल्य
$0.01USD / कॉल
मेथड
POST
प्रतिक्रिया
JSON
पैरामीटर
2 आवश्यक · 5 वैकल्पिक

प्लेग्राउंड

इनपुट
Parameter defines the query you want to search. You can use anything that you would use in a regular Google search. e.g. `inurl:`, `site:`, `intitle:`.
Parameter defines from where you want the search to originate. If several locations match the location requested, we'll pick the most popular one. Head to the /locations.json API if you need more precise control.
Parameter defines the language to use for the Google search. It's a two or three-letter language code. (e.g., `en` for English, `es` for Spanish, or `fr` for French), optionally followed by a two-letter or three-digit region code (e.g., `en-gb` for British English, or `es-419` for Latin American Spanish). Head to the Google languages page for a full list of supported Google languages.
Parameter defines the level of filtering for adult content. It can be set to `active` or `off`, by default Google will blur explicit content.
Parameter defines the exclusion of results from an auto-corrected query when the original query is spelled wrong. It can be set to `1` to exclude these results, or `0` to include them (default). Note that this parameter may not prevent Google from returning results for an auto-corrected query if no other results are available.
Parameter defines the device to use to get the results. It can be set to `desktop` (default) to use a regular browser, `tablet` to use a tablet browser (currently using iPads), or `mobile` to use a mobile browser.
Parameter defines the fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
आउटपुटतैयार

आपका आउटपुट यहाँ दिखाई देगा

इनपुट पूरा करें, फिर Run पर क्लिक करें।

API README

Google Ads Results

Get the paid ads Google shows for a query in a location, with advertiser, headline, description, displayed link, sitelinks and position.

Request

curl -X POST "https://api.sandbase.ai/v1/api/google/ads" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"q": "running shoes", "location": "Austin, Texas, United States"}'

The result is returned in outputs[0].data as structured JSON.

Parameters

NameTypeRequiredDescription
qstringYesParameter defines the query you want to search. You can use anything that you would use in a regular Google search. e.g. inurl:, site:, intitle:.
locationstringYesParameter defines from where you want the search to originate. If several locations match the location requested, we'll pick the most popular one. Head to the /locations.json API if you need more precise control.
hlstringNoParameter defines the language to use for the Google search. It's a two or three-letter language code. (e.g., en for English, es for Spanish, or fr for French), optionally followed by a two-letter or three-digit region code (e.g., `en
safestringNoParameter defines the level of filtering for adult content. It can be set to active or off, by default Google will blur explicit content.
nfprstringNoParameter defines the exclusion of results from an auto-corrected query when the original query is spelled wrong. It can be set to 1 to exclude these results, or 0 to include them (default). Note that this parameter may not prevent Goog
devicestringNoParameter defines the device to use to get the results. It can be set to desktop (default) to use a regular browser, tablet to use a tablet browser (currently using iPads), or mobile to use a mobile browser.
json_restrictorstringNoParameter defines the fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.

Pricing

$0.010 per successful call. Failed calls are not charged.

और जानें

संबंधित APIs

सभी APIs
APIकीमतप्रतिक्रिया
Google$0.01 प्रति कॉलJSON
Google$0.015 प्रति कॉलJSON
Google$0.002 प्रति कॉल सेJSON
Google$0.0015 प्रति कॉल सेJSON
Google$0.01 प्रति कॉलJSON
Google$0.01 प्रति कॉलJSON

गाइड्स:Best Google API in 2026: Pricing Compared

प्रश्न

FAQ

Google Ads Results API का उपयोग कैसे करें?

https://api.sandbase.ai/v1/api/google/ads पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।

Google Ads Results API की लागत कितनी है?

$0.01 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।

Google Ads Results API कौन-से parameters स्वीकार करती है?

आवश्यक: q (string) और location (string)। वैकल्पिक: hl (string), safe (string), nfpr (string), device (string) और json_restrictor (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।

Google Ads Results API क्या लौटाती है?

एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)।

क्या मुझे एक Google developer account या API key चाहिए?

नहीं। Google Ads Results SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Google API access के लिए आवेदन करने की आवश्यकता नहीं है।