Hi, While I try to retrieve data via api call I am facing problem here are the details What I am doing is try to retrieve data using loop using php scripting language in steps 1st Step:- I get the clientEmail Address 2nd Step :- I get the adgroup Id 3rd Step:- on behalf of clientEmail and AdGroupId I retrieve adsId 4th Step:- on behalf of clientEmail , AdGroupId and adsId I try to retrieve ad’s Stats
When the loop runs I get the first cycle result but after that I am unable to retrieve any data from Google Api below is the code I am using . . . . while($adsRow = mysql_fetch_object($adsResult)) { $adApiId = $adsRow->apiId; $adIds = $adIds."<adIds>".$adApiId."</adIds>"; } . . . . $request_xml = '<getAdStats>' . '<adGroupId>' . $adGroupId . '</adGroupId>'. $this->adIds . '<startDay>' . $this->startDay . '</ startDay>' . '<endDay>' . $this->endDay . '</endDay>' . '</getAdStats>'; $adsStats = $ad_service->call('getAdStats', $request_xml); $adsStats = $adsStats['getAdStatsReturn']; Please someone guide me what is the thing I have done wrong Also here is the Message when i enable debug = 1 i have hide the email's and password POST /api/adwords/v13/AdService HTTP/1.0 Host: adwords.google.com User- Agent: NuSOAP/0.7.3 (1.114) Content-Type: text/xml; charset=ISO-8859-1 SOAPAction: "" Content-Length: 834 a.......@m....t.coma..ls..r@primecomms.comM...F.... 5lhM_oYybMFH5FysEvk4QWvAJVKwu5jByZG6jVT5ZwQ1303553751367449125136744604712009-09-062009-09-06HTTP/ 1.1 200 OK Content-Type: text/xml; charset=iso-8859-1 Date: Wed, 09 Sep 2009 07:20:23 GMT Expires: Wed, 09 Sep 2009 07:20:23 GMT Cache- Control: private, max-age=0 X-Content-Type-Options: nosniff Content- Length: 1770 Server: GFE/2.0 886 2 2 6c196be40a79da5b26b0ef942df63d8b 0.0 0 0.0 0 0 3674491251 0 0.0 0 0.0 0 0 3674460471 0 Best Regards Ajaz Muhammad Khan --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---