3) サードパーティ製ネットワーク(AdMob, Millennial)を組み込む
Simple Ads Demo - iOS (2/3): Testing a Specific Ad Unit1) Retrieve the ad unit ID that you want to test. a) Click on ‘Code Integration’ button to display your ad unit id b) Click ‘Copy to Clipboard’ 2) Open MoPubSampleApp.xcodeproj in XCode a) Navigate to the following path: MoPubSampleApp -> MoPub -> Domain -> MPAdInfo.m b) Replace the Ad Unit ID based on the type of ad unit you have created (Banner-HTML, Banner-MRAID, Interstitial-HTML, Intersitial-MRAID) 3) Select iPhone or iPad simulator (click on the text ‘iPhone 6.0 Simulator’ area to select) 5) Once you click ‘Run’, xCode will compile the app (notice the progress bar below) and start the simulator in a separate window Additional notes: Be sure to change the AdUnit ID in the correct location (if you’re testing a banner ad, change the ID in the 320x50 line, MRect the 320x350 line). The iAd network is pre-configured in the SimpleAds Demo. MoPub Simple Ads Demo - iOS: 1) Opening Simple Ads Demo in Xcode |