Maybe the OAuth credentials are incorrect? Did you remember to update them when you started using the test account?
On Tuesday, August 26, 2014 9:43:58 AM UTC-7, ma...@clickedon.it wrote: > > I am having some issues with no campaigns coming back. > I am requesting from my sandbox account. However, it won't return any > campaigns from either my main account or my test. > I have campaigns in both. Here is what I am doing. > > clientCustomerId - My test account > developerToken - My main account > > Sadly, this all worked about 6 weeks ago. Any advice would be appreciated. > Thanks > > > Account account = mutationRequest.getAccount(); > // Get the CampaignService. > CampaignServiceInterface campaignService = > getAdWordsService(account.getId(), CampaignServiceInterface.class); > > int offset = 0; > > String query = "SELECT Id, Name, Status"; > > CampaignPage page = null; > do { > > String pageQuery = query + String.format(" LIMIT %d, %d", offset, > PAGE_SIZE); > // Get all campaigns. > page = campaignService.query(pageQuery); > > // Display campaigns. > if (page.getEntries() != null) { > for (Campaign googleCampaign : page.getEntries()) { > resolveConflicts(campaigns, account, googleCampaign); > } > } > > offset += PAGE_SIZE; > } while (offset < page.getTotalNumEntries()); > > > REQUEST: > <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv=" > http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd=" > http://www.w3.org/2001/XMLSchema" xmlns:xsi=" > http://www.w3.org/2001/XMLSchema-instance"> > <soapenv:Header> > <ns1:RequestHeader xmlns:ns1=" > https://adwords.google.com/api/adwords/cm/v201402" > soapenv:mustUnderstand="0"> > <ns1:clientCustomerId>434-xx-xx24</ns1:clientCustomerId> > > <ns1:developerToken>W8Rmxxxxx-xxxxxxxxRqn5A</ns1:developerToken> > <ns1:userAgent>Cxxxxxxxt (AwApi-Java, AdWords-Axis/1.32.0, > Common-Java/1.32.0, Axis/1.4, Java/1.8.0_11, maven)</ns1:userAgent> > <ns1:validateOnly>false</ns1:validateOnly> > <ns1:partialFailure>false</ns1:partialFailure> > </ns1:RequestHeader> > </soapenv:Header> > <soapenv:Body> > <query xmlns="https://adwords.google.com/api/adwords/cm/v201402"> > <query>SELECT Id, Name, Status LIMIT 0, 100</query> > </query> > </soapenv:Body> > </soapenv:Envelope> > > RESPONSE: > <?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:soap=" > http://schemas.xmlsoap.org/soap/envelope/"> > <soap:Header> > <ResponseHeader xmlns=" > https://adwords.google.com/api/adwords/cm/v201402"> > <requestId>0005018aeb6ad1100abf81d794009ffa</requestId> > <serviceName>CampaignService</serviceName> > <methodName>query</methodName> > <operations>1</operations> > <responseTime>365</responseTime> > </ResponseHeader> > </soap:Header> > <soap:Body> > <queryResponse xmlns=" > https://adwords.google.com/api/adwords/cm/v201402"> > <rval> > <totalNumEntries>0</totalNumEntries> > <Page.Type>CampaignPage</Page.Type> > </rval> > </queryResponse> > </soap:Body> > </soap:Envelope> > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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. Visit this group at http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/c851ca56-3d4b-4153-b921-b56a01b9b07f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.