GADMediatedNativeAppInstallAd.h 1008 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. //
  2. // GADMediatedNativeAppInstallAd.h
  3. // Google Mobile Ads SDK
  4. //
  5. // Copyright 2015 Google Inc. All rights reserved.
  6. //
  7. #import <Foundation/Foundation.h>
  8. #import "GADMediatedNativeAd.h"
  9. #import "GADNativeAdImage.h"
  10. /// Provides methods used for constructing native app install ads. The adapter must return an object
  11. /// conforming to this protocol for native app install ad requests.
  12. @protocol GADMediatedNativeAppInstallAd<GADMediatedNativeAd>
  13. /// App title.
  14. - (NSString *)headline;
  15. /// Array of GADNativeAdImage objects related to the advertised application.
  16. - (NSArray *)images;
  17. /// App description.
  18. - (NSString *)body;
  19. /// Application icon.
  20. - (GADNativeAdImage *)icon;
  21. /// Text that encourages user to take some action with the ad. For example "Install".
  22. - (NSString *)callToAction;
  23. /// App store rating (0 to 5).
  24. - (NSDecimalNumber *)starRating;
  25. /// The app store name. For example, "App Store".
  26. - (NSString *)store;
  27. /// String representation of the app's price.
  28. - (NSString *)price;
  29. @end