Mike, I noticed that you have another thread<https://groups.google.com/forum/#!topicsearchin/adwords-api/messageid$3a%[email protected]%22/adwords-api/YcHk7dAVCBY>. Let's move the conversion there.
Thanks! Ray On Friday, February 28, 2014 11:55:16 AM UTC-5, Mike Sullivan wrote: > > Knowledgeable, but newbie with the AdWords API. Can't get the first query > to work, and have tried everything....I think. Would love any insight... > > I have tried my custom code, using the referenced .NET library, as well as > a snippet of NoClientLibrary from here: > https://code.google.com/p/google-api-adwords-dotnet/wiki/NoClientLibrary > > All produce the same result: "The remote server returned an error: (400) > Bad Request." > Header: { > X-Content-Type-Options: nosniff > X-Frame-Options: SAMEORIGIN > X-XSS-Protection: 1; mode=block > Transfer-Encoding: chunked > Cache-Control: private, max-age=0 > Content-Type: text/xml > Date: Fri, 28 Feb 2014 16:43:29 GMT > Expires: Fri, 28 Feb 2014 16:43:29 GMT > Server: GSE > } > > My header and query looks like: > https://adwords.google.com//api/adwords/reportdownload/v201309 > { > User-Agent: _something_ > Authorization: Bearer _validOauthAccessToken_ > clientCustomerId: XXX-XXX-XXXX > developerToken: _myDeveloperToken_ > returnMoneyInMicros: true > Content-Type: application/x-www-form-urlencoded > } > > {__rdquery=SELECT+AccountId%2CAccountDescriptiveName+FROM+ACCOUNT_PERFORMANCE_REPORT+DURING+LAST_30_DAYS&__fmt=XML} > > > I have tried several queries, using various reports and fields straight > out of the docs. Everything comes back with the 400 error. > > > I also tried messing with the developer token and Oauth otken and got the > same result??? I would have expected an authorization failure, which makes > me think I have overlooked something big up front. > > Help..... > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
