Ir a la consola

MediationAdRequest

public interface MediationAdRequest
Known Indirect Subclasses

Information about the ad to fetch for a single publisher. The information is passed through to the ad network's adapter.

Constant Summary

int TAG_FOR_CHILD_DIRECTED_TREATMENT_FALSE As returned by taggedForChildDirectedTreatment(), indicates that the app should not be treated as child-directed for purposes of the Children’s Online Privacy Protection Act (COPPA).
int TAG_FOR_CHILD_DIRECTED_TREATMENT_TRUE As returned by taggedForChildDirectedTreatment(), indicates that the app should be treated as child-directed for purposes of the Children’s Online Privacy Protection Act (COPPA).
int TAG_FOR_CHILD_DIRECTED_TREATMENT_UNSPECIFIED As returned by taggedForChildDirectedTreatment(), indicates that the publisher has not specified whether the app should be treated as child-directed for purposes of the Children’s Online Privacy Protection Act (COPPA).

Public Method Summary

abstract Date
getBirthday()
This method is deprecated. No replacement.
abstract int
getGender()
This method is deprecated. No replacement.
abstract Set<String>
getKeywords()
Returns the set of keywords requested by the user, if defined by the AdRequest.
abstract Location
getLocation()
Returns the location of the user, if defined by the AdRequest.
abstract boolean
isDesignedForFamilies()
This method is deprecated. No replacement.
abstract boolean
isTesting()
Returns true if the publisher is asking for test ads.
abstract int
taggedForChildDirectedTreatment()
Returns whether the publisher indicated that the app is to be treated as child-directed for purposes of the Children’s Online Privacy Protection Act (COPPA) - //business.ftc.gov/privacy-and-security/childrens-privacy.

Constants

public static final int TAG_FOR_CHILD_DIRECTED_TREATMENT_FALSE

As returned by taggedForChildDirectedTreatment(), indicates that the app should not be treated as child-directed for purposes of the Children’s Online Privacy Protection Act (COPPA).

Constant Value: 0

public static final int TAG_FOR_CHILD_DIRECTED_TREATMENT_TRUE

As returned by taggedForChildDirectedTreatment(), indicates that the app should be treated as child-directed for purposes of the Children’s Online Privacy Protection Act (COPPA).

Constant Value: 1

public static final int TAG_FOR_CHILD_DIRECTED_TREATMENT_UNSPECIFIED

As returned by taggedForChildDirectedTreatment(), indicates that the publisher has not specified whether the app should be treated as child-directed for purposes of the Children’s Online Privacy Protection Act (COPPA).

Constant Value: -1

Public Methods

public abstract Date getBirthday ()

This method is deprecated.
No replacement.

Returns the birthday of the user, if defined by the AdRequest.

public abstract int getGender ()

This method is deprecated.
No replacement.

Returns the gender of the user, if defined by the AdRequest.

public abstrac