rocket
Meet
Merchant API
– oficjalny następca interfejsu Content API for Shopping.
updateNajnowsze informacje
o nowych funkcjach, poprawkach błędów i aktualizacjach interfejsu Merchant API.
point_of_sale
Dowiedz się, jak zarządzać firmą i produktami w Google oraz jak uzyskać programowy dostęp do danych, statystyk i unikalnych funkcji na dużą skalę.
Zacznij korzystać z Merchant API już dziś!
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Podsumowanie
Konta Merchant Center przechowują informacje o produktach wykorzystywane w kampaniach produktowych.
Informacje o produktach przesyłasz na konto sprzedawcy za pomocą plików danych o produktach.
W Merchant Center lub za pomocą Content API for Shopping możesz tworzyć pliki danych o produktach umożliwiające przesyłanie wielu produktów naraz. Interfejs Content API for Shopping umożliwia też przesyłanie i aktualizowanie poszczególnych produktów.
W przypadku przesyłania plików danych i interfejsu API nowo przesłane produkty podlegają kontroli jakości danych. Może to potrwać do 72 godzin. Do tego czasu te produkty będą miały stan pending. Więcej informacji znajdziesz na stronie Definicje stanu produktów.
Jeśli masz już informacje o produktach na platformie e-commerce, możesz połączyć tę platformę z Merchant Center, aby informacje były udostępniane automatycznie. Skontaktuj się z dostawcą platformy e-commerce, aby dowiedzieć się, czy istnieje oprogramowanie sprzęgające do udostępniania informacji o produktach w Merchant Center.
Wszystkie produkty muszą być zgodne ze specyfikacją danych produktów. Przeczytaj specyfikację, aby dowiedzieć się, jakie atrybuty produktu należy podać, aby produkt był prawidłowy. Niektóre rodzaje produktów wymagają
innych atrybutów.
Kroki ręczne
Jeśli tworzysz plik danych po raz pierwszy, usunięcie wszystkich błędów może wymagać kilku prób. Więcej informacji znajdziesz na Forum reklamodawców Google.
Za pomocą interfejsu Content API for Shopping możesz zbiorczo przesyłać informacje o produktach za pomocą plików danych oraz informacje o poszczególnych produktach.
Możesz zautomatyzować tylko zaplanowane pliki danych.
Użyj usługi datafeeds do tworzenia, aktualizowania i usuwania zarejestrowanych plików danych.
Aby przesyłać i aktualizować poszczególne produkty, skorzystaj z zasobu products.
Błędy usług są sygnalizowane komunikatem o stanie HTTP innym niż 2xx, a treść odpowiedzi zawiera więcej informacji.
Nawet wtedy, gdy produkty zostały przesłane, mogą wyświetlić się ostrzeżenia, które musisz sprawdzić, aby poprawić jakość danych. Więcej informacji znajdziesz w przewodniku po typowych błędach.
Aby sprawdzić stan produktów na koncie, możesz skorzystać z usługi productstatuses.
Poszczególne produkty przesłane za pomocą Content API for Shopping tracą ważność po 30 dniach lub w dniu ich ręcznie ustawionej daty ważności, zależnie od tego, co nastąpi wcześniej.
Aby produkty nie straciły ważności, musisz je zaktualizować lub dodać ponownie. Ważne jest zaplanowanie regularnego odświeżania punktu końcowego products interfejsu Content API for Shopping.
[[["Ł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-08-31 UTC."],[[["\u003cp\u003eMerchant Center accounts store product information for Shopping campaigns, which is uploaded via product feeds or the Content API.\u003c/p\u003e\n"],["\u003cp\u003eGoogle strongly recommends using the Content API for Shopping for its flexibility and scalability over manual feed uploads.\u003c/p\u003e\n"],["\u003cp\u003eProducts uploaded through any method undergo data quality checks and may take up to 72 hours to resolve before becoming active.\u003c/p\u003e\n"],["\u003cp\u003eAll products must adhere to the Product data specification, which outlines the required attributes for different product types.\u003c/p\u003e\n"],["\u003cp\u003eThe Content API for Shopping offers methods for bulk uploads via feeds and individual product updates, requiring regular refreshes to prevent product expiration.\u003c/p\u003e\n"]]],[],null,["# Create a feed\n\nSummary\n-------\n\nMerchant Center accounts store the product information for Shopping campaigns.\nYou upload product information to your merchant account through product feeds.\nYou can create product feeds that upload multiple products at a time in\nthe [Merchant Center](https://merchants.google.com) or through the [Content API for Shopping](/shopping-content/guides/products/products-api). The Content API\nfor Shopping also lets you upload and update individual products.\n| **Objective:** We strongly recommend you use the Content API for Shopping. The Content API is much more flexible and scalable than the manual steps.\n\nWith both feed and API uploads, newly uploaded products are subject to data\nquality checks that may take up to 72 hours to resolve. These products will have\nthe `pending` status in the meantime. See the [Product status definitions](//support.google.com/merchants/answer/160491) page\nto learn more.\n\nIf you already have product information in an eCommerce platform, you may be\nable to connect that eCommerce platform to the Merchant Center and have the\ninformation shared automatically. Check with your eCommerce platform provider to\nsee if any connectors exist for sharing product information with the Merchant\nCenter.\n\nAll products must adhere to the [Product data specification](//support.google.com/merchants/answer/188494). Read\nthrough the specification to understand what product attributes must be provided\nfor a product to be valid. Some types of products require different attributes\nthan others.\n\nManual steps\n------------\n\nIf this if your first time creating a feed, it may take a few tries to\nresolve all the errors. See the [Google Advertiser Community](//www.en.advertisercommunity.com/t5/Google-Shopping-and-Merchant/bd-p/google-shopping) for help.\n\n1. See [About feeds](//support.google.com/merchants/answer/188478) and [File formats for product data](//support.google.com/merchants/answer/160567) to plan the structure of your feed.\n2. Follow the steps in [Upload a feed](//support.google.com/merchants/answer/188477).\n\nAutomatic steps\n---------------\n\nYou can use the Content API for Shopping to bulk upload product information\nthrough feeds and to send individual product information.\n\nYou can only automate scheduled feeds.\n\n- Use the [`datafeeds`](/shopping-content/reference/rest/v2.1/datafeeds) service to create, update, and delete registered feeds.\n- Use the [`products`](/shopping-content/reference/rest/v2.1/products) resource to upload and update individual products.\n\n See the [Product data specification](//support.google.com/merchants/answer/188494) to learn which fields are required\n for your specific product.\n\n Use [`products.insert`](/shopping-content/reference/rest/v2.1/products/insert) to upload product information. If you're sending\n multiple products at once, see [Sending batch requests](/shopping-content/guides/how-tos/batch).\n\n Product errors are signaled with a non-2xx HTTP status message, and\n the body of the response contains more information.\n\n Even successfully uploaded products may return warnings that you\n should examine to improve your proudct data. See the [common errors](/shopping-content/guides/how-tos/common-errors) guide\n for more information.\n\n You can use the [`productstatuses`](/shopping-content/reference/rest/v2.1/productstatuses) service to see the status of products on\n you account.\n\n Individual products uploaded through the Content API for Shopping\n expire either after 30 days or on their manually set expiration date,\n whichever comes first.\n\n In order to keep products from expiring, they must be updated or\n re-inserted. It's important to schedule a regularly occurring refresh to the\n Content API for Shopping's [`products`](/shopping-content/reference/rest/v2.1/products) endpoint."]]