Beispiele und Bibliotheken
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Die AdSense Management API basiert auf HTTP und JSON, sodass jeder Standard-HTTP-Client Anfragen an sie senden und die Antworten parsen kann.
Die Google APIs-Clientbibliotheken bieten jedoch eine bessere Sprachintegration sowie eine höhere Sicherheit und unterstützen auch Aufrufe, die eine Nutzerautorisierung erfordern. Die Clientbibliotheken sind in verschiedenen Programmiersprachen verfügbar. Wenn Sie sie verwenden, müssen Sie HTTP-Anfragen nicht manuell erstellen und die Antworten nicht parsen.
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-26 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-07-26 (UTC)."],[[["\u003cp\u003eThe AdSense Management API utilizes HTTP and JSON, allowing any standard HTTP client to interact with it.\u003c/p\u003e\n"],["\u003cp\u003eGoogle's client libraries offer enhanced security, language integration, and user authorization capabilities for easier interaction with the API.\u003c/p\u003e\n"],["\u003cp\u003eClient libraries are available in various programming languages like Java, .NET, PHP, Python, and Ruby, eliminating manual HTTP request setup.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can find code examples for each client library on the provided GitHub links.\u003c/p\u003e\n"]]],["The AdSense Management API utilizes HTTP and JSON, allowing standard HTTP clients to interact with it. Google APIs client libraries enhance this interaction by offering better language integration, security, and user authorization support. These libraries, available in Java, .NET, PHP, Python, and Ruby, eliminate the need for manual HTTP request setup and response parsing. Example code is provided for each language on GitHub.\n"],null,["# Samples and Libraries\n\nThe AdSense Management API is built on HTTP and JSON, so any standard HTTP client\ncan send requests to it and parse the responses.\n\nHowever, the Google APIs client libraries provide better language\nintegration, improved security, and support for making calls that require user\nauthorization. The client libraries are available in a number of programming\nlanguages; by using them you can avoid the need to manually set up HTTP\nrequests and parse the responses.\n\n| Client Library | Code Examples |\n|:-------------------------------------|:---------------------------------------------------------------------------------------------|\n| [Java](/api-client-library/java) | [Browse example code](//github.com/googleads/googleads-adsense-examples/tree/HEAD/v2/java) |\n| [.NET](/api-client-library/dotnet) | [Browse example code](//github.com/googleads/googleads-adsense-examples/tree/HEAD/v2/dotnet) |\n| [PHP](/api-client-library/php) | [Browse example code](//github.com/googleads/googleads-adsense-examples/tree/HEAD/v2/php) |\n| [Python](/api-client-library/python) | [Browse example code](//github.com/googleads/googleads-adsense-examples/tree/HEAD/v2/python) |\n| [Ruby](/api-client-library/ruby) | [Browse example code](//github.com/googleads/googleads-adsense-examples/tree/HEAD/v2/ruby) |"]]