Stay organized with collections Save and categorize content based on your preferences.
The AdSense Management API is built on HTTP and JSON, so any standard HTTP client can send requests to it and parse the responses.
However, the Google APIs client libraries provide better language integration, improved security, and support for making calls that require user authorization. The client libraries are available in a number of programming languages; by using them you can avoid the need to manually set up HTTP requests and parse the responses.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-17 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) |"]]