diff --git a/dfp.module b/dfp.module index 21a0736..0c5cdd3 100755 --- a/dfp.module +++ b/dfp.module @@ -781,7 +781,7 @@ function _dfp_js_slot_definition($tag) { $settings = array( $tag->machinename => array( 'machineName' => $tag->machinename, - 'breakpoints' => count($bp_sizes) === 1 ? $bp_sizes[0] : $bp_sizes, + 'breakpoints' => $bp_sizes, 'tagSize' => $tag->size, 'adUnit' => $tag->adunit, 'placeHolderId' => $tag->placeholder_id, @@ -790,7 +790,7 @@ function _dfp_js_slot_definition($tag) { 'adSenseAdTypes' => $tag->adsense_ad_types, 'adSenseChannelIds' => $tag->adsense_channel_ids, 'adSenseColors' => $adsense_colors, - 'targets' => count($targeting) === 1 ? $targeting[0] : $targeting, + 'targets' => $targeting, 'isBanner' => $tag->banner, 'enableVast' => !empty($tag->settings['companion']) ? TRUE : FALSE, ),