getExtras method

  1. @override
Map<String, dynamic> getExtras()

Key-Value pair to be sent to the host platform to parse.

The Android or iOS parse classes are responsible to take these values and parse them to Mediation Extras that the Ad Request can register.

Implementation

@override
Map<String, dynamic> getExtras() {
  return <String, dynamic>{
    "ageGroup": ageGroup?.intValue,
    "education": education?.intValue,
    "age": age,
    "yearOfBirth": yearOfBirth,
    "postalCode": postalCode,
    "areaCode": areaCode,
    "language": language,
    "city": city,
    "state": state,
    "country": country,
    "keywords": keywords,
    "interests": interests,
    "logLevel": logLevel?.intValue,
  };
}