GoogleMobileAds Framework Reference

  • GADServerSideVerificationOptions provides configuration for server-side verification of rewarded ad callbacks.

  • It includes options for setting a user identifier and a custom reward string.

  • These options are used to pass information to the publisher's server during the verification process.

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 customRewardText: String? { get set }

    Objective-C

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