' . __( 'Auto creates a responsive ad with automatic size detection. You can overwrite the size on specific devices with manual selecting a fixed size value. Responsive Ad not shown? Switch Layout to Default or select a fixed ad size here. ', 'adsenseib30' ) . '
';
$html .= '';
$html .= '
' . __( 'Disable on Desktop ', 'adsenseib30' ) . '
' . $adsensei->html->checkbox( array('name' => 'adsensei_settings[ads][' . $id . '][desktop]', 'current' => !empty( $adsensei_options['ads'][$id]['desktop'] ) ? $adsensei_options['ads'][$id]['desktop'] : null, 'class' => 'adsensei-checkbox') );
$html .= '
' . __( 'Disable on Tablet Landscape ', 'adsenseib30' ) . '
' . $adsensei->html->checkbox( array('name' => 'adsensei_settings[ads][' . $id . '][tablet_landscape]', 'current' => !empty( $adsensei_options['ads'][$id]['tablet_landscape'] ) ? $adsensei_options['ads'][$id]['tablet_landscape'] : null, 'class' => 'adsensei-checkbox') );
$html .= '
' . __( 'Disable on Tablet Portrait ', 'adsenseib30' ) . '
' . $adsensei->html->checkbox( array('name' => 'adsensei_settings[ads][' . $id . '][tablet_portrait]', 'current' => !empty( $adsensei_options['ads'][$id]['tablet_portrait'] ) ? $adsensei_options['ads'][$id]['tablet_portrait'] : null, 'class' => 'adsensei-checkbox') );
$html .= '
' . __( 'Disable on Phone ', 'adsenseib30' ) . '
' . $adsensei->html->checkbox( array('name' => 'adsensei_settings[ads][' . $id . '][phone]', 'current' => !empty( $adsensei_options['ads'][$id]['phone'] ) ? $adsensei_options['ads'][$id]['phone'] : null, 'class' => 'adsensei-checkbox') );
$html .= '
' . __( 'Activate on AMP ', 'adsenseib30' ) . 'Activate this advert on AMP pages. Any AMP plugin is required. To test if the AMP ad is working it\'s required to open your site on mobile device. Ads are not shown on other devices!
' . $adsensei->html->checkbox( array('name' => 'adsensei_settings[ads][' . $id . '][amp]', 'current' => !empty( $adsensei_options['ads'][$id]['amp'] ) ? $adsensei_options['ads'][$id]['amp'] : null, 'class' => 'adsensei-checkbox adsensei-activate-amp') );
$html .= '
';
$html .= '';
$html .= '
';
$html .= '' . __( 'Desktop Size: ', 'adsenseib30' ) . ' ' . adsensei_render_size_option( array('id' => $id, 'type' => 'desktop_size') );
$html .= '' . __( 'Tablet Size: ', 'adsenseib30' ) . ' ' . adsensei_render_size_option( array('id' => $id, 'type' => 'tbl_lands_size') );
$html .= '' . __( 'Tablet Size: ', 'adsenseib30' ) . ' ' . adsensei_render_size_option( array('id' => $id, 'type' => 'tbl_portr_size') );
$html .= '' . __( 'Phone Size: ', 'adsenseib30' ) . ' ' . adsensei_render_size_option( array('id' => $id, 'type' => 'phone_size') );
$html .= '
';
$html .= '
';
$html .= '' . $adsensei->html->textarea( array('id' => 'adsensei_settings[ads][' . $id . '][amp_code]', 'name' => 'adsensei_settings[ads][' . $id . '][amp_code]', 'class' => 'adsensei-amp-code', 'value' => !empty( $adsensei_options['ads'][$id]['amp_code'] ) ? $adsensei_options['ads'][$id]['amp_code'] : '', 'placeholder' => 'Optional: Add any custom AMP ad code here. Must not be exclusive AdSense - If it\'s left empty, an AdSense AMP ad with size 300x250 is automatically generated.') ) . '
';
$html .='';
$html .='