Traffic Estimator Service for R | Structure for a Curl Request?

42 views
Skip to first unread message

Pascal-Philippe Bergeron

unread,
Jul 19, 2016, 8:33:57 PM7/19/16
to AdWords API Forum
Hi all,

We are looking at building a Traffic Estimator Library in R. For as much as i've seen, other R Library for Google API REST command manage to do it through Curl.

The team and I were wondering if anyone has information on how we would structure the CURL request for the traffic estimator.

Here is the exampe of functioning Request for the AdWords Report functions

 data <- RCurl::getURL(paste("https://adwords.google.com/api/adwords/reportdownload/v", 
       apiVersion, sep = ""), httpheader = c(Authorization = google.auth, 
       developerToken = credlist$auth.developerToken, clientCustomerId = clientCustomerId, 
       includeZeroImpressions = includeZeroImpressions), postfields = statement, 
       verbose = verbose, cainfo = cert, ssl.verifypeer = TRUE)

Any help on this?

Avis de confidentialité | Confidentiality notice

Shwetha Vastrad (AdWords API Team)

unread,
Jul 20, 2016, 11:09:13 AM7/20/16
to AdWords API Forum
Hi Pascal-Philippe,

A sample structure of a cURL request to add a budget is provided here. You can use this as a reference to construct the request to TrafficEstimatorService and use with cURL. 

Regards,
Shwetha, AdWords API Team.
Reply all
Reply to author
Forward
0 new messages