Hi Kevin, Please look at my sanitzed (no authToken or Developer Token) SOAP XML. I am using example GetAccountHierarchy.php but it nly shows me last account in both production and sandbox environment. I believe that example is not displaying output properly.So that it only shows me last account as root account. My output is "Login, CustomerId (Link Type, Status) client_5+myemailid, 6030***836 "
SOAP XML [Jul 19 2011 11:23:29.000000 - INFO] POST /api/adwords/mcm/v201101/ ServicedAccountService HTTP/1.1 Host: adwords-sandbox.google.com Connection: Keep-Alive User-Agent: PHP-SOAP/5.3.3-1ubuntu9.5, gzip Accept-Encoding: gzip, deflate Content-Encoding: gzip Content-Type: text/xml; charset=utf-8 SOAPAction: "" Content-Length: 566 <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/ envelope/" xmlns:ns1="https://adwords.google.com/api/adwords/mcm/ v201101" xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201101" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SOAP-ENV:Header> <ns1:RequestHeader xmlns:ns2="https://adwords.google.com/api/ adwords/cm/v201101" xsi:type="ns2:RequestHeader"> <ns2:authToken>*****</ns2:authToken> <ns2:developerToken>*******</ns2:developerToken> <ns2:userAgent>AwApi-PHP-2.6.3-Adwords API</ns2:userAgent> </ns1:RequestHeader> </SOAP-ENV:Header> <SOAP-ENV:Body> <ns1:get> <ns1:selector> <ns1:enablePaging>false</ns1:enablePaging> </ns1:selector> </ns1:get> </SOAP-ENV:Body> </SOAP-ENV:Envelope> HTTP/1.1 200 OK Content-Type: text/xml; charset=UTF-8 Content-Encoding: gzip Date: Tue, 19 Jul 2011 05:53:30 GMT Expires: Tue, 19 Jul 2011 05:53:30 GMT Cache-Control: private, max-age=0 X-Content-Type-Options: nosniff X-Frame-Options: SAMEORIGIN X-XSS-Protection: 1; mode=block Content-Length: 538 Server: GSE <?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/v201101" xmlns="https://adwords.google.com/api/adwords/mcm/ v201101"> <ns2:requestId>0004a865bc2ea7600a8389132083aa65</ns2:requestId> <ns2:operations>0</ns2:operations> <ns2:responseTime>1217</ns2:responseTime> <ns2:units>0</ns2:units> </ResponseHeader> </soap:Header> <soap:Body> <getResponse xmlns="https://adwords.google.com/api/adwords/mcm/ v201101" xmlns:ns2="https://adwords.google.com/api/adwords/cm/ v201101"> <rval> <accounts> <customerId>2434361787</customerId> <login>[email protected]</login> <companyName/> <canManageClients>false</canManageClients> </accounts> <accounts> <customerId>6047525938</customerId> <login>[email protected]</login> <companyName/> <canManageClients>false</canManageClients> </accounts> <accounts> <customerId>4278110838</customerId> <login>[email protected]</login> <companyName/> <canManageClients>false</canManageClients> </accounts> <accounts> <customerId>7799630936</customerId> <login>[email protected]</login> <companyName/> <canManageClients>false</canManageClients> </accounts> <accounts> <customerId>6030215836</customerId> <login>[email protected]</login> <companyName/> <canManageClients>false</canManageClients> </accounts> <links> <managerId> <id>0</id> </managerId> <clientId> <id>2434361787</id> </clientId> <serviceType>UI_AND_API</serviceType> <typeOfLink>ESTABLISHED</typeOfLink> <descriptiveName/> <Link.Type>Link</Link.Type> </links> <links> <managerId> <id>0</id> </managerId> <clientId> <id>6047525938</id> </clientId> <serviceType>UI_AND_API</serviceType> <typeOfLink>ESTABLISHED</typeOfLink> <descriptiveName/> <Link.Type>Link</Link.Type> </links> <links> <managerId> <id>0</id> </managerId> <clientId> <id>4278110838</id> </clientId> <serviceType>UI_AND_API</serviceType> <typeOfLink>ESTABLISHED</typeOfLink> <descriptiveName/> <Link.Type>Link</Link.Type> </links> <links> <managerId> <id>0</id> </managerId> <clientId> <id>7799630936</id> </clientId> <serviceType>UI_AND_API</serviceType> <typeOfLink>ESTABLISHED</typeOfLink> <descriptiveName/> <Link.Type>Link</Link.Type> </links> <links> <managerId> <id>0</id> </managerId> <clientId> <id>6030215836</id> </clientId> <serviceType>UI_AND_API</serviceType> <typeOfLink>ESTABLISHED</typeOfLink> <descriptiveName/> <Link.Type>Link</Link.Type> </links> </rval> </getResponse> </soap:Body> </soap:Envelope> On Jul 18, 9:15 pm, Kevin Winter <[email protected]> wrote: > Hi Chirag, > Could you post the sanitzed (no authToken or Developer Token) SOAP XML > being sent to the server? I just tested this out on a brand-new sandbox > account and saw 5 accounts created after running a GetCampaign on only one > of them. > > - Kevin Winter > AdWords API Team -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en
