How to hide a script ( an ad) from a specific post? [closed]

You can do something like this :

// remove the script from the queue if were are on the post ID 11
add_action('wp_enqueue_scripts', 'remove_script_specific_post');
function remove_script_specific_post(){
    if( 11==get_the_ID() ){
        wp_dequeue_script('my_script_handle'); 
    }
}

Provided that the script has been added with wp_enqueue_script