Method: accounts.mediationGroups.create
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-21。
[null,null,["最后更新时间 (UTC):2025-08-21。"],[[["\u003cp\u003eCreate a mediation group under a specific AdMob account using an HTTP POST request to the provided URL.\u003c/p\u003e\n"],["\u003cp\u003eThis method requires specific authorization and might necessitate contacting your account manager for access.\u003c/p\u003e\n"],["\u003cp\u003eThe request must specify the parent account in the URL path and include a \u003ccode\u003eMediationGroup\u003c/code\u003e object in the request body.\u003c/p\u003e\n"],["\u003cp\u003eA successful request returns a \u003ccode\u003eMediationGroup\u003c/code\u003e object representing the newly created group.\u003c/p\u003e\n"],["\u003cp\u003eProper OAuth 2.0 authorization with the \u003ccode\u003eadmob.monetization\u003c/code\u003e scope is needed for this operation.\u003c/p\u003e\n"]]],["This describes how to create a mediation group within an AdMob account using a POST request. The request is sent to a specific URL including the account's publisher ID, and requires OAuth authorization. The request body should contain a `MediationGroup` instance. Upon success, the response body returns the newly created `MediationGroup`. Note: Access to this method is limited and may need special permissions from the account manager.\n"],null,["# Method: accounts.mediationGroups.create\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- [Examples](#examples)\n- [Try it!](#try-it)\n\nCreate a mediation group under the specific AdMob account.\n\n\u003cbr /\u003e\n\n| This method has limited access. If you see a 403 permission denied error, please reach out to your account manager for access.\n\n\u003cbr /\u003e\n\n### HTTP request\n\n`POST https://admob.googleapis.com/v1beta/{parent=accounts/*}/mediationGroups`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|----------------------------------------------------------------------------------------------|\n| `parent` | `string` Required. The parent which owns the mediation group. Format: accounts/{publisherId} |\n\n### Request body\n\nThe request body contains an instance of [MediationGroup](/admob/api/reference/rest/v1beta/accounts.mediationGroups#MediationGroup).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [MediationGroup](/admob/api/reference/rest/v1beta/accounts.mediationGroups#MediationGroup).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/admob.monetization`\n\nFor more information, see the [OAuth 2.0 Overview](https://developers.google.com/identity/protocols/OAuth2)."]]