Create an ad unit mapping under the specific AdMob account and ad unit.
HTTP request
POST https://admob.googleapis.com/v1beta/{parent=accounts/*/adUnits/*}/adUnitMappings
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The parent which owns the ad unit mapping. Format: accounts/{publisherId}/adUnits/{adUnitId} |
Request body
The request body contains an instance of AdUnitMapping
.
Response body
If successful, the response body contains a newly created instance of AdUnitMapping
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/admob.monetization
For more information, see the OAuth 2.0 Overview.