Skip to content
This repository has been archived by the owner on Mar 23, 2021. It is now read-only.

Cannot adjust max.results = null #63

Open
trangletth opened this issue Oct 17, 2019 · 0 comments
Open

Cannot adjust max.results = null #63

trangletth opened this issue Oct 17, 2019 · 0 comments

Comments

@trangletth
Copy link

trangletth commented Oct 17, 2019

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant