public interface MediationAdConfig
| Modifier and Type | Method and Description |
|---|---|
int |
getAge()
Ad network can provide value for user age.
|
int |
getGender()
Ad network can provide value for user gender.
|
java.lang.String |
getPayload() |
java.lang.String |
getPlacementId() |
MyTargetPrivacy |
getPrivacy()
Returns privacy object, containing information about user privacy consent
|
java.util.Map<java.lang.String,java.lang.String> |
getServerParams()
Ad network can provide some custom params, data in this map will be added as get-params to
the Ad request
|
boolean |
isUserAgeRestricted() |
boolean |
isUserConsent() |
boolean |
isUserConsentSpecified() |
@NonNull java.lang.String getPlacementId()
@Nullable java.lang.String getPayload()
@NonNull java.util.Map<java.lang.String,java.lang.String> getServerParams()
int getAge()
int getGender()
CustomParams.Genderboolean isUserConsentSpecified()
boolean isUserConsent()
isUserConsentSpecified() returns falseboolean isUserAgeRestricted()
@NonNull MyTargetPrivacy getPrivacy()
MyTargetPrivacy