Dear AdWords, I would greatly appreciate it if someone would be able to assist me. Previously, I used SQL SSIS to make an ad hoc call for downloading Ad Sense reports as CSV files into our warehouse. The method I used can basically be outlined by the code below:
//User-related config: AdWordsAppConfig config = m_User.Config as AdWordsAppConfig; //ManagedCustomerService saSvc = (ManagedCustomerService)m_User.GetService(AdWordsService.v201209.ManagedCustomerService); //Get the user variables needed for the report: string cci = null; string startDate = null; string endDate = null; config.ClientCustomerId = cci; config.Email = "################"; config.Password = "##########"; config.DeveloperToken = "########"; ReportUtilities utilities = new ReportUtilities(m_User); utilities.ReportVersion = "v201306"; utilities.DownloadClientReport(m_ReportDefinition, fullReportPath); I realize that the time has come for me to migrate to OAuth2 and have therefore tried to use a service account-type approach in order to attempt to a achieve this. I am, however, not completely sure which is the exact steps I should follow, or if I am doing it correctly. Here are some of the methods that I tried to invoke: config.OAuth2ClientId = "#########.apps.googleusercontent.com"; config.OAuth2ServiceAccountEmail = "########@developer.gserviceaccount.com"; config.OAuth2ClientSecret = "notasecret"; I have, additionally, obtained and downloaded, a P12 key that I know, I have to use in some way. This article - https://developers.google.com/drive/service-accounts#google_apis_console_project_service_accounts - seems to allude to something in the line of what I am trying to achieve, but how would you approach it in the AdWords API case? Any help would be greatly appreciated! Thanks Gerhard -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.