This method can be called only by a restricted set of projects, which are usually owned by AdSense for Platforms publishers. Contact your account manager if you need to use this method.
[[["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 2025-02-28 UTC."],[[["This endpoint updates existing `DISPLAY` ad units, primarily for AdSense for Platforms publishers."],["Only specific fields within the ad unit can be modified using the `updateMask` query parameter in the request."],["To use this endpoint, your project must have the `https://www.googleapis.com/auth/adsense` authorization scope."],["The request should contain an `AdUnit` object in its body, specifying the desired modifications, and a successful response will also return an updated `AdUnit` object."],["The ad unit to update is identified through the `adUnit.name` path parameter, following a specific format."]]],["This method updates a `DISPLAY` ad unit via a `PATCH` request to a specific URL using gRPC Transcoding syntax. It requires a restricted set of project owners, primarily AdSense for Platforms publishers. The request includes the ad unit's resource name as a path parameter. Updates are performed via the `updateMask` query parameter. The request and response bodies both utilize the `AdUnit` instance. The request requires the `https://www.googleapis.com/auth/adsense` OAuth scope.\n"]]