{"action":"created","issue":{"url":"https://api.github.com/repos/googleads/googleads-mobile-plugins/issues/62","labels_url":"https://api.github.com/repos/googleads/googleads-mobile-plugins/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/googleads/googleads-mobile-plugins/issues/62/comments","events_url":"https://api.github.com/repos/googleads/googleads-mobile-plugins/issues/62/events","html_url":"https://github.com/googleads/googleads-mobile-plugins/issues/62","id":53760223,"number":62,"title":"iOS: Mediation for Facebook Audience Network don't work","user":{"login":"Russel1","id":770284,"avatar_url":"https://avatars.githubusercontent.com/u/770284?v=3","gravatar_id":"","url":"https://api.github.com/users/Russel1","html_url":"https://github.com/Russel1","followers_url":"https://api.github.com/users/Russel1/followers","following_url":"https://api.github.com/users/Russel1/following{/other_user}","gists_url":"https://api.github.com/users/Russel1/gists{/gist_id}","starred_url":"https://api.github.com/users/Russel1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Russel1/subscriptions","organizations_url":"https://api.github.com/users/Russel1/orgs","repos_url":"https://api.github.com/users/Russel1/repos","events_url":"https://api.github.com/users/Russel1/events{/privacy}","received_events_url":"https://api.github.com/users/Russel1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-08T15:09:27Z","updated_at":"2015-01-09T00:04:47Z","closed_at":null,"body":"I would like to use the Admob Mediation for Facebook Audience Network in Unity.\r\nIt works great with Android, but on iOS the advertising will not be shown.\r\n\r\nI integrated the Google Mobile Ads Unity Plugin, the libAdapterFacebook.a, the FBAudienceNetwork.framework\r\nand included the facebook audience network configurations in admob Dashboard.\r\n\r\nIf is use the native call for Facebook Audience Network with this code, then it works:\r\n\r\n    // Create a banner's ad view with a unique placement ID (generate your own on the Facebook app settings).\r\n    // Use different ID for each ad placement in your app.\r\n    FBAdView *adView = [[FBAdView alloc]\r\n                   initWithPlacementID:@\"MyPlacementID\"\r\n                   adSize:kFBAdSize320x50\r\n                        rootViewController:((UnityAppController *)[UIApplication sharedApplication].delegate).rootViewController];\r\n   \r\n    // Set a delegate to get notified on changes or when the user interact with the ad.\r\n    //adView.delegate = self;\r\n   \r\n    // When testing on a device, add its hashed ID to force test ads.\r\n    // The hash ID is printed to console when running on a device.\r\n    [FBAdSettings addTestDevice:@\"TestDeviceID\"];\r\n   \r\n    // Initiate a request to load an ad.\r\n    [adView loadAd];\r\n   \r\n    // Reposition the ad and add it to the view hierarchy.\r\n    CGRect screenRect = [[UIScreen mainScreen] bounds];\r\n    adView.frame =\r\n    CGRectOffset(adView.frame,\r\n                 0,\r\n                 screenRect.size.height - kFBAdSize320x50.size.height);\r\n    [((UnityAppController *)[UIApplication sharedApplication].delegate).rootView addSubview:adView];\r\n\r\n\r\n\r\nIf I use the Admob Mediation, then I get this Debug Output:\r\n    HandleAdLoaded event received.\r\n\r\nBut the advertising will not be shown.\r\n\r\nWhere is the problem?\r\nIf the facebook advertising is not rendered within the admob view?\r\nIf it is rendered outside the View? Do I need a Reposition?"},"comment":{"url":"https://api.github.com/repos/googleads/googleads-mobile-plugins/issues/comments/69273155","html_url":"https://github.com/googleads/googleads-mobile-plugins/issues/62#issuecomment-69273155","issue_url":"https://api.github.com/repos/googleads/googleads-mobile-plugins/issues/62","id":69273155,"user":{"login":"ericleich","id":2605332,"avatar_url":"https://avatars.githubusercontent.com/u/2605332?v=3","gravatar_id":"","url":"https://api.github.com/users/ericleich","html_url":"https://github.com/ericleich","followers_url":"https://api.github.com/users/ericleich/followers","following_url":"https://api.github.com/users/ericleich/following{/other_user}","gists_url":"https://api.github.com/users/ericleich/gists{/gist_id}","starred_url":"https://api.github.com/users/ericleich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericleich/subscriptions","organizations_url":"https://api.github.com/users/ericleich/orgs","repos_url":"https://api.github.com/users/ericleich/repos","events_url":"https://api.github.com/users/ericleich/events{/privacy}","received_events_url":"https://api.github.com/users/ericleich/received_events","type":"User","site_admin":false},"created_at":"2015-01-09T00:04:47Z","updated_at":"2015-01-09T00:04:47Z","body":"Interesting. If you're getting the success callback, I'm not sure why the ad wouldn't show. Would you be able to share your Unity project that shows the issue?"}}