AATKit Flutter Integration
Release Notes
  • Start
    • Setup
    • Initialization
    • App Tracking Transparency
    • Google Mobile Ads SDK
    • Consent
      • Managed Consent
      • Vendor Consent
      • Simple Consent
  • Formats
    • Banner
    • Banner Cache
    • Fullscreen (Interstitial)
    • Rewarded Video
    • App Open Ad
  • Reference
Powered by GitBook
On this page
  • Introduction
  • Usage
  1. Start
  2. Consent

Vendor Consent

Handle consent using AATKit vendor consent

Introduction

You should consider using AATKit’s Vendor Consent, in case you want to utilize a CMP that AATKit has not yet adapted with its ManagedConsent. In that case, you might want to pass individual consents (coming from your CMP) to specific non-IAB compliant ad networks/vendors.

Usage

To use it, you need to initialize AATKit with pass VendorConsent as consent parameter. Also you should pass the map of networks with NonIABConsent value. AATKit will set consent as unknown for another networks.

await _aatkitFlutterPlugin.initAATKit(
  AATKitConfiguration(
    consent: VendorConsent(
      consentForAddapptr: NonIABConsent.obtained,
      consentForNetworks: {
        AdNetwork.admob: NonIABConsent.obtained,
        AdNetwork.dfp: NonIABConsent.withheld,
        AdNetwork.unity: NonIABConsent.obtained,
      },
    ),
  ),
);

PreviousManaged ConsentNextSimple Consent

Last updated 11 months ago