Read Admob Mediation Integration Guide









 AdMob Integration GuideThis manual instructs you step by step on the way to set Admob stay as an Ad Network at the ironSource Mediation platform.⚡ Before you begin Make certain you've got got successfully incorporated ironSource’s Interstitial, Rewarded Video or Banner Mediation to your utility.Important! As of AdMob SDK 7.69.zero+, AdMob are the usage of XCFramework. 


If you're the usage of CocoaPods in your AdMob integration, make certain you've got got CocoaPods Version 1.9.zero+. As of V7.42.zero (Adapter model 4.three.three onwards), AdMob’s SDK calls for publishers to feature their AdMob App ID to the app’s plist as defined here.Alternatively, you may make this alteration programmaticallyGADApplicationIdentifier [APP_ID] Replace the “GADApplicationIdentifier” fee with the APP ID fee you retrieve in step three.

Step 1. Create an AdMob AccountTo get entry to AdMob’s advert stock thru ironSource ‘s Mediation platform, you have to create an account with AdMob. You can achieve this here. We endorse to regulate the time quarter of your AdMob’s account to UTC to align with the ironSource dashboard. This will make certain correct reporting. More data hereStep

 2. Create an Application and Ad Zone in AdmobNext, you have to upload your app and installation Ad Zones to your Admob account.AdMob does now no longer permit to installation extra than three advert zones of the equal Ad Type withinside the equal setup.e.g. no extra than 3 Rewarded Video advertisements being setup is permitted for the mediation group.Add Your App Log into your Admob account. On your dashboard, click on the ‘ Apps’ button.A modal will seem in which you may both look for your app, upload your app manually or sincerely pick an present app to monetize.

Note:

 You will want a completely unique Admob utility in keeping with platform (iOS + Android), simply similar to to your ironSource account. Select Interstitial, Rewarded Video or Banners as your advert unit layout and input the applicable details.For Interstitial:Ad Type: You can depart the 2 containers checked as we help text, image, video and wealthy media in interstitials.Ad unit call: we endorse naming the advert unit intuitively so it'll be clean to understand because the advert unit you’ll be serving Admob Interstitials thru the ironSource Mediation platform.For Rewarded Video: Ad unit call: we endorse naming the advert unit intuitively so it'll be clean to understand because the advert unit you’ll be serving Admob’s Rewarded Video thru the ironSource Mediation platform.For Banners:Ad Unit Name: we endorse naming the advert unit intuitively so it'll be clean to understand because the advert unit you’ll be serving Admob Bannersthrough the ironSource Mediation platform Important!and the Automatic refresh: and now Select the “Do now no longer refresh” option. (Reminder – you may manipulate the refresh price at the mediation platform)Now you may get your App ID and Ad Unit ID, earlier than you go out we endorse saving those for later use. You can click on ‘ Done ‘

.Step three. Activate AdMob in Your ironSource Network Setup ModuleServing Admob’s advertisements thru the ironSource Mediation platform has in no way been this clean. 

Sign in in your Google account whilst putting in place Admob at the ironSource SDK Networks Setup and we’ll retrieve all of the essential parameters to run Admob’s Interstitials, Rewarded Video and Banners for you!There are some portions of records out of your AdMob account which want to be inserted into your ironSource Network Setup Module so as for AdMob to paintings successfully in reference to ironSource:App ID The precise ID assigned in your app on Admob’s dashboard.


 API Key This is a completely unique identifier in your Admob account, which lets in ironSource Mediation Platform to import overall performance records out of your Admob account to apply in reporting & optimization. Ad Unit ID The precise ID assigned in your app’s advert unit on Admob’s dashboard. Client ID This is the precise identifier that specifies the connection among your account and the advert unit. Client Secret This is the precise identifier that specifies the connection among your account and the advert unit. Refresh Token This is the refresh token the patron utility already received.Once you bought this records, you have to configure Admob’s Parameters to your ironSource Account. By including the above records successfully, you may be capable of take complete benefit of Admob’s advert stock and reporting records at the ironSource Mediation platform.App IDTo retrieve your App ID, visit ‘Apps’ tab at the left facet bar on Admob’s platform and click on on ‘App Settings’ . You will then see the utility’s settings, in addition to the App ID.


Ad Unit IDTo retrieve your Ad Unit ID, visit ‘Apps’ tab at the left facet bar on Admob’s platform and click on on ‘Ad Units’. You will then see the utility’s advert units, in addition to the Ad Unit ID.API KEYTo retrieve your API KEY , you have to first create a delegated challenge in your app at the Google Cloud Console. If that is your first time growing a challenge, you may be requested to conform to the Terms of Service . Provide a call for the challenge and click on ‘ Create ‘. It might also additionally take a couple of minutes to set installation your new challenge.Go to Getting Started, in which you ought to pick “ Explore and permit APIs “ :Next, visit ‘ Credentials ‘ withinside the left sidebar.Select ‘ Create credentials ‘ and click on on ‘ API Key ‘ withinside the drop-down.This will mechanically create an API Key for you and gift it If you want to retrieve it later on, you may locate the API Key below API Keys withinside the Credentials section:Client ID & Client Secret To retrieve your Client ID & Client Secret , visit Google’s API Manager. Click at the API Project drop-down on the higher-left of the page, pick ‘ Create a challenge’ or pick the challenge you already created for this app:In the case you're growing a brand new challenge for this purpose, offer a Project call , Billing account and Location withinside the conversation field that looks and click on ‘ Create’ :In the left sidebar, pick ‘ Credentials’ , then pick the ‘ OAuth consent screen’ tab. On this page, offer a Product Name .

 Click Save : In the left sidebar, pick ‘ Dashboard ‘, and visit ‘ ENABLE APIS AND SERVICES‘: Next, ‘ Enable ‘ the AdMob API :Select the Credentials tab withinside the left sidebar. Click the ‘ Create Credentials’ drop-down and pick ‘ OAuth patron ID’ Select Web utility , and offer a call in your app.In the fields below, you have to input https://developers.google.com/oauthplayground for at the least one Authorized redirect URI . For example: Authorized JavaScript origins: https://YOUR_NAMESPACE (Optional) Authorized redirect URI: https://developers.google.com/oauthplayground Click ‘ Create ‘ and you may be supplied with your ‘ Client ID ‘ and ‘ Client Secret ‘:Refresh TokenTo retrieve your Refresh Token , visit the OAuth 2.zero Playground. Click the settings icon withinside the higher proper corner. Uncheck the field categorized Force approval spark off and test Use your very own OAuth credentials . Input your Client ID and Client Secret:Next, in Step 1: Select & Authorize APIS , input ‘ https://www.googleapis.com/auth/admob.report’ and click on ‘ Authorize APIs ‘:Grant your challenge get entry to in your AdMob records You ought to then get hold of the Authorization Code from Step 1 and may be capable of click on the Exchange authorization code for tokens button. Then you may get a Refresh token in addition to an Access Token:Configure Admob’s Parameters into ironSource AccountOnce you've got got all of those parameters, log in in your ironSource account and visit ‘ Monetize ‘ ➣ ‘ SETUP ‘ ➣ ‘ SDK Networks ‘.Select Admob from the listing of Manage Networks and input the Admob ‘ API Key ‘, ‘ Client ID ‘, ‘ Client Secret ‘ and ‘ Refresh Token ‘ or click on the ‘ Login with Google ‘ option.


Login with Google: Click ‘ Save ‘. Admob will then be enabled withinside the Available Ad Networks table.Next, pick the app on which you’d want to run ironSource’s Mediation with Admob.Select Admob from the Setup listing of Ad Networks and click on at the device Define icon.and now insert the ‘ App ID’ and ‘ Ad Unit ID ‘ in  Interstitial, Rewarded Video, or Banner Verify your integration with the Reporting API; this column will test your integration thru the Reporting API and go back 3 feasible responses: Verified, Failed and No Response. Double test your integration and the records you entered above; then click on ‘ Retry ‘ till you see ‘ Verified’ .

Step 4. Add the Admob Adapter to Your BuildiOSironSource helps each Cocoapods and Manual down load mechanisms.CocoapodsTo combine the AdMob SDK with Cocoapods, input the subsequent line to your podfile and you’re right to go!pod IronSourceAdMobAdapter,4.three.18.0Manual DownloadDownload the AdMob AdapterAdd the AdMob Adapter and SDK in your build. You can locate the modern AdMob Adapter and SDK here.As the AdMob Adapter does now no longer comprise the AdMob SDK. You want to feature the AdMob SDK in your challenge as well. 


Add the AdMob frameworks in your ProjectAfter you down load the Adapter and SDK, drop the Adapter and SDK framework documents into your Xcode Project. Open Target ➣ Build Settings ➣ Architectures and affirm that your Xcode Project makes use of Base SDK model 8.zero or extra and that it does now no longer use armv6 architecture. Linker Flags:Add separate linker flags to Target ➣ Build Settings ➣ Linking ➣ Other Linker Flags:–ObjC

Step 5. Update Info.plistAs of V7.42.zero (Adapter model 4.three.three onwards), AdMob’s SDK calls for publishers to feature their AdMob App ID to the app’s plist as defined here.Alternatively, you may make this alteration programmaticallyGADApplicationIdentifier [APP_ID]Replace the “GADApplicationIdentifier” fee with the APP ID fee you retrieve in step three.Not doing so effects in crashes originated with AdMob’s SDK. For extra records please talk to AdMob’s manual.


Step 6. Additional StepsChild-directed setting – COPPAironSource’s mediation platform shall we publishers talk AdMob Child-directed settings without delay to the AdMob community.This characteristic is enabled the usage of ironSource SDK 6.14.zero+, AdMob iOS Adapter 4.three.11+.


Use the subsequent syntax, to set AdMob tagForChildDirectedTreatment with the parameter YES:[IronSource setMetaDataWithKey:@ AdMob_TFCD value:@YES];Use the subsequent syntax, to set AdMob tagForChildDirectedTreatment with the parameter NO:[IronSource setMetaDataWithKey:@ AdMob_TFCD value:@NO];To study extra approximately Child-directed settings Under AdMob community go to here.here.Users below the age of consent – GDPRironSource’s mediation platform shall we publishers talk with AdMob community, a Tag For Users below the Age of Consent in Europe (TFUA) request.This characteristic is enabled the usage of ironSource SDK 6.14.zero+, AdMob iOS Adapter 4.three.11+.Use the subsequent syntax, to set tagForUnderAgeOfConsent with YES:


[IronSource setMetaDataWithKey:@ AdMob_TFUA value:@YES];Use the subsequent syntax, to set tagForUnderAgeOfConsent with NO:[IronSource setMetaDataWithKey:@ AdMob_TFUA value:@NO];To study extra approximately Child-directed settings Under AdMob community go to here.here.

Note: Verify Your Ad Network Integration The ironSource SDK gives an clean manner to affirm that your mediation integration turned into finished successfully. To affirm your ironSource and further Ad Networks’ integration, observe this document.Done!You at the moment are prepared to supply Admob Ads inside your utility!

Post a Comment

0 Comments