Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

testing Facebook Audience Network is incredibly slow
Started by 510873 Aug 29 2017 12:13 AM

6 replies to this topic
facebook audience network delay slow advertisement ads
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

510873

[GLOBAL: userInfoPane.html]
510873
  • Observer

  • 5 posts
  • Corona SDK

Hey Corona Community,

 

I have been trying to implement the Facebook Audience Network in a game that has already been released (adding it later). While it does technically work, the test ads take super long to load. for example I could easily be waiting 10-30 minutes before a test banner or test interstitial shows up on the screen.

 

As a control I disabled the rest of the app and only showed a background image, then tried to load some test ads but the same thing happend, just a giant load time.

 

There is also something strange going on. I am using live builds to test the system because you need to add the HASH ID to your code (which changes every build). When I change the code and save it and corona reloads the lua app on the device, the "adb logcat" shows that right before it reloads the app it is successfull in loading the advertisement. This strange phenomenon has been consistent across my tests.

 

Has anyone got an idea whats going on? Thanks in advance!

 

 

Corona Version: 2017.3128

Facebook Audience Network .version property: 2

System: Windows 10 64-bit (dont know if the sim is 64 bit)

Android Test Device: Samsung Galaxy Tab 3 Lite (SM-T113), Android 4.4.4



[TOPIC: post.html]
#2

ingemar_cl

[GLOBAL: userInfoPane.html]
ingemar_cl
  • Contributor

  • 673 posts
  • Alumni

I haven't heard about any such issues from other users.

 

Try using the Corona Sample app below and modify it with your credentials. You can use that as a baseline test to see if you still see delays.

https://github.com/coronalabs/plugins-sample-fbAudienceNetwork

 

(BTW. The Facebook hash-id is only changed if the app is deleted from the device before installing the update.

If you update the app by letting adb replace the existing app (adb install -r) the hash-id stays the same)



[TOPIC: post.html]
#3

510873

[GLOBAL: userInfoPane.html]
510873
  • Observer

  • 5 posts
  • Corona SDK

Thanks for your reply, just tested the sample app out on the old tab 3 lite and my personal onePlus 3. Assuming it should fetch these test ads within 2-3 minutes this sample project also doesnt work.
 

It leads me to believe the problem lies with facebook. When I save the code so corona updates the lua of the live build the console says that it failed to get the ads. 

 

Edit: after a little over 10 minutes its still trying to fetch an ad

Edit2: 40 minutes have passed now, not loaded. stopping the app :/



[TOPIC: post.html]
#4

ingemar_cl

[GLOBAL: userInfoPane.html]
ingemar_cl
  • Contributor

  • 673 posts
  • Alumni

Can you try without using Live Build?

Test ads should normally load within a few seconds.



[TOPIC: post.html]
#5

510873

[GLOBAL: userInfoPane.html]
510873
  • Observer

  • 5 posts
  • Corona SDK

I built the test app (not live) and it worked on the Tab 3, but when I added the new hash id for my phone (I removed the app yesterday) It said that it failed to load. Atleast its not waiting this long anymore.

 

That live build thing might be a bug :)



[TOPIC: post.html]
#6

ingemar_cl

[GLOBAL: userInfoPane.html]
ingemar_cl
  • Contributor

  • 673 posts
  • Alumni

It's important not to remove the app after changing the hash-id, otherwise a new hash-id will be generated and test ads will fail to load.



[TOPIC: post.html]
#7

510873

[GLOBAL: userInfoPane.html]
510873
  • Observer

  • 5 posts
  • Corona SDK

Yes, I got it to work on the main test device, Later on I will test with more devices. I can finnaly actually start properly implementing the ads where they need to be. Thanks!

 

Edit it seems to be working on IOS devices with real ads, not sure if they are supposed to pop up already but atleast I know it works now




[topic_controls]
[/topic_controls]

Also tagged with one or more of these keywords: facebook audience network, delay, slow, advertisement, ads