add_shortcode( ‘ads1’, function() {
if( aicp_can_see_ads() ) {
adCode = ‘<div class=”aicp”>
<……Url….>’;
return adCode;
}
} );
Did you mean, if I will paste the adsense code then it will not show an error?
Where you have implemented the code in function.php file. Can you share the screenshot?