示例和库
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
推荐使用 Manufacturer Center API 客户端库来使用该 API。它们可提供卓越的语言集成、更高的安全性,并支持需要用户授权的调用。使用 HTTP 请求,就无需手动设置 HTTP 请求和解析响应。
客户端库提供各种编程语言,如下所示。
Manufacturer Center API 是基于 HTTP 和 JSON 构建的,因此任何标准 HTTP 客户端均可向其发送请求并解析响应。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):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) |"]]