Konfigurowanie uwierzytelniania API w Merchant Center
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Za pomocą Content API można było skonfigurować uwierzytelnianie API za pomocą Merchant Center. Chociaż usunęliśmy tę funkcję, Twoje dotychczasowe klucze pozostają ważne.
Możesz nadal z nich korzystać.
Co warto wiedzieć
Nie musisz podejmować żadnych działań.
Twój dostęp do interfejsu API nie ulegnie zmianie.
Aby włączyć interfejs Merchant API w projekcie Google Cloud, musisz mieć rolę Administrator (roles/admin). Jeśli masz odpowiednie uprawnienia, wykonaj te czynności:
Wybierz odpowiedni projekt Google Cloud. Jeśli nie możesz znaleźć projektu, oznacza to, że nie masz do niego dostępu. Musisz utworzyć inny projekt Google Cloud.
Instrukcje znajdziesz w artykule Autoryzowanie dostępu do konta.
Jeśli masz dostęp, na pasku wyszukiwania wpisz „Merchant API”.
Na wyświetlonej liście wybierz Merchant API.
Na ekranie Szczegóły produktu w usłudze Merchant API kliknij Włącz.
[[["Ł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"]],["Ostatnia aktualizacja: 2025-07-25 UTC."],[],[],null,["# Configure API authentication from Merchant Center\n\nWith Content API, it was possible to set up API authentication using Merchant\nCenter. While we have removed this capability, your existing keys remain valid.\nYou can continue to use them.\n\nImportant things to know\n------------------------\n\n- You need not take any immediate action.\n- Your access to the API continues.\n- To enable Merchant API for a Google Cloud project, you must have the Admin\n role (`roles/admin`). If you have the necessary permissions, do the\n following:\n\n 1. Visit [Google Cloud Console](https://console.cloud.google.com).\n 2. Select the relevant Google Cloud project. If you don't find the project, you don't have access. You will need to create another Google Cloud project. For instructions, see [Authorize access to your\n account](/merchant/api/guides/authorization/access-your-account).\n 3. If you have access, in the search bar, type \"Merchant API\".\n 4. In the resulting list, select **Merchant API**.\n 5. On the **Product details** screen for Merchant API, select **Enable**.\n 6. You should see a screen that resembles the following."]]