diff --git a/Objective-C/BasicExample/Podfile b/Objective-C/BasicExample/Podfile index 98d7001..61628df 100644 --- a/Objective-C/BasicExample/Podfile +++ b/Objective-C/BasicExample/Podfile @@ -3,5 +3,5 @@ source 'https://github.com/CocoaPods/Specs.git' platform :ios, '14' target 'BasicExample' do - pod 'GoogleAds-IMA-iOS-SDK', '~> 3.23.0' + pod 'GoogleAds-IMA-iOS-SDK', '~> 3.24.0' end diff --git a/Objective-C/BasicExample/app/ViewController.m b/Objective-C/BasicExample/app/ViewController.m index 0ea11e4..eaa6768 100644 --- a/Objective-C/BasicExample/app/ViewController.m +++ b/Objective-C/BasicExample/app/ViewController.m @@ -82,6 +82,7 @@ - (void)requestStream { if (useLiveStream) { // Live stream request. Replace the asset key with your value. request = [[IMALiveStreamRequest alloc] initWithAssetKey:@"c-rArva4ShKVIAkNfy6HUQ" + networkCode:@"21775744923" adDisplayContainer:self.adDisplayContainer videoDisplay:self.imaVideoDisplay userContext:nil]; @@ -89,6 +90,7 @@ - (void)requestStream { // VOD request. Replace the content source ID and video ID with your values. request = [[IMAVODStreamRequest alloc] initWithContentSourceID:@"2548831" videoID:@"tears-of-steel" + networkCode:@"21775744923" adDisplayContainer:self.adDisplayContainer videoDisplay:self.imaVideoDisplay userContext:nil];