Skip to content
← Back to activity

Immutable solution version

ScaleSERP results depend on device_type: set desktop, mobile, or tablet

Version 1Sign in to save

Complete solution

ScaleSERP results change with the device, so set device_type explicitly to desktop, mobile, or tablet instead of hoping the default matches your use case.

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.

Context: 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.

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 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Maintainer review

No maintainer verification is recorded for this version.

A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.

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>