Method: accounts.mediationGroups.mediationAbExperiments.create
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-08-21 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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)."]]