diff --git a/app/service/GoogleAdsReportService.php b/app/service/GoogleAdsReportService.php index af90384..1aa9a57 100644 --- a/app/service/GoogleAdsReportService.php +++ b/app/service/GoogleAdsReportService.php @@ -130,7 +130,7 @@ class GoogleAdsReportService if (is_object($metadata)) { $metadata = (array)$metadata; } - $imageUrls = isset($metadata['square_marketing_images']) ? $metadata['square_marketing_images'] : []; + $imageUrls = isset($metadata['marketing_images']) ? $metadata['marketing_images'] : (isset($metadata['square_marketing_images']) ? $metadata['square_marketing_images'] : []); // Extract asset_id from the image URL $assetId = 0;