Skip to content
This repository has been archived by the owner on Sep 30, 2022. It is now read-only.

Commit

Permalink
Changes the field day to date
Browse files Browse the repository at this point in the history
  • Loading branch information
fabio-filho committed Sep 9, 2020
1 parent 6689854 commit 0dad57a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion omni_reports/google_reports/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class GoogleAdsAccountPerformanceReportType(GoogleAdsReportType):
REPORT_TYPE = "ACCOUNT_PERFORMANCE_REPORT"

account_id = AttributeReportField(target_name="ExternalCustomerId", display_name="Customer ID")
day = SegmentReportField(target_name="Date", display_name="Day")
date = SegmentReportField(target_name="Date", display_name="Day")
cost = MetricReportField(target_name="Cost", display_name="Cost", map=lambda val: float(val) / 1e6)
currency = AttributeReportField(target_name="AccountCurrencyCode", display_name="Currency")
conversions = MetricReportField(target_name="Conversions", display_name="Conversions", type=float)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
setup(
name='omni_reports',
packages=setuptools.find_packages(),
version='0.0.7',
version='0.0.8',
description='Omni Report Definition',
author='Pareto Group',
author_email='noreply@paretogroup.com.br',
Expand Down

0 comments on commit 0dad57a

Please sign in to comment.