Share your feedback and help shape the Google Mobile Ads SDK roadmap. Take the Google Mobile Ads SDK Annual Survey for 2023 before it closes on May 5th, 2023.

GoogleMobileAds Framework Reference

Stay organized with collections Save and categorize content based on your preferences.

GADServerSideVerificationOptions

@interface GADServerSideVerificationOptions : NSObject <NSCopying>

Options for server-side verification callbacks for a rewarded ad.

  • A unique identifier used to identify the user when making server-side verification reward callbacks. This value will be passed as a parameter of the callback URL to the publisher’s server.

    Declaration

    Swift

    var userIdentifier: String? { get set }

    Objective-C

    @property (nonatomic, copy, nullable) NSString *userIdentifier;
  • Optional custom reward string to include in the server-side verification callback.

    Declaration

    Swift

    var customRewardString: String? { get set }

    Objective-C

    @property (nonatomic, copy, nullable) NSString *customRewardString;