Affects Version/s: None
Fix Version/s: None
Can the ti.admob module please be adjusted to support the new Native Advanced admob ad units?
I think that the ti.admob module will need to introduce a new adType constant of:
which I think could be implemented as follows;
for reference, the documentation for native ads is at:
Admob now has 4 different ad unit types: banner, interstitial, rewarded and native advanced.
I recently attended an admob presentation from Google where they suggested that native advanced sees 30% better CPM's compared to banner so this is now a pretty crucial feature for ti.admob.
When I test native advanced ads in the iOS simulator using ti.admob and Titanium with Google's test ad unit ID (ie. ca-app-pub-3940256099942544/3986624511 per: https://developers.google.com/admob/ios/native/start?hl=en-GB), the request always fails.
I have tried testing with multiple ad dimensions
100% width, 80dp height (smart banner)
300dp width, 250dp height (m-rec)
100% width, 140dp height (native banner)
however invariably, the response is:
"Request Error: No ad to show."
I have also tried setting up native advanced ad units in my admob account and testing with those admob account/unit id's however the same error occurs. I suspect this is because I am passing an adType of Admob.AD_TYPE_BANNER which seems to map to '0' when in fact I need to be passing a different argument there that maps to the UnifiedNative constant specified above.
For reference, here is an admob response from my titanium requests:
I haven't tested admob's rewarded ads with ti.admob however I suspect they may also require introduction of a new ad type variable of Admob.AD_TYPE_REWARDED into the ti.admob module as well.