adtogether_sdk 0.1.1 copy "adtogether_sdk: ^0.1.1" to clipboard
adtogether_sdk: ^0.1.1 copied to clipboard

The official AdTogether Flutter SDK for monetizing your app with native advertising.

AdTogether SDK #

Pub Version

"Shown an ad, get ad shown"
The Universal Ad Exchange & Reciprocal Marketing Platform

AdTogether is a state-of-the-art ad exchange platform designed to empower developers and creators. By participating in our network, you can engage in reciprocal marketing for your own applications while simultaneously driving traffic to your products. Our core philosophy is simple: "Shown an ad, get ad shown".

This SDK allows Flutter developers to easily integrate AdTogether ads into their applications. By displaying ads from other community members, you earn "Ad Credits" that allow your own app's ads to be shown across the AdTogether network.

Features #

  • Banner Ads: Easy-to-use widgets for displaying standard-sized banners.
  • Fair Exchange: Automated tracking of impressions to ensure fair distribution of ad credits.
  • Easy Integration: Minimal setup required to start showing ads.
  • Community Focused: Help other developers while getting exposure for your own project.

Getting started #

In your pubspec.yaml file, add the dependency:

dependencies:
  adtogether_sdk: ^0.1.1

Run flutter pub get to install the package.

Configuration #

Initialize the SDK with your App ID (obtained from the AdTogether Dashboard):

import 'package:adtogether_sdk/adtogether_sdk.dart';

void main() {
  AdTogether.initialize(appId: 'YOUR_APP_ID');
  runApp(MyApp());
}

Usage #

Displaying a Banner Ad #

Simply use the AdTogetherBanner widget anywhere in your widget tree:

import 'package:adtogether_sdk/adtogether_sdk.dart';

// ... inside your build method
AdTogetherBanner(
  adSize: AdSize.banner, // Standard 320x50 banner
)

Supported Ad Sizes #

  • AdSize.banner (320x50)
  • AdSize.largeBanner (320x100)
  • AdSize.mediumRectangle (300x250)

Additional information #

License #

This project is licensed under the MIT License - see the LICENSE file for details.

1
likes
0
points
668
downloads

Publisher

unverified uploader

Weekly Downloads

The official AdTogether Flutter SDK for monetizing your app with native advertising.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, http, url_launcher, visibility_detector

More

Packages that depend on adtogether_sdk