rocket
Meet
Merchant API
– oficjalny następca interfejsu Content API for Shopping.
update
Najnowsze informacje
o nowych funkcjach, poprawkach błędów i aktualizacjach interfejsu Merchant API.
Potwierdzanie adresu URL konta Merchant Center i zgłaszanie do niego praw
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Podsumowanie
Tylko jedno konto Merchant Center może zgłosić prawa do konkretnego adresu URL. Musisz zweryfikować adres URL na koncie Merchant Center, aby potwierdzić, że masz dostęp administracyjny do witryny. Następnie musisz zgłosić prawa do tego adresu URL, aby połączyć dane produktów z kontem sprzedawcy.
Podczas wybierania adresu URL weź pod uwagę te wskazówki:
- Tylko zatwierdzeni deweloperzy mogą korzystać z interfejsu Content API for Shopping, aby zastąpić roszczenie do witryny.
Musi ona poprosić stronę wnoszącą roszczenie o zmianę adresu URL
na swoim koncie. Jeśli potrzebujesz pomocy, skontaktuj się z technicznym menedżerem konta.
Rezerwuj domenę o najwyższym wymaganym poziomie. Roszczenia na wyższym poziomie wpływają na adresy URL niższego poziomu. Na przykład sprzedawca, który zgłosił roszczenie do domeny example.com
, nie może zgłosić praw do produktów merchant.example.com
ani example.com/merchant
.
Kroki ręczne
Zweryfikuj URL
- Zaloguj się na konto Merchant Center.
- W menu nawigacyjnym kliknij ikonę narzędzia.
- W sekcji Narzędzia wybierz Informacje o firmie.
- Kliknij kartę Witryna.
- Wpisz adres URL, zaczynając od
http://
lub https://
. Korzystaj z domeny, która jest Twoją własnością i którą zarządzasz.
- Kliknij Dalej.
- Wybierz jedną z dostępnych opcji, aby potwierdzić adres witryny.
Zgłaszanie praw do adresu URL
Zgłoszenie praw do witryny daje Ci wyłączne prawo do korzystania z niej w danych produktów na koncie Merchant Center. Do witryny musisz przejść
weryfikację, zanim będzie można zgłosić do niej prawa.
Po zweryfikowaniu witryny kliknij Zgłoś prawa do witryny.
Jeśli masz już utworzony plik danych, musisz go ponownie pobrać po zgłoszeniu praw do witryny. Jeśli korzystasz z interfejsu Content API, musisz ponownie przesłać plik danych, aby umożliwić jego ponowne zindeksowanie.
Więcej informacji znajdziesz w artykule Potwierdzanie adresu URL witryny i zgłaszanie do niego praw.
Automatyczne kroki
Aby zgłosić prawa do witryny za pomocą interfejsów API Google, wykonaj 2 kroki. Weryfikują oni witrynę za pomocą interfejsu Site Verification API, a następnie zgłaszają prawa do witryny za pomocą Content API for Shopping.
Użyj interfejsu Site Verification API, aby potwierdzić, że masz dostęp do witryny. Wiele kont Google może potwierdzić dostęp do tej samej witryny, ale tylko jedno konto może zgłosić do niej prawa. Prawa do witryny możesz zgłosić dopiero
po zweryfikowaniu dostępu do niej.
Jeśli konto, za pomocą którego uwierzytelniasz się w interfejsie Site Verification API, nie ma dostępu do konta sprzedawcy, dla którego zgłaszasz prawa do witryny, przed wywołaniem insert
lub update
dodaj adres e-mail konta powiązanego z tym kontem w polu owners
.
Po przejściu weryfikacji zatwierdzeni deweloperzy mogą użyć metody accounts.claimwebsite
w interfejsie Content API for Shopping, aby zgłosić prawa do witryny na swoim koncie Merchant Center. Aby uzyskać szczegółowe informacje, skontaktuj się z technicznym menedżerem konta.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-08-31 UTC.
[null,null,["Ostatnia aktualizacja: 2025-08-31 UTC."],[[["\u003cp\u003eOnly one Merchant Center account can claim a specific URL for product data, requiring verification and claiming through the account.\u003c/p\u003e\n"],["\u003cp\u003eURL claiming should be done at the highest necessary domain level as it impacts lower-level URLs, preventing other merchants from claiming them.\u003c/p\u003e\n"],["\u003cp\u003eWebsite verification can be done manually through the Merchant Center account or automatically using Google APIs for Site Verification and Content API for Shopping.\u003c/p\u003e\n"],["\u003cp\u003eApproved developers can use the Content API for Shopping to manage website claims, and assistance with claim conflicts can be obtained from Technical Account Managers.\u003c/p\u003e\n"],["\u003cp\u003eClaiming a website grants exclusive rights for product data usage within the associated Merchant Center account.\u003c/p\u003e\n"]]],[],null,["# Verify and claim URL for Merchant Center\n\nSummary\n-------\n\nOnly one Merchant Center account can claim a specific URL. You must\nverify the URL through your Merchant Center account to show that\nyou have administrative access to the website, and then claim that URL to link\nits product data to your merchant account.\n\nConsider the following guidelines when choosing a URL:\n\n- Only approved developers can use the Content API for Shopping to overwrite a website claim.\n- You need to have the existing claimant change the URL on\n their account. If you need help, contact your Technical Account Manager.\n\n- You should only claim the highest domain level you need. Claims at higher\n levels affect lower level URLs. For example, a merchant claiming\n `example.com` means that another merchant can't claim\n `merchant.example.com` or `example.com/merchant`.\n\nManual steps\n------------\n\n### Verify a URL\n\n1. [Sign in](//merchants.google.com/mc/) to your Merchant Center account.\n2. From the navigation menu, click the tools icon.\n3. Under **Tools** , select **Business information**.\n4. Click the **Website** tab.\n5. Enter the URL, starting with `http://` or `https://`. Use a domain that you own and maintain.\n6. Click **Continue**.\n7. Choose one of the available options to verify the website.\n\n### Claim a URL\n\nClaiming a website gives you the exclusive right to use that website for product\ndata on your Merchant Center account. You must verify a website before you can\nclaim it.\n\nAfter verifying the website, click **Claim website**.\n\nIf you've already created a feed, you'll need to refetch it after you've claimed\na website. If you use the Content API, you'll need to re-upload your feed so it\ncan be recrawled.\n\nSee [Verify and claim your website URL](//support.google.com/merchants/answer/176793) for more detail.\n\nAutomatic steps\n---------------\n\nThere are two steps to claim a website with Google APIs. These are verifying the\nwebsite with the [Site Verification API](/site-verification/v1/getting_started) and then claiming the website with the\n[Content API for Shopping](/shopping-content/reference/rest/v2.1/accounts/claimwebsite).\n\n1. Use the [Site Verification API](/site-verification/v1/getting_started) to verify that you have access to the\n website. Multiple Google accounts can verify access to the same website, but\n only one account can claim the website. You can only claim a website after\n you have verified your access to it.\n\n If the account you authenticate with for the Site Verification API\n doesn't have access to the merchant account you're claiming a website for,\n you should add the email of an account that doesn to the\n [`owners`](/site-verification/v1/webResource#owners) field before calling\n [`insert`](/site-verification/v1/invoking#exampleInsert) or\n [`update`](/site-verification/v1/invoking#exampleUpdate).\n2. Once verified, approved developers can use the [`accounts.claimwebsite`](/shopping-content/reference/rest/v2.1/accounts/claimwebsite)\n method in the Content API for Shopping to claim the website to their\n Merchant Center account. Contact your Technical Account Manager for details."]]