Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Recomendamos o uso de uma biblioteca de cliente das APIs do Google e dos
exemplos de código a seguir para ajudar na implementação. As bibliotecas de cliente são compatíveis com autorização e maior segurança.
As APIs Authorized Buyers são APIs REST JSON e podem ser lidas por qualquer pilha da Web padrão. Todas as operações feitas pelas APIs Authorized Buyers
requerem autorização.
[null,null,["Última atualização 2025-07-25 UTC."],[[["\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) |"]]