Re: Sandbox set up problem;

2012-10-09 Thread David Torres
Hi,

You need to comment out the clientId line and call the GetCampaigns.php and 
then the GetAccountHierarchy.php example, with it you'll get a list of 5 
created child customer ids use one of those as your clientId.

Best,

-David Torres - AdWords API Team

On Thursday, October 4, 2012 9:18:08 AM UTC-4, V. Behr wrote:

 Hi, 

 I am trying to set up a sandbox account for hours now, but it is not 
 working. Here is the auth.ini:  


 ---
 email = vx...@yyy.de javascript:
 password = 
 userAgent = testprojekt
 developerToken = vxxx@yyy++EUR

 ; Uncomment to make requests against a client account.
  clientId = client...@yyy.de javascript:

 ; Uncomment the following to use an existing AuthToken.
 ; authToken = INSERT_AUTH_TOKEN_HERE

 ; Uncomment the following to setup OAuth 1.0 authentication.
 ; [OAUTH]

 ; If you don't have a consumer key and secret, register your application 
 here:
 ; https://accounts.google.com/ManageDomains
 ; oauth_consumer_key = INSERT_OAUTH_CONSUMER_KEY_HERE
 ; oauth_consumer_secret = INSERT_OAUTH_CONSUMER_SECRET_HERE

 ; If you already have an access token enter it below.
 ; oauth_token = INSERT_OAUTH_TOKEN_HERE
 ; oauth_token_secret = INSERT_OAUTH_TOKEN_SECRET_HERE

 ; Uncomment the following to setup OAuth2 authentication.
 ; [OAUTH2]

 ; If you do not have a client ID or secret, please create one in the
 ; API console: https://code.google.com/apis/console#access
 ; client_id = INSERT_OAUTH2_CLIENT_ID_HERE
 ; client_secret = INSERT_OAUTH2_CLIENT_SECRET_HERE

 ; If you already have access or refresh tokens enter them below.
 ; access_token = INSERT_OAUTH2_ACCESS_TOKEN_HERE
 ; refresh_token = INSERT_OAUTH2_REFRESH_TOKEN_HERE


 ---

 I am using the PHP client library and when I start the GetCampaigns.php 
 file it throws the following Error: 

 An error has occurred: The header clientEmail is not compatible with 
 versions v201109 and later. Use clientCustomerId instead

 I also tried to call the GetClientCustomerId.php and 
 GetAccountHierarchy.php, but with the same problem. 

 Can somebody help me?






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


Sandbox set up problem;

2012-10-04 Thread V. Behr
Hi, 

I am trying to set up a sandbox account for hours now, but it is not 
working. Here is the auth.ini:  

---
email = v...@yyy.de
password = 
userAgent = testprojekt
developerToken = vxxx@yyy++EUR

; Uncomment to make requests against a client account.
 clientId = client_1+v...@yyy.de

; Uncomment the following to use an existing AuthToken.
; authToken = INSERT_AUTH_TOKEN_HERE

; Uncomment the following to setup OAuth 1.0 authentication.
; [OAUTH]

; If you don't have a consumer key and secret, register your application 
here:
; https://accounts.google.com/ManageDomains
; oauth_consumer_key = INSERT_OAUTH_CONSUMER_KEY_HERE
; oauth_consumer_secret = INSERT_OAUTH_CONSUMER_SECRET_HERE

; If you already have an access token enter it below.
; oauth_token = INSERT_OAUTH_TOKEN_HERE
; oauth_token_secret = INSERT_OAUTH_TOKEN_SECRET_HERE

; Uncomment the following to setup OAuth2 authentication.
; [OAUTH2]

; If you do not have a client ID or secret, please create one in the
; API console: https://code.google.com/apis/console#access
; client_id = INSERT_OAUTH2_CLIENT_ID_HERE
; client_secret = INSERT_OAUTH2_CLIENT_SECRET_HERE

; If you already have access or refresh tokens enter them below.
; access_token = INSERT_OAUTH2_ACCESS_TOKEN_HERE
; refresh_token = INSERT_OAUTH2_REFRESH_TOKEN_HERE

---

I am using the PHP client library and when I start the GetCampaigns.php 
file it throws the following Error: 

An error has occurred: The header clientEmail is not compatible with 
versions v201109 and later. Use clientCustomerId instead

I also tried to call the GetClientCustomerId.php and 
GetAccountHierarchy.php, but with the same problem. 

Can somebody help me?




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