Flutter 플러그인으로 Google Ad Manager(이전에 DoubleClick for Publishers로 알려짐)과의 통합을 가능하게 하여 개발자가 Flutter 애플리케이션 내에서 광고를 제공할 수 있도록 합니다. 이 플러그인은 배너, 인터스티셜 및 리워드 비디오 광고를 지원하는 네이티브 광고 SDK와의 브리지 역할을 합니다. 간단한 API를 통해 광고 구현을 단순화하면서도 다양한 플랫폼 간 호환성을 유지합니다. Google 생태계를 통해 프로그래머틱 광고를 통해 수익을 창출하고자 하는 앱을 위한 것입니다.
사용 사례
디스플레이 광고를 통한 모바일 앱 수익화
사용자 참여도 향상을 위한 보상형 비디오 광고 구현
앱 레이아웃에서 배너 광고 표시하기
앱 화면 사이에 인터스티셜 광고 통합
Google Ad Manager를 사용하여 타겟 광고 제공
프로그램형 입찰을 통한 광고 수익 활성화
주요 기능
배너, 인터스티셜 및 보상 영상 광고 지원
Google Ad Manager와의 간편한 통합
크로스 플랫폼 광고 제공
실시간 광고 검색 및 렌더링
성능 추적을 위한 광고 이벤트 콜백
Google AdMob 정책 준수
적합한 대상
광고 기반 수익화를 목표로 하는 앱
광고 재고에 Google Ad Manager를 사용하는 개발자
글로벌 대상 사용자를 위한 플러터 앱
여러 광고 네트워크를 관리하는 출판사
높은 광고 채우기율을 요구하는 앱
신뢰할 수 있는 광고 성과 추적을 필요로 하는 프로젝트
고려 사항
Google Ad Manager 계정 설정이 필요합니다
게시자 대시보드에서 올바른 광고 단위 ID가 필요합니다
GDPR과 같은 개인정보 보호 규정 준수를 요구할 수 있습니다
성능은 네트워크 연결에 따라 달라집니다
광고 콘텐츠는 구글의 광고 정책을 따라야 합니다
iOS 및 Android 매니페스트 파일에 대한 추가 구성이 필요합니다
원본 README
연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.
flutter_google_ad_manager
Flutter plugin for Google Ad Manager(DoubleClick for Publishers).
Getting Started
ios
Add io.flutter.embedded_views_preview in info.plist
You can manually refresh the banner ads on user interaction, use the onAdViewCreated callback to save an instance of the DFPBannerViewController and then call the reload() method to refresh the ad.
If you set isDevelop to true, the test adUnitId will be used.
( If set false, the described adUnitId is used.)
Google Ad Manger needs to register testDevices in case of actual devices.
With this plug-in, you can create the following class and set it to testDevices of DFPBanner.
classMyTestDevicesextendsTestDevices{
staticMyTestDevices _instance;
factoryMyTestDevices() {
if (_instance == null) _instance = newMyTestDevices._internal();
return _instance;
}
MyTestDevices._internal();
@overrideList<String> get values => List()..add("XXXXXXXX"); // Set here.
}
DFPBanner(
testDevices: MyTestDevices(),
)
About adSize
DFPAdSize is available. This is the same size as that of android.