Skip to content

Instantly share code, notes, and snippets.

@tommyh
Last active August 17, 2016 22:32
Show Gist options
  • Save tommyh/c8aacc6bf303bd2243eeeca8cba67ca3 to your computer and use it in GitHub Desktop.
Save tommyh/c8aacc6bf303bd2243eeeca8cba67ca3 to your computer and use it in GitHub Desktop.
LKQD: Ad Parameters Debugging
<AdParameters>eNrFWP9v2jgU/1+i1T9BSBw7BKRo4gRdueuXE9CdTtMUmcSA1yTObIeWVfzv9xyKdv2yqduYQCWOn/2+f95zzb2jheFO/97RhXD6vud5LftaVE6/rPO85WSyYKJ0+o7h2rRZbWBuhCzbTBmxYKnRrg5cVrAvsmS32k1l4YCISmRWXNiLWs6aK7EQacPm9D/cOyUrQKdzuwLdstKwv1Y5EFbGVP1OR7uFKjRXa26ldXCnR0lIaYeVLN8YkWr3k36rRUx6xKOIiRiHXZSqGKXzOPJCQoJe1EWZiF9vMsoKYPdja8FJMDjBp/BnZG3an5n7ejHAVOXMtLEXRZZzZYocpRhEB/Alccb1jZEVSml8PUVpGBcsPcGe1PC4Q7X1pBf4NIgiPwhwQAPSDZERceB3A0J7JKDdEFOMvYAg5cdI4RhWXEy6rt8L3SBCChRlJt5FzCchCULfI8Df83zsbD+2nCYzELGWw8u1fQ8s7Y7nc6b51yQYN7/5nLklNx3zlq/jN/ej96PLWTIebhGIaGKuYdwlweY7btKNKktFlSUg83UHKIsDm6FuENDIx7Tbox5aSAVBjT3IFohEstnvoaqeG7Y0m4rHa6bNumIiQ9ae51TFy4wrMG8yuhyOJlvEKhPbZEE4i+rFyJlcxT7Sa6Vjz/Ux0mptre9iN/Bd36euTwIkRfU0tpbhzf370WQ6vrrcgnM5TGfji1Eyu5oNzreIM2vI+6vz64vRFt2KzKxg/s94ODvbohUXy5WB+dlo/O5sBlFcSW3nf58P/h1NkrOr6exyYBn39MG7UTK8uhiML61Xla2aGIlswWIAPUR3XpdZzu1b3sQ8lymAbzfKctkAuhBZYvGa5jwBaG64snjkQUi8yKLS1mohnb4t+1waDdBoO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W88xdy0brvNY122EleKc2qlCdwK//ikK/k69cm8z4fZgHzvi3/9xOpqDSsSgL8Jvz3+/9THHeH4xKDRAwW+SEaeYJHviG2uUDb4uLF4No76gzgjOM+skxu4FjWPhwjHEacR0HAnNh1nMgG8x5V83ttACcbVsGuNOGbShQZnI2BIxjOC34HQz+VQplta7Y01g9Ctk5awGHKjeltASKB8TJf82JjnhQSjgz+B2yzny1tlBZlwrSW+W2jeSIqbmZHz7vXd+1rXStpNAzqhe3Sixw/xLCRYwxdgCmZWr2IBPjltkJ+UmPMbEWt+pGBoQYFZZwVYIaXhCh4Xq9O8CdoZo9kh43kfDK+SkbXo1l/YDYY9fTGdNafmDvf9b3wtAEER2TTi05MJjnxasZHlWZ82mTcYybjn1ga4TGTIeS0yXh/NP2Kb2iW8az9RUilNDv84ANApuDooNsaPlDmNX2eenBUHv3T8hgdNRl8YlGceidzjllj/lGX5o+YOZTC71HUvscPAG+3QQKgMZnvYHgrFxpevtsPe7Wp4KXn46ftP8fOhC4="
decoded_string = Base64.decode64(ad_parameters)
zstream = Zlib::Inflate.new
buf = zstream.inflate(decoded_string); nil
zstream.finish; nil
zstream.close; nil
puts buf
copy and paste output into this: https://jsonformatter.curiousconcept.com/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment