Giter VIP home page Giter VIP logo

googleads-mobile-ios-mediation's Introduction

Google Mobile Ads SDK for iOS

The Google Mobile Ads SDK is the latest generation in Google mobile advertising featuring refined ad formats and streamlined APIs for access to mobile ad networks and advertising solutions. The SDK enables mobile app developers to maximize their monetization in native mobile apps.

This repository is broken into two sections:

Example adapter and custom event project

This repository contains the source code for a sample project demonstrating how an ad network can plug into AdMob Mediation. There are four main components:

  • Sample SDK - This is a mock SDK that stands in for a real ad network SDK. This project is intended to show developers how to use custom events and mediation adapters to adapt other ad networks' SDKs, so here we adapt a fake one.
  • Custom Event - A sample custom event class that will request ads from the Sample SDK and pass them on to the Google Mobile Ads SDK.
  • Adapter - A sample mediation adapter that will also request ads from the Sample SDK and pass them on to the Google Mobile Ads SDK.
  • MediationExample - A simple, one-view application that displays ads loaded through the adapter and custom event. It can be used to test the functionality of both.

If you're just getting started developing a custom event or adapter, you can replace the code inside this project's adapter and/or custom event classes and (as long as you don't change the names of those two classes) test your own implementation. The ad units provided as part of the project are keyed to the names of the adapter and custom event classes.

Building the example project

To build the project, follow these steps:

  1. Download or clone the source onto your local machine.
  2. Run 'pod update' in the project's root directory (this will download the SDK).
  3. Open the workspace file in Xcode.
  4. Run the project.

Mediation Adapters

Open source adapters for mediating via the Google Mobile Ads SDK. A list of these adapters is available on our Mediation page.

Downloads

For prebuilt versions of these adapters, see our mediation developer site. Select an individual ad network's guide, and look for download links in the Changelog. The ad network guides also explain how to include adapters via CocoaPods.

Documentation

Check out our developer site for documentation on using the SDK, and our mediation developer guide for information on how to create an adapter. You can also join the developer community on our forum.

Suggesting improvements

To file bugs, make feature requests, or to suggest other improvements, please use github's issue tracker.

License

Apache 2.0 License

googleads-mobile-ios-mediation's People

Contributors

alicenowonderland avatar arnaumartifont avatar aserrr avatar ashinagawa avatar daniel-barros avatar ericleich avatar fan-t-kinami avatar gilisrc avatar im-ttmskk avatar jillsong avatar jindoujiao avatar joshuajplagonera avatar maddevrelgithubbot avatar mahesh-kokate avatar maninomula avatar mintegral-lee avatar rajat-kasliwal-inmobi avatar rampara avatar redbrogdon avatar richardh-unity3d avatar sbagadi avatar stanley-vungle avatar thomasmso avatar tomerfyber avatar vedant-mehta39 avatar venkinmobi avatar vita-unity avatar wangyuanyuanyy avatar yroxe avatar yuevungle avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

googleads-mobile-ios-mediation's Issues

Nend not not with SmartBanner

Nend's Banner Adapter will not work if using SmartBanner as the host. Even the SmartBanner's size is enough big.
That because of the code below. Other adapters don't have this problem.

- (void)getBannerWithSize:(GADAdSize)adSize {
  id<GADMAdNetworkConnector> strongConnector = self.connector;
  if (!GADAdSizeEqualToSize(adSize, kGADAdSizeBanner) &&           // 320x50
      !GADAdSizeEqualToSize(adSize, kGADAdSizeLargeBanner) &&      // 320x100
      !GADAdSizeEqualToSize(adSize, kGADAdSizeMediumRectangle) &&  // 300x250
      !GADAdSizeEqualToSize(adSize, kGADAdSizeLeaderboard)) {      // 728x90
    [strongConnector adapter:self didFailAd:nil];
    return;
  }

Crash when delegate?.customEventBanner(self, didReceiveAd: SampleBanner()) is called.

Steps to reproduce:

  1. Create app in Swift, Integrated DFP SDK (In My case DFP SDK v7.29.0)
  2. Create adapter class (.e.g MyCustomEvent ) by implementing GADCustomEventBanner in swift

Observation
When mediation SDK successfully receives ad, & try to notify DFP SDK using below callback
delegate?.customEventBanner(self, didReceiveAd: SampleBanner())
DFP SDK crashes.

Below is attached stack trace.

2018-03-12 12:39:53.870103+0530 SampleAppSwift[37264:2578197] -[_SwiftValue objCType]: unrecognized selector sent to instance 0x604000276c00 2018-03-12 12:39:53.878457+0530 SampleAppSwift[37264:2578197] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[_SwiftValue objCType]: unrecognized selector sent to instance 0x604000276c00' *** First throw call stack: ( 0 CoreFoundation 0x0000000108b0e12b __exceptionPreprocess + 171 1 libobjc.A.dylib 0x00000001081a2f41 objc_exception_throw + 48 2 CoreFoundation 0x0000000108b8f024 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132 3 CoreFoundation 0x0000000108a90f78 ___forwarding___ + 1432 4 CoreFoundation 0x0000000108a90958 _CF_forwarding_prep_0 + 120 5 SampleAppSwift 0x00000001032952d2 GADAdSizeFromNSValue + 93 6 SampleAppSwift 0x00000001032a0307 GADCategories_GADSlot_State + 16680 7 SampleAppSwift 0x00000001032a0606 GADCategories_GADSlot_State + 17447 8 SampleAppSwift 0x0000000103261046 GADCategories_GADCustomEventRequest_Private + 7058 9 SampleAppSwift 0x0000000103266373 GADCategories_GADCustomEventRequest_Private + 28351 10 SampleAppSwift 0x000000010326ae0f GADCategories_GADCustomEventRequest_Private + 47451 11 SampleAppSwift 0x0000000103200b9d _T014SampleAppSwift19PMCustomEventBannerC9requestAdySC9GADAdSizeV_SSSg9parameterAG5labelSo09GADCustomE7RequestC0G0tF + 381 12 SampleAppSwift 0x0000000103200eba _T014SampleAppSwift19PMCustomEventBannerC9requestAdySC9GADAdSizeV_SSSg9parameterAG5labelSo09GADCustomE7RequestC0G0tFTo + 570 13 SampleAppSwift 0x000000010326a300 GADCategories_GADCustomEventRequest_Private + 44620 14 SampleAppSwift 0x000000010326621e GADCategories_GADCustomEventRequest_Private + 28010 15 SampleAppSwift 0x00000001032600ba GADCategories_GADCustomEventRequest_Private + 3078 16 SampleAppSwift 0x0000000103260ba7 GADCategories_GADCustomEventRequest_Private + 5875 17 SampleAppSwift 0x0000000103299e42 GADCategories_GADSlot_Mediation + 2409 18 SampleAppSwift 0x00000001032979f1 GADCategories_GADSlot_AdResponse + 221 19 SampleAppSwift 0x00000001032a0ce3 GADCategories_GADSlot_State + 19204 20 SampleAppSwift 0x0000000103292af0 GADJavaScriptCommandForNotification + 3843 21 SampleAppSwift 0x00000001032821d9 GADIsValidPingURLResponse + 12211 22 CFNetwork 0x0000000104173a45 __65-[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:]_block_invoke + 53 23 CFNetwork 0x000000010417396a -[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:] + 198 24 CFNetwork 0x0000000104173892 -[NSURLConnectionInternal _withActiveConnectionAndDelegate:] + 48 25 CFNetwork 0x0000000104177d21 ___ZN27URLConnectionClient_Classic26_delegate_didFinishLoadingEU13block_pointerFvvE_block_invoke + 100 26 CFNetwork 0x00000001042e6273 ___ZN27URLConnectionClient_Classic18_withDelegateAsyncEPKcU13block_pointerFvP16_CFURLConnectionPK33CFURLConnectionClientCurrent_VMaxE_block_invoke_2 + 100 27 libdispatch.dylib 0x000000010ddf633d _dispatch_client_callout + 8 28 libdispatch.dylib 0x000000010ddfb9f3 _dispatch_block_invoke_direct + 592 29 CFNetwork 0x0000000104173764 _ZN19RunloopBlockContext13_invoke_blockEPKvPv + 24 30 CoreFoundation 0x0000000108a5c268 CFArrayApplyFunction + 72 31 CFNetwork 0x000000010417363a _ZN19RunloopBlockContext7performEv + 132 32 CFNetwork 0x00000001041734d8 _ZN17MultiplexerSource7performEv + 282 33 CFNetwork 0x000000010417330b _ZN17MultiplexerSource8_performEPv + 65 34 CoreFoundation 0x0000000108ab1101 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 35 CoreFoundation 0x0000000108b50f71 __CFRunLoopDoSource0 + 81 36 CoreFoundation 0x0000000108a95a19 __CFRunLoopDoSources0 + 185 37 CoreFoundation 0x0000000108a94fff __CFRunLoopRun + 1279 38 CoreFoundation 0x0000000108a94889 CFRunLoopRunSpecific + 409 39 GraphicsServices 0x000000010d27b9c6 GSEventRunModal + 62 40 UIKit 0x0000000108f8c5d6 UIApplicationMain + 159 41 SampleAppSwift 0x00000001031ffda7 main + 55 42 libdyld.dylib 0x000000010de72d81 start + 1 ) libc++abi.dylib: terminating with uncaught exception of type NSException

Note : Same setup works with adapter written in ObjC.

duplicate symbol _shouldDownloadImages in InMobiAdapter and MoPubAdapter

duplicate symbol _shouldDownloadImages in:
    /.../Pods/GoogleMobileAdsMediationInMobi/InMobiAdapter-7.0.4.0/InMobiAdapter.framework/InMobiAdapter(GADMAdapterInMobi.o)
    /.../Pods/GoogleMobileAdsMediationMoPub/MoPubAdapter-4.20.0.0/MoPubAdapter.framework/MoPubAdapter(GADMAdapterMoPub.o)
ld: 1 duplicate symbol for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Facebook native ads call to action button does not respond to taps

I'm finishing my Facebook native ads mediation integration and I've noticed during testing that the call to action button does not respond to taps when a facebook native ad is shown.

My setup is similar to the NativeAdvancedExample. The main difference is that I've added pod 'GoogleMobileAdsMediationFacebook' to the Podfile and that I'm using an ad unit id that has mediation with facebook.

The problem seems to be connected to the following code:

// In order for the SDK to process touch events properly, user interaction should be disabled.  
nativeAdView.callToActionView?.isUserInteractionEnabled = false

This is done when a native ad comes in and the GADUnifiedNativeAdView is populated with the native ad's properties. I've taken this line of code from the NativeAdvancedExample above. As soon as I change this line to:

nativeAdView.callToActionView?.isUserInteractionEnabled = true

everything works as expected with AdMob ads and with Facebook ads. Both respond to touches on the call to action button.

This is similar to the following issue from the past #92

I can create a sample project if this is needed.

Mopub adapter freeze iOS on app startup

I notice Mopub iOS sdk 5.10 cause some devices like iPhone 6, iPhone 7 with iOS13.3+ to hang when app is opened.
Disabling mopub medation in Admob doesn't help.

If I integrate Mopub iOS sdk 5.10 alone, crash doesn't happen.

This is not the first time I have such issue. Numerous issues happen too with Android. And it is very hard to debug without proper device model.

Who should be responsible for the crash ? The admob adapter or the Mopub sdk ?

Why disabling the mediation in Admob doesn't help ? It needs to be if there are so many unknown bugs with the Mediation adapters and not tested properly ?

Unity Ads Adapter is not working as expected

The first banner request shows fine, but then once it makes another request after 30 seconds it shows this each time it makes a request. I don't know why its calling "Unity Ads Banner did hide." it seems like the unity ad is loading but for some reason its then getting hidden and then destroyed and this happens each time the ad is requested it doesn't even get Ad Failed and then load an ad from another network in the mediation stack. It keeps repeating this same thing while the banner is hidden

I/UnityAds: +[UnityAdsBanner loadBanner:] (line:19) :: Unity Ads opening banner ad unit for placement Banner
Unity Ads Banner did hide.
I/UnityAds: +[UnityAdsBanner destroy] (line:41) :: Unity Ads destroying current banner ad unit.
Unity Ads Banner is showing.
Unity Ads Banner did hide.
Unity Ads Banner has unloaded.

Screen Shot 2019-06-18 at 12 49 00 AM

Selim Bakdemir

When i try to add the adapter via cocoapods:

pod 'GoogleMobileAdsMediationAdColony', '3.2.1.1'

the project can not be build via XCode 8.x, because of linking missing frameworks.

When i investigate AdColonyFramework, it is build and linked against 'FileProvider.framework', which i dont have in XCode 8.x SDK.

Library needs to be updated to be compatible XCode 8.x too.

Can't Custom Mediation Adapter serve ads?

Hi, I'm working for an Ads SDK company.
I hope our sdk will be mediate through Admob.
So, I implemented the mediation adapter according to the official guide and then checked the product by using the Mediation Test Suite.

However, even though the information about the Custom Event is correctly recognized, the adapter implemented by New API did not call the initialize method. So Admob ignored the correct response to the load request because the Adapter settings were incorrect.

So I implemented and tested the Adapter using the Old API in a similar way, there's an error message saying "Ad network adapter ** implements an old API. Please update the adapter."

The old API worked on Android, but on iOS, it couldn't. I wonder what should I do to serve ads through custom mediation adapter?

please make AppLovin to support kGADAdSizeSmartBanner[Portrait|Landscape]

I used Smart Banner and with different sizes base on the empty space.
But look like AppLovinAdapter doesn't know automatically trim down to AppLovin supported sizes.
Like below my banner size is 667 width and 50 height. It can trim down easily to 320 width 50 height in the AppLovinAdapter.

2019-10-12 16:24:39.360694+0800 App[568:257643] AppLovinAdapter: Banner failed to load with error: 204
2019-10-12 16:24:39.362666+0800 App[568:257643] Requested unsupported banner size: Custom GADAdSize: {667, 50}

Old Facebook Adapters versions were deleted

Hey,
A bunch of old facebook adapters were deleted. It is understandable if you find a problem that needs fixing, but you should never delete an already published podspec. We now have tagged versions of our apps that no longer build, and this should never happen.
You should publish the new version, and ask users to update.

image

UnityAdapter.framework is empty

Hey!

We are using Unity 5.6.0p3 and used Google Ads for a while now. But it seems that the UnityAdapter 2.1.0.0 is not working with the built .framework.
If using the .framework the following error happens:
Cannot find an ad network adapter with the name(s): GADMAdapterUnity. Remember to link all required ad network adapters and SDKs, and set -ObjC in the 'Other Linker Flags' setting of your build target.

So later ad retrieving (when only using Unity ads as adapter, same for interstitial of course):
AdMob::OnAdFailedToLoad: GoogleMobileAds.Api.RewardBasedVideoAd with Failed to receive ad with error: No ad returned from any ad server.

I have looked into the .framework and it seems it is completely empty, so i decided to download the repo and built it. Same issue. I mean the built framework is only 29bytes large.
I could fix this issue for me with building the Library instead of the Framework.

Unluckily my Xcode skills are super rusted, I will not try to fix the framework issue on my own :)

If you need further information from me, feel free to ask.

Cheers

Incorrect delegate method implementation of Facebook 4.28.0

FAN cannot receive OnAdRewarded event due to the adapter issue.
The facebook rewarded video delegate is:

(void)rewardedVideoAdVideoComplete:(FBRewardedVideoAd *)rewardedVideoAd;

However in Facebook adapter is implemented as (4.28.0):

(void)rewardedVideoAdComplete:(FBRewardedVideoAd *)rewardedVideoAd
That is a big mistake

Crash in [NSCache setObject:forKey:cost:] - attempt to insert nil value

We noticed an increase in crashes while trying to load an ad.

It seems the issue is here: InMobiMediatedNativeAppInstallAd.m#L86
If NSData fails to load an image it still going to set a nil object.

The issue introduced with commit 1a952d1 as the previous implementation has check for nil object 1a952d1?diff=split#diff-0144ea4814b9001d3fffcd88ee007f84L112

Crash

Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSCache setObject:forKey:cost:]: attempt to insert nil value

Debug log

Fatal Exception: NSInvalidArgumentException
-[InMobiMediatedNativeAppInstallAd initWithInMobiNativeAppInstallAd:withAdapter:
shouldDownloadImage:withCache:]_block_invoke

InMobi mediation adapter causing main thread checker warning

We're loading InMobi ads using GADAdLoader with mediation adapter and got this:

Main Thread Checker: UI API called on a background thread: -[UIView initWithFrame:]
PID: 29942, TID: 8954048, Thread name: (none), Queue name: com.apple.root.user-initiated-qos, QoS: 25
Backtrace:
4   MyAppName                           0x000000010d3ccc82 -[InMobiMediatedNativeAppInstallAd mediaView] + 89
5   MyAppName                           0x000000010d343108 GADCategories_GADMAdapterGoogleAdMobAds_RewardBasedVideoAdAdditions + 29146
6   MyAppName                           0x000000010d30506d GADCategories_GADNativeAppInstallAd_MediatedNativeAdAdditions + 3110
7   MyAppName                           0x000000010d304c55 GADCategories_GADNativeAppInstallAd_MediatedNativeAdAdditions + 2062
8   MyAppName                           0x000000010d34239f GADCategories_GADMAdapterGoogleAdMobAds_RewardBasedVideoAdAdditions + 25713
9   MyAppName                           0x000000010d330bba GADCategories_GADAdLoader_Mediation + 709
10  MyAppName                           0x000000010d333220 GADCategories_GADCustomEventRequest_Private + 8743
11  MyAppName                           0x000000010d338d4b GADCategories_GADCustomEventRequest_Private + 32082
12  MyAppName                           0x000000010d338da9 GADCategories_GADCustomEventRequest_Private + 32176
13  MyAppName                           0x000000010d3cd03b -[InMobiMediatedNativeAppInstallAd inmobiMediatedNativeAppInstallAdSuccessful:] + 259
14  MyAppName                           0x000000010d3cc7bf __111-[InMobiMediatedNativeAppInstallAd initWithInMobiNativeAppInstallAd:withAdapter:shouldDownloadImage:withCache:]_block_invoke + 347
15  libdispatch.dylib                   0x000000011fa2e807 _dispatch_call_block_and_release + 12
16  libdispatch.dylib                   0x000000011fa2f848 _dispatch_client_callout + 8
17  libdispatch.dylib                   0x000000011fa3b679 _dispatch_root_queue_drain + 1353
18  libdispatch.dylib                   0x000000011fa3b0d2 _dispatch_worker_thread3 + 132
19  libsystem_pthread.dylib             0x000000011ff53169 _pthread_wqthread + 1387
20  libsystem_pthread.dylib             0x000000011ff52be9 start_wqthread + 13

This warning is generated before the delegate method adLoader(_ adLoader: GADAdLoader, didReceive nativeAppInstallAd: GADNativeAppInstallAD) is called.

We're using:
Google-Mobile-Ads-SDK (7.31.0)
GoogleMobileAdsMediationInMobi (7.1.1.0)

requestInterstitialAdWithParameter / GADCustomEventInterstitial not called

I've created two adUnits on the Admob console, one for a banner and one for an interstitial, and created custom events for both. While the Banner works correctly and the custom class gets called, the interstitial one isn't being triggered, and the function requestInterstitialAdWithParameter is never called. The docs don't mention any difference between the banners and the interstitials so I'm baffled of what might be going wrong... any help / suggestion is welcome.
regards

Swift version

Hey guys! Can you please do a swift example? :-)
Best,
Nicolai

Doesn't build

Hi,

I downloaded a zip of this project, followed the instructions in the read me, and the app doesn't build. It fails to find GADMAdNetworkAdapterProtocol.h which is imported in SampleAdapterDelegate.m

Crash: GADCategories_GADRequest_MediationAdditions

SDK Version Google-Mobile-Ads-SDK 7.20.0

GADCategories_GADRequest_MediationAdditions
*** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[NSArray initWithArray:range:copyItems:]: range {0, 1} extends beyond bounds for empty array'

Crash Log:

1	CoreFoundation	__exceptionPreprocess + 124
2	libobjc.A.dylib	objc_exception_throw + 52
3	CoreFoundation	-[NSArray initWithArray:range:copyItems:] + 848
4	<Redacted>	GADCategories_GADRequest_MediationAdditions + 18688
5	CoreFoundation	__CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 16
6	CoreFoundation	_CFXRegistrationPost + 396
7	CoreFoundation	___CFXNotificationPost_block_invoke + 56
8	CoreFoundation	-[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1408
9	CoreFoundation	_CFXNotificationPost + 372
10	Foundation	-[NSNotificationCenter postNotificationName:object:userInfo:] + 64
11	<Redacted>	GADResourceCacheSafeDeleteCacheFile + 3356
12	<Redacted>	GADResourceCacheSafeDeleteCacheFile + 6520
13	CFNetwork	__65-[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:]_block_invoke + 56
14	CFNetwork	-[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:] + 196
15	CFNetwork	-[NSURLConnectionInternal _withActiveConnectionAndDelegate:] + 52
16	CFNetwork	_NSURLConnectionDidReceiveData(_CFURLConnection*, __CFData const*, long, void const*) + 72
17	CFNetwork	___ZN27URLConnectionClient_Classic29_delegate_didReceiveDataArrayEv_block_invoke + 256
18	CFNetwork	___ZN27URLConnectionClient_Classic18_withDelegateAsyncEPKcU13block_pointerFvP16_CFURLConnectionPK33CFURLConnectionClientCurrent_VMaxE_block_invoke_2 + 104
19	libdispatch.dylib	_dispatch_client_callout + 12
20	libdispatch.dylib	_dispatch_block_invoke_direct + 328
21	CFNetwork	RunloopBlockContext::_invoke_block(void const*, void*) + 32
22	CoreFoundation	CFArrayApplyFunction + 64
23	CFNetwork	RunloopBlockContext::perform() + 124
24	CFNetwork	MultiplexerSource::perform() + 308
25	CFNetwork	MultiplexerSource::_perform(void*) + 60
26	CoreFoundation	__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 20
27	CoreFoundation	__CFRunLoopDoSources0 + 536
28	CoreFoundation	__CFRunLoopRun + 740
29	CoreFoundation	CFRunLoopRunSpecific + 420
30	GraphicsServices	GSEventRunModal + 96
31	UIKit	UIApplicationMain + 204
32	<Redacted>	main (AppDelegate.swift:18)
33	libdyld.dylib	start + 0

Cannot find adapter named GADMAdapterTapjoy

I'm seeing <Google> Cannot find an ad network adapter with the name(s): GADMAdapterTapjoy when trying to load tapjoy rewarded video through admob mediation.

My pod install shows

Google-Mobile-Ads-SDK (7.42.2)
GoogleMobileAdsMediationIronSource (6.8.3.0)
GoogleMobileAdsMediationTapjoy (12.2.1.0)
TapjoySDK (12.2.1)

Using the Mediation test suite I get this:
Note: ironSource is working
Screen Shot 2019-05-28 at 4 35 05 PM

Crash in [GADMAdapterMoPub loadNativeAdImages]

We have a 300 crashes per day coming from the mopub adapter framework, and after checking the stacktrace the are coming from GADMAdapterMoPub's loadNativeAdImages method. We've found that the crash is caused by inserting a nil object into an array. I'll open a PR with a fix (just a nil check before adding the URL to the images array)

Not compatible with mopub 5.0

Mopub has updated their sdk to version 5.0.0 with GDPR support included.

We want to update in order to support that new GDPR features but google ads mopub mediation adapter still requires an old version.

Is an update on this planned? Any other way to support mopub GDPR without the adapter?

Update MoPub adapter to support MoPub SDK 5.10.0

Is there a plan to update the MoPub adapter to support the current release of the MoPub SDK 5.10.0?
The currently supported MoPub SDK is 5.9.0 but 5.10.0 fix a huge crash in MPTableViewAdPlacer and MPCollectionViewAdPlacer.

Regards,

Update for the Facebook Adapter from 5.5.1.0 to 5.6.0.0 causes iOS12 crash on the second app-start

We're recently updated the pod of GoogleMobileAdsMediationFacebook from 5.5.1.0 to 5.6.0.0 and every iOS12 crashes now on the second start (just clean install, close the app and try to open again)

(55714,0x11216ddc0) malloc: double free for ptr 0x7f8a29854e00
(55714,0x11216ddc0) malloc: *** set a breakpoint in malloc_error_break to debug

Screenshot 2019-12-06 at 16 26 54

Pod file:

....
pod 'Firebase/AdMob', '>6.13.0'
pod 'FBSDKLoginKit/Swift', '
>5.11.1'
pod 'GoogleMobileAdsMediationFacebook', '~>5.6.0.0'
....

I wish I could give more details on that - but hopefully this should be enough. For now - we've rolled back to stable 5.5.1.0 version (there client works as expected)

Could you publish the latest version of I-Mobile adapter to the central pods?

Hello,

I installed GoogleMobileAdsMediationIMobile via Cocoapods as follows.

pod 'GoogleMobileAdsMediationIMobile'

However as of today it gets 2.0.29.0 from the central Pods repo even though this repo released 2.0.31.0 already.

  - GoogleMobileAdsMediationIMobile (2.0.29.0):
    - Google-Mobile-Ads-SDK (>= 7.52.0)
    - ImobileSdkAds (= 2.0.29)

Screen Shot 2020-04-18 at 9 45 34

2.0.31.0 removes UIWebView dependency so we need it as soon as possible to comply with the Apple's policy.

Thanks!

Facebook Adapter Not Ready

After calling GADMobileAds startWithCompletionHandler, I get the following status:

GADMediationAdapterFacebook is Not Ready;No such adapter in the application.

Code:

    [[GADMobileAds sharedInstance] startWithCompletionHandler:^(GADInitializationStatus *status){
        NSLog(@"GADMobileAds: %@", status.adapterStatusesByClassName);
    }];

Log:

{
    GADMediationAdapterFacebook = "<GADAdapterStatus: 0x600003b124a0; state = Not Ready;No such adapter in the application.>";
    GADMobileAds = "<GADAdapterStatus: 0x600003be6e40; state = Ready>";
}

Of course, I followed the guide on how to setup the Facebook adapter.

When I run the mediation-test-suite. The ad units with mediation show the Facebook adapter as Present: YES, Ready: NO. Even though, loading and displaying facebook banners and interstitial works from the test suite.

Unfortunately, the Admob SDK never selects this adapter in my app (probably considering it to be not ready)...

Any idea?

EDITS: typos

Could not build module

Hi

I can't integrate Chartboost adapter into my project (swift 3). I used pod 'GoogleMobileAdsMediationChartboost' and set Allow Non-modular Includes In Framework Modules to YES .
But i can't import framework, it says "Could not build module 'ChartboostAdapter'"

i tried : clean , reboot, integrate manual

Please help me !

Admob's Adaptive Banners cause Facebook banner requests to not fill with "Display format doesn't match"

Ever since switching to Admob's adaptive banners, my Facebook banners that I have under Admob's mediation are not filling as much with the error message: "Display format doesn't match". When I checked the ad request format, it tells me that about 1/3 to 1/4 of the calls are for Interstitial display formats. I've never had this issue before when I was still using the Facebook SDK and adapters from 2019 and before switching to adaptive banners. I even tried to force the banner ad size to be 320x50 for any heights returned above 250, and it still makes calls that Facebook thinks is for their Interstitial display format. I'm wondering if this is a known issue and can be fixed or if I should stop using adaptive banners or if there's some code that I could add to prevent Facebook from getting an invalid ad size for their banner ads. Thank you.

Update MoPub adapter to support MoPub SDK 5.9.0

Is there a plan to update the MoPub adapter to support the current release of the MoPub SDK 5.9.0? The currently supported MoPub SDK is 5.7.1 which was released on June 3, 2019. The adapter is now 3 months behind. I would really love to update to MoPub 5.9.0, because it has several improvements and supports iOS 13 as well.

Kind regards,
Sandro

Crash in GADMAdapterAdColonyRewardedAd

Observed crash in case of failed to fetch rewarded ad. This is because of the below code in the class GADMAdapterAdColonyRewardedAd:

[AdColony requestInterstitialInZone:zone
      options:options
      success:^(AdColonyInterstitial *_Nonnull ad) {
        NSLogDebug(@"Retrieve ad: %@", zone);
        [weakSelf handleAdReceived:ad forAdConfig:adConfiguration zone:zone];
      }
      failure:^(AdColonyAdRequestError *_Nonnull err) {
        NSError *error =
            [NSError errorWithDomain:kGADErrorDomain
                                code:kGADErrorInvalidRequest
                            userInfo:@{NSLocalizedDescriptionKey : err.localizedDescription}];
        weakSelf.loadCompletionHandler(nil, error);
        NSLog(@"AdColonyAdapter [Info] : Failed to retrieve ad: %@", error.localizedDescription);
      }];

Above code tries to call loadCompletionHandler on nil object.

Below is the call stack if you need it:

Incident Identifier: CF8DA5B6-E94D-4EFE-A0AA-CD37D73C0EFB
CrashReporter Key:   a6f0b3e52982aa22bcd9d99b78c71e31719836e1
Hardware Model:      iPhone10,1
Process:             AdMobAdapterTestApp [20150]
Path:                /private/var/containers/Bundle/Application/194CA9FF-F4C2-4334-A8A3-FE2CF71D86A9/AdMobAdapterTestApp.app/AdMobAdapterTestApp
Identifier:          com.adcolony.AdMobAdapterTestApp
Version:             1 (1.0)
Code Type:           ARM-64 (Native)
Role:                Foreground
Parent Process:      launchd [1]
Coalition:           com.adcolony.AdMobAdapterTestApp [21049]


Date/Time:           2019-04-04 18:57:08.5225 -0700
Launch Time:         2019-04-04 18:56:50.1625 -0700
OS Version:          iPhone OS 11.4.1 (15G77)
Baseband Version:    1.93.00
Report Version:      104

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000010
VM Region Info: 0x10 is not in any region.  Bytes before following region: 4306599920
      REGION TYPE                      START - END             [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->  
      __TEXT                 0000000100b18000-0000000100b28000 [   64K] r-x/r-x SM=COW  ...dapterTestApp

Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [0]
Triggered by Thread:  0

Filtered syslog:
None found

Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   AdColonyAdapter               	0x0000000100b651c0 0x100b5c000 + 37312
1   AdColonyAdapter               	0x0000000100b651b4 0x100b5c000 + 37300
2   AdColony                      	0x0000000100ee9dcc 0x100ea0000 + 302540
3   libdispatch.dylib             	0x00000001835f8a60 _dispatch_client_callout + 16
4   libdispatch.dylib             	0x000000018363b3f8 _dispatch_sync_thread_bound_invoke + 68
5   libdispatch.dylib             	0x00000001835f8a60 _dispatch_client_callout + 16
6   libdispatch.dylib             	0x0000000183639d80 _dispatch_main_queue_callback_4CF$VARIANT$armv81 + 964
7   CoreFoundation                	0x0000000183caf070 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
8   CoreFoundation                	0x0000000183cacbc8 __CFRunLoopRun + 2272
9   CoreFoundation                	0x0000000183bccda8 CFRunLoopRunSpecific + 552
10  GraphicsServices              	0x0000000185bb2020 GSEventRunModal + 100
11  UIKit                         	0x000000018dbec758 UIApplicationMain + 236
12  AdMobAdapterTestApp           	0x0000000100b22ef0 0x100b18000 + 44784
13  libdyld.dylib                 	0x000000018365dfc0 start + 4

Thread 1:
0   libsystem_kernel.dylib        	0x000000018378dd78 __workq_kernreturn + 8
1   libsystem_pthread.dylib       	0x000000018392beb4 _pthread_wqthread + 928
2   libsystem_pthread.dylib       	0x000000018392bb08 start_wqthread + 4

Thread 2:
0   libsystem_kernel.dylib        	0x000000018378dd78 __workq_kernreturn + 8
1   libsystem_pthread.dylib       	0x000000018392beb4 _pthread_wqthread + 928
2   libsystem_pthread.dylib       	0x000000018392bb08 start_wqthread + 4

Thread 3:
0   libsystem_kernel.dylib        	0x000000018378dd78 __workq_kernreturn + 8
1   libsystem_pthread.dylib       	0x000000018392beb4 _pthread_wqthread + 928
2   libsystem_pthread.dylib       	0x000000018392bb08 start_wqthread + 4

Thread 4 name:  com.apple.uikit.eventfetch-thread
Thread 4:
0   libsystem_kernel.dylib        	0x000000018376bde8 mach_msg_trap + 8
1   libsystem_kernel.dylib        	0x000000018376bc60 mach_msg + 72
2   CoreFoundation                	0x0000000183caee40 __CFRunLoopServiceMachPort + 196
3   CoreFoundation                	0x0000000183cac908 __CFRunLoopRun + 1568
4   CoreFoundation                	0x0000000183bccda8 CFRunLoopRunSpecific + 552
5   Foundation                    	0x0000000184641674 -[NSRunLoop+ 34420 (NSRunLoop) runMode:beforeDate:] + 304
6   Foundation                    	0x000000018464151c -[NSRunLoop+ 34076 (NSRunLoop) runUntilDate:] + 148
7   UIKit                         	0x000000018d8d1768 -[UIEventFetcher threadMain] + 136
8   Foundation                    	0x0000000184751efc __NSThread__start__ + 1040
9   libsystem_pthread.dylib       	0x000000018392d220 _pthread_body + 272
10  libsystem_pthread.dylib       	0x000000018392d110 _pthread_body + 0
11  libsystem_pthread.dylib       	0x000000018392bb10 thread_start + 4

Thread 5:
0   libsystem_kernel.dylib        	0x000000018378dd78 __workq_kernreturn + 8
1   libsystem_pthread.dylib       	0x000000018392c0a0 _pthread_wqthread + 1420
2   libsystem_pthread.dylib       	0x000000018392bb08 start_wqthread + 4

Thread 6:
0   libsystem_kernel.dylib        	0x000000018378dd78 __workq_kernreturn + 8
1   libsystem_pthread.dylib       	0x000000018392beb4 _pthread_wqthread + 928
2   libsystem_pthread.dylib       	0x000000018392bb08 start_wqthread + 4

Thread 7:
0   libsystem_kernel.dylib        	0x000000018378dd78 __workq_kernreturn + 8
1   libsystem_pthread.dylib       	0x000000018392beb4 _pthread_wqthread + 928
2   libsystem_pthread.dylib       	0x000000018392bb08 start_wqthread + 4

Thread 8:
0   libsystem_kernel.dylib        	0x000000018378d0e8 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	0x0000000183933ed8 _pthread_cond_wait$VARIANT$armv81 + 628
2   libc++.1.dylib                	0x0000000182e442ec std::__1::condition_variable::__do_timed_wait+ 29420 (std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >) + 96
3   JavaScriptCore                	0x000000018b3556e8 std::__1::cv_status std::__1::condition_variable::wait_until<std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >+ 11364072 (std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > > const&) + 124
4   JavaScriptCore                	0x000000018b355598 std::__1::cv_status std::__1::condition_variable_any::wait_until<std::__1::unique_lock<bmalloc::Mutex>, std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >+ 11363736 (std::__1::unique_lock<bmalloc::Mutex>&, std::__1::chrono::time_point<std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > > const&) + 112
5   JavaScriptCore                	0x000000018b3550dc bmalloc::Scavenger::threadRunLoop+ 11362524 () + 272
6   JavaScriptCore                	0x000000018b354e18 bmalloc::Scavenger::Scavenger+ 11361816 (std::__1::lock_guard<bmalloc::StaticMutex>&) + 0
7   JavaScriptCore                	0x000000018b355234 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (*)(bmalloc::Scavenger*), bmalloc::Scavenger*> >+ 11362868 (void*) + 44
8   libsystem_pthread.dylib       	0x000000018392d220 _pthread_body + 272
9   libsystem_pthread.dylib       	0x000000018392d110 _pthread_body + 0
10  libsystem_pthread.dylib       	0x000000018392bb10 thread_start + 4

Thread 9 name:  WebThread
Thread 9:
0   libsystem_kernel.dylib        	0x000000018376bde8 mach_msg_trap + 8
1   libsystem_kernel.dylib        	0x000000018376bc60 mach_msg + 72
2   CoreFoundation                	0x0000000183caee40 __CFRunLoopServiceMachPort + 196
3   CoreFoundation                	0x0000000183cac908 __CFRunLoopRun + 1568
4   CoreFoundation                	0x0000000183bccda8 CFRunLoopRunSpecific + 552
5   WebCore                       	0x000000018be902d4 RunWebThread+ 266964 (void*) + 592
6   libsystem_pthread.dylib       	0x000000018392d220 _pthread_body + 272
7   libsystem_pthread.dylib       	0x000000018392d110 _pthread_body + 0
8   libsystem_pthread.dylib       	0x000000018392bb10 thread_start + 4

Thread 10 name:  AdColony Worker
Thread 10:
0   libsystem_kernel.dylib        	0x000000018378dbd8 __ulock_wait + 8
1   libdispatch.dylib             	0x000000018362a2a8 _dispatch_ulock_wait + 48
2   libdispatch.dylib             	0x000000018362a408 _dispatch_thread_event_wait_slow$VARIANT$armv81 + 44
3   libdispatch.dylib             	0x000000018363b198 _dispatch_sync_wait + 448
4   AdColony                      	0x0000000100ee9a50 0x100ea0000 + 301648
5   AdColony                      	0x0000000100f308b8 0x100ea0000 + 592056
6   AdColony                      	0x0000000100f2fcd8 0x100ea0000 + 589016
7   AdColony                      	0x0000000100f44888 0x100ea0000 + 673928
8   AdColony                      	0x0000000100f2f8f4 0x100ea0000 + 588020
9   Foundation                    	0x00000001847533d4 __NSFireTimer + 88
10  CoreFoundation                	0x0000000183cafaa8 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 28
11  CoreFoundation                	0x0000000183caf76c __CFRunLoopDoTimer + 864
12  CoreFoundation                	0x0000000183caf010 __CFRunLoopDoTimers + 248
13  CoreFoundation                	0x0000000183cacb60 __CFRunLoopRun + 2168
14  CoreFoundation                	0x0000000183bccda8 CFRunLoopRunSpecific + 552
15  Foundation                    	0x0000000184641674 -[NSRunLoop+ 34420 (NSRunLoop) runMode:beforeDate:] + 304
16  AdColony                      	0x0000000100f8f598 0x100ea0000 + 980376
17  Foundation                    	0x0000000184751efc __NSThread__start__ + 1040
18  libsystem_pthread.dylib       	0x000000018392d220 _pthread_body + 272
19  libsystem_pthread.dylib       	0x000000018392d110 _pthread_body + 0
20  libsystem_pthread.dylib       	0x000000018392bb10 thread_start + 4

Thread 11 name:  com.apple.NSURLConnectionLoader
Thread 11:
0   libsystem_kernel.dylib        	0x000000018376bde8 mach_msg_trap + 8
1   libsystem_kernel.dylib        	0x000000018376bc60 mach_msg + 72
2   CoreFoundation                	0x0000000183caee40 __CFRunLoopServiceMachPort + 196
3   CoreFoundation                	0x0000000183cac908 __CFRunLoopRun + 1568
4   CoreFoundation                	0x0000000183bccda8 CFRunLoopRunSpecific + 552
5   CFNetwork                     	0x00000001844da6e0 -[__CoreSchedulingSetRunnable runForever] + 220
6   Foundation                    	0x0000000184751efc __NSThread__start__ + 1040
7   libsystem_pthread.dylib       	0x000000018392d220 _pthread_body + 272
8   libsystem_pthread.dylib       	0x000000018392d110 _pthread_body + 0
9   libsystem_pthread.dylib       	0x000000018392bb10 thread_start + 4

Thread 12 name:  WebCore: LocalStorage
Thread 12:
0   libsystem_kernel.dylib        	0x000000018378d0e8 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	0x0000000183933ed8 _pthread_cond_wait$VARIANT$armv81 + 628
2   JavaScriptCore                	0x000000018a88e66c WTF::ThreadCondition::timedWait+ 63084 (WTF::Mutex&, double) + 80
3   JavaScriptCore                	0x000000018b33a9d0 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void + 11254224 ()> const&, WTF::TimeWithDynamicClockType const&) + 2252
4   WebKitLegacy                  	0x000000018d5b7a40 bool WTF::Condition::waitUntil<WTF::Lock>+ 612928 (WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 184
5   WebKitLegacy                  	0x000000018d5ba58c std::__1::unique_ptr<WTF::Function<void ()>, std::__1::default_delete<WTF::Function<void ()> > > WTF::MessageQueue<WTF::Function<void ()> >::waitForMessageFilteredWithTimeout<WTF::MessageQueue<WTF::Function<void ()> >::waitForMessage()::'lambda'(WTF::Function<void ()> const&)>(WTF::MessageQueueWaitResult&, WTF::MessageQueue<WTF::Function<void ()> >::waitForMessage()::'lambda'(WTF::Function<void + 624012 ()> const&)&&, WTF::WallTime) + 156
6   WebKitLegacy                  	0x000000018d5b9c9c WebCore::StorageThread::threadEntryPoint+ 621724 () + 68
7   JavaScriptCore                	0x000000018b34c2dc WTF::Thread::entryPoint+ 11326172 (WTF::Thread::NewThreadContext*) + 224
8   JavaScriptCore                	0x000000018a889d74 WTF::wtfThreadEntryPoint+ 44404 (void*) + 12
9   libsystem_pthread.dylib       	0x000000018392d220 _pthread_body + 272
10  libsystem_pthread.dylib       	0x000000018392d110 _pthread_body + 0
11  libsystem_pthread.dylib       	0x000000018392bb10 thread_start + 4

Thread 13 name:  AVAudioSession Notify Thread
Thread 13:
0   libsystem_kernel.dylib        	0x000000018376bde8 mach_msg_trap + 8
1   libsystem_kernel.dylib        	0x000000018376bc60 mach_msg + 72
2   CoreFoundation                	0x0000000183caee40 __CFRunLoopServiceMachPort + 196
3   CoreFoundation                	0x0000000183cac908 __CFRunLoopRun + 1568
4   CoreFoundation                	0x0000000183bccda8 CFRunLoopRunSpecific + 552
5   AVFAudio                      	0x00000001896c8398 GenericRunLoopThread::Entry+ 549784 (void*) + 164
6   AVFAudio                      	0x00000001896f27a8 CAPThread::Entry+ 722856 (CAPThread*) + 88
7   libsystem_pthread.dylib       	0x000000018392d220 _pthread_body + 272
8   libsystem_pthread.dylib       	0x000000018392d110 _pthread_body + 0
9   libsystem_pthread.dylib       	0x000000018392bb10 thread_start + 4

Thread 14 name:  WTF::AutomaticThread
Thread 14:
0   libsystem_kernel.dylib        	0x000000018378d0e8 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	0x0000000183933ed8 _pthread_cond_wait$VARIANT$armv81 + 628
2   JavaScriptCore                	0x000000018a88e6b0 WTF::ThreadCondition::timedWait+ 63152 (WTF::Mutex&, double) + 148
3   JavaScriptCore                	0x000000018b33a9d0 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void + 11254224 ()> const&, WTF::TimeWithDynamicClockType const&) + 2252
4   JavaScriptCore                	0x000000018adf2188 bool WTF::Condition::waitUntil<WTF::Lock>+ 5714312 (WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 184
5   JavaScriptCore                	0x000000018b31ffac WTF::Function<void ()>::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0>::call+ 11145132 () + 212
6   JavaScriptCore                	0x000000018b34c2dc WTF::Thread::entryPoint+ 11326172 (WTF::Thread::NewThreadContext*) + 224
7   JavaScriptCore                	0x000000018a889d74 WTF::wtfThreadEntryPoint+ 44404 (void*) + 12
8   libsystem_pthread.dylib       	0x000000018392d220 _pthread_body + 272
9   libsystem_pthread.dylib       	0x000000018392d110 _pthread_body + 0
10  libsystem_pthread.dylib       	0x000000018392bb10 thread_start + 4

Thread 15 name:  WTF::AutomaticThread
Thread 15:
0   libsystem_kernel.dylib        	0x000000018378d0e8 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	0x0000000183933ed8 _pthread_cond_wait$VARIANT$armv81 + 628
2   JavaScriptCore                	0x000000018a88e6b0 WTF::ThreadCondition::timedWait+ 63152 (WTF::Mutex&, double) + 148
3   JavaScriptCore                	0x000000018b33a9d0 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void + 11254224 ()> const&, WTF::TimeWithDynamicClockType const&) + 2252
4   JavaScriptCore                	0x000000018adf2188 bool WTF::Condition::waitUntil<WTF::Lock>+ 5714312 (WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 184
5   JavaScriptCore                	0x000000018b31ffac WTF::Function<void ()>::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0>::call+ 11145132 () + 212
6   JavaScriptCore                	0x000000018b34c2dc WTF::Thread::entryPoint+ 11326172 (WTF::Thread::NewThreadContext*) + 224
7   JavaScriptCore                	0x000000018a889d74 WTF::wtfThreadEntryPoint+ 44404 (void*) + 12
8   libsystem_pthread.dylib       	0x000000018392d220 _pthread_body + 272
9   libsystem_pthread.dylib       	0x000000018392d110 _pthread_body + 0
10  libsystem_pthread.dylib       	0x000000018392bb10 thread_start + 4

Thread 16 name:  WTF::AutomaticThread
Thread 16:
0   libsystem_kernel.dylib        	0x000000018378d0e8 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	0x0000000183933ed8 _pthread_cond_wait$VARIANT$armv81 + 628
2   JavaScriptCore                	0x000000018a88e6b0 WTF::ThreadCondition::timedWait+ 63152 (WTF::Mutex&, double) + 148
3   JavaScriptCore                	0x000000018b33a9d0 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void + 11254224 ()> const&, WTF::TimeWithDynamicClockType const&) + 2252
4   JavaScriptCore                	0x000000018adf2188 bool WTF::Condition::waitUntil<WTF::Lock>+ 5714312 (WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 184
5   JavaScriptCore                	0x000000018b31ffac WTF::Function<void ()>::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0>::call+ 11145132 () + 212
6   JavaScriptCore                	0x000000018b34c2dc WTF::Thread::entryPoint+ 11326172 (WTF::Thread::NewThreadContext*) + 224
7   JavaScriptCore                	0x000000018a889d74 WTF::wtfThreadEntryPoint+ 44404 (void*) + 12
8   libsystem_pthread.dylib       	0x000000018392d220 _pthread_body + 272
9   libsystem_pthread.dylib       	0x000000018392d110 _pthread_body + 0
10  libsystem_pthread.dylib       	0x000000018392bb10 thread_start + 4

Thread 17 name:  WTF::AutomaticThread
Thread 17:
0   libsystem_kernel.dylib        	0x000000018378d0e8 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	0x0000000183933ed8 _pthread_cond_wait$VARIANT$armv81 + 628
2   JavaScriptCore                	0x000000018a88e6b0 WTF::ThreadCondition::timedWait+ 63152 (WTF::Mutex&, double) + 148
3   JavaScriptCore                	0x000000018b33a9d0 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void + 11254224 ()> const&, WTF::TimeWithDynamicClockType const&) + 2252
4   JavaScriptCore                	0x000000018adf2188 bool WTF::Condition::waitUntil<WTF::Lock>+ 5714312 (WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 184
5   JavaScriptCore                	0x000000018b31ffac WTF::Function<void ()>::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0>::call+ 11145132 () + 212
6   JavaScriptCore                	0x000000018b34c2dc WTF::Thread::entryPoint+ 11326172 (WTF::Thread::NewThreadContext*) + 224
7   JavaScriptCore                	0x000000018a889d74 WTF::wtfThreadEntryPoint+ 44404 (void*) + 12
8   libsystem_pthread.dylib       	0x000000018392d220 _pthread_body + 272
9   libsystem_pthread.dylib       	0x000000018392d110 _pthread_body + 0
10  libsystem_pthread.dylib       	0x000000018392bb10 thread_start + 4

Thread 18 name:  WTF::AutomaticThread
Thread 18:
0   libsystem_kernel.dylib        	0x000000018378d0e8 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	0x0000000183933ed8 _pthread_cond_wait$VARIANT$armv81 + 628
2   JavaScriptCore                	0x000000018a88e6b0 WTF::ThreadCondition::timedWait+ 63152 (WTF::Mutex&, double) + 148
3   JavaScriptCore                	0x000000018b33a9d0 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void + 11254224 ()> const&, WTF::TimeWithDynamicClockType const&) + 2252
4   JavaScriptCore                	0x000000018adf2188 bool WTF::Condition::waitUntil<WTF::Lock>+ 5714312 (WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 184
5   JavaScriptCore                	0x000000018b31ffac WTF::Function<void ()>::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0>::call+ 11145132 () + 212
6   JavaScriptCore                	0x000000018b34c2dc WTF::Thread::entryPoint+ 11326172 (WTF::Thread::NewThreadContext*) + 224
7   JavaScriptCore                	0x000000018a889d74 WTF::wtfThreadEntryPoint+ 44404 (void*) + 12
8   libsystem_pthread.dylib       	0x000000018392d220 _pthread_body + 272
9   libsystem_pthread.dylib       	0x000000018392d110 _pthread_body + 0
10  libsystem_pthread.dylib       	0x000000018392bb10 thread_start + 4

Thread 19 name:  WTF::AutomaticThread
Thread 19:
0   libsystem_kernel.dylib        	0x000000018378d0e8 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	0x0000000183933ed8 _pthread_cond_wait$VARIANT$armv81 + 628
2   JavaScriptCore                	0x000000018a88e6b0 WTF::ThreadCondition::timedWait+ 63152 (WTF::Mutex&, double) + 148
3   JavaScriptCore                	0x000000018b33a9d0 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void + 11254224 ()> const&, WTF::TimeWithDynamicClockType const&) + 2252
4   JavaScriptCore                	0x000000018adf2188 bool WTF::Condition::waitUntil<WTF::Lock>+ 5714312 (WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 184
5   JavaScriptCore                	0x000000018b31ffac WTF::Function<void ()>::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0>::call+ 11145132 () + 212
6   JavaScriptCore                	0x000000018b34c2dc WTF::Thread::entryPoint+ 11326172 (WTF::Thread::NewThreadContext*) + 224
7   JavaScriptCore                	0x000000018a889d74 WTF::wtfThreadEntryPoint+ 44404 (void*) + 12
8   libsystem_pthread.dylib       	0x000000018392d220 _pthread_body + 272
9   libsystem_pthread.dylib       	0x000000018392d110 _pthread_body + 0
10  libsystem_pthread.dylib       	0x000000018392bb10 thread_start + 4

Thread 20:
0   libsystem_kernel.dylib        	0x000000018378dd78 __workq_kernreturn + 8
1   libsystem_pthread.dylib       	0x000000018392beb4 _pthread_wqthread + 928
2   libsystem_pthread.dylib       	0x000000018392bb08 start_wqthread + 4

Thread 21:
0   libsystem_kernel.dylib        	0x000000018378dd78 __workq_kernreturn + 8
1   libsystem_pthread.dylib       	0x000000018392c0a0 _pthread_wqthread + 1420
2   libsystem_pthread.dylib       	0x000000018392bb08 start_wqthread + 4

Thread 22:
0   libsystem_kernel.dylib        	0x000000018378dd78 __workq_kernreturn + 8
1   libsystem_pthread.dylib       	0x000000018392c0a0 _pthread_wqthread + 1420
2   libsystem_pthread.dylib       	0x000000018392bb08 start_wqthread + 4

Thread 23:
0   libsystem_kernel.dylib        	0x000000018378dd78 __workq_kernreturn + 8
1   libsystem_pthread.dylib       	0x000000018392c0a0 _pthread_wqthread + 1420
2   libsystem_pthread.dylib       	0x000000018392bb08 start_wqthread + 4

Thread 24:
0   libsystem_kernel.dylib        	0x000000018378dd78 __workq_kernreturn + 8
1   libsystem_pthread.dylib       	0x000000018392c0a0 _pthread_wqthread + 1420
2   libsystem_pthread.dylib       	0x000000018392bb08 start_wqthread + 4

Thread 25:
0   libsystem_kernel.dylib        	0x000000018378dd78 __workq_kernreturn + 8
1   libsystem_pthread.dylib       	0x000000018392beb4 _pthread_wqthread + 928
2   libsystem_pthread.dylib       	0x000000018392bb08 start_wqthread + 4

Thread 26:
0   libsystem_kernel.dylib        	0x000000018376be3c semaphore_timedwait_trap + 8
1   libdispatch.dylib             	0x000000018362a1c0 _dispatch_sema4_timedwait$VARIANT$armv81 + 60
2   libdispatch.dylib             	0x000000018362aa20 _dispatch_semaphore_wait_slow + 72
3   libdispatch.dylib             	0x000000018363b804 _dispatch_worker_thread + 248
4   libsystem_pthread.dylib       	0x000000018392d220 _pthread_body + 272
5   libsystem_pthread.dylib       	0x000000018392d110 _pthread_body + 0
6   libsystem_pthread.dylib       	0x000000018392bb10 thread_start + 4

Thread 27:
0   libsystem_kernel.dylib        	0x000000018376be3c semaphore_timedwait_trap + 8
1   libdispatch.dylib             	0x000000018362a1c0 _dispatch_sema4_timedwait$VARIANT$armv81 + 60
2   libdispatch.dylib             	0x000000018362aa20 _dispatch_semaphore_wait_slow + 72
3   libdispatch.dylib             	0x000000018363b804 _dispatch_worker_thread + 248
4   libsystem_pthread.dylib       	0x000000018392d220 _pthread_body + 272
5   libsystem_pthread.dylib       	0x000000018392d110 _pthread_body + 0
6   libsystem_pthread.dylib       	0x000000018392bb10 thread_start + 4

Thread 28:
0   libsystem_kernel.dylib        	0x000000018376be3c semaphore_timedwait_trap + 8
1   libdispatch.dylib             	0x000000018362a1c0 _dispatch_sema4_timedwait$VARIANT$armv81 + 60
2   libdispatch.dylib             	0x000000018362aa20 _dispatch_semaphore_wait_slow + 72
3   libdispatch.dylib             	0x000000018363b804 _dispatch_worker_thread + 248
4   libsystem_pthread.dylib       	0x000000018392d220 _pthread_body + 272
5   libsystem_pthread.dylib       	0x000000018392d110 _pthread_body + 0
6   libsystem_pthread.dylib       	0x000000018392bb10 thread_start + 4

Thread 29:
0   libsystem_kernel.dylib        	0x000000018376be3c semaphore_timedwait_trap + 8
1   libdispatch.dylib             	0x000000018362a1c0 _dispatch_sema4_timedwait$VARIANT$armv81 + 60
2   libdispatch.dylib             	0x000000018362aa20 _dispatch_semaphore_wait_slow + 72
3   libdispatch.dylib             	0x000000018363b804 _dispatch_worker_thread + 248
4   libsystem_pthread.dylib       	0x000000018392d220 _pthread_body + 272
5   libsystem_pthread.dylib       	0x000000018392d110 _pthread_body + 0
6   libsystem_pthread.dylib       	0x000000018392bb10 thread_start + 4

Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x0000000000000000   x1: 0x0000000000000000   x2: 0x0000000000000000   x3: 0x0000000000000000
    x4: 0x00000001c802d200   x5: 0x00000000000022ce   x6: 0x00000001c804c840   x7: 0x00000000000022cf
    x8: 0x00000001c804ca50   x9: 0x0000000000000000  x10: 0x0000000102004400  x11: 0x000000390000007f
   x12: 0x0000000102004700  x13: 0x00000001b6338610  x14: 0x0000000001030301  x15: 0x0000000000010201
   x16: 0x0000000182ede554  x17: 0x0000000183bd1980  x18: 0x0000000000000000  x19: 0x000000016f92c128
   x20: 0x00000001b6333c20  x21: 0x00000001b632f140  x22: 0x0000000000000000  x23: 0x000000016f92c128
   x24: 0x00000001b6333c20  x25: 0x0000000000000000  x26: 0xffffffffffffffff  x27: 0x0000000000000003
   x28: 0x0000000002ffffff   fp: 0x000000016f2e69d0   lr: 0x0000000100b651b4
    sp: 0x000000016f2e6940   pc: 0x0000000100b651c0 cpsr: 0x60000000

GoogleMobileAdsMediationUnity (3.0.1.0) doesn't call dismiss callback

Hi there. We use
GoogleMobileAdsMediationUnity (3.0.1.0)
Google-Mobile-Ads-SDK (7.42.2)

for showing interstitial ads in our iOS app. Here is the settings: https://screencast.com/t/C1v6iyvt
When we closing ads that was presented by GADMAdapterUnity. These methods are not called:
func interstitialWillDismissScreen(_ ad: GADInterstitial)
func interstitialDidDismissScreen(_ ad: GADInterstitial)
the last message in console is
I/UnityAds: +[USRVApiSdk WebViewExposed_logInfo:callback:] (line:58) :: Closing Unity Ads ad unit

Could you check please

Adaptive Banner is not centering mediated MoPub banner on iOS

I'm switching to Adaptive Banners and noticed that MoPub banners that do not fit the frame are not centered, and instead are aligned to the left & top.

IMG_0425

I looked into the View Debugger in Xcode and found that the GADBannerView frame is way larger than the MoPub banner frame, and that it's aligned to the top-left. I marked up the frame sizes in the screenshot below.

Debug Views

This is a blocking issue for us for adapting Adaptive Banners. Could you please take a look?

In my pod file:

  • Google-Mobile-Ads-SDK (7.53.1)
  • GoogleMobileAdsMediationMoPub (5.10.0.0):
    • Google-Mobile-Ads-SDK (>= 7.52.0)
    • mopub-ios-sdk/Core (= 5.10.0)

Tested on: iPhone 11, iOS 13.3

CTA Button no responding

when use UnifiedNativeAd loads admob ads, everything is OK, but when FAN ads loaded, texts and mediaView are all correct, but the CTA button and adChoiceView are no responding ...

Nend adapter build failed with error

NendAdapter build failed with error.

duplicate symbol _kGADMAdapterNendApiKey in:
/Users/c_yu/nendSDK-iOS-admob-mediation-source/iOS/modules/googleads-mobile-ios-mediation/adapters/Nend/Library/NendAdapter.framework/NendAdapter(GADMAdapterNendRewardedAd.o)
/Users/c_yu/nendSDK-iOS-admob-mediation-source/iOS/modules/googleads-mobile-ios-mediation/adapters/Nend/Library/NendAdapter.framework/NendAdapter(GADMediationAdapterNend.o)
...

https://github.com/googleads/googleads-mobile-ios-mediation/blob/master/adapters/Nend/NendAdapter/GADMAdapterNendConstants.h#L22
Those constants should be static?

Updated MoPub Adapter 5.7.1.0 not on Bintray

The changelog in the MoPub folder states that the adapter is updated to version 5.7.1.0 which corresponds to the MoPub SDK 5.7.1, but there is still no file on bintray and therefore I can't update via cocoapods

Cocoa Pods can't read Unity License file

after installing the Unity mediation adapter I get this in the terminal, what exactly does it mean that it can't find the LICENSE file does this affect anything major or just a warning ?
Screen Shot 2019-08-01 at 1 56 37 PM

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.