要使用 Search Ads 360 API 创建规模较小但可正常运行的基本客户端应用,请遵循本部分中的指南。
编写您的第一个客户端应用
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2023-02-27。
[null,null,["最后更新时间 (UTC):2023-02-27。"],[[["\u003cp\u003eThis guide helps you build a basic Search Ads 360 API client application with minimal setup.\u003c/p\u003e\n"],["\u003cp\u003eBefore starting, ensure you've completed prerequisites like project creation, utility script installation, and understanding REST/JSON.\u003c/p\u003e\n"],["\u003cp\u003eYou'll need to install a client library in your preferred programming language, set up authorization, and configure your application.\u003c/p\u003e\n"],["\u003cp\u003eFinally, you'll send a sample request to the Search Ads 360 API to verify functionality.\u003c/p\u003e\n"]]],["Begin by creating a Google API Console project, installing a utility script, and understanding REST and JSON. Next, download a client library for your chosen language. Obtain necessary credentials for API requests, then develop a class to initialize a `Doubleclicksearch` object. Finally, send a sample request to the Search Ads 360 API to ensure proper setup. These are the key steps to building a functional client.\n"],null,["# Write Your First Client Application\n\nTo create a small but functional basic client application using the Search Ads 360 API,\nfollow the guidelines in this section.\n\n\n[Prerequisites](/search-ads/v2/prereqs)\n: Create a project in the Google API Console, install a utility script, and learn\n about REST and JSON.\n\n\n[Install a client library](/search-ads/v2/libraries)\n: Download a client library for your programming language.\n\n\n[Set up authorization](/search-ads/v2/authorizing)\n: Get the credentials you'll need for all requests to the Search Ads 360 API.\n\n\n[Set up your application](/search-ads/v2/configure)\n:\n Write a class that initializes a `Doubleclicksearch` object.\n\n\n[Send a sample request](/search-ads/v2/requests)\n: Send a sample request to the API."]]