Hi there,
Not sure about this but give this a shot – add this PHP snippet:
function jp_remove_related() {
$jprp = Jetpack_RelatedPosts::init();
$callback = array( $jprp, 'filter_add_target_to_dom' );
remove_filter( 'the_content', $callback, 40 );
}
add_filter('wp', 'jp_remove_related', 20);
This should remove the Related posts from the content.
Now create 2 hooks, both of which will be using the after_content
hook.
Hook 1 will contain your Ads code
Hook 2 will contain the related posts shortcode below, for this hook set the priority to 15:
[jetpack-related-posts]