How it works?
We fetch all unit configurations from our Database and you simply need to use one of the built-in ad widgets. The usage looks as follows:
@override
Widget build(BuildContext context) => Scaffold(
appBar: ...,
body: Column(children: [
...
R89Banner(
configurationId: <provided-banner-config-id>),
...
],),
);
Check Formats publicitaires to see how to do it with each format.
What is needed?
-
Commencez par créer un compte chez nous. Contactez-nous pour initier le processus et fournir toutes les informations nécessaires énumérées ci-dessous.
-
Add the Initialization code.
-
Follow our ad format guides for their implementation.
-
Votre application est maintenant prête pour la monétisation avec nous.
Informations dont nous avons besoin concernant votre application
-
Quels formats comptez-vous utiliser ? Si vous n'êtes pas sûr des formats, veuillez vous référer à leur pages dédiées ou contactez-nous pour de l'aide nous contacter.
-
Lien du magasin (Google ou Pomme une).
-
Domain of the app. E.g.:www.refinery89.com
-
(Optional) Desired App Keywords.
Exemples
If you are in Debug mode, please add these lines before any of the R89SDK.initialize. Marking the SDK as Debug will make the SDK use ConfigBuilder IDs and data.
R89SDK.setLogLevel(LogLevel.debug); R89SDK.setDebug();
Example in the Demo
Utiliser R89SDK.initialize method for the auto initialization by providing publisherId et appId.
@override
void initState() {
super.initState();
// Add for debug
R89SDK.setLogLevel(LogLevel.debug);
R89SDK.setDebug();
// Auto initialization
R89SDK.initialize(
publisherId: "TestRefinery89ID",
appId: "TestAutoConfigDemoApp");
}
Modèle
R89SDK.initialize( publisherId: <YOUR PLUBLISHER ID>, appId: <YOUR APP ID>);