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.
Zaakceptuj połączenie przez Google Ads
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Podsumowanie
Po wysłaniu prośby o połączenie z konta Merchant Center możesz zaakceptować połączenie w Google Ads. Możesz to zrobić w interfejsie Google Ads lub za pomocą interfejsu Google Ads API.
Kroki wpisane ręcznie
- W interfejsie Google Ads kliknij NARZĘDZIA I USTAWIENIA.
- W sekcji KONFIGURACJA kliknij Połączone konta.
- W sekcji Google Merchant Center kliknij ZARZĄDZAJ I POŁĄCZ.
- Kliknij WYŚWIETL PROŚBĘ.
- Kliknij ZAAKCEPTUJ.
- Więcej informacji znajdziesz w artykule Zatwierdzanie w Google Ads prośby o połączenie.
Automatyczne kroki
- Aby wyświetlić prośby o połączenie, użyj zasobu
MerchantCenterLink
.
- W polu
MerchantCenterLinkStatus
możesz sprawdzić stan linku.
- Aby zatwierdzić połączenie
PENDING
, ustaw pole MerchantCenterLinkStatus
na ENABLED
.
- Aby odrzucić połączenie
PENDING
, usuń obiekt MerchantCenterLink
.
- Aby odłączyć link
ENABLED
, usuń obiekt MerchantCenterLink
.
- Więcej informacji o tym procesie i przykładowy kod znajdziesz w artykule Łączenie kont Merchant Center i Google Ads.
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\u003eAfter requesting a link between your Merchant Center and Google Ads accounts, you need to accept the link in Google Ads, either through the UI or the API.\u003c/p\u003e\n"],["\u003cp\u003eManually accepting the link involves navigating to the "Linked accounts" section in Google Ads settings and approving the request.\u003c/p\u003e\n"],["\u003cp\u003eAutomatically accepting or rejecting the link requires using the Google Ads API and modifying the \u003ccode\u003eMerchantCenterLink\u003c/code\u003e resource and its status field.\u003c/p\u003e\n"],["\u003cp\u003eDetailed instructions for manual approval are available in the Google Ads help center, while API-based linking is documented in the Google Ads API documentation for shopping ads.\u003c/p\u003e\n"]]],[],null,["# Accept link through Google Ads\n\nSummary\n-------\n\nAfter you request the link through your Merchant Center account, you can accept\nthe link through Google Ads. You can do this through the [Google Ads UI](https://ads.google.com/) or the\n[Google Ads API](/google-ads/api/docs/start).\n\nManual steps\n------------\n\n1. In the Google Ads UI, click **TOOLS \\& SETTINGS**.\n2. Under **SETUP** , click **Linked accounts**.\n3. Under **Google Merchant Center** , click **MANAGE \\& LINK**.\n4. Click **VIEW REQUEST**.\n5. Click **APPROVE**.\n6. See [Approve link request in Google Ads](https://support.google.com/google-ads/answer/6159060#zippy=%2Cstep-approve-link-request-in-google-ads) for more detail.\n\nAutomatic steps\n---------------\n\n1. Use the [`MerchantCenterLink`](/google-ads/api/reference/rpc/latest/MerchantCenterLink) resource to view your link requests.\n2. Use the [`MerchantCenterLinkStatus`](/google-ads/api/reference/rpc/latest/MerchantCenterLinkStatusEnum.MerchantCenterLinkStatus) field to view the link status.\n - To approve a `PENDING` link, set the `MerchantCenterLinkStatus` field to `ENABLED`.\n - To reject a `PENDING` link, remove the `MerchantCenterLink` object.\n - To unlink an `ENABLED` link, remove the `MerchantCenterLink` object.\n3. For more information about this process and example code, see [Link your\n Merchant Center and Google Ads accounts](/google-ads/api/docs/shopping-ads/merchant-center)."]]