Stay organized with collections
Save and categorize content based on your preferences.
GADInAppPurchase
@interfaceGADInAppPurchase:NSObject
The in-app purchase item to be purchased with the purchase flow handled by you, the
application developer.
Instances of this class are created and passed to your GADInAppPurchaseDelegate object when
users click a buy button. It is important to report the result of the purchase back to the SDK
in order to track metrics about the transaction.
The GADInAppPurchaseDelegate object must call this method after handling the in-app purchase
for both successful and unsuccessful purchase attempts. This method reports ad conversion and
purchase status information to Google.
[[["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 2021-03-03 UTC."],[],[],null,["GADInAppPurchase \n\n\n @interface GADInAppPurchase : NSObject\n\nThe in-app purchase item to be purchased with the purchase flow handled by you, the\napplication developer.\nInstances of this class are created and passed to your GADInAppPurchaseDelegate object when\nusers click a buy button. It is important to report the result of the purchase back to the SDK\nin order to track metrics about the transaction.\n- `\n ``\n ``\n `\n\n [productID](#/c:objc(cs)GADInAppPurchase(py)productID)`\n ` \n The in-app purchase product ID. \n\n Declaration \n Objective-C \n\n @property (readonly, copy, nonatomic) NSString *_Nonnull productID;\n\n- `\n ``\n ``\n `\n\n [quantity](#/c:objc(cs)GADInAppPurchase(py)quantity)`\n ` \n The product quantity. \n\n Declaration \n Objective-C \n\n @property (readonly, assign, nonatomic) NSInteger quantity;\n\n- `\n ``\n ``\n `\n\n [-reportPurchaseStatus:](#/c:objc(cs)GADInAppPurchase(im)reportPurchaseStatus:)`\n ` \n The GADInAppPurchaseDelegate object must call this method after handling the in-app purchase\n for both successful and unsuccessful purchase attempts. This method reports ad conversion and\n purchase status information to Google. \n\n Declaration \n Objective-C \n\n - (void)reportPurchaseStatus:(../Enums/GADInAppPurchaseStatus.html)purchaseStatus;"]]