Use this page to mock AdSense Host API in your testing and development.
Run our mock API sample using the open source WireMock library, or in the free edition of WireMock Cloud. You'll have a working API server simulating the behavior of AdSense Host API, which will allow you to keep building and testing even if the actual API you isn't currently available.