File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 11source 'https://github.com/CocoaPods/Specs.git'
2- platform :ios , '8 .0'
2+ platform :ios , '10 .0'
33# GMA test application.
44target 'testapp' do
55 pod 'Google-Mobile-Ads-SDK' , '8.13.0'
Original file line number Diff line number Diff line change @@ -241,6 +241,8 @@ extern "C" int common_main(int argc, const char* argv[]) {
241241}
242242
243243void LoadAndShowAdView (const firebase::gma::AdRequest& ad_request) {
244+ LogMessage (" \n Load and show a banner ad in an AdView:" );
245+ LogMessage (" ===" );
244246 // Initialize an AdView.
245247 firebase::gma::AdView* ad_view = new firebase::gma::AdView ();
246248 const firebase::gma::AdSize banner_ad_size = firebase::gma::AdSize::kBanner ;
@@ -351,6 +353,8 @@ void LoadAndShowAdView(const firebase::gma::AdRequest& ad_request) {
351353}
352354
353355void LoadAndShowInterstitialAd (const firebase::gma::AdRequest& ad_request) {
356+ LogMessage (" \n Load and show an interstitial ad:" );
357+ LogMessage (" ===" );
354358 // Initialize an InterstitialAd.
355359 firebase::gma::InterstitialAd* interstitial_ad = new firebase::gma::InterstitialAd ();
356360 interstitial_ad->Initialize (GetWindowContext ());
@@ -407,6 +411,8 @@ void LoadAndShowInterstitialAd(const firebase::gma::AdRequest& ad_request) {
407411
408412// WIP
409413void LoadAndShowRewardedAd (const firebase::gma::AdRequest& ad_request) {
414+ LogMessage (" \n Load and show a rewarded ad:" );
415+ LogMessage (" ===" );
410416 // Initialize a RewardedAd.
411417 firebase::gma::RewardedAd* rewarded_ad = new firebase::gma::RewardedAd ();
412418 rewarded_ad->Initialize (GetWindowContext ());
@@ -460,4 +466,4 @@ void LoadAndShowRewardedAd(const firebase::gma::AdRequest& ad_request) {
460466 // Clean up the interstitial ad.
461467 delete rewarded_ad;
462468 rewarded_ad = nullptr ;
463- }
469+ }
You can’t perform that action at this time.
0 commit comments