Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attribute Error: DataSet object has no attribute 'aggregates' #3

Open
alsoicode opened this issue Jun 7, 2010 · 0 comments
Open

Attribute Error: DataSet object has no attribute 'aggregates' #3

alsoicode opened this issue Jun 7, 2010 · 0 comments

Comments

@alsoicode
Copy link

Hello,

Here's a sample query I'm running:

today = datetime.today()
start_date = (today - timedelta(days=2))
data = account.get_data(start_date=start_date, end_date=today, dimensions=['pageTitle', 'pagePath'], metrics=['pageviews', 'timeOnPage', 'entrances'], max_results=1)

When I: print data.aggregates, I get: Attribute Error: DataSet object has no attribute 'aggregates'
Can you please point out what I'm doing wrong?

TIA,
Brandon

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

No branches or pull requests

1 participant