NimbusGAMDynamicPrice

@available(*, deprecated, message: "Use NimbusAd.applyDynamicPrice extension instead")
class NimbusGAMDynamicPrice
extension NimbusGAMDynamicPrice : Copyable, NimbusRequestManagerDelegate

Nimbus Dynamice Price implementation for GAM which applies keywords to a GADRequest

  • Delegate for Nimbus requests

    Declaration

    Swift

    @available(*, deprecated, message: "Use NimbusAd.applyDynamicPrice extension instead")
    weak var requestDelegate: NimbusRequestManagerDelegate?
  • Constructs a new NimbusGAMDynamicPrice

    • request: The GAM request to apply keywords to
    • mapping: A provider for mapping a bid to keywords to apply to the GAM request

    Declaration

    Swift

    @available(*, deprecated, message: "Use NimbusAd.applyDynamicPrice extension instead")
    init(request: AdManagerRequest, mapping: NimbusDynamicPriceMapping? = nil)

    Parameters

    request

    The GAM request to apply keywords to

    mapping

    A provider for mapping a bid to keywords to apply to the GAM request

  • The request for the given position completed with an ad

    Declaration

    Swift

    func didCompleteNimbusRequest(request: NimbusRequest, ad: NimbusAd)
  • The request for the given position failed with an error

    Declaration

    Swift

    func didFailNimbusRequest(request: NimbusRequest, error: NimbusError)