Facebook Audience Advertising

Discussion in 'Technical Discussion' started by darren, Jan 4, 2016.

  1. darren

    darren Avid Boxer

    Joined:
    Sep 25, 2015
    Messages:
    134
    Likes Received:
    58
    for Android, does BB automagically export the Facebook SDK or do you have to add it manually. any tips on the Facebook banner ads would be appreciated
     
  2. darren

    darren Avid Boxer

    Joined:
    Sep 25, 2015
    Messages:
    134
    Likes Received:
    58
    [​IMG]

    copying the AudienceNetwork.jar into the project didn't help so maybe part of the Facebook sdk is already there? ...but I don't see the Facebook meta data in the manifest:

    [​IMG]
     
  3. darren

    darren Avid Boxer

    Joined:
    Sep 25, 2015
    Messages:
    134
    Likes Received:
    58
    Does anyone know of Buildbox documentation about Facebook banner ads on Android? The manual for Buildbox is still on version 1.3.3

    D/AndroidRuntime(24932): Shutting down VM

    W/dalvikvm(24932): threadid=1: thread exiting with uncaught exception (group=0x419b5ba8)

    E/AndroidRuntime(24932): FATAL EXCEPTION: main

    E/AndroidRuntime(24932): java.lang.IllegalArgumentException: placementId

    E/AndroidRuntime(24932): at com.facebook.ads.a.j.<init>(Unknown Source)

    E/AndroidRuntime(24932): at com.facebook.ads.a.k.b(Unknown Source)

    E/AndroidRuntime(24932): at com.facebook.ads.InterstitialAd.loadAd(Unknown Source)

    E/AndroidRuntime(24932): at com.secrethq.ads.PTAdFacebookBridge$2.run(PTAdFacebookBridge.java:131)

    E/AndroidRuntime(24932): at android.os.Handler.handleCallback(Handler.java:733)

    E/AndroidRuntime(24932): at android.os.Handler.dispatchMessage(Handler.java:95)

    E/AndroidRuntime(24932): at android.os.Looper.loop(Looper.java:136)

    E/AndroidRuntime(24932): at android.app.ActivityThread.main(ActivityThread.java:5017)

    E/AndroidRuntime(24932): at java.lang.reflect.Method.invokeNative(Native Method)

    E/AndroidRuntime(24932): at java.lang.reflect.Method.invoke(Method.java:515)

    E/AndroidRuntime(24932): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)

    E/AndroidRuntime(24932): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)

    E/AndroidRuntime(24932): at dalvik.system.NativeStart.main(Native Method)
     
  4. Andy

    Andy Miniboss Boxer

    Joined:
    Sep 24, 2015
    Messages:
    2,152
    Likes Received:
    1,546
    If you configure Buildbox advertising settings to use Facebook the SDK is included on export. There would be no specific change in later documentation to integrating the Facebook SDK.
     
  5. darren

    darren Avid Boxer

    Joined:
    Sep 25, 2015
    Messages:
    134
    Likes Received:
    58
    thanks @Andy I tried this and added Facebook as the only banner in the priority list.

    it crashes when it gets to the main menu, here is the log cat. Are Facebook banner ads supported on Android?

    W/dalvikvm(28552): dvmFindClassByName rejecting 'com/secrethq/ads/PTAdHeyzapBridge'

    D/PTPlayer(28552): Start Atlas loading

    D/PTPlayer(28552): loading atlas

    D/PTPlayer(28552): data/atlases/atlas_ID101.plist

    D/AndroidRuntime(28552): Shutting down VM

    W/dalvikvm(28552): threadid=1: thread exiting with uncaught exception (group=0x419b5ba8)

    E/AndroidRuntime(28552): FATAL EXCEPTION: main

    E/AndroidRuntime(28552): Process: com.moebull.gp.microgee, PID: 28552

    E/AndroidRuntime(28552): java.lang.IllegalArgumentException: placementId

    E/AndroidRuntime(28552): at com.facebook.ads.a.j.<init>(Unknown Source)

    E/AndroidRuntime(28552): at com.facebook.ads.a.k.b(Unknown Source)

    E/AndroidRuntime(28552): at com.facebook.ads.InterstitialAd.loadAd(Unknown Source)

    E/AndroidRuntime(28552): at com.secrethq.ads.PTAdFacebookBridge$2.run(PTAdFacebookBridge.java:131)

    E/AndroidRuntime(28552): at android.os.Handler.handleCallback(Handler.java:733)

    E/AndroidRuntime(28552): at android.os.Handler.dispatchMessage(Handler.java:95)

    E/AndroidRuntime(28552): at android.os.Looper.loop(Looper.java:136)

    E/AndroidRuntime(28552): at android.app.ActivityThread.main(ActivityThread.java:5017)

    E/AndroidRuntime(28552): at java.lang.reflect.Method.invokeNative(Native Method)

    E/AndroidRuntime(28552): at java.lang.reflect.Method.invoke(Method.java:515)

    E/AndroidRuntime(28552): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)

    E/AndroidRuntime(28552): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)

    E/AndroidRuntime(28552): at dalvik.system.NativeStart.main(Native Method)

    W/ActivityManager( 512): Force finishing activity com.moebull.gp.microgee/.PTPlayer

    I/ActivityManager( 512): Config changes=480 {1.0 302mcc?mnc en_US ldltr sw600dp w600dp h880dp 213dpi lrg port finger -keyb/v/h -nav/h s.37}

    I/InputReader( 512): Reconfiguring input devices. changes=0x00000004

    I/InputReader( 512): Device reconfigured: id=2, name='elan-touchscreen', size 800x1280, orientation 0, mode 1, display id 0

    I/InputReader( 512): Reconfiguring input devices. changes=0x00000004
     
  6. darren

    darren Avid Boxer

    Joined:
    Sep 25, 2015
    Messages:
    134
    Likes Received:
    58
    wow this is frustrating...I don’t think Buildbox supports Facebook Banner ads on Android.

    I have a game that loads fine without advertising but if I add Facebook banners to the game over screen, the game crashes when it loads 97% of the splash/loading screen.

    Happens on both:

    Gtab48 Galaxy (SM-T330)
    Android 5.1.1

    &

    Nexus 7
    Android 4.4.2
     
  7. Christoph

    Christoph Miniboss Boxer

    Joined:
    Oct 4, 2015
    Messages:
    2,807
    Likes Received:
    2,309
    I remember @Machine Rises had the same problem with his game Color Switch. It seems to make trouble even on iOS.
     
  8. Machine Rises

    Machine Rises Serious Boxer

    Joined:
    Sep 25, 2015
    Messages:
    591
    Likes Received:
    834
    Yup I had to drop Facebook. Annoying for sure.
     
  9. darren

    darren Avid Boxer

    Joined:
    Sep 25, 2015
    Messages:
    134
    Likes Received:
    58
    has anyone gotten Facebook ads to work on Android?
     
  10. Aaron F

    Aaron F Avid Boxer

    Joined:
    Sep 25, 2015
    Messages:
    146
    Likes Received:
    161
    Try using Heyzap with Facebook setup on the backend
     
  11. cheqrouniyassinediez3

    cheqrouniyassinediez3 Boxer

    Joined:
    Nov 3, 2015
    Messages:
    30
    Likes Received:
    1
    @darren did you find how to add facebook android sdk ?
    can you tell me how did you do it.
     

Share This Page