Stay organized with collections
Save and categorize content based on your preferences.
GADCustomEventRequest
@interface GADCustomEventRequest : NSObject
Specifies optional ad request targeting parameters that are provided by the publisher and are
forwarded to custom events for purposes of populating an ad request to a 3rd party ad network.
The additional parameters set by the application. This property lets you pass additional
information from your application to your Custom Event object. To do so, create an instance of
GADCustomEventExtras to pass to GADRequest -registerAdNetworkExtras:. The instance should have
an NSDictionary set for a particular custom event label. That NSDictionary becomes the
additionalParameters here.
Declaration
Swift
var additionalParameters: [AnyHashable : Any]? { get }
[[["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-02-04 UTC."],[[["`GADCustomEventRequest` objects pass optional ad request data from publishers to custom events, used for sending requests to third-party ad networks."],["Publishers can provide keywords, additional parameters, and testing indicators through a `GADCustomEventRequest`."],["`userKeywords` are taken from the `GADRequest` and passed to custom event; `additionalParameters` offer a way to send custom data; `isTesting` reflects the testing status from `GADRequest`."]]],["`GADCustomEventRequest` provides ad request targeting parameters to custom events. It includes `userKeywords`, which are publisher-defined keywords from `GADRequest`. `additionalParameters` passes extra information as a dictionary from the application via `GADCustomEventExtras`. The `isTesting` property indicates if the testing flag was set in the original `GADRequest`. These parameters are read-only properties accessible in both Swift and Objective-C. The object is designed to allow a publisher to forward data to a third-party ad network.\n"]]