GADCustomEventExtras.h 1011 B

123456789101112131415161718192021222324252627282930
  1. //
  2. // GADCustomEventExtras.h
  3. // Google Mobile Ads SDK
  4. //
  5. // Copyright 2012 Google Inc. All rights reserved.
  6. //
  7. #import <Foundation/Foundation.h>
  8. #import "GADAdNetworkExtras.h"
  9. /// Create an instance of this class to set additional parameters for each custom event object. The
  10. /// additional parameters for a custom event are keyed by the custom event label. These extras are
  11. /// passed to your implementation of GADCustomEventBanner or GADCustomEventInterstitial.
  12. @interface GADCustomEventExtras : NSObject<GADAdNetworkExtras>
  13. /// Set additional parameters for the custom event with label |label|. To remove additional
  14. /// parameters associated with |label|, pass in nil for |extras|.
  15. - (void)setExtras:(NSDictionary *)extras forLabel:(NSString *)label;
  16. /// Retrieve the extras for |label|.
  17. - (NSDictionary *)extrasForLabel:(NSString *)label;
  18. /// Removes all the extras set on this instance.
  19. - (void)removeAllExtras;
  20. /// Returns all the extras set on this instance.
  21. - (NSDictionary *)allExtras;
  22. @end