Re: AdWords Api 403

2015-03-12 Thread Андрей Козлов
Thx, it finally works. But i'm kinda confused, what's wrong with my service 
account approach?. I mean, i have done all steps described in service 
account oauth2 guide, and it didn't work for some reason.

четверг, 12 марта 2015 г., 21:52:20 UTC+3 пользователь Michael Cloonan 
(AdWords API Team) написал:
>
> Hello,
>
> There is generally no reason to use a service account for the AdWords API. 
> Please try setting up the installed application OAuth 2.0 flow by following 
> the instructions on our AdWords-specific O:Auth guide 
> <https://developers.google.com/adwords/api/docs/guides/authentication>.
>
> Regards,
> Mike, AdWords API Team
>
> On Thursday, March 12, 2015 at 11:57:05 AM UTC-4, Андрей Козлов wrote:
>>
>> Hello,
>>
>> I'm using AdWords .net api library vid service account and when i'm 
>> trying to call some method i got this error:
>>
>> {"Failed to get access token for service account.\n{\n  \"error\" : 
>> \"access_denied\",\n  \"error_description\" : \"Requested client not 
>> authorized.\"\n}"}
>>
>>
>> My App.Config looks like this:
>>
>> 
>> 
>> > value="emailfromdevelopercons...@developer.gserviceaccount.com 
>> " />
>> > />
>> > value="pathToCert" />
>> > value="notasecret" />
>> 
>>
>> I also correlated my clientId with adWords scope, accroding to this guide 
>> https://developers.google.com/drive/web/delegation#delegate_domain-wide_authority_to_your_service_account
>> . 
>>
>> But it doesn't work. What could i do wrong?
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/3032dee1-2deb-4db0-97b0-d35072c06467%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


AdWords Api 403

2015-03-12 Thread Андрей Козлов
Hello,

I'm using AdWords .net api library vid service account and when i'm trying 
to call some method i got this error:

{"Failed to get access token for service account.\n{\n  \"error\" : 
\"access_denied\",\n  \"error_description\" : \"Requested client not 
authorized.\"\n}"}


My App.Config looks like this:









I also correlated my clientId with adWords scope, accroding to this 
guide 
https://developers.google.com/drive/web/delegation#delegate_domain-wide_authority_to_your_service_account.
 

But it doesn't work. What could i do wrong?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/0ec3d9f2-5456-477b-be5e-f3e510b9ea32%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.