Adunits: get

Gets the specified ad unit in the specified ad client under the specified account. Try it now.

Request

HTTP Request

GET https://www.googleapis.com/adsense/v1.1/accounts/accountId/adclients/adClientId/adunits/adUnitId

Parameters

In addition to the standard parameters, this method supports the following query parameters:

Parameter Name Value Type Description
Required Parameters
accountId string path Account on which to report.
adClientId string path Ad client for which to get the ad unit.
adUnitId string path Ad unit to retrieve.

Request Body

Do not supply a request body with this method.

Response

If successful, this method returns an Adunits resource in the response body.

Try It!

You can use the APIs Explorer to call this method on live data and see the response.

Send feedback about...

AdSense Management API
AdSense Management API