I use Admob to monetize my apps and recently I added Facebook mediation. For Android it was verified already (it was a while ago and I honestly I don't remember how).
I see this information fo iOS:
Instructions Copy the line below and add it to your app-ads.txt file
at https:// domain.com/app-ads.txt. We've included your business...
The thing is that I have this mediation on a Flutter app and I have no domain.
How can I verify this?
How can I validate this?
You can Publish app-ads.txt with Firebase Hosting
Then release new version of your iOS app and add the link to iOS app Marketing URL in app store connect.
Related
I am unable to mediate between admob and facebook audience network (FAN) in android app. The app is only serving ads from Admob network. The mediation between Admob and FAN is not working. Below is the process I have followed:
Integrated Admob in Android app. This is working fine.
Created a new developer account in facebook.
Added a new app (application id) in facebook.
Added two publishers id in facebook (one for banner and other for interstitial)
Included the adapter jar in the eclipse and added it to build path
Downloaded facebook sdk and added the classes.jar in eclipse. Added this to build path.
Added meta-data for facebook app id in Android Manifest
Project is compiled without any errors
Made proguard changes as per the instruction available at: https://firebase.google.com/docs/admob/android/mediation#include_network_adapters_and_sdks
Added mediation entries in Admob with ecpm 0.01 and 5.00.
When I run the code, I only get test ads from admob. On facebook, i see no ad requests. Till facebook doesn't recieves the ad request, it won't validate the app and ads.
Not sure if I need to make any change to android code. I am using the same code that worked for admob. It is just that I have now included the facebook jars and made changes to manifest file. No change is made to java code files or xml files?
Also, does facebook need activity context in adview request? I have adview defined in XML so I don't knw how to pass the activity context.
The code is driving me crazy.. and there is no single documentation available on how to make admob and FAN work in android code..
Prioritize facebook so the traffic/request will go to facebook instead admob just for testig purposes.
In my case to redirect traffic to facebook I set admob floor eCPM to $50 so it won't be served and surely it will try facebook since you configured it in the mediation stack.
NOTE: DO not use test ads on admob when doing above. Use real ads just don't click on it.
Here's what I did: For Facebook to validate your app, deactivate the mediation in your code and try loading just a Facebook ad instead as they show on their how-to-page. Once you see the ad from Facebook the status of your App turns to "validating". For me after like 3-4 hours it changed to "ready".
To get the Facebook ads delivered to your device, you need to have Facebook app installed and logged-in at least once. Do the following:
Install the Facebook app on your phone
Log in to the Facebook app with the same account from which you are requesting the ads
Now open your own app and request the ads from Facebook. If your integration is fine, you should get the ads.
I use IONIC framework to build my app and it's work really great.
I use ngCordova for facebook integration, so I have to set facebook app to be a "web".
When I send request for app review because I want to use "publish_action" permission they not approve my app and comment like this.
"if your app is an android app, you will need to apply for that platform instead of the web platform, as I can't review an android app in a web platform submission"
Is there anyway to setup my facebook app as Android?
Or How can I help my request to pass their review?
You need to pass the review for android.
Which means going to the google developer, creating a project, uploading an apk (a fake one, not important), then you get your android ID (no need to publish), you then register your app for android on facebook developer (with android ID) and you upload your real apk for the android review with a videocast of how it works.
I have already launched application in iPhone and now I want to integrate AdMob in it.
How to start with, I don't know
do I need to create new provisioning profile in iTunes or what?
And how get AdMob id from iTunes and after integrating AdMob how to launch app again?
Please Help me
No need to create any new provisioning profile for that just create with new version and upload again with AdMob.To add AdMob first we need to register in www.admob.com site.For Registration just follow these steps.
Login to www.admob.com.
Goto Sites & Apps.
Under sites & Apps select a site or app type.
Select iPhone App and full fill the details.
After filling details you will provide with Admob id and SDk. you can download the AbMob SDK, it is required for publishing Ads and drag drop into the Xcode project and use that Admob id as publisher id in your code.
For more information check thislink andlink2 you will get sample codes.
Hope it will helps you.
1). Do i need to create new provisioning profile - No, you can use your existing distribution profile for upload new version of your app.
2). how get AdMob id - Please refer this link
3). how to launch app again - You need to create an version of your app. More.
now you can use AdMob mediation
Best tutorial of AdMob mediation
AdMob_Mediation_Demo
You can download it and use it in your project
I saw this linkenter link description here
But it doesn't solve my problem.
I downloaded the latest Facebook sdk 3.1.1
The original SessionLoginSample provided with sdk works fine.
I made the following changes and the result is: App is misconfigured for Facebook login
Where is my mistake?
I created a new sample Facebook app following step by step the Facebook doc:
Facebook App Image on Flickr
I loaded in xCode the original SessionLoginSample and I changed only the bundleId and the Facebook ID:
xCode plist image on flickr
i experienced the same problem many times.
First make sure you have your Facebookappid set in your property list correctly.
Then go to facebook account settings and delete your ios app from applications.
then go to developer settings of facebook for your ios app.Make sure the app id is correct and also make sure that the bundle identifier is also same as your propertylist in xcode.It should be working afterwards
UPDATED : You do not need to delete the app.Try delete the app from your Facebook settings first.Then go to your Facebook app on iOS and log out.Remove your own app from the device and reinstall (without loving in to your account).Then you try to connect from your own app Facebook will prompt and ak your username and password and it will not return to your app.You clsoe the app and return to your own app manually.When you try to connect again in your own app FB it will ask you for permissions.
I reproduced the problem somehow and fixed like this.
By the way i also set the App Type: setting in advanded settings to Native/Dssktop.
Make sure you configured your app properly as per the following guidelines https://developers.facebook.com/docs/getting-started/facebook-sdk-for-ios/3.1/ Check whether you bundle id is as per you configured in the Native ios settings of app configuration.
Using latest github version of FB iOS SDK in my iOS app which previously worked fine authenticating with the Facebook app installed. Now in iOS 5 and using the new facebook mobile iOS app the url returned to my application is fb://authorize#unkown_error.
Has anyone encountered this. I verified that iOS SSO is enabled in my app in the facebook dev portal. I also tried creating a new facebook app from scratch and using that in my iOS app and it garnered the same result.
Thanks in advance.
When you try to use Facebook SDK as it was on 4 nov 2011 and complete the tutorial you will run into trouble as mentioned above, because it does not yet implement ARC. If you want to use Storyboarding as well you run into the trouble that the appDelegate now has a slightly different scope. You should not, as the tutorial states, make the appDelegate you respond to Facebook delegate methods but you should doe this in the rootViewController.
I posted a code whit a fix on gitug: git#github.com:doozMen/Facebook-SDK-in-iOS5-and-using-storyboarding.git
in Xcode 4.2.1 when adding the src folder according to the tutorial , you need to include it fully without removing the project file , but on the add files popup you need to to deselect the add to target. then in your linkage build rule add the resulting static library of Facebook to the build target and not the source itself. in that way Facebook compile as is and can be used with or with out ARC/SB .