GADMediatedNativeContentAd.h 787 B

123456789101112131415161718192021222324252627282930313233
  1. //
  2. // GADMediatedNativeContentAd.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 content ads.
  11. @protocol GADMediatedNativeContentAd<GADMediatedNativeAd>
  12. /// Primary text headline.
  13. - (NSString *)headline;
  14. /// Secondary text.
  15. - (NSString *)body;
  16. /// List of large images. Each object is an instance of GADNativeAdImage.
  17. - (NSArray *)images;
  18. /// Small logo image.
  19. - (GADNativeAdImage *)logo;
  20. /// Text that encourages user to take some action with the ad.
  21. - (NSString *)callToAction;
  22. /// Identifies the advertiser. For example, the advertiser’s name or visible URL.
  23. - (NSString *)advertiser;
  24. @end