範例與程式庫
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
建議您使用 Manufacturer Center API 用戶端程式庫。他們提供出色的語言整合服務、更高的安全性,並支援需要使用者授權的呼叫。讓您無須手動設定 HTTP 要求及剖析回應。
用戶端程式庫支援多種程式設計語言,如下所示。
Manufacturer Center API 是以 HTTP 和 JSON 做為建構基礎,因此所有標準 HTTP 用戶端都可以向 Indexing API 傳送要求並剖析回應。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[[["\u003cp\u003eManufacturer Center API client libraries are the preferred method for interacting with the API, offering enhanced language integration, security, and support for user authorization.\u003c/p\u003e\n"],["\u003cp\u003eThese client libraries streamline the process by removing the need for manual HTTP request setup and response parsing.\u003c/p\u003e\n"],["\u003cp\u003eClient libraries are available in various programming languages, including Java, JavaScript, .NET, Objective-C, PHP, Python, Go, Google Web Toolkit, Node.js, and Ruby.\u003c/p\u003e\n"],["\u003cp\u003eWhile client libraries are recommended, the Manufacturer Center API can also be accessed using any standard HTTP client due to its foundation in HTTP and JSON.\u003c/p\u003e\n"]]],[],null,["# Samples and Libraries\n\nThe Manufacturer Center API client libraries are the recommended way to use the API. They\nprovide superior language integration, improved security,\nand support for calls that require user authorization. Using them eliminates\nthe need to manually set up HTTP requests and parse the responses.\n\nThe client libraries are available in a variety of programming languages, shown below.\n\nThe Manufacturer Center API is built on HTTP and JSON, so\nany standard HTTP client can send requests to it and parse the responses.\n\n| Client Library | Manufacturer Center API Code Examples | Documentation |\n|:-------------------------------------------------------------------------|:-----------------------------------------------------------------------------|:--------------------------------------------------------------------------------|\n| [Java](/api-client-library/java/apis/manufacturers/v1) | [Github](//github.com/googleads/googleads-shopping-samples/tree/HEAD/java) | [Developer's Guide](/api-client-library/java/google-api-java-client/dev-guide) |\n| [JavaScript](/api-client-library/javascript) | | [Getting Started](/api-client-library/javascript/start/start-js) |\n| [.NET](//www.nuget.org/packages/Google.Apis.ManufacturerCenter.v1/) | [Github](//github.com/googleads/googleads-shopping-samples/tree/HEAD/dotnet) | [Getting Started](/api-client-library/dotnet/get_started) |\n| [Objective-C](//github.com/google/google-api-objectivec-client-for-rest) | | [Introduction](//github.com/google/google-api-objectivec-client-for-rest/wiki) |\n| [PHP](/api-client-library/php) | | [Getting Started](/api-client-library/php/start/get_started) |\n| [Python](/api-client-library/python/apis/manufacturers/v1) | | [Getting Started](/api-client-library/python/start/get_started) |\n| [Go](//github.com/google/google-api-go-client) | | [Getting Started](//github.com/google/google-api-go-client/wiki/GettingStarted) |\n| [Google Web Toolkit](//code.google.com/p/gwt-google-apis/) | | [Overview](//code.google.com/p/gwt-google-apis/wiki/Overview?tm=6) |\n| [Node.js](//github.com/google/google-api-nodejs-client/) | | [README](//github.com/google/google-api-nodejs-client/blob/master/README.md) |\n| [Ruby](/api-client-library/ruby/apis/manufacturers/v1) | | [Getting Started](/api-client-library/ruby/start/get_started) |"]]