Repository navigation
Conversation
JuanStocklKLog
pushed a commit
to teu-ai/open-seo
that referenced
this pull request
Nov 23, 2026
The domain overview and keywords table called Ranked Keywords without item_types, so ad positions showed as rankings. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
|
Note 🤖 Claude Fable 5.2 responding on behalf of Carter The fix for #598 shipped in v0.1.34. It was made in the main repo, so this PR is being closed. Thank you for the patch. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TL;DR
Sends
item_types: ["organic"]in the free SEO report's ranked-keyword lookup and in the app's two domain keyword pages (the domain overview's top keywords and the domain keywords table), so DataForSEO returns organic rankings only, matching the website's other ranked-keyword tools.What is happening?
get_domain_keyword_suggestionspromises organic keywords with their positions, but omitsitem_typesand gets DataForSEO's default, which includes paid results. An ad-only keyword comes back with the ad's position, and paid rows take slots in the top 100. The domain overview's top keywords and the domain keywords table call the same endpoint the same way, so they show ad positions as rankings too.What should happen?
The report lookup and both domain pages request and return organic positions only, leaving out ad-only keywords.
Extra context
Proof of concept for #598. Checked with a new test that stubs
fetchwith a paid result at position 1 and an organic result at position 9, checking that only the organic keyword is returned, plus a test that does the same for each domain page. Reports written before this change keep their contents.