OKSDK.Ads.destroy

Method is used to delete an ad widget previously created by OKSDK.Ads.init method.

Method signature

    OKSDK.Ads.destroy()

Method deletes an iframe and fully resets ads SDK status.

Example usage

    OKSDK.Ads.destroy()