Accessing API - can't figure out what account ID to use - dotnet client library

2015-02-05 Thread rpayneesm
Hi, I'm new to the API and AdWords in general. I'm trying to get all of the campaign data for a number of advertisers. When I'm in the MCC site, I can see all of these advertisers and their IDs. I see my ID in the top of the screen. I created a test account with another ID. The App.config

Re: Accessing API - can't figure out what account ID to use - dotnet client library

2015-02-05 Thread rpayneesm
Thanks for the reply, but I'm still not perfectly clear on this. I used an MCC account to create the OAuth2RefreshToken, so I'm not sure what the account "under that MCC account" would be. When I'm logged in as the MCC account that created the OAuth2RefreshToken, in the MCC environment (in the

Re: Accessing API - can't figure out what account ID to use - dotnet client library

2015-02-11 Thread rpayneesm
Hi, I tried replying privately to Anash last week, but I haven't heard back from him yet, and I can't seem to find any confirmation that my private post actually went through yet, so let me know if I need to re-send my information, or if there is anyone else I should talk to instead. Thanks, M

Re: Accessing API - can't figure out what account ID to use - dotnet client library

2015-02-11 Thread rpayneesm
Hi, Josh. I just tried this again, and it still didn't work. Here are the steps I took: 1. Logged into the developer console as an account that sees 30 advertisers in the MCC, which also is the account that created the app and developer token. 2. Deleted the old Client ID in th

Re: Accessing API - can't figure out what account ID to use - dotnet client library

2015-02-11 Thread rpayneesm
Hi, I just replied privately, but I can never tell if it actually did go through. Please let me know as soon as possible if you don't get the private reply. Thanks, Mike On Wednesday, February 11, 2015 at 4:56:03 PM UTC-5, Josh Radcliff (AdWords API Team) wrote: > > Hi Mike, > > Sorry if I w

Trying to get ClickType and ConvertedClicks in Campaign Performance Report (C# Examples)

2015-03-06 Thread rpayneesm
Hi, I'm trying to get a campaign performance report to download, using an adapted version of the DownloadCriteriaReport.cs from the 201409 code examples. All of the fields below are working fine, except for ClickType and Converted Clicks, for some reason. Could you tell me why this might be?

DateRangeType Custom_Date in C#

2015-03-19 Thread rpayneesm
Hi, I'm using the 201409 client library to pull campaign performance reports and call details reports. When I use any of the date presets, it works just fine, but when I try to use a custom date selector, this doesn't seem to work. I've seen many solutions online that say to use something lik

Re: DateRangeType Custom_Date in C#

2015-03-19 Thread rpayneesm
Hi, Danial. I don't see DateTimeRange, but I did set dateRangeType to CUSTOM_DATE. Could this have been a typo on your end, or am I setting the wrong thing? ReportDefinition def = new ReportDefinition(); def.reportType = ReportDefinitionReportType.CAMPAIGN_PERFORMANCE_REPORT; def.dateRangeType

Is there a new way AdWords is dealing with Refresh Tokens?

2016-06-15 Thread rpayneesm
Our program has stopped working since we migrated to 201509 from 201506. I don't suppose there's some new thing we should be doing to manage our refresh token, is there? We tried re-generating a token, and it still isn't working. Here's the error message we're getting: An exception occurre

Re: Is there a new way AdWords is dealing with Refresh Tokens?

2016-06-15 Thread rpayneesm
An exception occurred while running this code example.System.Exception: The given credential could not be refreshed: Google.Api.Ads.Common.Lib.AdsOAuthException: Failed to refresh access token. { "error" : "invalid_client", "error_description" : "The OAuth client was not found." } at Google.A

Re: Is there a new way AdWords is dealing with Refresh Tokens?

2016-06-15 Thread rpayneesm
Sorry, I accidentally copied from the output when I tried to see what happened if I used the deprecated call. Here's the real error message: An exception occurred while running this code example.System.Exception: The given credential could not be refreshed: Google.Api.Ads.Common.Lib.AdsOAuthE

RE: Is there a new way AdWords is dealing with Refresh Tokens?

2016-06-15 Thread rpayneesm
It is the same file so the OAuth2ClientID is the same. From: 'Umesh Dengale' via AdWords API Forum -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=

RE: Is there a new way AdWords is dealing with Refresh Tokens?

2016-06-15 Thread rpayneesm
It doesn’t appear that the app is looking at the web.config file. We there changes to the api from V201505 to v201509 that expects to find the oauth2 setting in a different location? From: 'Umesh Dengale' via AdWords API Forum -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find

RE: Is there a new way AdWords is dealing with Refresh Tokens?

2016-06-15 Thread rpayneesm
All set. It appears that we had conflicting info in the 2 web.config files. Thank you for your attention. From: rpayne...@gmail.com -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+