[[["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."],[[["Retrieves the AdSense code (previously known as 'auto ad code') for a specified ad client."],["This functionality is exclusively available for ad clients possessing a productCode of AFC."],["The response provides AdSense code snippets for both HTML and AMP pages, including designated head and body placements for AMP."],["Requires authorization with specific Google Adsense scopes for access."]]],["To retrieve the AdSense code for an ad client, a `GET` request is sent to `https://adsense.googleapis.com/v2/{name}/adcode`, where `name` specifies the ad client's ID. The request body must be empty. The response, containing strings representing the AdSense code, `ampHead` and `ampBody`, is returned. It requires authorization with either `adsense` or `adsense.readonly` scopes and only works for ad clients with a product code of AFC.\n"]]