MediationGroupLine
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-08-21 UTC.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2025-08-21 UTC."],[[["\u003cp\u003eMediation group settings configure ad networks for use within a mediation group.\u003c/p\u003e\n"],["\u003cp\u003eEach mediation line has an ID, display name, associated ad source, CPM mode, CPM value, ad unit mappings, and a state (enabled, disabled, or removed).\u003c/p\u003e\n"],["\u003cp\u003eCPM modes include LIVE (calculated per request), MANUAL (user-defined), and ANO (retrieved from the ad network).\u003c/p\u003e\n"],["\u003cp\u003eMediation lines can participate in A/B experiments, belonging to either variant A, variant B, or the original (non-experimental) group.\u003c/p\u003e\n"],["\u003cp\u003eThe status of a mediation line dictates whether it is actively serving ads (enabled), inactive but recoverable (disabled), or permanently removed.\u003c/p\u003e\n"]]],["This document details the settings for an ad network within a mediation group, specifying a JSON structure for a mediation line. Key elements include the `id`, `displayName`, `adSourceId`, and `cpmMode` (LIVE, MANUAL, or ANO). The `cpmMicros` value determines the CPM, with a minimum of $0.01 USD. `adUnitMappings` links ad units to the line. The `state` can be ENABLED, DISABLED, or REMOVED. `experimentVariant` indicates A/B test group allocation (VARIANT_A, VARIANT_B, or ORIGINAL).\n"],null,["- [JSON representation](#SCHEMA_REPRESENTATION)\n- [CpmMode](#CpmMode)\n- [State](#State)\n- [Variant](#Variant)\n\nSettings for an ad network used by a mediation group.\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"id\": string, \"displayName\": string, \"adSourceId\": string, \"cpmMode\": enum (/admob/api/reference/rest/v1beta/MediationGroupLine#CpmMode), \"cpmMicros\": string, \"adUnitMappings\": { string: string, ... }, \"state\": enum (/admob/api/reference/rest/v1beta/MediationGroupLine#State), \"experimentVariant\": enum (/admob/api/reference/rest/v1beta/MediationGroupLine#Variant) } ``` |\n\n| Fields ||\n|---------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `id` | `string` The 16 digit ID for this mediation line e.g. 0123456789012345. When creating a new mediation group line, use a distinct negative integer as the ID place holder. |\n| `displayName` | `string` User-provided label for this mediation line. The maximum length allowed is 255 characters. |\n| `adSourceId` | `string` The ID of the ad source this mediation line is associated with. |\n| `cpmMode` | `enum (`[CpmMode](/admob/api/reference/rest/v1beta/MediationGroupLine#CpmMode)`)` Indicates how the CPM for this mediation line is provided. Note that `MANUAL` and `LIVE` are the only fully-supported mode at the moment. Please use the AdMob UI (\u003chttps://admob.google.com\u003e) if you wish to create or update to other cpm modes. |\n| `cpmMicros` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The CPM for this allocation line. $0.01 is the minimum allowed amount. For LIVE CPM modes, the default amount is $0.01. This value is ignored if `cpmMode` is `LIVE`. **Warning:** \"USD\" is the only supported currency at the moment. The unit is in micros. |\n| `adUnitMappings` | `map (key: string, value: string)` References of the ad unit mappings for each ad unit associated with this mediation line. Key is the ad unit ID, value is resource name of the ad unit mapping. For mediation lines where the ad source id is the AdMob Network, ad unit mappings will be ignored. An object containing a list of `\"key\": value` pairs. Example: `{ \"name\": \"wrench\", \"mass\": \"1.3kg\", \"count\": \"3\" }`. |\n| `state` | `enum (`[State](/admob/api/reference/rest/v1beta/MediationGroupLine#State)`)` The status of the mediation group line. Only enabled mediation group lines will be served. |\n| `experimentVariant` | `enum (`[Variant](/admob/api/reference/rest/v1beta/MediationGroupLine#Variant)`)` Output only. The Mediation A/B experiment variant to which the mediation group line belongs to. |\n\nCpmMode Types of Cpm that an ad unit allocation line can have.\n\n| Enums ||\n|------------------------|----------------------------------------------------------------------------------------------|\n| `CPM_MODE_UNSPECIFIED` | Default value for an unset field. Do not use. |\n| `LIVE` | CPM is calculated per ad request based on the ad auction. |\n| `MANUAL` | CPM is set by the user manually. |\n| `ANO` | CPM is retrieved from the ad network using the publisher specified credentials. Output only. |\n\nState Types of statuses available for a Mediation Group Line.\n\n| Enums ||\n|---------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `STATE_UNSPECIFIED` | Default value for an unset field. Do not use. |\n| `ENABLED` | The mediation group line is active and used to serve ads. |\n| `DISABLED` | The mediation group line has been disabled and is no longer served. Disabled mediation group lines can be re-enabled. |\n| `REMOVED` | The mediation group line will be removed and no longer served. Removed mediation group lines can not be re-enabled and will no longer be visible. This is an input only field. |\n\nVariant The Mediation A/B experiment variant to which the mediation group line belongs to.\n\n| Enums ||\n|-----------------------|---------------------------------------------------------|\n| `VARIANT_UNSPECIFIED` | Default value for an unset field. Do not use. |\n| `VARIANT_A` | The mediation group line belongs to the variant A. |\n| `VARIANT_B` | The mediation group line belongs to the variant B. |\n| `ORIGINAL` | The mediation group line isn't a part of an experiment. |"]]