Strange iAd error

I receive test ads perfectly, my call back prints the following: “The ad loaded successfully” on test builds.

However, when downloaded from the app store and observed through the Xcode console i get the following error: “Application has iAd Network configuration error” (im printing the event.response)

Could someone please advise?

My identifier is all lowercase. Would this be a problem even though it works with test ads?

My build.settings file:

settings =
{
  plugins = {

    [“CoronaProvider.gameNetwork.google”] =
     {
        publisherId = “com.coronalabs”,
        supportedPlatforms = { android = true }
     },
 
    
 
    [“CoronaProvider.ads.admob”] =
     {
       publisherId = “com.coronalabs”,
      },

       [“CoronaProvider.ads.iads”] =
   {
      publisherId = “com.coronalabs”,
      supportedPlatforms = { iphone = true },
   },
   
   
  },
    orientation =
    {
        default = “portrait”,
        supported = { “portrait”, “portraitUpsideDown” }
    },
    android =
    {
    googlePlayGamesAppId = “xxxxxxxxxxxxx”,  
        usesPermissions =
        {
            “android.permission.INTERNET”,
      “android.permission.ACCESS_NETWORK_STATE”,
   
      “android.permission.READ_PHONE_STATE”
      
        },
    },
    iphone =
    {
        plist =
        {
            CFBundleIconFile = “Icon.png”,
            UIPrerenderedIcon=true,
            UIStatusBarHidden = true,
            CFBundleIconFiles =
            {
                “Icon.png”,
                “Icon@2x.png”,
                “Icon-60.png”,
                “Icon-60@2x.png”,
                “Icon-72.png”,
                “Icon-72@2x.png”,
                “Icon-76.png”,
                “Icon-76@2x.png”,
                “Icon-Small.png”,
                “Icon-Small@2x.png”,
                “Icon-Small-40.png”,
                “Icon-Small-40@2x.png”,
                “Icon-Small-50.png”,
                “Icon-Small-50@2x.png”,
            },
            UIApplicationExitsOnSuspend = false,    – must be false for single sign-on to work
            FacebookAppID = “xxxxxxxxxxxxx”,    

            CFBundleURLTypes =
            {
                {
                    CFBundleURLSchemes =
                    {
                        “fbxxxxxxxxx”,                
                    }
                }
            }
        }
    }
}

 

I’m having the same problem:

In my code I have:

ads.init("iads", data.constants.appID, function(event)         print("Received ad event: " .. json.encode(event))         if (event.isError) then             print("Problem receiving ad:" .. event.response)         end         return true     end)  

 

Connecting my phone to xcode devices and checking the logs:

Received ad event: {“provider”:“iAdsProvider”,“isError”:true,“name”:“adsRequest”,“response”:“The operation couldn’t be completed. Application has iAd Network configuration error”}

Test ads also worked correctly, but now that the app is live it does not work.

I’m having the same problem:

In my code I have:

ads.init("iads", data.constants.appID, function(event)         print("Received ad event: " .. json.encode(event))         if (event.isError) then             print("Problem receiving ad:" .. event.response)         end         return true     end)  

 

Connecting my phone to xcode devices and checking the logs:

Received ad event: {“provider”:“iAdsProvider”,“isError”:true,“name”:“adsRequest”,“response”:“The operation couldn’t be completed. Application has iAd Network configuration error”}

Test ads also worked correctly, but now that the app is live it does not work.

Are any of you still seeing this error?

I see the same thing with an app that was approved today.

I think it might be down to a delay/propagation issue from the time the app was approved and until iAd starts serving ads, but I’m not sure…

It definitely propagation time. Everything worked fine after a day or two.

Are any of you still seeing this error?

I see the same thing with an app that was approved today.

I think it might be down to a delay/propagation issue from the time the app was approved and until iAd starts serving ads, but I’m not sure…

It definitely propagation time. Everything worked fine after a day or two.