To discuss and provide feedback on our products, join the official AdMob Discord channel in the Google Advertising and Measurement Community server.

GoogleMobileAds Framework Reference

  • GADServerSideVerificationOptions provides a way to verify rewarded ad callbacks on your server.

  • These options include a userIdentifier for user identification during callbacks and an optional customRewardString for custom rewards.

  • Both properties are passed as parameters to the publisher's server via the callback URL.

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;

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年08月20日 UTC.