
https://www.googleapis.com/analytics/v3/data/ga?ids=ga%3A731335&dimensions=ga%3Adate&metrics=ga%3Avisitors%2Cga%3AnewVisits&start-date=2013-04-01&end-date=2013-05-01&max-results=50
My Question is Endpoint url will be the following one
https://www.googleapis.com/analytics/v3/data
then how to add remaining attributes in HttpRequest ?
For example,,
HttpRequest req = new HttpRequest();
req.setEndpoint('
https://www.googleapis.com/analytics/v3/data');
My Question is how to add remaining attribute that mean like (ids=ga%3A731335) in the same class, and how to call this?
답변 5개
Hi,
you can pass "https://www.googleapis.com/analytics/v3/data/ga?ids=ga%3A731335&dimensions=ga%3Adate&metrics=ga%3Avisitors%2Cga%3AnewVisits&start-date=2013-04-01&end-date=2013-05-01&max-results=50" this whole url as a endpoint url.
Thank You,
Hitesh Patel