با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
توصیه می کنیم از کتابخانه سرویس گیرنده Google API و نمونه کدهای زیر برای پشتیبانی از پیاده سازی خود استفاده کنید. کتابخانه های مشتری از مجوز و افزایش امنیت پشتیبانی می کنند.
API های مجاز خریداران، API های JSON REST هستند و هر پشته وب استاندارد می تواند داده ها را از آنها بخواند. همه عملیات از طریق API های مجاز خریداران نیاز به مجوز دارند.
همچنین میتوانید نمونههایی را برای عملیات فردی در اسناد توسعهدهنده ما مشاهده کنید.
نمونههای زیر برای APIهای مجاز خریداران موجود است:
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eAuthorized Buyers APIs require authorization and can be accessed using any standard web stack due to their JSON REST API structure.\u003c/p\u003e\n"],["\u003cp\u003eGoogle recommends using a client library for enhanced security and provides code samples in various languages for Marketplace and Real-time Bidding APIs.\u003c/p\u003e\n"],["\u003cp\u003eIndividual operation samples are available in the developer documentation, offering specific guidance for implementation.\u003c/p\u003e\n"],["\u003cp\u003eThe Ad Exchange Buyer II API is deprecated except for RTB troubleshooting resources, and alternative solutions are encouraged.\u003c/p\u003e\n"]]],["Utilize Google API client libraries for implementation, emphasizing authorization and security. The Authorized Buyers APIs are JSON REST APIs. Access code samples for the Marketplace API in C#, Java, and Python. Real-time Bidding API samples are available in C#, Java, PHP, Python, and Ruby. Code samples are also available for the now deprecated Ad Exchange Buyer II API. View operation samples in the developer documentation. All API operations require authorization.\n"],null,["# Libraries and Samples\n\nWe recommend using a [Google API client library](/api-client-library) and the\nfollowing code samples to support your implementation. Client libraries support\nauthorization and increased security.\n\nThe Authorized Buyers APIs are JSON REST APIs, and any standard web\nstack can read data from them. All operations through the Authorized Buyers APIs\nrequire authorization.\n\nYou can also view samples for individual operations in our [developer\ndocumentation](/authorized-buyers/apis/guides/start).\n\nThe following samples are available for Authorized Buyers APIs:\n\nMarketplace\n-----------\n\n[Code samples](//github.com/googleads/authorized-buyers-marketplace-api-samples)\nare available for the [Marketplace\nAPI](/authorized-buyers/apis/guides/marketplace/overview) in the following\nlanguages:\n\n|-----------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------|\n| [C#](//github.com/googleads/authorized-buyers-marketplace-api-samples/tree/main/CSharp) | [Java](//github.com/googleads/authorized-buyers-marketplace-api-samples/tree/main/java) | [Python](//github.com/googleads/authorized-buyers-marketplace-api-samples/tree/main/python) |\n\nReal-time Bidding\n-----------------\n\n[Code samples](//github.com/googleads/authorized-buyers-rtb-api-samples) are\navailable for the [Real-time Bidding\nAPI](/authorized-buyers/apis/guides/rtb-api/overview) in the following\nlanguages:\n\n|---------------------------------------------------------------------------------|---------------------------------------------------------------------------------|-------------------------------------------------------------------------------|-------------------------------------------------------------------------------------|---------------------------------------------------------------------------------|\n| [C#](//github.com/googleads/authorized-buyers-rtb-api-samples/tree/main/CSharp) | [Java](//github.com/googleads/authorized-buyers-rtb-api-samples/tree/main/java) | [PHP](//github.com/googleads/authorized-buyers-rtb-api-samples/tree/main/php) | [Python](//github.com/googleads/authorized-buyers-rtb-api-samples/tree/main/python) | [Ruby](//github.com/googleads/authorized-buyers-rtb-api-samples/tree/main/ruby) |\n\nAd Exchange Buyer II\n--------------------\n\n| **Deprecated:** Ad Exchange Buyer API II is deprecated. All resources other than those used for [RTB Troubleshooting](/authorized-buyers/apis/guides/v2/rtb-troubleshooting) have been sunset as of September 29th, 2023.\n\n[Code samples](//github.com/googleads/googleads-adxbuyer-examples) are\navailable for the [Ad Exchange Buyer II\nAPI](/authorized-buyers/apis/guides/rtb-api/overview) in the following\nlanguages:\n\n|---------------------------------------------------------------------------|---------------------------------------------------------------------------|-------------------------------------------------------------------------|-------------------------------------------------------------------------------|----------------------------------------------------------------------------|\n| [C#](//github.com/googleads/googleads-adxbuyer-examples/tree/main/CSharp) | [Java](//github.com/googleads/googleads-adxbuyer-examples/tree/main/java) | [PHP](//github.com/googleads/googleads-adxbuyer-examples/tree/main/php) | [Python](//github.com/googleads/googleads-adxbuyer-examples/tree/main/python) | [Ruby](///github.com/googleads/googleads-adxbuyer-examples/tree/main/ruby) |"]]