Google Ads Local Results API
When a Google search contains sponsored results near the specified area, they are parsed and exist within the local_ads object in the JSON output. Results can contain title, link and ads. Individual ads blocks can contain title, rating, service_area, hours, phone and more.
To access the full list of local ads you can use our Google Local Services API.
The API endpoint is https://serpapi.com/search?engine=google_ads
Head to the playground for a live and interactive demo.
API Examples
Results for: plumber near
{
...
"local_ads": {
"title": "Sponsored Plumbers | Austin",
"see_more_text": "More plumbers",
"link": "https://www.google.com/localservices/prolist...",
"ads": [
{
"position": 1,
"title": "Radiant Plumbing & Air Conditioning - Austin",
"link": "https://www.google.com/localservices/prolist...",
"rating": 4.8,
"rating_count": 17000,
"type": "Plumbers",
"service_area": "Serves Austin",
"hours": "Open 24 hours",
"years_in_business": "27+ years in business",
"phone": "+15129671551",
"thumbnail": "https://serpapi.com/searches/6a15db0e37979afbd22ca03c/images/bQJZ6HjSQhyUVwuGGkmjT07sblRjqwtDPpWm8tpx3mU.gif",
"highlighted_details": [
"24/7 emergency services",
"Local business"
]
},
{
"position": 2,
"title": "Strand Brothers Service Experts Plumbing",
"link": "https://www.google.com/localservices/prolist....",
"rating": 4.8,
"rating_count": 7500,
"type": "Plumbers",
"service_area": "Serves Austin",
"hours": "Open 24 hours",
"years_in_business": "47+ years in business",
"phone": "+15126074597",
"thumbnail": "https://serpapi.com/searches/6a15db0e37979afbd22ca03c/images/WlXmkxIt1qW_hBdjhRiap9mmrz--LcgieKLQm5_UAcg.gif",
"highlighted_details": [
"BBB Accredited A+ rated",
"24/7 emergency services"
]
},
{
"position": 3,
"title": "Fox Service Company - Plumbing",
"link": "https://www.google.com/localservices/prolist....",
"rating": 4.8,
"rating_count": 5200,
"type": "Plumbers",
"service_area": "Serves Austin",
"hours": "Open 24 hours",
"years_in_business": "56+ years in business",
"phone": "+15125181010",
"thumbnail": "https://serpapi.com/searches/6a15db0e37979afbd22ca03c/images/leHqCD9W9S3swKptCL2aW0zDKAXTjI2Jz2YenxYw4-U.gif",
"highlighted_details": [
"BBB Accredited A+ rated",
"24/7 emergency services"
]
}
]
},
...
}
JSON structure overview
{
...
"local_ads": {
"title": "String - Title of Local Ads section",
"see_more_text": "String - Text on link to see more results",
"link": "String - URL to see more results",
"ads": [
{
"position": "Integer - Position of the ad",
"title": "String - Title on the ad",
"link": "String - URL to see more details about the ad",
"rating": "Integer - Rating of the service being advertised on the ad",
"rating_count": "Integer - Number of ratings given to the service being advertised on the ad",
"type": "String - Type of service advertised on the ad",
"service_area": "String - Area where service advertised cover",
"hours": "String - Text describing when service advertised on the ad is available",
"years_in_business": "String - Information about how many years service provider has been operational",
"phone": "String - Phone number of service provider on the ad",
"thumbnail": "String - URL to the thumbnail image",
"highlighted_details": [
"String - Detail about the service provider highlighted on the ad"
],
}
],
}
...
}