Re: Accessing adwords api from a server c#.net

2014-07-16 Thread Anash P. Oommen (AdWords API Team)
Hi Nuwan,

You should whitelist all outgoing connections to https://adwords.google.com 
and https://accounts.google.com url prefixes. 

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Friday, July 11, 2014 4:45:30 AM UTC-4, nuwan.ge...@statravel.co.uk 
wrote:

 Hi Ansh 

 Thank you for your answer. I've managed to get it working through scanning 
 the ports and enabling the firewall rules. 
 However I face another problem using the Exe I developed using the API in 
 Server environment. As usual it works well in my local computer. It is 
 difficult to do port scanning and add urls one by one. Is there a 
 perticular list of URLs that adwords API v201402 uses. That will greatly 
 assist us.

 Kind Regards
 Nuwan

 On Friday, July 11, 2014 5:00:40 AM UTC+1, Anash P. Oommen (AdWords API 
 Team) wrote:

 Hi,

 Could you please try this once more using the latest release from 
 https://github.com/googleads/googleads-dotnet-lib/ ? If you are still 
 getting the error, you can download the source distribution from 
 https://github.com/googleads/googleads-dotnet-lib/releases/download/v18.0.0/awapi_dotnet_lib_src_18.0.0.zip.
  
 Unzip, open the solution, set OAuthTokenGenerator as startup project, run 
 it and let me know what exception gets thrown.

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

 On Monday, June 23, 2014 5:26:03 AM UTC-4, nuwan.ge...@statravel.co.uk 
 wrote:

 Hi Danial,

 when I launch the OAuth2TokenGenerator.exe this is what happens.


 https://lh3.googleusercontent.com/-Naqa7xHEwvs/U6fyUEfvBHI/AAM/a3-sAEbuQ7c/s1600/P%21.png

 It takes the client ID and Secret.. But breaks after I Accept



 https://lh5.googleusercontent.com/-NbKGPIze5QI/U6fyf8i-87I/AAU/y14ctIRgiuE/s1600/P2.png

 I tried running this as an administrator and windows 7 mode too. Any 
 help is appreciated. 


 On Friday, June 20, 2014 12:55:43 PM UTC+1, Danial Klimkin wrote:

 Hello,


 You should be able to use the same Application mode. Service accounts 
 are for Google App domains only.

 Please let us know more details on what is the issue in the server 
 environment, what error are you getting etc.


 -Danial, AdWords API Team.


 On Friday, June 20, 2014 3:39:56 PM UTC+4, nuwan.ge...@statravel.co.uk 
 wrote:

 Hi,

 I have a program that needs to access the Adwords api that has to be 
 set up in a server as an exe. 
 This exe is then accessed via an SSIS package passing parameters.

 It was fine when I was using the v201309 api. With the sunset on 21st 
 July I'm trying to upgrade it to v201402 which does not allow client logon

 I used the OAuth2Mode value=APPLICATION and it works fine on my 
 local computer. How ever when I try to generate the token using 
 the OAuth2TokenGenerator.exe in the server environment the exe breaks.

 Then I tried to use the OAuth2Mode value=SERVICE_ACCOUNT 
 following are my values in the app.config file

 add key=OAuth2Mode value=SERVICE_ACCOUNT /
 add key=OAuth2ServiceAccountEmail value=
 ...@developer.gserviceaccount.com /
 add key=OAuth2PrnEmail value=myn...@email.co.uk /
 add key=OAuth2JwtCertificatePath 
 value=D:\awapi_dotnet_lib_v17.0.0\x-privatekey.p12 
 /
 add key=OAuth2JwtCertificatePassword value=x /

 This does not work either 

 Any Help is appreciated...



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/d/optout.


Re: Accessing adwords api from a server c#.net

2014-07-11 Thread nuwan . gebalanage
Hi Ansh 

Thank you for your answer. I've managed to get it working through scanning 
the ports and enabling the firewall rules. 
However I face another problem using the Exe I developed using the API in 
Server environment. As usual it works well in my local computer. It is 
difficult to do port scanning and add urls one by one. Is there a 
perticular list of URLs that adwords API v201402 uses. That will greatly 
assist us.

Kind Regards
Nuwan

On Friday, July 11, 2014 5:00:40 AM UTC+1, Anash P. Oommen (AdWords API 
Team) wrote:

 Hi,

 Could you please try this once more using the latest release from 
 https://github.com/googleads/googleads-dotnet-lib/ ? If you are still 
 getting the error, you can download the source distribution from 
 https://github.com/googleads/googleads-dotnet-lib/releases/download/v18.0.0/awapi_dotnet_lib_src_18.0.0.zip.
  
 Unzip, open the solution, set OAuthTokenGenerator as startup project, run 
 it and let me know what exception gets thrown.

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

 On Monday, June 23, 2014 5:26:03 AM UTC-4, nuwan.ge...@statravel.co.uk 
 wrote:

 Hi Danial,

 when I launch the OAuth2TokenGenerator.exe this is what happens.


 https://lh3.googleusercontent.com/-Naqa7xHEwvs/U6fyUEfvBHI/AAM/a3-sAEbuQ7c/s1600/P%21.png

 It takes the client ID and Secret.. But breaks after I Accept



 https://lh5.googleusercontent.com/-NbKGPIze5QI/U6fyf8i-87I/AAU/y14ctIRgiuE/s1600/P2.png

 I tried running this as an administrator and windows 7 mode too. Any help 
 is appreciated. 


 On Friday, June 20, 2014 12:55:43 PM UTC+1, Danial Klimkin wrote:

 Hello,


 You should be able to use the same Application mode. Service accounts 
 are for Google App domains only.

 Please let us know more details on what is the issue in the server 
 environment, what error are you getting etc.


 -Danial, AdWords API Team.


 On Friday, June 20, 2014 3:39:56 PM UTC+4, nuwan.ge...@statravel.co.uk 
 wrote:

 Hi,

 I have a program that needs to access the Adwords api that has to be 
 set up in a server as an exe. 
 This exe is then accessed via an SSIS package passing parameters.

 It was fine when I was using the v201309 api. With the sunset on 21st 
 July I'm trying to upgrade it to v201402 which does not allow client logon

 I used the OAuth2Mode value=APPLICATION and it works fine on my 
 local computer. How ever when I try to generate the token using 
 the OAuth2TokenGenerator.exe in the server environment the exe breaks.

 Then I tried to use the OAuth2Mode value=SERVICE_ACCOUNT 
 following are my values in the app.config file

 add key=OAuth2Mode value=SERVICE_ACCOUNT /
 add key=OAuth2ServiceAccountEmail value=
 ...@developer.gserviceaccount.com /
 add key=OAuth2PrnEmail value=myn...@email.co.uk /
 add key=OAuth2JwtCertificatePath 
 value=D:\awapi_dotnet_lib_v17.0.0\x-privatekey.p12 /
 add key=OAuth2JwtCertificatePassword value=x /

 This does not work either 

 Any Help is appreciated...



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/d/optout.


Re: Accessing adwords api from a server c#.net

2014-07-10 Thread Anash P. Oommen (AdWords API Team)
Hi,

Could you please try this once more using the latest release 
from https://github.com/googleads/googleads-dotnet-lib/ ? If you are still 
getting the error, you can download the source distribution 
from 
https://github.com/googleads/googleads-dotnet-lib/releases/download/v18.0.0/awapi_dotnet_lib_src_18.0.0.zip.
 
Unzip, open the solution, set OAuthTokenGenerator as startup project, run 
it and let me know what exception gets thrown.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Monday, June 23, 2014 5:26:03 AM UTC-4, nuwan.ge...@statravel.co.uk 
wrote:

 Hi Danial,

 when I launch the OAuth2TokenGenerator.exe this is what happens.


 https://lh3.googleusercontent.com/-Naqa7xHEwvs/U6fyUEfvBHI/AAM/a3-sAEbuQ7c/s1600/P%21.png

 It takes the client ID and Secret.. But breaks after I Accept



 https://lh5.googleusercontent.com/-NbKGPIze5QI/U6fyf8i-87I/AAU/y14ctIRgiuE/s1600/P2.png

 I tried running this as an administrator and windows 7 mode too. Any help 
 is appreciated. 


 On Friday, June 20, 2014 12:55:43 PM UTC+1, Danial Klimkin wrote:

 Hello,


 You should be able to use the same Application mode. Service accounts 
 are for Google App domains only.

 Please let us know more details on what is the issue in the server 
 environment, what error are you getting etc.


 -Danial, AdWords API Team.


 On Friday, June 20, 2014 3:39:56 PM UTC+4, nuwan.ge...@statravel.co.uk 
 wrote:

 Hi,

 I have a program that needs to access the Adwords api that has to be set 
 up in a server as an exe. 
 This exe is then accessed via an SSIS package passing parameters.

 It was fine when I was using the v201309 api. With the sunset on 21st 
 July I'm trying to upgrade it to v201402 which does not allow client logon

 I used the OAuth2Mode value=APPLICATION and it works fine on my 
 local computer. How ever when I try to generate the token using 
 the OAuth2TokenGenerator.exe in the server environment the exe breaks.

 Then I tried to use the OAuth2Mode value=SERVICE_ACCOUNT 
 following are my values in the app.config file

 add key=OAuth2Mode value=SERVICE_ACCOUNT /
 add key=OAuth2ServiceAccountEmail value=
 ...@developer.gserviceaccount.com /
 add key=OAuth2PrnEmail value=myn...@email.co.uk /
 add key=OAuth2JwtCertificatePath 
 value=D:\awapi_dotnet_lib_v17.0.0\x-privatekey.p12 /
 add key=OAuth2JwtCertificatePassword value=x /

 This does not work either 

 Any Help is appreciated...



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/d/optout.


Re: Accessing adwords api from a server c#.net

2014-06-23 Thread nuwan . gebalanage
Hi Danial,

when I launch the OAuth2TokenGenerator.exe this is what happens.

https://lh3.googleusercontent.com/-Naqa7xHEwvs/U6fyUEfvBHI/AAM/a3-sAEbuQ7c/s1600/P%21.png

It takes the client ID and Secret.. But breaks after I Accept


https://lh5.googleusercontent.com/-NbKGPIze5QI/U6fyf8i-87I/AAU/y14ctIRgiuE/s1600/P2.png

I tried running this as an administrator and windows 7 mode too. Any help 
is appreciated. 


On Friday, June 20, 2014 12:55:43 PM UTC+1, Danial Klimkin wrote:

 Hello,


 You should be able to use the same Application mode. Service accounts 
 are for Google App domains only.

 Please let us know more details on what is the issue in the server 
 environment, what error are you getting etc.


 -Danial, AdWords API Team.


 On Friday, June 20, 2014 3:39:56 PM UTC+4, nuwan.ge...@statravel.co.uk 
 wrote:

 Hi,

 I have a program that needs to access the Adwords api that has to be set 
 up in a server as an exe. 
 This exe is then accessed via an SSIS package passing parameters.

 It was fine when I was using the v201309 api. With the sunset on 21st 
 July I'm trying to upgrade it to v201402 which does not allow client logon

 I used the OAuth2Mode value=APPLICATION and it works fine on my local 
 computer. How ever when I try to generate the token using 
 the OAuth2TokenGenerator.exe in the server environment the exe breaks.

 Then I tried to use the OAuth2Mode value=SERVICE_ACCOUNT 
 following are my values in the app.config file

 add key=OAuth2Mode value=SERVICE_ACCOUNT /
 add key=OAuth2ServiceAccountEmail value=
 ...@developer.gserviceaccount.com javascript: /
 add key=OAuth2PrnEmail value=myn...@email.co.uk javascript: /
 add key=OAuth2JwtCertificatePath 
 value=D:\awapi_dotnet_lib_v17.0.0\x-privatekey.p12 /
 add key=OAuth2JwtCertificatePassword value=x /

 This does not work either 

 Any Help is appreciated...



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/d/optout.


Re: Accessing adwords api from a server c#.net

2014-06-23 Thread Danial Klimkin
Hello,


I'll ask the DotNet client library owner to look into this.


-Danial, AdWords API Team.


On Monday, June 23, 2014 1:26:03 PM UTC+4, nuwan.ge...@statravel.co.uk 
wrote:

 Hi Danial,

 when I launch the OAuth2TokenGenerator.exe this is what happens.


 https://lh3.googleusercontent.com/-Naqa7xHEwvs/U6fyUEfvBHI/AAM/a3-sAEbuQ7c/s1600/P%21.png

 It takes the client ID and Secret.. But breaks after I Accept



 https://lh5.googleusercontent.com/-NbKGPIze5QI/U6fyf8i-87I/AAU/y14ctIRgiuE/s1600/P2.png

 I tried running this as an administrator and windows 7 mode too. Any help 
 is appreciated. 


 On Friday, June 20, 2014 12:55:43 PM UTC+1, Danial Klimkin wrote:

 Hello,


 You should be able to use the same Application mode. Service accounts 
 are for Google App domains only.

 Please let us know more details on what is the issue in the server 
 environment, what error are you getting etc.


 -Danial, AdWords API Team.


 On Friday, June 20, 2014 3:39:56 PM UTC+4, nuwan.ge...@statravel.co.uk 
 wrote:

 Hi,

 I have a program that needs to access the Adwords api that has to be set 
 up in a server as an exe. 
 This exe is then accessed via an SSIS package passing parameters.

 It was fine when I was using the v201309 api. With the sunset on 21st 
 July I'm trying to upgrade it to v201402 which does not allow client logon

 I used the OAuth2Mode value=APPLICATION and it works fine on my 
 local computer. How ever when I try to generate the token using 
 the OAuth2TokenGenerator.exe in the server environment the exe breaks.

 Then I tried to use the OAuth2Mode value=SERVICE_ACCOUNT 
 following are my values in the app.config file

 add key=OAuth2Mode value=SERVICE_ACCOUNT /
 add key=OAuth2ServiceAccountEmail value=
 ...@developer.gserviceaccount.com /
 add key=OAuth2PrnEmail value=myn...@email.co.uk /
 add key=OAuth2JwtCertificatePath 
 value=D:\awapi_dotnet_lib_v17.0.0\x-privatekey.p12 /
 add key=OAuth2JwtCertificatePassword value=x /

 This does not work either 

 Any Help is appreciated...



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/d/optout.


Accessing adwords api from a server c#.net

2014-06-20 Thread nuwan . gebalanage
Hi,

I have a program that needs to access the Adwords api that has to be set up 
in a server as an exe. 
This exe is then accessed via an SSIS package passing parameters.

It was fine when I was using the v201309 api. With the sunset on 21st July 
I'm trying to upgrade it to v201402 which does not allow client logon

I used the OAuth2Mode value=APPLICATION and it works fine on my local 
computer. How ever when I try to generate the token using 
the OAuth2TokenGenerator.exe in the server environment the exe breaks.

Then I tried to use the OAuth2Mode value=SERVICE_ACCOUNT 
following are my values in the app.config file

add key=OAuth2Mode value=SERVICE_ACCOUNT /
add key=OAuth2ServiceAccountEmail 
value=...@developer.gserviceaccount.com /
add key=OAuth2PrnEmail value=myn...@email.co.uk /
add key=OAuth2JwtCertificatePath 
value=D:\awapi_dotnet_lib_v17.0.0\x-privatekey.p12 /
add key=OAuth2JwtCertificatePassword value=x /

This does not work either 

Any Help is appreciated...

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/d/optout.


Re: Accessing adwords api from a server c#.net

2014-06-20 Thread Danial Klimkin
Hello,


You should be able to use the same Application mode. Service accounts are 
for Google App domains only.

Please let us know more details on what is the issue in the server 
environment, what error are you getting etc.


-Danial, AdWords API Team.


On Friday, June 20, 2014 3:39:56 PM UTC+4, nuwan.ge...@statravel.co.uk 
wrote:

 Hi,

 I have a program that needs to access the Adwords api that has to be set 
 up in a server as an exe. 
 This exe is then accessed via an SSIS package passing parameters.

 It was fine when I was using the v201309 api. With the sunset on 21st July 
 I'm trying to upgrade it to v201402 which does not allow client logon

 I used the OAuth2Mode value=APPLICATION and it works fine on my local 
 computer. How ever when I try to generate the token using 
 the OAuth2TokenGenerator.exe in the server environment the exe breaks.

 Then I tried to use the OAuth2Mode value=SERVICE_ACCOUNT 
 following are my values in the app.config file

 add key=OAuth2Mode value=SERVICE_ACCOUNT /
 add key=OAuth2ServiceAccountEmail value=
 ...@developer.gserviceaccount.com /
 add key=OAuth2PrnEmail value=myn...@email.co.uk /
 add key=OAuth2JwtCertificatePath 
 value=D:\awapi_dotnet_lib_v17.0.0\x-privatekey.p12 /
 add key=OAuth2JwtCertificatePassword value=x /

 This does not work either 

 Any Help is appreciated...


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/d/optout.