MAAdapterResponseParameters.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. //
  2. // MAAdapterResponseParameters.h
  3. // AppLovinSDK
  4. //
  5. // Created by Thomas So on 8/27/18.
  6. //
  7. #import <AppLovinSDK/MAAdapterParameters.h>
  8. NS_ASSUME_NONNULL_BEGIN
  9. /**
  10. * This protocol contains parameters passed to a mediation adapter to load the next ad.
  11. */
  12. @protocol MAAdapterResponseParameters <MAAdapterParameters>
  13. /**
  14. * Get zone ID / placement ID / ad unit ID for the adapter to use. This is different than {@link MAAd#adUnitIdentifier}, which is used by AppLovin's SDK specifically.
  15. */
  16. @property (nonatomic, copy, readonly) NSString *thirdPartyAdPlacementIdentifier;
  17. /**
  18. * For header bidding only: server bid response that was sent from third-party servers to the respective SDK.
  19. */
  20. @property (nonatomic, copy, readonly) NSString *bidResponse;
  21. /**
  22. * @return if this is a server bid response.
  23. */
  24. @property (nonatomic, assign, readonly, getter=isBidding) BOOL bidding;
  25. /**
  26. * For header bidding only: server bid expiration time.
  27. *
  28. * @return Expiration time for the bidding server response. -1 is default meaning the bid never expires.
  29. */
  30. @property (nonatomic, assign, readonly) long long /*ALTimeIntervalMillis*/ bidExpirationMillis;
  31. @end
  32. NS_ASSUME_NONNULL_END