[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-08-21 UTC."],[[["\u003cp\u003eRetrieves information for a specific ad unit within a given account and ad client.\u003c/p\u003e\n"],["\u003cp\u003eRequires an HTTP GET request specifying the account, ad client, and ad unit using a defined URL structure.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should be empty, and a successful response includes details about the ad unit.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization is necessary using specific OAuth scopes associated with AdSense access.\u003c/p\u003e\n"]]],["This document outlines how to retrieve an ad unit using a `GET` request to the specified URL, which requires gRPC Transcoding syntax. The request must include the `name` path parameter, identifying the ad unit's account, ad client, and ad unit. The request body should be empty. A successful response returns an `AdUnit` instance. Authorization requires either the `adsense` or `adsense.readonly` OAuth scope. The user can directly use the Try It feature.\n"],null,["# Method: accounts.adclients.adunits.get\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nGets an ad unit from a specified account and ad client.\n\n### HTTP request\n\n`GET https://adsense.googleapis.com/v2/{name=accounts/*/adclients/*/adunits/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------|----------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Required. AdUnit to get information about. Format: accounts/{account}/adclients/{adclient}/adunits/{adunit} |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [AdUnit](/adsense/management/reference/rest/v2/accounts.adclients.adunits#AdUnit).\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/adsense`\n- `\n https://www.googleapis.com/auth/adsense.readonly`"]]