On Tuesday, May 5, 2015 at 2:09:47 AM UTC+5:30, Raghavendra Soudala 
(AdWords API Team) wrote:
>
> Hi Pravin
>
> Yes, you can! All you have to do is just create an ASP.NET service, add 
> reference to the library, and make API calls.  For reference there is an 
> asp.net code example in the OAuth folder 
> <https://github.com/googleads/googleads-dotnet-lib/tree/master/examples/AdWords/CSharp>
>  of 
> code examples in C# that might be helpful.
>
> In addition, I'd recommend going through the .NET client library README 
> <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fgoogleads%2Fgoogleads-dotnet-lib%23how-do-i-start&sa=D&sntz=1&usg=AFQjCNFGv7e5PAWweAhvRjOlDUvnVj5S4g>
>  for 
> instructions on setting up your project.
>
> Cheers.
> Raghavendra, AdWords API Team.
>


Hi,

I just try as per your above help.

My Service is return value correctly but when i consuming service that time 
Getting Following error:





*The request failed with the error message:--<html><head><title>Object 
moved</title></head><body><h2>Object moved to <a 
href="https://accounts.google.com/o/oauth2/auth?scope=https%3a%2f%2fwww.googleapis.com%2fauth%2fadwords&state=callback&redirect_uri=http%3a%2f%2flocalhost%3a25232%2fMaiaAdWordsService.asmx&response_type=code&client_id=4516991244-33c20b7an0j8m1e1gtin9mr2l9vc46vr.apps.googleusercontent.com&access_type=offline";>here</a>.</h2></body></html>*


*i.e. Request is failed (Account Permissions failed) error is known*

*but how to grant Account permissions at the time of consuming asp.net web 
service*

*because when it reach at account permission url then directly fire above 
error grant page not opened.*

*Even i make two services one for Authentication and second for GetData and 
 *

*call authentication in GetData Service and then try get data from GetData 
Service *

*but not getting success.*

*so i need to store the Oauth 2 Permissions of Account (if yes then how to 
store) *

*or can i fix OAuth2 Permissions(as Acceptable) to no need to visit each 
time Authorization URL Page*

* or any other solution.*
 
*please reply. *
   

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/5dd3ef33-d152-4f15-b11e-4adf540cb25c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to