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 2025-08-20 UTC."],[[["\u003cp\u003e\u003ccode\u003eGADMediationAdRequest\u003c/code\u003e provides information for ad requests during the mediation process.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties such as publisher ID, mediation configurations, test mode status, and network extras.\u003c/p\u003e\n"],["\u003cp\u003eIt also has properties related to user demographics and interests like child-directed treatment, user keywords, and content rating preferences.\u003c/p\u003e\n"],["\u003cp\u003eThese properties help mediate and serve more relevant ads to users within the app.\u003c/p\u003e\n"]]],["The `GADMediationAdRequest` protocol provides data for ad requests during mediation. It allows access to the publisher ID, mediation configurations, and whether test ads are requested. It also provides information like ad network extras, child-directed treatment, maximum ad content rating, user's age of consent status, and user keywords. The protocol enables retrieval of these values via methods in both Swift and Objective-C, returning the information if the publisher has provided them.\n"],null,["# GoogleMobileAds Framework Reference\n\nGADMediationAdRequest\n=====================\n\n @protocol GADMediationAdRequest \u003cNSObject\u003e\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 Objective-C \n\n - (nullable NSString *)publisherId;\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 Objective-C \n\n - (nullable NSDictionary *)credentials;\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 Objective-C \n\n - (BOOL)testMode;\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 (any AdNetworkExtras)?\n\n Objective-C \n\n - (nullable id\u003c../Protocols.html#/c:objc(pl)GADAdNetworkExtras\u003e)networkExtras;\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 Objective-C \n\n - (nullable NSNumber *)childDirectedTreatment;\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 Objective-C \n\n - (nullable ../Type-Definitions.html#/c:GADRequestConfiguration.h@T@GADMaxAdContentRating)maxAdContentRating;\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 Objective-C \n\n - (nullable NSNumber *)underAgeOfConsent;\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 Objective-C \n\n - (nullable NSArray *)userKeywords;"]]