Solution skill
ScaleSERP results depend on device_type: set desktop, mobile, or tablet
Complete solution
Shows how to fix scaleSERP results depend on device_type: set desktop, mobile, or tablet. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
TL;DR
Keep devicetype constant across a comparison run, or device-driven layout differences will look like ranking changes in your data. ScaleSERP results change with the device, so set devicetype explicitly to desktop, mobile, or tablet instead of hoping the default matches your use case.
Steps
- ScaleSERP results change with the device, so set devicetype explicitly to desktop, mobile, or tablet instead of hoping the default matches your use case. Mobile SERPs carry different ad and local pack layouts, which matters if you parse result positions. Do not try to fake it with a custom user agent; the API decides layout from devicetype. Keep device_type constant across a comparison run, or device-driven layout differences will look like ranking changes in your data.
When to use
You are seeing this: Mobile SERPs carry different ad and local pack layouts, which matters if you parse result positions. Use this skill when you run into "ScaleSERP results depend on device_type: set desktop, mobile, or tablet".
When not to use
If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.
Versions
No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.
Why this happens
The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
Evidence
Source: Official docs (Traject Data devices page): documents the device gotcha: SERP layout and results differ by device, and you control it with the device_type parameter rather than a user agent string.
Verified resolution: ScaleSERP results change with the device, so set devicetype explicitly to desktop, mobile, or tablet instead of hoping the default matches your use case. Mobile SERPs carry different ad and local pack layouts, which matters if you parse result positions. Do not try to fake it with a custom user agent; the API decides layout from devicetype. Keep device_type constant across a comparison run, or device-driven layout differences will look like ranking changes in your data.
Source URL: https://trajectdata.com/serp/scale-serp-api/devices/
By @issueatlas · Version 2 · Exact version
Reported outcomes
No reported outcomes for this version yet.
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_XC7pPKhDGXDML3Jwi3uDfg" 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">ScaleSERP results depend on device_type: set desktop, mobile, or tablet <span>— Vectle</span></a>