RGA
RGA copied to clipboard
Cannot adjust max.results = null
Hi guys,
I met the issue when running a query and got the issue
get_ga(profileId = "34352252", start.date = istart_date, end.date = iend_date, metrics = "ga:transactionRevenue", dimensions = "ga:dimension40, ga:transactionId", fetch.by = "day", max.results = NULL)
if set max.result = 1000 this query can run success due to every max result each day > 1000. if set max.result = 1500 this query only success for days those have records >= 1500
The error: Error in vapply(x, function(x) as.numeric(x[[name]]), numeric(1)) : values must be length 1, but FUN(X[[1]]) result is length 0 In addition: Warning messages: 1: Only 1500 observations out of 2853 were obtained. Set max.results = NULL (default value) to get all results. 2: Only 1500 observations out of 3184 were obtained. Set max.results = NULL (default value) to get all results.
if set max.result = Null. got error
The error: Error in vapply(x, function(x) as.numeric(x[[name]]), numeric(1)) : values must be length 1,
Could you please help me on this issue? thanks