diff --git a/src/API/Google/MerchantReport.php b/src/API/Google/MerchantReport.php index f341183317..8778de99cc 100644 --- a/src/API/Google/MerchantReport.php +++ b/src/API/Google/MerchantReport.php @@ -97,7 +97,7 @@ public function get_product_view_report( $next_page_token = null ): array { continue; } - $product_view_data['statuses'][ (int) $wc_product_id ] = [ + $product_view_data['statuses'][ $wc_product_id ] = [ 'product_id' => $wc_product_id, 'status' => $mc_product_status, 'expiration_date' => $this->convert_shopping_content_date( $product_view->getExpirationDate() ),