We found ad SDKs in your application

Hi Guys,

I don’t using any of ad network but google detected AdMob SDK in APK. What is wrong? Here is google message shown where we set we don’t using ads. “No, it has no ads”.

We found ad SDKs in your application

We found ad SDKs in your active APK(s):

Version: XXX, SDK: AdMob
If your app includes ad SDKs but doesn’t serve ads, keep your current “No” declaration. If your app serves ads, change your declaration to “Yes”.

If you misrepresent the presence of ads in your app, it’s considered a violation of Google Play policies. Learn more

Is it Corona bug or can I solve it by doing something?

If you are not serving ads then simply answer no

Can you post your build.settings please?

Thanks

Rob

Here is build.settings

-- Supported values for orientation: -- portrait, portraitUpsideDown, landscapeLeft, landscapeRight settings = { -- Mac/Win specific window = { titleText = { default = "Apper", } }, orientation = { default = "portrait", supported = { "portrait", } }, osx = { plist = { NSAppTransportSecurity = { NSAllowsArbitraryLoads = true }, } }, splashScreen = { enable = false }, iphone = { xcassets = "Images.xcassets", plist = { UIBackgroundModes = {"remote-notification"}, NSAppTransportSecurity = { NSAllowsArbitraryLoads = true }, ITSAppUsesNonExemptEncryption=false, CFBundleURLTypes={ CFBundleURLSchemes={"com.apper.builder"} }, UIStatusBarHidden = true, UIPrerenderedIcon = true, -- set to false for "shine" overlay -- Launch image files table UILaunchImages = { { -- iPhone 4 Portrait ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default", ["UILaunchImageOrientation"] = "Portrait", ["UILaunchImageSize"] = "{320, 480}" }, { -- iPhone 5 Portrait ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default-568h", ["UILaunchImageOrientation"] = "Portrait", ["UILaunchImageSize"] = "{320, 568}" }, { -- iPad Portrait ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default-Portrait", ["UILaunchImageOrientation"] = "Portrait", ["UILaunchImageSize"] = "{768, 1024}" }, { -- iPhone 6 Portrait ["UILaunchImageMinimumOSVersion"] = "8.0", ["UILaunchImageName"] = "Default-667h", ["UILaunchImageOrientation"] = "Portrait", ["UILaunchImageSize"] = "{375, 667}" }, { -- iPhone 6 Plus Portrait ["UILaunchImageMinimumOSVersion"] = "8.0", ["UILaunchImageName"] = "Default-736h", ["UILaunchImageOrientation"] = "Portrait", ["UILaunchImageSize"] = "{414, 736}" }, }, UIApplicationExitsOnSuspend = false, -- this must be false to make app alive when facebook native app will be opened FacebookAppID = "XXXXXXXXXX", -- Replace XXXXXXXXXX with your Facebook App ID CFBundleURLTypes = { { CFBundleURLSchemes = { "fbXXXXXXXXXX", } } -- Replace XXXXXXXXXX with your Facebook App ID }, -- Whitelist Facebook apps LSApplicationQueriesSchemes = { "fb", -- Needed for the facebook-v4.isFacebookAppEnabled() API "fbapi", "fbauth2", "fb-messenger-api", "fbshareextension" }, } }, plugins = { ["plugin.OneSignal"] = { publisherId = "com.onesignal", }, ["plugin.notifications.v2"] = { publisherId = "com.coronalabs" }, -- Omit if you're using 'plugin.googleAnalytics' ["plugin.google.play.services"] = { publisherId = "com.coronalabs", supportedPlatforms = { android=true, ["android-kindle"]=true }, }, ["plugin.google.iap.v3"] = { publisherId = "com.coronalabs", supportedPlatforms={ android=true } }, ["CoronaProvider.native.popup.social"] = { publisherId = "com.coronalabs" }, ["plugin.zip"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true, android=true, osx=true, win32=true } }, ["CoronaProvider.native.popup.activity"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true, }, }, ["plugin.reviewPopUp"] = { publisherId = "tech.scotth", }, --[[["plugin.facebook.v4"] = { publisherId = "com.coronalabs" }, --]] ["plugin.facebookAnalytics"] = { publisherId = "tech.scotth", supportedPlatforms = { iphone=true, android=true, ["android-kindle"]=true } }, }, android = { minSdkVersion = "19", largeHeap = true, permissions = { {name=".permisssion.C2D\_MESSAGE", protectionLevel="signature"} }, usesPermissions = { "android.permission.INTERNET", "android.permission.CAMERA", "android.permission.WRITE\_EXTERNAL\_STORAGE", "android.permission.READ\_EXTERNAL\_STORAGE", "android.permission.READ\_PHONE\_STATE", "com.android.vending.BILLING", "com.android.vending.CHECK\_LICENSE", "android.permission.GET\_ACCOUNTS", "android.permission.RECEIVE\_BOOT\_COMPLETED", "com.google.android.c2dm.permission.RECEIVE", ".permission.C2D\_MESSAGE", }, facebookAppId = "XXXXXXXXXX", -- Replace XXXXXXXXXX with your Facebook App ID }, excludeFiles = { -- Exclude all files at paths which end with "secret.txt" all = { "\*secret.txt" }, -- Exclude all Android icon files iphone = { "Icon-\*dpi.png" }, -- Exclude iOS "retina" image files android = { "Icon.png", "\*@2x.png", "\*@3x.png", "Default\*.png" }, -- Exclude unnecessary assets from OS X desktop apps osx = { "Default\*.png", "Icon\*.png", "Icon\*.ico" }, -- Exclude unnecessary assets from Win32 desktop apps win32 = { "Default\*.png", "Icon\*.png", "Icon\*.ico", "Icon\*.icns" }, }, }

Hi Sphere,

I don’t using ads and I selected “No, it has no ads”. That is the reason google said we detected an ad SDK and “If you misrepresent the presence of ads in your app, it’s considered a violation of Google Play policies”.

 

You need to remove this:

 -- Omit if you're using 'plugin.googleAnalytics' ["plugin.google.play.services"] = { publisherId = "com.coronalabs", supportedPlatforms = { android=true, ["android-kindle"]=true }, },

That is the legacy AdMob plugin. It used to be a dependency for several other Ad and Analytics plugins, but we have not supported that plugin for well over a year now and have a new dependency system that doesn’t require it.

That’s the source of your error.

Rob

Thanks Rob, I will remove it.

So my any of google services would not be effect?

It should not.

Rob

If you are not serving ads then simply answer no

Can you post your build.settings please?

Thanks

Rob

Here is build.settings

-- Supported values for orientation: -- portrait, portraitUpsideDown, landscapeLeft, landscapeRight settings = { -- Mac/Win specific window = { titleText = { default = "Apper", } }, orientation = { default = "portrait", supported = { "portrait", } }, osx = { plist = { NSAppTransportSecurity = { NSAllowsArbitraryLoads = true }, } }, splashScreen = { enable = false }, iphone = { xcassets = "Images.xcassets", plist = { UIBackgroundModes = {"remote-notification"}, NSAppTransportSecurity = { NSAllowsArbitraryLoads = true }, ITSAppUsesNonExemptEncryption=false, CFBundleURLTypes={ CFBundleURLSchemes={"com.apper.builder"} }, UIStatusBarHidden = true, UIPrerenderedIcon = true, -- set to false for "shine" overlay -- Launch image files table UILaunchImages = { { -- iPhone 4 Portrait ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default", ["UILaunchImageOrientation"] = "Portrait", ["UILaunchImageSize"] = "{320, 480}" }, { -- iPhone 5 Portrait ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default-568h", ["UILaunchImageOrientation"] = "Portrait", ["UILaunchImageSize"] = "{320, 568}" }, { -- iPad Portrait ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default-Portrait", ["UILaunchImageOrientation"] = "Portrait", ["UILaunchImageSize"] = "{768, 1024}" }, { -- iPhone 6 Portrait ["UILaunchImageMinimumOSVersion"] = "8.0", ["UILaunchImageName"] = "Default-667h", ["UILaunchImageOrientation"] = "Portrait", ["UILaunchImageSize"] = "{375, 667}" }, { -- iPhone 6 Plus Portrait ["UILaunchImageMinimumOSVersion"] = "8.0", ["UILaunchImageName"] = "Default-736h", ["UILaunchImageOrientation"] = "Portrait", ["UILaunchImageSize"] = "{414, 736}" }, }, UIApplicationExitsOnSuspend = false, -- this must be false to make app alive when facebook native app will be opened FacebookAppID = "XXXXXXXXXX", -- Replace XXXXXXXXXX with your Facebook App ID CFBundleURLTypes = { { CFBundleURLSchemes = { "fbXXXXXXXXXX", } } -- Replace XXXXXXXXXX with your Facebook App ID }, -- Whitelist Facebook apps LSApplicationQueriesSchemes = { "fb", -- Needed for the facebook-v4.isFacebookAppEnabled() API "fbapi", "fbauth2", "fb-messenger-api", "fbshareextension" }, } }, plugins = { ["plugin.OneSignal"] = { publisherId = "com.onesignal", }, ["plugin.notifications.v2"] = { publisherId = "com.coronalabs" }, -- Omit if you're using 'plugin.googleAnalytics' ["plugin.google.play.services"] = { publisherId = "com.coronalabs", supportedPlatforms = { android=true, ["android-kindle"]=true }, }, ["plugin.google.iap.v3"] = { publisherId = "com.coronalabs", supportedPlatforms={ android=true } }, ["CoronaProvider.native.popup.social"] = { publisherId = "com.coronalabs" }, ["plugin.zip"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true, android=true, osx=true, win32=true } }, ["CoronaProvider.native.popup.activity"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true, }, }, ["plugin.reviewPopUp"] = { publisherId = "tech.scotth", }, --[[["plugin.facebook.v4"] = { publisherId = "com.coronalabs" }, --]] ["plugin.facebookAnalytics"] = { publisherId = "tech.scotth", supportedPlatforms = { iphone=true, android=true, ["android-kindle"]=true } }, }, android = { minSdkVersion = "19", largeHeap = true, permissions = { {name=".permisssion.C2D\_MESSAGE", protectionLevel="signature"} }, usesPermissions = { "android.permission.INTERNET", "android.permission.CAMERA", "android.permission.WRITE\_EXTERNAL\_STORAGE", "android.permission.READ\_EXTERNAL\_STORAGE", "android.permission.READ\_PHONE\_STATE", "com.android.vending.BILLING", "com.android.vending.CHECK\_LICENSE", "android.permission.GET\_ACCOUNTS", "android.permission.RECEIVE\_BOOT\_COMPLETED", "com.google.android.c2dm.permission.RECEIVE", ".permission.C2D\_MESSAGE", }, facebookAppId = "XXXXXXXXXX", -- Replace XXXXXXXXXX with your Facebook App ID }, excludeFiles = { -- Exclude all files at paths which end with "secret.txt" all = { "\*secret.txt" }, -- Exclude all Android icon files iphone = { "Icon-\*dpi.png" }, -- Exclude iOS "retina" image files android = { "Icon.png", "\*@2x.png", "\*@3x.png", "Default\*.png" }, -- Exclude unnecessary assets from OS X desktop apps osx = { "Default\*.png", "Icon\*.png", "Icon\*.ico" }, -- Exclude unnecessary assets from Win32 desktop apps win32 = { "Default\*.png", "Icon\*.png", "Icon\*.ico", "Icon\*.icns" }, }, }

Hi Sphere,

I don’t using ads and I selected “No, it has no ads”. That is the reason google said we detected an ad SDK and “If you misrepresent the presence of ads in your app, it’s considered a violation of Google Play policies”.

 

You need to remove this:

 -- Omit if you're using 'plugin.googleAnalytics' ["plugin.google.play.services"] = { publisherId = "com.coronalabs", supportedPlatforms = { android=true, ["android-kindle"]=true }, },

That is the legacy AdMob plugin. It used to be a dependency for several other Ad and Analytics plugins, but we have not supported that plugin for well over a year now and have a new dependency system that doesn’t require it.

That’s the source of your error.

Rob

Thanks Rob, I will remove it.

So my any of google services would not be effect?

It should not.

Rob