Interfejs Search Analytics API obsługuje teraz karty Discover, Wiadomości Google i wyrażenia regularne
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Poniedziałek, 25 października 2021 r.
Dane dotyczące wyszukiwarki, kart Discover i Wiadomości Google są już widoczne dla właściciel witryn, które obsługują tego typu ruch, w raportach skuteczności w Google Search Console. Odkąd udostępniliśmy raporty skuteczności dotyczące kart Discover i Wiadomości Google, otrzymujemy od użytkowników prośby o dodanie tych statystyk do interfejsu Search Analytics API.
Z przyjemnością informujemy, że właśnie to zrobiliśmy.
Parametr searchType, który wcześniej umożliwiał filtrowanie wywołań interfejsu API według news, video, image i web, teraz będzie miał nazwę type i będzie obsługiwał 2 dodatkowe parametry: discover (w przypadku Google Discover) i googleNews (w przypadku Wiadomości Google). Choć zmieniliśmy nazwę parametru na type, nadal obsługujemy starą nazwę (searchType).
Niektóre dane i wymiary w raportach skuteczności w Search Console są zgodne tylko z niektórymi typami danych. Na przykład raport dotyczący Google Discover nie obsługuje zapytań ani pozycji. Podobnie w przypadku żądania nieobsługiwanego wymiaru interfejs API zwraca komunikat o błędzie.
Oprócz tego dodajemy obsługę wyrażeń regularnych do wymiarów zapytania i strony.
Do istniejących operacji dopasowania dodamy 2 nowe operatory: includingRegex i excludingRegex.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],[],[[["\u003cp\u003eGoogle Search Console's Search Analytics API now includes data for Discover and Google News, alongside existing Search data.\u003c/p\u003e\n"],["\u003cp\u003eThe API's \u003ccode\u003esearchType\u003c/code\u003e parameter is renamed to \u003ccode\u003etype\u003c/code\u003e and supports new values \u003ccode\u003ediscover\u003c/code\u003e and \u003ccode\u003egoogleNews\u003c/code\u003e for filtering data.\u003c/p\u003e\n"],["\u003cp\u003eUnsupported dimensions with certain data types will result in error messages from the API, aligning with the Search Console Performance reports' behavior.\u003c/p\u003e\n"],["\u003cp\u003eRegex support is added to the API's query and page dimensions with new operators \u003ccode\u003eincludingRegex\u003c/code\u003e and \u003ccode\u003eexcludingRegex\u003c/code\u003e for enhanced filtering.\u003c/p\u003e\n"]]],["Google Search Console's API now includes data for Google Discover and Google News, accessible via new `discover` and `googleNews` parameters within the renamed `type` parameter (formerly `searchType`). The API will return an error if unsupported dimensions are requested. Regex support has been added to query and page dimensions, with `includingRegex` and `excludingRegex` operators. Users can learn more through documentation and the Search Central community.\n"],null,[]]