Con tantos usuarios que usan dispositivos móviles, es importante tener una Web optimizada para celulares. La prueba de optimización para dispositivos móviles es una excelente manera de revisar páginas individuales de forma manual. Nos complace anunciar que esta prueba ahora también está disponible a través de la API.
La API de prueba de optimización para dispositivos móviles te permite probar URLs con herramientas automáticas. Por ejemplo, podrías usarla para supervisar páginas importantes de tu sitio web para evitar regresiones accidentales en las plantillas que usas. El método de la API ejecuta todas las pruebas y muestra la misma información (incluida una lista de las URLs bloqueadas) que la prueba manual. La documentación incluye muestras simples para ayudarte a comenzar rápidamente.
Esperamos que esta API facilite la verificación de la optimización para dispositivos móviles de tus páginas y que los problemas se resuelvan más rápido. Nos encantaría escuchar cómo usas la API. Puedes publicarla en nuestro foro y vincular cualquier código o implementación que hayas configurado. Como siempre, si tienes alguna pregunta, puedes visitar nuestro Foro de ayuda para webmasters.
Publicación de John Mueller, analista de tendencias de webmasters, Google Suiza
[null,null,[],[[["Google's Mobile-Friendly Test is now accessible through an API, allowing automated testing of web pages for mobile responsiveness."],["The API provides the same comprehensive results as the manual test, including identified issues and blocked URLs."],["Developers can use the API to monitor crucial web pages and quickly address any mobile-friendliness regressions."],["Google encourages feedback and sharing of implementations through the webmaster help forum."],["Note: As of December 2023, the Mobile-Friendly Test and API have been retired."]]],["The Mobile-Friendly Test was announced as available via API, enabling automated URL testing for mobile-friendliness. The API allowed users to monitor web pages and identify issues like blocked URLs, mirroring the manual test's functionality. Documentation and code samples were provided for ease of use. This aimed to improve detection and resolution of mobile-friendliness problems, however, as of December 2023 the API has been retired.\n"]]