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 Formatos de anúncio to see how to do it with each format.
What is needed?
-
Comece criando uma conta conosco. Fale conosco para iniciar o processo e fornecer todas as informações necessárias listadas abaixo.
-
Adicione o código de Inicialização.
-
Follow our ad format guides for their implementation.
-
Your app is now prepared for monetization with us.
Informações que precisamos sobre seu aplicativo
-
Which formats do you intend to utilize? If you’re unsure about the formats, please refer to their dedicated pages or reach out for assistance by contacting us.
-
Link da Loja (Google ou Maçã Um).
-
Domain of the app. E.g.:www.refinery89.com
-
(Optional) Desired App Keywords.
Exemplos
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
Usar R89SDK.initialize method for the auto initialization by providing publisherId e a appId.
@override
void initState() {
super.initState();
// Add for debug
R89SDK.setLogLevel(LogLevel.debug);
R89SDK.setDebug();
// Auto initialization
R89SDK.initialize(
publisherId: "TestRefinery89ID",
appId: "TestAutoConfigDemoApp");
}
Modelo
R89SDK.initialize( publisherId: <YOUR PLUBLISHER ID>, appId: <YOUR APP ID>);