Yahoo! Ad Results API

When a Yahoo! search contains advertisements, they are parsed and exist within the ads_results array in the JSON output. Advertisements can optionally contain button and site links (inline or expanded site links).

API Examples

Ads results overview

When SerpApi encounters ads results, we add them to our JSON output as the array ads_results. For each ads result, we are able to extract its position, title, link, displayed_link, snippet.

Ads results overview

JSON Example

{
  ...
  "ads_results": [
    {
      "position": 8,
      "block_position": "bottom",
      "title": "Personalized Coffee Mugs & Tea Cups at Things Remembered",
      "link": "https://www.bing.com/aclick?ld=e3A3L8cH6D8PkUSc66KOWgLzVUCUxGy5KH2BeX8gKxpcGa8XZHxn4srmsFugIKQqrLCsY4Fs8EY0et5ucbdU4zr1M6-LshfxxIIJkFOJAYuMYJCKVsQmIWdNwmd9uLYefuqrQDz0K6xtkeL06IhQIb04pIbQ4I5fKTM6JnWVku-nIW-V05&u=aHR0cHMlM2ElMmYlMmYxMTMueGc0a2VuLmNvbSUyZnRyayUyZnYxJTNmcHJvZiUzZDczMyUyNmNhbXAlM2Q3ODI5MzYlMjZrY3QlM2Rtc24lMjZrY2hpZCUzZDE1MDMzNDU4MSUyNmNyaXRlcmlhaWQlM2RkYXQtMjMzNDgxMjk0MTYwODQwMSUzYWxvYy05MCUyNmNhbXBhaWduaWQlM2QzNTk3Nzk4MzElMjZsb2NwaHklM2QxNjYzJTI2YWRncm91cGlkJTNkMTMyODIxMDk4MDgyODA0NiUyNmNpZCUzZDgzMDEzMzM1MzczOTM5JTI2a2R2JTNkYyUyNmtleHQlM2QlMjZrcGclM2QlMjZrcGlkJTNkJTI2cXVlcnlTdHIlM2Rjb2ZmZWUlMjUyMG11ZyUyNnVybCUzZGh0dHBzJTNhJTJmJTJmd3d3LnRoaW5nc3JlbWVtYmVyZWQuY29tJTJmcGVyc29uYWxpemVkLWNvZmZlZS1tdWdzLXRlYS1jdXBzJTJmY2F0ZWdvcnklMmZjb2ZmZWUtbXVncy10ZWEtY3VwcyUzZnJtc3JjJTNkMSUyNmZjcmVmJTNkYmluZ3Nob3Bfbm9uJTI2cm1hdHQlM2R0c2lkJTNhMTA5MjU3MyU3Y2NpZCUzYTM1OTc3OTgzMSU3Y2FnaWQlM2ExMzI4MjEwOTgwODI4MDQ2JTdjdGlkJTNhZGF0LTIzMzQ4MTI5NDE2MDg0MDElM2Fsb2MtOTAlN2NwcmQlM2ElN2NjcmlkJTNhODMwMTMzMzUzNzM5MzklN2NudyUzYXNlYXJjaCU3Y2R2YyUzYWMlN2NzdCUzYWNvZmZlZSUyNTIwbXVnJTdjbXQlM2FiYiUyNm1zY2xraWQlM2Q1MWY2NTg1YTFmNWMxZWY1Y2Q4ZTA1OGYwMTE4NTE4Yg&rlid=51f6585a1f5c1ef5cd8e058f0118518b",
      "displayed_link": "thingsremembered.com/Official/BOGO",
      "snippet": "thingsremembered.com has been visited by 10K+ users in the past month. Wonder is Personal. Bring Holiday Magic with Personalized Gifts & Home Décor. Shop Our Limited Time Sale and BOGO 75% Off Custom Gifts Today! Personalization Experts · Timeless Gifts For All"
    }
  ]
  ...
}