Skip to content

Commit

Permalink
GoogleAdManager/11.2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jenkins committed Apr 2, 2024
1 parent 8088b62 commit 26a549d
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Pod::Spec.new do |s|

s.authors = 'AppLovin Corporation'
s.name = 'AppLovinMediationGoogleAdManagerAdapter'
s.version = '11.2.0.0'
s.version = '11.2.0.1'
s.platform = :ios, '12.0'
s.summary = 'Google Ad Manager adapter used for mediation with the AppLovin MAX SDK'
s.homepage = "https://github.com/CocoaPods/Specs/search?o=desc&q=#{s.name}&s=indexed"
Expand Down
4 changes: 4 additions & 0 deletions GoogleAdManager/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 11.2.0.1
* Added Privacy Manifest defining use of NSUserDefaults.
* Remove deprecated callbacks `didStartRewardedAdVideo`, `didCompleteRewardedAdVideo`, `didStartRewardedInterstitialAdVideo` and `didCompleteRewardedInterstitialAdVideo`.

## 11.2.0.0
* Certified with GoogleAdManager SDK 11.2.0.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
1D9AE8ED21423C7E00080475 /* CoreTelephony.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreTelephony.framework; path = System/Library/Frameworks/CoreTelephony.framework; sourceTree = SDKROOT; };
1D9AE8EE21423C7E00080475 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = System/Library/Frameworks/CoreData.framework; sourceTree = SDKROOT; };
1D9AE8FC21423C9200080475 /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = System/Library/Frameworks/QuartzCore.framework; sourceTree = SDKROOT; };
25C7D2F12BAC7A1300955AA1 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
630D5B37239730D300DA5E07 /* ALGoogleAdManagerMediationAdapter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ALGoogleAdManagerMediationAdapter.m; sourceTree = "<group>"; };
630D5B38239730D300DA5E07 /* ALGoogleAdManagerMediationAdapter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ALGoogleAdManagerMediationAdapter.h; sourceTree = "<group>"; };
6A561CEF219BB5D400E3749A /* libGoogleAdManagerAdapter.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libGoogleAdManagerAdapter.a; sourceTree = BUILT_PRODUCTS_DIR; };
Expand Down Expand Up @@ -111,6 +112,7 @@
children = (
6A5A632F21C0872D00B755D7 /* AppLovinMediationGoogleAdManagerAdapter.podspec */,
6A5A632E21C0872C00B755D7 /* CHANGELOG.md */,
25C7D2F12BAC7A1300955AA1 /* PrivacyInfo.xcprivacy */,
);
name = "Supporting Files";
sourceTree = "<group>";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#import "ALGoogleAdManagerMediationAdapter.h"
#import <GoogleMobileAds/GoogleMobileAds.h>

#define ADAPTER_VERSION @"11.2.0.0"
#define ADAPTER_VERSION @"11.2.0.1"

#define TITLE_LABEL_TAG 1
#define MEDIA_VIEW_CONTAINER_TAG 2
Expand Down Expand Up @@ -997,7 +997,6 @@ - (instancetype)initWithParentAdapter:(ALGoogleAdManagerMediationAdapter *)paren
- (void)adWillPresentFullScreenContent:(id<GADFullScreenPresentingAd>)ad
{
[self.parentAdapter log: @"Rewarded interstitial ad shown: %@", self.placementIdentifier];
[self.delegate didStartRewardedInterstitialAdVideo];
}

- (void)ad:(id<GADFullScreenPresentingAd>)ad didFailToPresentFullScreenContentWithError:(NSError *)error
Expand Down Expand Up @@ -1028,8 +1027,6 @@ - (void)adDidRecordClick:(id<GADFullScreenPresentingAd>)ad

- (void)adDidDismissFullScreenContent:(id<GADFullScreenPresentingAd>)ad
{
[self.delegate didCompleteRewardedInterstitialAdVideo];

if ( [self hasGrantedReward] || [self.parentAdapter shouldAlwaysRewardUser] )
{
MAReward *reward = [self.parentAdapter reward];
Expand Down Expand Up @@ -1062,7 +1059,6 @@ - (instancetype)initWithParentAdapter:(ALGoogleAdManagerMediationAdapter *)paren
- (void)adWillPresentFullScreenContent:(id<GADFullScreenPresentingAd>)ad
{
[self.parentAdapter log: @"Rewarded ad shown: %@", self.placementIdentifier];
[self.delegate didStartRewardedAdVideo];
}

- (void)ad:(id<GADFullScreenPresentingAd>)ad didFailToPresentFullScreenContentWithError:(NSError *)error
Expand Down Expand Up @@ -1093,8 +1089,6 @@ - (void)adDidRecordClick:(id<GADFullScreenPresentingAd>)ad

- (void)adDidDismissFullScreenContent:(id<GADFullScreenPresentingAd>)ad
{
[self.delegate didCompleteRewardedAdVideo];

if ( [self hasGrantedReward] || [self.parentAdapter shouldAlwaysRewardUser] )
{
MAReward *reward = [self.parentAdapter reward];
Expand Down
19 changes: 19 additions & 0 deletions GoogleAdManager/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSPrivacyCollectedDataTypes</key>
<array/>
<key>NSPrivacyAccessedAPITypes</key>
<array>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>CA92.1</string>
</array>
</dict>
</array>
</dict>
</plist>

0 comments on commit 26a549d

Please sign in to comment.