Freewheel Get Targeting
This method gets targeting key-value pairs to be sent to the ad server.
pbjs.adServers.freewheel.getTargeting({options});
The FreeWheel implementation of this function requires including the freeWheelAdserverVideo module in your Prebid.js build.
Arguments:
  • Options: object

    Object to be passed containing codes and the callback function.

    Options Object Parameters
    Field Scope Type Description
    codes Optional Array An array of adUnitCodes.
    callback Required Function Callback function to execute when targeting data is back.
Response
Response Description
{ response: example }
  • param1: string

    String indicating some value that has to be passed as a string type.

  • param2: number

    Number indicating some value that has to be passed as a number type.

    Note: This number should be between 0 and infinity.