Hello Neil,

There is a known issue with the sandbox returning zeros for IDs
unfortunately. Can you please try initializing a new sandbox account as
described here and try again?

  http://code.google.com/apis/adwords/docs/sandbox.html



-Danial, AdWords API Team.



Original Message Follows:
------------------------
From: Neil Kirk <skeni...@gmail.com>
Subject: Re: ADD_OPERATION_NOT_PERMITTED when using sample code v201109
Date: Mon, 13 Feb 2012 03:47:51 -0800 (PST)

> Hey,
> 
> When I run the get_account_hierarchy.pl example, it returns:
> Login, CustomerId (Status, Description)
>  Root, 0
> -- client_5+????@gmail.com, 0 (ESTABLISHED)
> ---- client_5+????@gmail.com, 0 (ESTABLISHED)
> 
> This loops over and over again, until I ctrl+c to break the script.
> 
> I have tried getting the clientIDs using the
get_client_customer_id.plscript. I entered:
> my $client_emails = "client_5+????\@gmail.com";
> 
> which returns:
> Found record with client email 'client_5+????@gmail.com' and ID 0.
> 
> and using any other client email (client_1, client_2, etc), returns:
> <?xml version="1.0"?>
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
>   <soap:Header>
>     <ResponseHeader 
> xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201109"; 
> xmlns="https://adwords.google.com/api/adwords/info/v201109";>
>       <ns2:requestId>0004b8d6fd778be80a0d6e0800006ae5</ns2:requestId>
>       <ns2:serviceName>InfoService</ns2:serviceName>
>       <ns2:methodName>get</ns2:methodName>
>       <ns2:operations>1</ns2:operations>
>       <ns2:responseTime>157</ns2:responseTime>
>       <ns2:units>1</ns2:units>
>     </ResponseHeader>
>   </soap:Header>
>   <soap:Body>
>     <soap:Fault>
>       <faultcode>soap:Server</faultcode>
>       <faultstring>[ApiUsageError.INVALID_CLIENT_EMAIL @ selector; 
> trigger:'client_2+????@gmail.com']</faultstring>
>       <detail>
>         <ApiExceptionFault 
> xmlns="https://adwords.google.com/api/adwords/info/v201109"; 
> xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201109";>
>           <ns2:message>[ApiUsageError.INVALID_CLIENT_EMAIL @ selector; 
> trigger:'client_2+????@gmail.com']</ns2:message>
>           
>
<ns2:ApplicationException.Type>ApiException</ns2:ApplicationException.Type>
>           <ns2:errors
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
> xsi:type="ApiUsageError">
>             <ns2:fieldPath>selector</ns2:fieldPath>
>             <ns2:trigger>client_2+????@gmail.com</ns2:trigger>
>             
> <ns2:errorString>ApiUsageError.INVALID_CLIENT_EMAIL</ns2:errorString>
>             <ns2:ApiError.Type>ApiUsageError</ns2:ApiError.Type>
>             <reason>INVALID_CLIENT_EMAIL</reason>
>           </ns2:errors>
>         </ApiExceptionFault>
>       </detail>
>     </soap:Fault>
>   </soap:Body>
> </soap:Envelope>
> 
> So '0' is all I had to go on. Please help me figure out what is going on

> here, as something doesn't seem right and I really need to get this
upgrade 
> working. v201101 was working fine and the bosses are now on me to sort
it 
> out, but I can't do anything...
> 
> Thanks,
> Neil
> 
> -- 
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 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
>

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

Reply via email to