Re: problems upgrading from v201101 to v201109
Hi, Unfortunately, there's an outstanding feature request that is masking this issue. The clientEmail header is not valid in v201109, you must use the clientCustomerId instead. Currently, the API does not validate the SOAP headers, it instead silently ignores them, causing the issue you are seeing (that it ends up running against the MCC account, which naturally has no AdGroups). We published examples in the client libraries ( GetClientCustomerIdhttp://code.google.com/p/google-api-adwords-java/source/browse/trunk/examples/v201109/GetClientCustomerId.java in java) to demonstrate how to translate from clientEmail to clientCustomerId. - 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 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
problems upgrading from v201101 to v201109
I thought I would try upgrading a simple operation to get all of the adwords accounts. v201109 doesn't return anything. Why is that? Here's the XML in v201101 ns1:Envelope xmlns:ns2=https://adwords.google.com/api/adwords/cm/v201101; xmlns:ns1=http://schemas.xmlsoap.org/soap/envelope/; ns1:Header ns2:RequestHeader ns2:authTokenAUTHTOKEN/ns2:authToken ns2:clientEmailCLIENT_EMAIL/ns2:clientEmail ns2:developerTokenDEV_TOKEN/ns2:developerToken ns2:userAgentAdwords Management Software/ns2:userAgent /ns2:RequestHeader /ns1:Header ns1:Body ns2:get ns2:serviceSelector ns2:fieldsId/ns2:fields ns2:fieldsName/ns2:fields /ns2:serviceSelector /ns2:get /ns1:Body /ns1:Envelope And the v201101 response soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/; soap:Header ResponseHeader xmlns=https://adwords.google.com/api/adwords/cm/v201101; requestId0004b38699479f000a0ca30b3303/requestId operations3/operations responseTime105/responseTime units3/units /ResponseHeader /soap:Header soap:Body getResponse xmlns=https://adwords.google.com/api/adwords/cm/v201101; rval totalNumEntries3/totalNumEntries Page.TypeAdGroupPage/Page.Type entries id3064259105/id nameAdGroup F83ED306-9F74-389F-E170E024A0185D91/name stats networkALL/network Stats.TypeStats/Stats.Type /stats /entries entries id3064560347/id nameAdGroup 9810F38B-B800-1F07-A76A931ACA57D92A/name stats networkALL/network Stats.TypeStats/Stats.Type /stats /entries entries id3064560358/id nameCategory/name stats networkALL/network Stats.TypeStats/Stats.Type /stats /entries /rval /getResponse /soap:Body /soap:Envelope Here's the XML in v201109 ns1:Envelope xmlns:ns1=http://schemas.xmlsoap.org/soap/envelope/; xmlns:ns2=https://adwords.google.com/api/adwords/cm/v201109; ns1:Header ns2:RequestHeader ns2:authTokenAUTH_TOKEN/ns2:authToken ns2:clientEmailCLIENT_EMAIL/ns2:clientEmail ns2:developerTokenDEV_TOKEN/ns2:developerToken ns2:userAgentAdwords Management Software/ns2:userAgent /ns2:RequestHeader /ns1:Header ns1:Body ns2:get ns2:serviceSelector ns2:fieldsId/ns2:fields ns2:fieldsName/ns2:fields /ns2:serviceSelector /ns2:get /ns1:Body /ns1:Envelope And the v201109 response soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/; soap:Header ResponseHeader xmlns=https://adwords.google.com/api/adwords/cm/v201109; requestId0004b386a968f0780a0d010e5620/requestId serviceNameAdGroupService/serviceName methodNameget/methodName operations1/operations responseTime67/responseTime units1/units /ResponseHeader /soap:Header soap:Body getResponse xmlns=https://adwords.google.com/api/adwords/cm/v201109; rval totalNumEntries0/totalNumEntries Page.TypeAdGroupPage/Page.Type /rval /getResponse /soap:Body /soap:Envelope -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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