广告接口支持多店铺 更新5
This commit is contained in:
parent
349a3d69f5
commit
26ae6e60d3
@ -501,7 +501,7 @@ class AdsInsightService
|
|||||||
'A1' => 'Ad Sets',
|
'A1' => 'Ad Sets',
|
||||||
'B1' => 'Status',
|
'B1' => 'Status',
|
||||||
'C1' => 'Ad Platform', // 修正为 Ad Platform
|
'C1' => 'Ad Platform', // 修正为 Ad Platform
|
||||||
'D1' => 'Ad Accounts', // 修正为 Ad Accounts
|
'D1' => 'Ad Campaigns',
|
||||||
'E1' => 'Platform Purchases',
|
'E1' => 'Platform Purchases',
|
||||||
'F1' => 'Best Pixel Purchases',
|
'F1' => 'Best Pixel Purchases',
|
||||||
'G1' => 'ROAS',
|
'G1' => 'ROAS',
|
||||||
@ -532,7 +532,8 @@ class AdsInsightService
|
|||||||
$sheet->setCellValue('A' . $row, $adset['name']); // Ad Campaigns
|
$sheet->setCellValue('A' . $row, $adset['name']); // Ad Campaigns
|
||||||
$sheet->setCellValue('B' . $row, self::$statusMapping[$adset['status']]); // Status
|
$sheet->setCellValue('B' . $row, self::$statusMapping[$adset['status']]); // Status
|
||||||
$sheet->setCellValue('C' . $row, self::$platformMapping[$adset['platform_type']]); // Platform Type
|
$sheet->setCellValue('C' . $row, self::$platformMapping[$adset['platform_type']]); // Platform Type
|
||||||
$sheet->setCellValueExplicit('D' . $row, (string)$adset['account_id'], \PhpOffice\PhpSpreadsheet\Cell\DataType::TYPE_STRING);
|
// $sheet->setCellValueExplicit('D' . $row, (string)$adset['account_id'], \PhpOffice\PhpSpreadsheet\Cell\DataType::TYPE_STRING);
|
||||||
|
$sheet->setCellValue('D' . $row, $adset['campaign_name']);
|
||||||
$sheet->setCellValue('E' . $row, $adset['platform_purchase']);
|
$sheet->setCellValue('E' . $row, $adset['platform_purchase']);
|
||||||
$sheet->setCellValue('F' . $row, $adset['pixel_purchase']);
|
$sheet->setCellValue('F' . $row, $adset['pixel_purchase']);
|
||||||
$sheet->setCellValue('G' . $row, $adset['roas']); // ROAS
|
$sheet->setCellValue('G' . $row, $adset['roas']); // ROAS
|
||||||
|
Loading…
Reference in New Issue
Block a user