Ad Results

When a google search contains ads, they will be automatically parsed and displayed in the ads array inside the response.

Ad Results JSON
{
                ...
                'ads': [
                    {
                        'position': 'Integer - The position of the ad',
                        'block_position': 'String - Position of the ad. Can be top or bottom',
                        'title': 'String - The title of the ad',
                        'displayed_link': 'String - The displayed link in the results',
                        'description': 'String - Description of the ad',
                        'tracking_link': 'String - The tracking link from google ads',
                        'link': 'String - Link to the ad'
                    },
                ],
                ...
}
Ad Results examples

Ad Results For q:"Laptops"

Ad Results example
GET external-link
https://serpapi.webscrapingapi.com/v1?engine=google&api_key=YOUR_API_KEY&q=laptops
Code to integrate
external-link
Response Example external-link
{
    ...
    "ads": [
        {
        "position": 1,
        "block_position": "top",
        "title": "Powerful & Affordable Laptops - Shop Dell Laptops",
        "displayed_link": "https://www.dell.com/",
        "description": "Love Your Tech Without Worrying About Price w/ Dell Price Match Guarantee + Free Shipping! Shop the Latest Dell Laptops for Home & Work w/ Powerful 10th Gen Intel Core...",
        "extensions": [
            "‎Featured Laptop Deals · ‎XPS 13 · ‎Alienware Laptops · ‎Dell Business Laptops"
        ],
        "sitelinks": [
            {
            "link": "https://www.google.com/aclk?sa=l&ai=DChcSEwjp8OnD_pnyAhXeDq0GHfUPBjYYABA3GgJwdg&ae=2&sig=AOD64_2uh5bRcEOVr6QS6r9rYkC-H4N4Vw&q=&ved=2ahUKEwi75d_D_pnyAhWHZs0KHVbnDOcQpigoAHoECAMQEQ&adurl=",
            "title": "Featured Laptop Deals"
            },
            {
            "link": "https://www.google.com/aclk?sa=l&ai=DChcSEwjp8OnD_pnyAhXeDq0GHfUPBjYYABA4GgJwdg&ae=2&sig=AOD64_0N1J_IhdCkxnOZKzO1cgLNFw19ng&q=&ved=2ahUKEwi75d_D_pnyAhWHZs0KHVbnDOcQpigoAXoECAMQEg&adurl=",
            "title": "XPS 13"
            },
            {
            "link": "https://www.google.com/aclk?sa=l&ai=DChcSEwjp8OnD_pnyAhXeDq0GHfUPBjYYABA5GgJwdg&ae=2&sig=AOD64_2PHZj9VDgTfM4CcxBt3n3wMhlxHw&q=&ved=2ahUKEwi75d_D_pnyAhWHZs0KHVbnDOcQpigoAnoECAMQEw&adurl=",
            "title": "Alienware Laptops"
            },
            {
            "link": "https://www.google.com/aclk?sa=l&ai=DChcSEwjp8OnD_pnyAhXeDq0GHfUPBjYYABA6GgJwdg&ae=2&sig=AOD64_1U1UXlqUJlk8Slirvgce2MoEaW6w&q=&ved=2ahUKEwi75d_D_pnyAhWHZs0KHVbnDOcQpigoA3oECAMQFA&adurl=",
            "title": "Dell Business Laptops"
            }
        ],
        "tracking_link": "https://www.google.com/aclk?sa=l&ai=DChcSEwjp8OnD_pnyAhXeDq0GHfUPBjYYABAzGgJwdg&ae=2&sig=AOD64_3FScjZb3xYRvYuHjosl8cZv8gFjw&q&adurl",
        "link": "https://www.dell.com/en-us/cp/paid-search-splitter"
        },
        {
        "position": 2,
        "block_position": "top",
        "title": "Samsung Galaxy Book Pro/360 - With Windows 10 OS",
        "displayed_link": "https://www.samsung.com/",
        "description": "Buy Now & Do More On A Familiar Operating System With The Programs And Tools You Love.",
        "tracking_link": "https://www.google.com/aclk?sa=l&ai=DChcSEwjp8OnD_pnyAhXeDq0GHfUPBjYYABA0GgJwdg&ae=2&sig=AOD64_1b6j8dsyDd3-fRhIaVlQmzBFVH4g&q&adurl",
        "link": "https://www.samsung.com/us/computing/galaxy-book-pro-360/"
        }
    ],
    ...
}