AI-generated Key Takeaways
- 
          This method lists ad unit mappings for a specified AdMob account and ad unit using a GET HTTP request. 
- 
          Access to this method is limited and requires contacting an account manager for access if a 403 error occurs. 
- 
          The request requires a parentpath parameter specifying the account and ad unit, and optionally acceptspageSize,pageToken, andfilteras query parameters.
- 
          The request body must be empty, and the successful response body contains a list of adUnitMappingsand anextPageToken.
- 
          This method requires either the https://www.googleapis.com/auth/admob.monetizationorhttps://www.googleapis.com/auth/admob.readonlyOAuth scope.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Examples
- Try it!
List ad unit mappings under the specified AdMob account and ad unit.
HTTP request
GET https://admob.googleapis.com/v1beta/{parent=accounts/*/adUnits/*}/adUnitMappings
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| parent | 
 Required. The parent which owns this collection of ad unit mappings. Format: accounts/{publisherId}/adUnits/{adUnitId} | 
Query parameters
| Parameters | |
|---|---|
| pageSize | 
 The maximum number of ad unit mappings to return. If unspecified or 0, at most 10,000 ad unit mappings will be returned. The maximum value is 20,000; values above 20,000 will be coerced to 20,000. | 
| pageToken | 
 A page token, received from a previous  | 
| filter | 
 The filter string that uses EBNF grammar syntax. Possible field to filter by is: 
 Possible filter function is: 
 The filter functions can be added together using  Example: filter: IN(DISPLAY_NAME, "Test Ad Unit Mapping 1", "Test Ad Unit Mapping 2") | 
Request body
The request body must be empty.
Response body
Response for the ListAdUnitMappingsRequest.
If successful, the response body contains data with the following structure:
| JSON representation | 
|---|
| {
  "adUnitMappings": [
    {
      object ( | 
| Fields | |
|---|---|
| adUnitMappings[] | 
 The ad unit mappings from the specified account and ad unit. | 
| nextPageToken | 
 Used to set the  | 
Authorization scopes
Requires one of the following OAuth scopes:
- https://www.googleapis.com/auth/admob.monetization
- https://www.googleapis.com/auth/admob.readonly
For more information, see the OAuth 2.0 Overview.