Returns the value of childDirectedTreatment supplied by the publisher. Returns nil if the
publisher hasn’t specified child directed treatment. Returns @YES if child directed treatment is
enabled.
Returns the value of underAgeOfConsent supplied by the publisher. Returns nil if the publisher
hasn’t specified the user is under the age of consent. Returns @YES if the user is under the age
of consent.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-03-03 UTC."],[],[],null,["# GoogleMobileAds Framework Reference\n\nGADMediationAdRequest\n=====================\n\n protocol GADMediationAdRequest : NSObjectProtocol\n\nProvides information which can be used for making ad requests during mediation.\n- `\n ``\n ``\n `\n\n ### [publisherId()](#/c:objc(pl)GADMediationAdRequest(im)publisherId)\n\n `\n ` \n Publisher ID set by the publisher on the AdMob frontend. \n\n #### Declaration\n\n Swift \n\n func publisherId() -\u003e String?\n\n- `\n ``\n ``\n `\n\n ### [credentials()](#/c:objc(pl)GADMediationAdRequest(im)credentials)\n\n `\n ` \n Mediation configurations set by the publisher on the AdMob frontend. \n\n #### Declaration\n\n Swift \n\n func credentials() -\u003e [AnyHashable : Any]?\n\n- `\n ``\n ``\n `\n\n ### [testMode()](#/c:objc(pl)GADMediationAdRequest(im)testMode)\n\n `\n ` \n Returns YES if the publisher is requesting test ads. \n\n #### Declaration\n\n Swift \n\n func testMode() -\u003e Bool\n\n- `\n ``\n ``\n `\n\n ### [networkExtras()](#/c:objc(pl)GADMediationAdRequest(im)networkExtras)\n\n `\n ` \n The adapter's ad network extras specified in GADRequest. \n\n #### Declaration\n\n Swift \n\n func networkExtras() -\u003e ../Protocols.html#/c:objc(pl)GADAdNetworkExtras?\n\n- `\n ``\n ``\n `\n\n ### [childDirectedTreatment()](#/c:objc(pl)GADMediationAdRequest(im)childDirectedTreatment)\n\n `\n ` \n Returns the value of childDirectedTreatment supplied by the publisher. Returns nil if the\n publisher hasn't specified child directed treatment. Returns @YES if child directed treatment is\n enabled. \n\n #### Declaration\n\n Swift \n\n func childDirectedTreatment() -\u003e NSNumber?\n\n- `\n ``\n ``\n `\n\n ### [maxAdContentRating()](#/c:objc(pl)GADMediationAdRequest(im)maxAdContentRating)\n\n `\n ` \n Returns the maximum ad content rating supplied by the publisher. Returns nil if the publisher\n hasn't specified a max ad content rating. \n\n #### Declaration\n\n Swift \n\n func maxAdContentRating() -\u003e ../Type-Definitions.html#/c:GADRequestConfiguration.h@T@GADMaxAdContentRating?\n\n- `\n ``\n ``\n `\n\n ### [underAgeOfConsent()](#/c:objc(pl)GADMediationAdRequest(im)underAgeOfConsent)\n\n `\n ` \n Returns the value of underAgeOfConsent supplied by the publisher. Returns nil if the publisher\n hasn't specified the user is under the age of consent. Returns @YES if the user is under the age\n of consent. \n\n #### Declaration\n\n Swift \n\n func underAgeOfConsent() -\u003e NSNumber?\n\n- `\n ``\n ``\n `\n\n ### [userHasLocation()](#/c:objc(pl)GADMediationAdRequest(im)userHasLocation)\n\n `\n ` \n Returns YES if the publisher has specified latitude and longitude location. \n\n #### Declaration\n\n Swift \n\n func userHasLocation() -\u003e Bool\n\n- `\n ``\n ``\n `\n\n ### [userLatitude()](#/c:objc(pl)GADMediationAdRequest(im)userLatitude)\n\n `\n ` \n Returns the user's latitude or 0 if location isn't specified. \n\n #### Declaration\n\n Swift \n\n func userLatitude() -\u003e CGFloat\n\n- `\n ``\n ``\n `\n\n ### [userLongitude()](#/c:objc(pl)GADMediationAdRequest(im)userLongitude)\n\n `\n ` \n Returns the user's longitude or 0 if location isn't specified. \n\n #### Declaration\n\n Swift \n\n func userLongitude() -\u003e CGFloat\n\n- `\n ``\n ``\n `\n\n ### [userLocationAccuracyInMeters()](#/c:objc(pl)GADMediationAdRequest(im)userLocationAccuracyInMeters)\n\n `\n ` \n Returns the user's location accuracy or 0 if location isn't specified. \n\n #### Declaration\n\n Swift \n\n func userLocationAccuracyInMeters() -\u003e CGFloat\n\n- `\n ``\n ``\n `\n\n ### [userLocationDescription()](#/c:objc(pl)GADMediationAdRequest(im)userLocationDescription)\n\n `\n ` \n Returns user's location description. May return a value even if userHasLocation is NO. \n\n #### Declaration\n\n Swift \n\n func userLocationDescription() -\u003e String?\n\n- `\n ``\n ``\n `\n\n ### [userKeywords()](#/c:objc(pl)GADMediationAdRequest(im)userKeywords)\n\n `\n ` \n Keywords describing the user's current activity. Example: @Sport Scores. \n\n #### Declaration\n\n Swift \n\n func userKeywords() -\u003e [Any]?\n\n[Deprecated\n----------](#/Deprecated)\n\n- `\n ``\n ``\n `\n\n ### [userGender()](#/c:objc(pl)GADMediationAdRequest(im)userGender)\n\n `\n ` \n Deprecated. The end user's gender set by the publisher in GADRequest. Returns kGADGenderUnknown\n if it has not been specified. \n\n #### Declaration\n\n Swift \n\n func userGender() -\u003e ../Enums/GADGender.html\n\n- `\n ``\n ``\n `\n\n ### [userBirthday()](#/c:objc(pl)GADMediationAdRequest(im)userBirthday)\n\n `\n ` \n Deprecated. The end user's birthday set by the publisher. Returns nil if it has not been\n specified. \n\n #### Declaration\n\n Swift \n\n func userBirthday() -\u003e Date?"]]