urlTestingTools

POST /v1/urlTestingTools/mobileFriendlyTest:run

Changed on

Runs Mobile-Friendly Test for a given URL.

Request

  • Base URL
    https://searchconsole.googleapis.com
  • Auth
    none declared

Query parameters

$.xgafv, '1' | '2'

V1 error format.

access_token, string

OAuth access token.

alt, 'json' | 'media' | 'proto'

Data format for response.

callback, string

JSONP

fields, string

Selector specifying which fields to include in a partial response.

key, string

API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

oauth_token, string

OAuth 2.0 token for the current user.

prettyPrint, boolean

Returns response with indentations and line breaks.

quotaUser, string

Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

uploadType, string

Legacy upload protocol for media (e.g. "media", "multipart").

upload_protocol, string

Upload protocol for media (e.g. "raw", "multipart").

Request body

RunMobileFriendlyTestRequest required

Mobile-friendly test request.

requestScreenshot, boolean

Whether or not screenshot is requested. Default is false.

url, string

URL for inspection.

Response

Successful response

RunMobileFriendlyTestResponse required

Mobile-friendly test response, including mobile-friendly issues and resource issues.

mobileFriendliness, 'MOBILE_FRIENDLY_TEST_RESULT_UNSPECIFIED' | 'MOBILE_FRIENDLY' | 'NOT_MOBILE_FRIENDLY'

Test verdict, whether the page is mobile friendly or not.

mobileFriendlyIssues, MobileFriendlyIssue[]

List of mobile-usability issues.

resourceIssues, ResourceIssue[]

Information about embedded resources issues.

screenshot, Image

Describe image data.

testStatus, TestStatus

Final state of the test, including error details if necessary.

Changes

    • breaking

      removed the request body

    • breaking

      removed the media type */* for the response with the status