高效检索信息
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
如何使用 Google Ads API 高效地检索信息。介绍了 SearchStream、Search 和 Get 之间的区别,包括何时使用每种方法的实用建议。该视频还介绍了该 API 如何缓存结果以及如何反向检索行。
请参阅幻灯片。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-21。
[null,null,["最后更新时间 (UTC):2025-08-21。"],[[["\u003cp\u003eUnderstand the differences between \u003ccode\u003eSearchStream\u003c/code\u003e, \u003ccode\u003eSearch\u003c/code\u003e, and \u003ccode\u003eGet\u003c/code\u003e methods in the Google Ads API for retrieving data efficiently.\u003c/p\u003e\n"],["\u003cp\u003eLearn practical use cases and scenarios for implementing \u003ccode\u003eSearchStream\u003c/code\u003e, \u003ccode\u003eSearch\u003c/code\u003e, and \u003ccode\u003eGet\u003c/code\u003e to optimize information retrieval.\u003c/p\u003e\n"],["\u003cp\u003eDiscover how the Google Ads API utilizes caching to enhance performance and reduce latency when fetching data.\u003c/p\u003e\n"],["\u003cp\u003eExplore techniques for retrieving data rows in reverse order using the API's functionalities.\u003c/p\u003e\n"]]],[],null,["# Retrieving Information Efficiently\n\nHow to retrieve information efficiently using the Google Ads API. Covers the differences between SearchStream, Search and Get including practical advice on when to use each method. The video also explains how the API caches results and how you can retrieve rows in reverse.\n\nSee [slide deck](https://services.google.com/fh/files/misc/ep01_retrieving_information_efficiently.pdf).\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e"]]