Repository navigation
1.0.2
-
Extended
customParamsin theCreativeQueryand in the ``. You can pass complex JSON object now. See more details in the CreativeQuery. ProductCreativeQuery. An example:creativeView.query = CreativeQuery( sizes: [sizes.randomElement()!], markupType: .BANNER, customParams: [ "object": [ "id": "ID00001", "name": "MyObjectName" ], "string": "MyString", "int": 199, "float": 3.14, "objectList": [ [ "property": "item", "value": "lego bricks" ], [ "property": "amount", "value": 3001 ], [ "property": "price", "value": 12.99 ] ], "integerList": [11, 12, -13, -14], "nonTypicalList": ["some string", 3.14, 199], "emptyList": [] ] )