Re: oauth2 mcc account vs adwords account

2013-08-30 Thread Takeshi Hagikura
Hi, 

To use a test account, your developer token doesn't have to be approved. 
You just need to have a credential for your MCC account.

What line in GetRefreshToken you see that error Exception in thread main 
javax.net.ssl.SSLHandshakeException: 
sun.security.validator.ValidatorException: PKIX path building failed: 
sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
valid certification path to requested target?

And did you use installed application for the API access in the API 
console?

Best,
- Takeshi, 

On Wednesday, August 28, 2013 4:34:41 PM UTC+1, yf...@fxcm.com wrote:

 Got it!

 However I didn't get the developer token approved, I'm just using Eclipse+ 
 Maven to get authenticate via oauth2, the account that available to me 
 right now is just a test account. 

 The issue I'm stuck in right now is every time when I want to 
 GetRefreshToken, Eclipse stopped me, notify the code like, Exception in 
 thread main javax.net.ssl.SSLHandshakeException: 
 sun.security.validator.ValidatorException: PKIX path building failed: 
 sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
 valid certification path to requested target

 Did u ever saw this before? Thanks for replying me!

 On Monday, August 26, 2013 12:57:50 PM UTC-4, Michael Ni wrote:

 I got it to work,

 I did not need to turn on adwords as a service in console, it doesn't 
 exist,  all you need to do is authenticate via oauth2

 I used web flow.  

 Also i authenticated/authorized as my mcc account and had access to the 
 individual accounts joined to it.



 On Thursday, August 22, 2013 8:34:59 AM UTC-7, yf...@fxcm.com wrote:

 Hi Michael, 

 I am stuck in a similar issue, u mentioned u want to turn on the google 
 adsense api service in https://code.google.com/apis/console, I want to 
 turn on my google adwords api service, however, I search the page, this is 
 no such service for me to turn on. Do u have any clue on this?

 Thanks

 On Monday, August 19, 2013 8:41:17 PM UTC-4, Michael Ni wrote:

 Thanks Ewan,

 If it's just mcc then it saves me a bunch of pain.

 It seems wierd that I don't have to switch on google adwords api in the 
 https://code.google.com/apis/console
 under services.

 I use the adsense api, and I had to switch it on, but for adwords, I 
 guess I don't.



 On Monday, August 19, 2013 4:32:34 PM UTC-7, Ewan Heming wrote:

 Hi Michael,

 Once you've authenticated an MCC account, you will have access to all 
 of the client accounts without needing additional tokens.

 Regards,

 Ewan 



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.


Re: oauth2 mcc account vs adwords account

2013-08-29 Thread yfeng
Hi Anash,

Thanks for replying me, I checked the site u send me. that one looks like a 
.NET guide, the code I'm using is java. And I have other questions, can I 
just use my test account
 and the client ID I create in API console to authenticate via oauth2 and 
also create campaign, etc in the adwords API?

Thanks

On Tuesday, August 27, 2013 11:37:54 AM UTC-4, Anash P. Oommen (AdWords API 
Team) wrote:

 Folks,

 You don't need to turn on AdWords API on Google API Console. Google API 
 Console hosts all our REST APIs (Drive, Apps, etc.), whereas for AdWords 
 API, you signup from your AdWords API MCC account as mentioned on 
 https://developers.google.com/adwords/api/docs/signingup. Once you have 
 an approved developer token, just create a new project in Google API 
 Console, create an OAuth2 token and then use it. You can refer to 
 https://code.google.com/p/google-api-adwords-dotnet/wiki/UsingOAuth for 
 some details. It's a bit specific for the AdWords API .NET library, but the 
 process is quite similar for other client libraries as well.

 Cheers,
 Anash P. Oommen
 AdWords API Advisor.

 On Monday, August 26, 2013 5:57:50 PM UTC+1, Michael Ni wrote:

 I got it to work,

 I did not need to turn on adwords as a service in console, it doesn't 
 exist,  all you need to do is authenticate via oauth2

 I used web flow.  

 Also i authenticated/authorized as my mcc account and had access to the 
 individual accounts joined to it.



 On Thursday, August 22, 2013 8:34:59 AM UTC-7, yf...@fxcm.com wrote:

 Hi Michael, 

 I am stuck in a similar issue, u mentioned u want to turn on the google 
 adsense api service in https://code.google.com/apis/console, I want to 
 turn on my google adwords api service, however, I search the page, this is 
 no such service for me to turn on. Do u have any clue on this?

 Thanks

 On Monday, August 19, 2013 8:41:17 PM UTC-4, Michael Ni wrote:

 Thanks Ewan,

 If it's just mcc then it saves me a bunch of pain.

 It seems wierd that I don't have to switch on google adwords api in the 
 https://code.google.com/apis/console
 under services.

 I use the adsense api, and I had to switch it on, but for adwords, I 
 guess I don't.



 On Monday, August 19, 2013 4:32:34 PM UTC-7, Ewan Heming wrote:

 Hi Michael,

 Once you've authenticated an MCC account, you will have access to all 
 of the client accounts without needing additional tokens.

 Regards,

 Ewan 



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.


Re: oauth2 mcc account vs adwords account

2013-08-29 Thread yfeng
Got it!

However I didn't get the developer token approved, I'm just using Eclipse+ 
Maven to get authenticate via oauth2, the account that available to me 
right now is just a test account. 

The issue I'm stuck in right now is every time when I want to 
GetRefreshToken, Eclipse stopped me, notify the code like, Exception in 
thread main javax.net.ssl.SSLHandshakeException: 
sun.security.validator.ValidatorException: PKIX path building failed: 
sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
valid certification path to requested target

Did u ever saw this before? Thanks for replying me!

On Monday, August 26, 2013 12:57:50 PM UTC-4, Michael Ni wrote:

 I got it to work,

 I did not need to turn on adwords as a service in console, it doesn't 
 exist,  all you need to do is authenticate via oauth2

 I used web flow.  

 Also i authenticated/authorized as my mcc account and had access to the 
 individual accounts joined to it.



 On Thursday, August 22, 2013 8:34:59 AM UTC-7, yf...@fxcm.com wrote:

 Hi Michael, 

 I am stuck in a similar issue, u mentioned u want to turn on the google 
 adsense api service in https://code.google.com/apis/console, I want to 
 turn on my google adwords api service, however, I search the page, this is 
 no such service for me to turn on. Do u have any clue on this?

 Thanks

 On Monday, August 19, 2013 8:41:17 PM UTC-4, Michael Ni wrote:

 Thanks Ewan,

 If it's just mcc then it saves me a bunch of pain.

 It seems wierd that I don't have to switch on google adwords api in the 
 https://code.google.com/apis/console
 under services.

 I use the adsense api, and I had to switch it on, but for adwords, I 
 guess I don't.



 On Monday, August 19, 2013 4:32:34 PM UTC-7, Ewan Heming wrote:

 Hi Michael,

 Once you've authenticated an MCC account, you will have access to all 
 of the client accounts without needing additional tokens.

 Regards,

 Ewan 



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.


Re: oauth2 mcc account vs adwords account

2013-08-27 Thread Anash P. Oommen (AdWords API Team)
Folks,

You don't need to turn on AdWords API on Google API Console. Google API 
Console hosts all our REST APIs (Drive, Apps, etc.), whereas for AdWords 
API, you signup from your AdWords API MCC account as mentioned on 
https://developers.google.com/adwords/api/docs/signingup. Once you have an 
approved developer token, just create a new project in Google API Console, 
create an OAuth2 token and then use it. You can refer to 
https://code.google.com/p/google-api-adwords-dotnet/wiki/UsingOAuth for 
some details. It's a bit specific for the AdWords API .NET library, but the 
process is quite similar for other client libraries as well.

Cheers,
Anash P. Oommen
AdWords API Advisor.

On Monday, August 26, 2013 5:57:50 PM UTC+1, Michael Ni wrote:

 I got it to work,

 I did not need to turn on adwords as a service in console, it doesn't 
 exist,  all you need to do is authenticate via oauth2

 I used web flow.  

 Also i authenticated/authorized as my mcc account and had access to the 
 individual accounts joined to it.



 On Thursday, August 22, 2013 8:34:59 AM UTC-7, yf...@fxcm.com wrote:

 Hi Michael, 

 I am stuck in a similar issue, u mentioned u want to turn on the google 
 adsense api service in https://code.google.com/apis/console, I want to 
 turn on my google adwords api service, however, I search the page, this is 
 no such service for me to turn on. Do u have any clue on this?

 Thanks

 On Monday, August 19, 2013 8:41:17 PM UTC-4, Michael Ni wrote:

 Thanks Ewan,

 If it's just mcc then it saves me a bunch of pain.

 It seems wierd that I don't have to switch on google adwords api in the 
 https://code.google.com/apis/console
 under services.

 I use the adsense api, and I had to switch it on, but for adwords, I 
 guess I don't.



 On Monday, August 19, 2013 4:32:34 PM UTC-7, Ewan Heming wrote:

 Hi Michael,

 Once you've authenticated an MCC account, you will have access to all 
 of the client accounts without needing additional tokens.

 Regards,

 Ewan 



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.


Re: oauth2 mcc account vs adwords account

2013-08-26 Thread Michael Ni
I got it to work,

I did not need to turn on adwords as a service in console, it doesn't 
exist,  all you need to do is authenticate via oauth2

I used web flow.  

Also i authenticated/authorized as my mcc account and had access to the 
individual accounts joined to it.



On Thursday, August 22, 2013 8:34:59 AM UTC-7, yf...@fxcm.com wrote:

 Hi Michael, 

 I am stuck in a similar issue, u mentioned u want to turn on the google 
 adsense api service in https://code.google.com/apis/console, I want to 
 turn on my google adwords api service, however, I search the page, this is 
 no such service for me to turn on. Do u have any clue on this?

 Thanks

 On Monday, August 19, 2013 8:41:17 PM UTC-4, Michael Ni wrote:

 Thanks Ewan,

 If it's just mcc then it saves me a bunch of pain.

 It seems wierd that I don't have to switch on google adwords api in the 
 https://code.google.com/apis/console
 under services.

 I use the adsense api, and I had to switch it on, but for adwords, I 
 guess I don't.



 On Monday, August 19, 2013 4:32:34 PM UTC-7, Ewan Heming wrote:

 Hi Michael,

 Once you've authenticated an MCC account, you will have access to all of 
 the client accounts without needing additional tokens.

 Regards,

 Ewan 



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.


Re: oauth2 mcc account vs adwords account

2013-08-19 Thread Ewan Heming
Hi Michael,

Once you've authenticated an MCC account, you will have access to all of 
the client accounts without needing additional tokens.

Regards,

Ewan 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.


Re: oauth2 mcc account vs adwords account

2013-08-19 Thread Michael Ni
Thanks Ewan,

If it's just mcc then it saves me a bunch of pain.

It seems wierd that I don't have to switch on google adwords api in the 
https://code.google.com/apis/console
under services.

I use the adsense api, and I had to switch it on, but for adwords, I guess 
I don't.



On Monday, August 19, 2013 4:32:34 PM UTC-7, Ewan Heming wrote:

 Hi Michael,

 Once you've authenticated an MCC account, you will have access to all of 
 the client accounts without needing additional tokens.

 Regards,

 Ewan 


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.