Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2024/05/14 (UTC).
[null,null,["Dernière mise à jour le 2024/05/14 (UTC)."],[[["Create an ad unit mapping under a specific AdMob account and ad unit using an HTTP POST request."],["This method requires specific authorization and might need account manager approval if access is denied."],["The request should include the parent account and ad unit information in the URL path."],["The request body should contain an `AdUnitMapping` object, and a successful response will return the newly created `AdUnitMapping`."],["You'll need the `https://www.googleapis.com/auth/admob.monetization` OAuth scope for authorization."]]],["This describes how to create an ad unit mapping within AdMob. A `POST` HTTP request is sent to the specified URL, including the `parent` path parameter (account and ad unit IDs). The request body requires an `AdUnitMapping` instance. A successful response returns the newly created `AdUnitMapping`. Access requires the `admob.monetization` OAuth scope. Access may be restricted, needing permission from an account manager.\n"]]