Class AdRequest

  • All Implemented Interfaces:

    
    public final class AdRequest
    
                        

    Represents a request used to load ads.

    An AdRequest contains optional targeting parameters (such as location, age, and gender), which may be used by the ad system to serve more relevant ads.

    Instances of this class are created using the Builder class.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public final class AdRequest.Builder

      Builder class for constructing AdRequest instances with custom parameters.

      public enum AdRequest.Gender

      Enum representing the user's gender for ad targeting.

    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail