REST Resource: accounts.adUnits.adUnitMappings
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
संसाधन: AdUnitMapping
AdMob की विज्ञापन यूनिट को तीसरे पक्ष की विज्ञापन यूनिट से मैप करने के लिए सेटिंग.
JSON के काेड में दिखाना |
{
"name": string,
"adapterId": string,
"state": enum (State ),
"adUnitConfigurations": {
string: string,
...
},
"displayName": string
} |
फ़ील्ड |
name |
string
इस विज्ञापन यूनिट को मैप करने के लिए, संसाधन का नाम. फ़ॉर्मैट यह है: accounts/{publisherId}/adUnits/{ad_unit_id_फ़्रैगमेंट}/adUnitMappings/{adUnitMappingId} उदाहरण: accounts/pub-1234567890123456/adUnits/0123456789/adUnitMappings/987654321
|
adapterId |
string (int64 format)
मीडिएशन विज्ञापन सोर्स अडैप्टर का आईडी, जिसका इस्तेमाल इस विज्ञापन यूनिट को मैप करने के लिए किया गया है. अडैप्टर, ad_network_settings में ज़रूरी जानकारी तय करता है.
|
state |
enum (State )
सिर्फ़ आउटपुट के लिए. इस विज्ञापन यूनिट को मैप करने का स्टेटस.
|
adUnitConfigurations |
map (key: string (int64 format), value: string)
तीसरे पक्ष की विज्ञापन नेटवर्क कंपनी को विज्ञापन अनुरोध करने के लिए, चुनी गई विज्ञापन यूनिट की सेटिंग. विज्ञापन नेटवर्क कंपनी की ओर से अनुरोध की गई कुंजियों के लिए, उपयोगकर्ता की सेट की गई वैल्यू के साथ की-वैल्यू पेयर. नेटवर्क सेटिंग कॉन्फ़िगर करने का तरीका जानने के लिए, कृपया https://support.google.com/admob/answer/3245073 देखें. एक ऑब्जेक्ट, जिसमें "key": value पेयर की सूची है. उदाहरण: { "name": "wrench", "mass": "1.3kg", "count": "3" } .
|
displayName |
string
ज़रूरी नहीं. इस विज्ञापन यूनिट को मैप करने वाले इंस्टेंस का डिसप्ले नेम.
|
स्थिति
विज्ञापन यूनिट की मैपिंग का स्टेटस. नई बनाई गई विज्ञापन यूनिट की मैपिंग को 'चालू है' पर सेट किया गया है.
सिर्फ़ आउटपुट के लिए.
Enums |
STATE_UNSPECIFIED |
डिफ़ॉल्ट वैल्यू. |
ENABLED |
विज्ञापन यूनिट की मैपिंग की सुविधा चालू है. इसका इस्तेमाल, विज्ञापन दिखाने या आंकड़े इकट्ठा करने के लिए किया जाता है. |
तरीके |
|
किसी AdMob खाते और विज्ञापन यूनिट के तहत, विज्ञापन यूनिट की मैपिंग बनाएं. |
|
तय किए गए AdMob खाते और विज्ञापन यूनिट में, विज्ञापन यूनिट की मैपिंग की सूची बनाएं. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-08-21 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-08-21 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eAdUnitMapping settings allow you to link an AdMob ad unit to a third-party ad unit for mediation.\u003c/p\u003e\n"],["\u003cp\u003eThe mapping includes configurations like adapter ID, state (enabled/disabled), and custom network settings.\u003c/p\u003e\n"],["\u003cp\u003eYou can manage these mappings through methods to create and list them for specific AdMob accounts and ad units.\u003c/p\u003e\n"],["\u003cp\u003eAd unit mappings start in an enabled state and can be used to serve ads or gather statistics.\u003c/p\u003e\n"]]],["AdUnitMapping resources connect AdMob ad units to third-party ad units. Key actions involve creating and listing these mappings. Each mapping includes a name, adapter ID, state (like ENABLED), and ad unit configurations—settings for the third-party ad network. The `displayName` is an optional name for the mapping. The `State` field indicates the mapping's status. `adUnitConfigurations` contains key-value pairs for the third party settings.\n"],null,["# REST Resource: accounts.adUnits.adUnitMappings\n\n- [Resource: AdUnitMapping](#AdUnitMapping)\n - [JSON representation](#AdUnitMapping.SCHEMA_REPRESENTATION)\n- [State](#State)\n- [Methods](#METHODS_SUMMARY)\n\nResource: AdUnitMapping\n-----------------------\n\nSettings to map an AdMob ad unit to a 3rd party ad unit.\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"adapterId\": string, \"state\": enum (/admob/api/reference/rest/v1beta/accounts.adUnits.adUnitMappings#State), \"adUnitConfigurations\": { string: string, ... }, \"displayName\": string } ``` |\n\n| Fields ||\n|------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Resource name of this ad unit mapping. Format is: accounts/{publisherId}/adUnits/{ad_unit_id_fragment}/adUnitMappings/{adUnitMappingId} Example: accounts/pub-1234567890123456/adUnits/0123456789/adUnitMappings/987654321 |\n| `adapterId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The ID of mediation ad source adapter used by this ad unit mapping. The adapter determines the information needed in the ad_network_settings. |\n| `state` | `enum (`[State](/admob/api/reference/rest/v1beta/accounts.adUnits.adUnitMappings#State)`)` Output only. The status of this ad unit mapping. |\n| `adUnitConfigurations` | `map (key: string (`[int64](https://developers.google.com/discovery/v1/type-format)` format), value: string)` Settings for the specified ad unit to make an ad request to 3rd party ad network. Key-value pairs with values set by the user for the keys requested by the ad network. Please see \u003chttps://support.google.com/admob/answer/3245073\u003e for details on how to configure the network settings. An object containing a list of `\"key\": value` pairs. Example: `{ \"name\": \"wrench\", \"mass\": \"1.3kg\", \"count\": \"3\" }`. |\n| `displayName` | `string` Optional. The display name of this ad unit mapping instance. |\n\nState\n-----\n\nStatus of the ad unit mapping. Newly created ad unit mapping is set to ENABLED.\n\nOutput only.\n\n| Enums ||\n|---------------------|--------------------------------------------------------------------------|\n| `STATE_UNSPECIFIED` | The default value. |\n| `ENABLED` | The ad unit mapping is active and used to serve ads or collecting stats. |\n\n| Methods ------- ||\n|---------------------------------------------------------------------------------------|-------------------------------------------------------------------------|\n| ### [create](/admob/api/reference/rest/v1beta/accounts.adUnits.adUnitMappings/create) | Create an ad unit mapping under the specific AdMob account and ad unit. |\n| ### [list](/admob/api/reference/rest/v1beta/accounts.adUnits.adUnitMappings/list) | List ad unit mappings under the specified AdMob account and ad unit. |"]]