The AdX Seller REST API has been deprecated and will be sunset on July 23, 2018. New and existing users should migrate to the DoubleClick for Publishers API.

Adunits: get

Requires authorization

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

Request

HTTP request

GET https://www.googleapis.com/adexchangeseller/v1.1/adclients/adClientId/adunits/adUnitId

Parameters

Parameter name Value Description
Required parameters
adClientId string Ad client for which to get the ad unit.
adUnitId string Ad unit to retrieve.

Authorization

This request requires authorization with at least one of the following scopes (read more about authentication and authorization).

Scope
https://www.googleapis.com/auth/adexchange.seller
https://www.googleapis.com/auth/adexchange.seller.readonly

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!

Use the APIs Explorer below to call this method on live data and see the response.

Send feedback about...

Seller REST API
Seller REST API