Updating Unity plugin from 3.11.1 to 3.13.1 is not straightforward

1,024 views
Skip to first unread message

Andy Maddison

unread,
May 3, 2018, 7:36:11 AM5/3/18
to Google Mobile Ads SDK Developers
Importing the latest 3.13.1 package into my project gave me some compile errors in Unity. This is because some files are left remaining in the project that are no longer part of the plugin and the code they reference no longer exists in the files that were modified. Usually I would just delete the whole plugin folder (Assets/GoogleMobileAds) and import again except that the way you've made the mediation work is that extra files are added to the plugin hierarchy in various places, with some requiring editing. 

I figured out that these files must be deleted to get rid of the errors.

                    "Assets/GoogleMobileAds/Api/NativeExpressAdView.cs",
                    "Assets/GoogleMobileAds/Common/INativeExpressAdClient.cs",
                    "Assets/GoogleMobileAds/Common/MobileAdsEventExecutor.cs",
                    "Assets/GoogleMobileAds/Platforms/Android/NativeExpressAdClient.cs",
                    "Assets/GoogleMobileAds/Platforms/iOS/NativeExpressAdClient.cs",

Building to Xcode then lead to more errors as there are also files in Assets/Plugins/iOS that need removing.

                    "Assets/Plugins/iOS/GADUNativeExpressAd.h",
                    "Assets/Plugins/iOS/GADUNativeExpressAd.m",

Once these were deleted it built and run ok.

It would really help if you could provide this information with the plugin so we don't have to waste time figuring out why we have errors and what to do to resolve it.

mobileadssdk-a...@google.com

unread,
May 3, 2018, 3:01:40 PM5/3/18
to Andy Maddison, Google Mobile Ads SDK Developers
Hi Andy,

Thanks for reaching out to us. Native Express support has been deprecated with the latest Unity plugin and the ideal way would be to remove the previous plugin from your project and do a fresh install. Let us know if you need anything else.

Regards,
Deepika Uragayala
Mobile Ads SDK Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+ page:
    http://googleadsdeveloper.blogspot.com
    https://plus.google.com/115658573333388777174/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--

---
You received this message because you are subscribed to the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads-sdk+unsub...@googlegroups.com.
To post to this group, send email to google-admob-ads-sdk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-admob-ads-sdk/b55d520a-ad43-49a1-b598-becbc8fcf78d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

mobileadssdk-a...@google.com

unread,
May 4, 2018, 1:13:03 PM5/4/18
to Andy Maddison, Google Mobile Ads SDK Developers
Hi Andy,

I'll share these suggestions with the team. Thank you for your feedback.

Regards,
Deepika Uragayala
Mobile Ads SDK Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+ page:
    http://googleadsdeveloper.blogspot.com
    https://plus.google.com/115658573333388777174/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 05/03/18 15:01:16 mobileadssdk-a...@google.com wrote:
Hi Andy,

Thanks for reaching out to us. Native Express support has been deprecated with the latest Unity plugin and the ideal way would be to remove the previous plugin from your project and do a fresh install. Let us know if you need anything else.

Regards,
Deepika Uragayala
Mobile Ads SDK Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+ page:
    http://googleadsdeveloper.blogspot.com
    https://plus.google.com/115658573333388777174/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 05/03/18 07:36:11 andym.supersonic.software@gmail.com wrote:
Importing the latest 3.13.1 package into my project gave me some compile errors in Unity. This is because some files are left remaining in the project that are no longer part of the plugin and the code they reference no longer exists in the files that were modified. Usually I would just delete the whole plugin folder (Assets/GoogleMobileAds) and import again except that the way you've made the mediation work is that extra files are added to the plugin hierarchy in various places, with some requiring editing. 

I figured out that these files must be deleted to get rid of the errors.

                    "Assets/GoogleMobileAds/Api/NativeExpressAdView.cs",
                    "Assets/GoogleMobileAds/Common/INativeExpressAdClient.cs",
                    "Assets/GoogleMobileAds/Common/MobileAdsEventExecutor.cs",
                    "Assets/GoogleMobileAds/Platforms/Android/NativeExpressAdClient.cs",
                    "Assets/GoogleMobileAds/Platforms/iOS/NativeExpressAdClient.cs",

Building to Xcode then lead to more errors as there are also files in Assets/Plugins/iOS that need removing.

                    "Assets/Plugins/iOS/GADUNativeExpressAd.h",
                    "Assets/Plugins/iOS/GADUNativeExpressAd.m",

Once these were deleted it built and run ok.

It would really help if you could provide this information with the plugin so we don't have to waste time figuring out why we have errors and what to do to resolve it.

--

---
You received this message because you are subscribed to the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads-sdk+unsubscrib...@googlegroups.com.

James Sunny

unread,
Jul 4, 2019, 10:04:35 PM7/4/19
to Google Mobile Ads SDK Developers
Fresh Install isnt that easy cuz your Framework is literally in thousands of folders and sub folders and sub sub folders
 
Reply all
Reply to author
Forward
0 new messages