lib/blurb/report.rb in blurb-0.3.1 vs lib/blurb/report.rb in blurb-0.3.2
- old
+ new
@@ -42,58 +42,40 @@
end
def get_default_metrics(record_type, campaign_type)
if campaign_type == SPONSORED_BRANDS
return [
- "campaignName",
"campaignId",
- "campaignStatus",
- "campaignBudget",
- "campaignBudgetType",
"impressions",
"clicks",
"cost",
"attributedSales14d",
"attributedSales14dSameSKU",
"attributedConversions14d",
"attributedConversions14dSameSKU"
].join(",") if record_type == CAMPAIGNS
return [
"adGroupId",
- "adGroupName",
- "campaignName",
"campaignId",
- "campaignStatus",
- "campaignBudget",
- "campaignBudgetType",
"impressions",
"clicks",
"cost",
"attributedSales14d",
"attributedSales14dSameSKU",
"attributedConversions14d",
"attributedConversions14dSameSKU"
].join(",") if record_type == AD_GROUPS
return [
"keywordId",
- "keywordStatus",
- "keywordBid",
- "keywordText",
- "matchType",
"adGroupId",
- "adGroupName",
- "campaignName",
"campaignId",
- "campaignStatus",
- "campaignBudget",
- "campaignBudgetType",
"impressions",
"clicks",
"cost",
"attributedSales14d",
"attributedSales14dSameSKU",
"attributedConversions14d",
- "attributedConversions14dSameSKU"
+ "attributedConversions14dSameSKU"
].join(",") if record_type == KEYWORDS
elsif campaign_type == SPONSORED_PRODUCTS
return [
"campaignName",
"campaignId",