パッケージ、リポジトリ、アプリカテゴリを検索

パッケージ詳細v0.0.5

admanager_web

Flutter WebでAd Managerの広告を表示できる簡単なパッケージです。主にFlutter WebでAdSense広告を表示するために作成されました。

AndroidiOSmacOSWindowsLinux
30日間ダウンロード
149
いいね数
31
Pub ポイント
140

パッケージをインストール

flutter pub add admanager_web

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

Flutter WebでAd Manager広告を表示するためのシンプルなFlutterパッケージであり、Google AdSense広告の統合に特化しています。Flutterアプリ内でのウェブベースの広告の配信と管理を簡単に行う方法を提供し、開発者が最小限の設定でWebアプリを収益化できるようにします。このパッケージはWebプラットフォーム向けに最適化されており、既存のAd Manager設定とのシームレスな統合をサポートしています。

用途

  • monetizing Flutter web applications
  • WebアプリにAdSense広告を表示する
  • Web上でAd Managerバナーを統合する
  • Web UIに応答型広告ユニットを埋め込む
  • Web Flutterアプリでのターゲット広告の配信

主な機能

  • Ad Managerとの簡単な統合
  • AdSense 広告のサポート
  • レスポンシブ広告レンダリング
  • 最小構成が必要
  • ウェブ限定の広告配信

適している対象

  • 収益化を検討するFlutterウェブ開発者
  • デスクトップWebユーザーをターゲットにしたアプリ
  • 収益のためのAdSenseを使用するプロジェクト
  • 簡単な広告実装を希望する開発者
  • Web向けのFlutterアプリケーション

注意事項

  • ウェブプラットフォームのみに制限
  • Ad Managerアカウントのセットアップが必要です
  • 外部広告ネットワークの利用可能性に依存する
  • モバイルプラットフォームと互換性がありません
  • 広告ポリシーの遵守が必要になる場合があります

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

AdManager Web Flutter

Simple package that allow us display ads from Ad Manager in Flutter Web. This was primarily created to display Adsense ads on Flutter Web.

Features

  • Request ad from Ad Manager Network
  • Can run Adsense ad in a Flutter Web App

Usage

Add admanager_web as a dependency in your pubspec.yaml file.

Import the packeage:

import 'package:admanager_web/admanager_web.dart';

Initialize our plugin to load all JS things (Need be called before the first ad request):

AdManagerWeb.init();

Just add the AdBlock widget to show the ad where you like:

[...]
 AdBlock(
     size: [AdBlockSize.largeRectangle],
     adUnitId: "/6355419/Travel/Europe",
 )
[...]

Load Rewarded Ad:

[...]
 AdRewarded().load(
    adUnitId: '/22639388115/rewarded_web_example',
    onAdLoaded: (){},
 )
[...]

Show Rewarded Ad:

[...]
 AdRewarded().show(
    onAdClosed: (){},
    onGranted: (int amount){},
 );
[...]

Additional information

For more performance add the GPT.js Library directly in your head in index.html file:

<script
  async
  src="https://securepubads.g.doubleclick.net/tag/js/gpt.js"
></script>

This package was made in order to show Google Adsense ads on Flutter Web in a simple way. Its still in its infancy, and any help to make it better and more efficient will be appreciated.

Made with ♥ from Brazil 🇧🇷

It was made in Brazil by Nathanael Ferreira.

カテゴリー

依存関係

依存関係一覧 2 件

ソースリポジトリ

このパッケージを使用しているプロジェクト

データはまだありません。