Method: adUnits.create

Creates a new ad unit.

  • Returns the newly created ad unit if successful.

HTTP request


The URL uses gRPC Transcoding syntax.

Request body

The request body contains an instance of AdUnit.

Response body

If successful, the response body contains a newly created instance of AdUnit.

Authorization Scopes

Requires the following OAuth scope:


For more information, see the OAuth 2.0 Overview.