[Google Light Search API] Parse ads as `ads`

Open
#4,639 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
22/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Domain
api

Research direction

This roadmap repository holds no code, so the change lives in the service behind the Google Light engine. Start by comparing the two linked Playground searches for hvac repair austin on mobile, looking for the Sponsored text-ad block that the Google Search engine returns as ads. Done when the Google Light response includes ads with position, block_position (top or bottom), title, link, displayed_link, description and sitelinks, matching the documentation at google-ads.

Written by the indexing model from the issue text.

Description

type: feature

I found this block while comparing live Google and Google Light searches (validating #4588).

Google Light pages sometimes include text ads ("Sponsored", with title, displayed link, description and sitelinks). The Google Light Search API doesn't parse them. The Google Search API returns them as ads.

light-ads-hvac-repair-austin-mobile
  • In 183 live Google Light searches, 7 pages had text ads.
  • hvac repair austin (mobile, Austin) had 7 ads on one page: 4 at the top and 3 at the bottom.
  • Ads change on every request, so a Playground link won't always show them.

Expected: return ads with the same fields as the Google Search API: position, block_position (top or bottom), title, link, displayed_link, description and sitelinks.

Public links: Playground - Google Light | Playground - Google Search | Documentation

Dominant language
No language data
Stars
159
Forks
58
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from serpapi/public-roadmap

All issues in serpapi/public-roadmap

Similar issues

More Backend & API Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.