Method: accounts.mediationGroups.mediationAbExperiments.create
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-08-21 UTC.
[null,null,["Terakhir diperbarui pada 2025-08-21 UTC."],[[["\u003cp\u003eCreate A/B testing experiments for AdMob mediation groups using the provided HTTP request method.\u003c/p\u003e\n"],["\u003cp\u003eSpecify the parent AdMob account and mediation group using path parameters in the request URL.\u003c/p\u003e\n"],["\u003cp\u003eInclude a \u003ccode\u003eMediationAbExperiment\u003c/code\u003e object in the request body to define the experiment parameters.\u003c/p\u003e\n"],["\u003cp\u003eUpon successful creation, the response body contains the newly created \u003ccode\u003eMediationAbExperiment\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eRequires \u003ccode\u003eadmob.monetization\u003c/code\u003e OAuth scope for authorization.\u003c/p\u003e\n"]]],["This documentation outlines the process of creating an A/B testing experiment for an AdMob mediation group using a POST request. The request is sent to a specific URL, defined by the parent account and mediation group ID, supplied as a path parameter. The request body includes the `MediationAbExperiment` data. Successful requests return a newly created `MediationAbExperiment` instance in the response body. Authorization requires the `admob.monetization` OAuth scope. Access may be restricted.\n"],null,["# Method: accounts.mediationGroups.mediationAbExperiments.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 an A/B testing experiment for a specified AdMob account and a mediation group.\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/*}/mediationAbExperiments`\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}/mediationGroups/{mediationGroupId} |\n\n### Request body\n\nThe request body contains an instance of [MediationAbExperiment](/admob/api/reference/rest/v1beta/accounts.mediationGroups.mediationAbExperiments#MediationAbExperiment).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [MediationAbExperiment](/admob/api/reference/rest/v1beta/accounts.mediationGroups.mediationAbExperiments#MediationAbExperiment).\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)."]]