हमारे प्रॉडक्ट के बारे में चर्चा करने और सुझाव/राय देने के लिए, Google विज्ञापन और मेज़रमेंट कम्यूनिटी सर्वर में Ad Manager के आधिकारिक Discord चैनल से जुड़ें.
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
यह गाइड उन पब्लिशर के लिए है जो LG U+AD के साथ Google Mobile Ads mediation का इस्तेमाल करना चाहते हैं. इसमें, आपके मौजूदा iOS ऐप्लिकेशन के साथ काम करने के लिए, मीडिएशन अडैप्टर को सेटअप करने का तरीका बताया गया है. साथ ही, इसमें अतिरिक्त सेटिंग को कॉन्फ़िगर करने का तरीका भी बताया गया है.
अपने ऐप्लिकेशन में पहले की तरह ही विज्ञापन इंटिग्रेट करें. पेज पर अचानक न दिखने वाले विज्ञापनों (बैनर साइज़, लीडरबोर्ड साइज़ वगैरह) को इंटिग्रेट करने के लिए, बैनर विज्ञापन देखें. अचानक दिखने वाले (इंटरस्टीशियल) विज्ञापन (फ़ुल-स्क्रीन विज्ञापन, जो अन्य सभी कॉन्टेंट को छिपा देते हैं) इंटिग्रेट करने के लिए, अचानक दिखने वाले विज्ञापन देखें.
नीचे दिए गए चरणों को पूरा करने पर, आपके विज्ञापन प्लेसमेंट को मीडिएशन प्लेसमेंट में बदल दिया जाएगा. इससे कई नेटवर्क के विज्ञापन दिखाए जा सकते हैं.
डाउनलोड किए गए नेटवर्क अडैप्टर/एसडीके को Xcode में जोड़ें: अपने प्रोजेक्ट पर राइट क्लिक करें और project में फ़ाइलें जोड़ें पर क्लिक करें.
LG U+AD के लिए ज़रूरी फ़्रेमवर्क, कंपाइलर फ़्लैग या लिंकर फ़्लैग शामिल करें. आपको कोई और कोड लिखने की ज़रूरत नहीं है. मीडिएशन, विज्ञापन बनाने के लिए LG U+AD अडैप्टर और SDK टूल को ज़रूरत के हिसाब से चालू करता है.
इवेंट की सूचना पाने की सुविधा सेट अप करना
इंप्रेशन जैसे विज्ञापन के लाइफ़साइकल इवेंट की सूचना पाने के लिए, GADBannerViewDelegate लागू किया जा सकता है. मीडिएशन का इस्तेमाल करने पर, इस डेलिगेट को LG U+AD से मिलने वाले इवेंट की सूचना अपने-आप मिल जाती है. उदाहरण के लिए, किसी भी विज्ञापन नेटवर्क से मिले इंप्रेशन की जानकारी, adViewDidReceiveAd: तरीके से GADBannerViewDelegate के ज़रिए दी जाती है.
adNetworkClassName की वैल्यू देखें
आपके पास GAMBannerView पर adNetworkClassName प्रॉपर्टी की जांच करने का विकल्प होता है. यह प्रॉपर्टी, विज्ञापन नेटवर्क की उस क्लास का नाम दिखाती है जिसने adViewDidReceiveAd कॉलबैक के कॉल होने के बाद, मौजूदा बैनर को फ़ेच किया है:
Swift
funcadViewDidReceiveAd(_bannerView:GAMBannerView){print("Banner adapter class name: \(bannerView.adNetworkClassName)")}
Objective-C
-(void)adViewDidReceiveAd:(GAMBannerView*)bannerView{NSLog(@"Banner adapter class name: %@",bannerView.adNetworkClassName);}
इसी तरह, इंटरस्टीशियल के लिए interstitialDidReceiveAd में मौजूद GAMInterstitialAd पर adNetworkClassName प्रॉपर्टी की जांच करें:
Swift
funcinterstitialDidReceiveAd(_ad:GAMInterstitialAd){print("Interstitial adapter class name: \(ad.adNetworkClassName)")}
Objective-C
-(void)interstitialDidReceiveAd:(GAMInterstitialAd*)interstitial{NSLog(@"Interstitial adapter class name: %@",interstitial.adNetworkClassName);}
कस्टम इवेंट के ज़रिए फ़ेच किए गए विज्ञापनों के लिए, यह GADMAdapterCustomEvents दिखाता है.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2025-09-06 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eThis guide explains how to integrate LG U+AD into your iOS app using Google Mobile Ads mediation.\u003c/p\u003e\n"],["\u003cp\u003eIt requires a Google Ad Manager account and an iOS app with the Google Mobile Ads SDK already integrated.\u003c/p\u003e\n"],["\u003cp\u003eYou will need to download and add the LG U+AD adapter and SDK to your Xcode project.\u003c/p\u003e\n"],["\u003cp\u003eThe guide provides steps for setting up event notifications to track ad lifecycle events, like impressions.\u003c/p\u003e\n"],["\u003cp\u003eYou can identify the ad network that fetched an ad by checking the \u003ccode\u003eadNetworkClassName\u003c/code\u003e property.\u003c/p\u003e\n"]]],[],null,["This guide is intended for publishers who are interested in using Google\nMobile Ads mediation with **LG U+AD**. It walks\nthrough the setup of a mediation adapter to work with your current iOS app\nand the configuration of additional settings.\n\n| LG U+AD Resources |\n|-------------------------------------------------------|\n| [Documentation](https://ad.uplus.co.kr/index.html) |\n| [SDK](https://ad.uplus.co.kr/index.html) |\n| [Adapter](https://ad.uplus.co.kr/index.html) |\n| [Customer support](https://ad.uplus.co.kr/index.html) |\n\nPrerequisites\n\n- An iOS app with Google Mobile Ads SDK integrated. (If you don't\n have one, see [Get Started](/ad-manager/mobile-ads-sdk/ios/quick-start).)\n\n- A Google Ad Manager account with [Mediation for mobile\n apps](//support.google.com/admanager/answer/6272813) configured.\n\nAdd LG U+AD to your project\n\nIntegrate ads into your app the same as before. To integrate\nnon-interstitial ads (banner size, leaderboard size, and so on),\nsee [Banner Ads](/ad-manager/mobile-ads-sdk/ios/banner). To integrate\ninterstitial ads (full-screen ads that mask all other content),\nsee [Interstitial Ads](/ad-manager/mobile-ads-sdk/ios/interstitial).\n\nThe following steps change your ad placement into a mediation\nplacement that can show ads from multiple networks.\n\n1. Download the adapter and SDK for LG U+AD from the\n [resources above](#resources).\n\n2. Add the downloaded network adapter/SDK in Xcode: right-click\n on your project and click **Add Files to \u003cvar class=\"readonly\" translate=\"no\"\u003eproject\u003c/var\u003e**.\n\n3. Include any frameworks, compiler flags, or linker flags that LG U+AD\n require. There's no need to write additional code. Mediation invokes the\n LG U+AD adapter and SDK as necessary to create ads.\n\nSet up event notification\n\nTo be notified of ad lifecycle events like impressions, you can implement\na `GADBannerViewDelegate`. When using mediation, this delegate is\nautomatically notified of events from LG U+AD. For example, impressions\nfrom any ad network are reported through the `adViewDidReceiveAd:` method of\n`GADBannerViewDelegate`.\n\nCheck the value of adNetworkClassName\n\nYou can optionally check the `adNetworkClassName` property on\n`GAMBannerView`, which returns the ad network class\nname of the ad network that fetched the current banner once the\n`adViewDidReceiveAd` callback is called: \n\nSwift \n\n func adViewDidReceiveAd(_ bannerView: GAMBannerView) {\n print(\"Banner adapter class name: \\(bannerView.adNetworkClassName)\")\n }\n\nObjective-C \n\n - (void)adViewDidReceiveAd:(GAMBannerView *)bannerView {\n NSLog(@\"Banner adapter class name: %@\", bannerView.adNetworkClassName);\n }\n\nSimilarly, for interstitials, check the `adNetworkClassName` property\non `GAMInterstitialAd` inside `interstitialDidReceiveAd`: \n\nSwift \n\n func interstitialDidReceiveAd(_ ad: GAMInterstitialAd) {\n print(\"Interstitial adapter class name: \\(ad.adNetworkClassName)\")\n }\n\nObjective-C \n\n - (void)interstitialDidReceiveAd:(GAMInterstitialAd *)interstitial {\n NSLog(@\"Interstitial adapter class name: %@\", interstitial.adNetworkClassName);\n }\n\nFor ads fetched through [custom events](/ad-manager/mobile-ads-sdk/ios/custom-events), it returns `GADMAdapterCustomEvents`.\n\n\u003cbr /\u003e"]]