singer-io / tap-adwords

GNU Affero General Public License v3.0
29 stars 37 forks source link

Tap gets data one month in advance from the date i put in the config and state.json file #65

Open pavneet9 opened 4 years ago

pavneet9 commented 4 years ago

Hi guys, I am sending data from Tap-AdWords but the tap is not properly working with the state.json file or the config.json file. The report starts fetching data one month in advance from the date I put in the config file and state.json doesn't impact it also.

Here is my state file

{"KEYWORDS_PERFORMANCE_REPORT_64XXXXXX555": "2020-03-20T00:00:00.000000Z"} I get this error also

INFO not updating bookmark: 2020-03-15 00:00:00+00:00 <= 2020-03-20 00:00:00+00:00

I am working with the keyword_performance_report

iasonastr commented 4 years ago

for me worked like this : If you want to use state.json [state.json] -> {"bookmarks": {"ADGROUP_PERFORMANCE_REPORT_3xx-xxx-xxx4": {"date": "2020-04-01T00:00:00.000000Z"}}}. If you want to use config.json start_date [config.json] -> "conversion_window_days": "0" (by default it is -30)