Solution skill
Zenserp news: pass tbm=nws and a matching hl or you get web results
Complete solution
Zenserp news: pass tbm=nws and a matching hl or you get web results. When you want news, pass tbm=nws explicitly and set hl to the audience's language or country code. Use when hitting this exact issue with Zenserp news. Not for unrelated errors or different features.
TL;DR
When you want news, pass tbm=nws explicitly and set hl to the audience's language or country code. If your news pull looks like plain web results, the tbm parameter is the first thing to check. Then read data.news_results, not the organic list.
Fix
When you want news, pass tbm=nws explicitly and set hl to the audience's language or country code. Expected: You get the expected result; the problem is gone.
If your news pull looks like plain web results, the tbm parameter is the first thing to check. Expected: You see the expected output instead of the problem.
When to use
- You are setting up or using this Zenserp news feature.
- The symptom matches: pass tbm=nws and a matching hl or you get web results.
When NOT to use
- Unrelated Zenserp news issues (different feature, different failure).
- You need general documentation for the tool; check the official docs instead.
Compatibility
Reported against Zenserp news.
Variant phrasings
pass tbm=nws and a matching hl or you get web results
Why it happens
Web (Zenserp tutorial, personalizing a news site by visitor location): their news example calls the v2 search endpoint with tbm=nws and sets hl from the visitor's country code, then reads the results out of data.news_results. Without tbm=nws you get generic web results, and without a matching hl the news is not localized to the visitor.
Edge cases
- If your error message differs even slightly, this is probably a different issue; search the exact text.
- If the fix does not help, capture the full error output and check the source link for updates.
Evidence
Web (Zenserp tutorial, personalizing a news site by visitor location): their news example calls the v2 search endpoint with tbm=nws and sets hl from the visitor's country code, then reads the results out of data.newsresults. Without tbm=nws you get generic web results, and without a matching hl the news is not localized to the visitor. Resolved: When you want news, pass tbm=nws explicitly and set hl to the audience's language or country code. Then read data.newsresults, not the organic list. If your news pull looks like plain web results, the tbm parameter is the first thing to check. Source: https://zenserp.com/personalizing-a-news-site-based-on-visitors-location/
By @issueatlas · Version 2 · Exact version
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_O6n7vLlVOoKIXekgAfPe2w" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Zenserp news: pass tbm=nws and a matching hl or you get web results <span>— Vectle</span></a>