* * @var string $unit_type The type of the AdSense unit, e.g. 'responsive'. * @var string $unit_resize The value of the resize option. * @var string $unit_id The client ID. * @var string $unit_code The slot ID. * @var string $unit_pubid The publisher ID which differs if there comes a different it from the content. * @var string $json_content The content as JSON. * @var string $pub_id The publisher ID. * @var Advanced_Ads_Ad_Type_Adsense $ad The AdSense Ad type. * @var string $pub_id_errors A string with error messages. * @var string $content The content. * @var array $extra_params Filterable extra params that can be passed. */ if ( ! defined( 'WPINC' ) ) { die(); } $is_responsive = 'responsive' === $unit_type; $is_link_responsive_unit = 'link-responsive' === $unit_type; $is_matched_content = 'matched-content' === $unit_type; $use_manual_css = 'manual' === $unit_resize; if ( $is_responsive || $is_link_responsive_unit || $is_matched_content ) { echo ''; } $MAPI = Advanced_Ads_AdSense_MAPI::get_instance(); $use_user_app = Advanced_Ads_AdSense_MAPI::use_user_app(); $use_paste_code = true; $use_paste_code = apply_filters( 'advanced-ads-gadsense-use-pastecode', $use_paste_code ); $db = Advanced_Ads_AdSense_Data::get_instance(); $adsense_id = trim( $db->get_adsense_id() ); $sizing_array = $db->get_responsive_sizing(); $gadsense_options = $db->get_options(); $mapi_options = Advanced_Ads_AdSense_MAPI::get_option(); $mapi_nonce = wp_create_nonce( 'advads-mapi' ); $has_token = Advanced_Ads_AdSense_MAPI::has_token( $adsense_id ); $quota = $MAPI->get_quota(); $mapi_ad_codes = $mapi_options['ad_codes']; $mapi_ad_codes['length'] = count( $mapi_ad_codes ); ?>

>


change it here.', 'advanced-ads' ), admin_url( 'admin.php?page=advanced-ads-settings#top#adsense' ) ); ?>


count( $sizing_array ) ) { echo 'style="display: none;"'; } ?>>

>

>

> />


/>