lib/blurb/report_requests.rb in blurb-0.4.4 vs lib/blurb/report_requests.rb in blurb-0.4.5
- old
+ new
@@ -80,14 +80,11 @@
"attributedConversions14d",
"attributedConversions14dSameSKU"
] if record_type == :keywords
elsif @campaign_type == CAMPAIGN_TYPE_CODES[:sp]
return [
- "campaignName",
"campaignId",
- "campaignStatus",
- "campaignBudget",
"impressions",
"clicks",
"cost",
"attributedConversions1d",
"attributedConversions7d",
@@ -109,13 +106,11 @@
"attributedSales7dSameSKU",
"attributedSales14dSameSKU",
"attributedSales30dSameSKU"
] if record_type == :campaigns
return [
- "campaignName",
"campaignId",
- "adGroupName",
"adGroupId",
"impressions",
"clicks",
"cost",
"attributedConversions1d",
@@ -138,15 +133,12 @@
"attributedSales7dSameSKU",
"attributedSales14dSameSKU",
"attributedSales30dSameSKU"
] if record_type == :ad_groups
return [
- "campaignName",
"campaignId",
"keywordId",
- "keywordText",
- "matchType",
"impressions",
"clicks",
"cost",
"attributedConversions1d",
"attributedConversions7d",
@@ -168,20 +160,15 @@
"attributedSales7dSameSKU",
"attributedSales14dSameSKU",
"attributedSales30dSameSKU"
] if record_type == :keywords
return [
- "campaignName",
"campaignId",
- "adGroupName",
"adGroupId",
"impressions",
"clicks",
"cost",
- "currency",
- "asin",
- "sku",
"attributedConversions1d",
"attributedConversions7d",
"attributedConversions14d",
"attributedConversions30d",
"attributedConversions1dSameSKU",
@@ -200,16 +187,12 @@
"attributedSales7dSameSKU",
"attributedSales14dSameSKU",
"attributedSales30dSameSKU"
] if record_type == :product_ads
return [
- "campaignName",
"campaignId",
"targetId",
- "targetingExpression",
- "targetingText",
- "targetingType",
"impressions",
"clicks",
"cost",
"attributedConversions1d",
"attributedConversions7d",
@@ -231,19 +214,14 @@
"attributedSales7dSameSKU",
"attributedSales14dSameSKU",
"attributedSales30dSameSKU"
] if record_type == :targets
return [
- "campaignName",
"campaignId",
- "adGroupName",
"adGroupId",
"impressions",
"clicks",
"cost",
- "currency",
- "asin",
- "sku",
"attributedConversions1d",
"attributedConversions7d",
"attributedConversions14d",
"attributedConversions30d",
"attributedConversions1dSameSKU",