С 8 сентября 2025 года в каждой новой позиции необходимо будет указывать, будет ли она показывать политическую рекламу Европейского союза (ЕС). Загрузки через Display & Video 360 API и SDF без таких указаний будут отклонены. Подробнее о том, как обновить интеграцию и указать это указание, см. на странице «Устаревшие функции».
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
API Display & Video 360 построен на основе HTTP и JSON, поэтому любой стандартный HTTP-клиент может отправлять к нему запросы и анализировать ответы.
Однако клиентские библиотеки API Google могут обеспечить лучшую языковую интеграцию, повышенную безопасность и поддержку вызовов, требующих авторизации пользователя. Используя эти клиентские библиотеки, вы можете избежать необходимости вручную обрабатывать HTTP-запросы и ответы.
В таблицах ниже в первом столбце показана стадия разработки каждой библиотеки; Обратите внимание, что некоторые из них все еще находятся на ранних стадиях. Второй столбец ссылается на главную страницу каждой библиотеки.
[null,null,["Последнее обновление: 2025-07-24 UTC."],[[["\u003cp\u003eThe Display & Video 360 API uses HTTP and JSON, allowing any standard HTTP client to interact with it.\u003c/p\u003e\n"],["\u003cp\u003eGoogle's API client libraries offer better language integration, security, and user authorization support, simplifying development.\u003c/p\u003e\n"],["\u003cp\u003eMature client libraries are available for .NET, Java, JavaScript, Objective-C, PHP, and Python, with some offering direct code samples.\u003c/p\u003e\n"],["\u003cp\u003eEarly-stage client libraries are also available for Go, Node.js, and Ruby.\u003c/p\u003e\n"],["\u003cp\u003eWhile some libraries have dedicated Display & Video 360 API samples, you can adapt existing samples for other libraries as needed.\u003c/p\u003e\n"]]],[],null,["# Install client libraries\n\nThe Display \\& Video 360 API is built on HTTP and JSON, so any standard HTTP client can\nsend requests to it and parse the responses.\n\nHowever, the Google API client libraries can provide better language\nintegration, improved security, and support for making calls that require user\nauthorization. By using these client libraries, you can avoid the need to\nmanually process HTTP requests and responses.\n\nIn the tables below, the first column shows each library's stage of\ndevelopment; note that some are still in early stages. The second column\nlinks to the main page for each library.\n| **Note:** For libraries that have samples for the Display \\& Video 360 API, the third column in the table below links to them directly. If a library's samples page does not yet include a sample for this API, you can still use that library---simply adapt one of the existing samples as needed.\n\nThe set of mature libraries includes:\n\n| Client library | Documentation | Client library samples |\n|----------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------|\n| Google API Client Library for .NET | [Google API Client Library for .NET](/api-client-library/dotnet/get_started) | |\n| Google API Client Library for Java | [Google API Client Library for Java](https://developers.google.com/api-client-library/java/) | [Java samples](//github.com/googleads/googleads-displayvideo-examples/tree/main/java) |\n| Google API Client Library for JavaScript | [Google API Client Library for JavaScript](/api-client-library/javascript/start/start-js) | |\n| Google API Client Library for Objective-C for REST | [Google API Client Library for Objective-C for REST](https://github.com/google/google-api-objectivec-client-for-rest) | |\n| Google API Client Library for PHP () | [Google API Client Library for PHP](/api-client-library/php) | [PHP samples](//github.com/googleads/googleads-displayvideo-examples/tree/main/php) |\n| Google API Client Library for Python (v1/v2) | [Google API Client Library for Python (v1/v2)](/api-client-library/python) | [Python samples](//github.com/googleads/googleads-displayvideo-examples/tree/main/python) |\n\nThese early-stage libraries are also available:\n\n| Client library | Documentation | Client library samples |\n|-----------------------------------------------|----------------------------------------------------------------------------------------------|------------------------|\n| Google API Client Library for Go () | [Google API Client Library for Go](https://github.com/google/google-api-go-client) | |\n| Google API Client Library for Node.js (alpha) | [Google API Client Library for Node.js](https://github.com/google/google-api-nodejs-client/) | |\n| Google API Client Library for Ruby (alpha) | [Google API Client Library for Ruby](/api-client-library/ruby/start/get_started) | |"]]