Hi Guys, I'm using megalista to upload some audiences from bigquery to google analytics data import.
Right now you're checking the column names in the data source in bigquery with the schema 'cd\d+', but it doesn't work when we upload the data into google analytics, since the data import only accept 'dimension\d+' schema.
So, my recommendation is to change in the script megalista_dataflow/data_sources/data_source.py, the line:
'GA_DATA_IMPORT': {
'columns': [
{'name': 'cd\\d+', 'required': True, 'data_type': 'string'},
{'name': 'cd\\d+', 'required': True, 'data_type': 'string'},
{'name': 'cd\\d+', 'required': False, 'data_type': 'string'},
],
'groups': []
},
'GA_DATA_IMPORT': {
'columns': [
{'name': 'dimension\\d+', 'required': True, 'data_type': 'string'},
{'name': 'dimension\\d+', 'required': True, 'data_type': 'string'},
{'name': 'dimension\\d+', 'required': False, 'data_type': 'string'},
],
'groups': []
},