Hi Abheek, This was related to a temporary problem in the AdWords API system related to retrieving campaign stats in v200909. This issue should be resolved, but let us know if you run into further problems.
Best, - Eric Koleda, AdWords API Team On Oct 27, 12:27 am, Abheek <[email protected]> wrote: > Hi Anash, > > If you refer to the SOAP requests and responses below you will get the > details. > To summarize following is a rundown of the issue: > > 1. At 3:21 we are requesting for Campaign stats for x campaign and y > date. > 2. At 3:22 we get a response for the above request with the stat > details. > 3. At 3:25 we request for Campaign stats for the same x campaign and y > date. > 4. At 3:26 we get a response for the above request with out the > requested stats, i.e. the statsSelector node is absent in the > response. > > Regards, > Abheek Das Gupta > > On Oct 26, 4:03 pm, AdWords API Advisor <[email protected]> > wrote: > > > > > > > > > Hi Abheek, > > > Could you clarify as to what issue you are facing? > > > Cheers, > > Anash P. Oommen, > > AdWords API Advisor. > > > On Oct 22, 5:09 pm, Abheek <[email protected]> wrote: > > > > I am facing a scenario because of which the CampaignService with > > > statsSelector is bahaving inconsistently. > > > Would highly appreciate if anyone could explain why this is happening. > > > > Please see the following logs for reference: > > > > Following are the request and responses when we are getting correct > > > response: > > > > <?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 > > > soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" > > > soapenv:mustUnderstand="0" > > > xmlns:ns1="https://adwords.google.com/api/adwords/cm/v200909"><ns1:applicationToken>XXXXXXXXXX</ns1:applicationToken><ns1:authToken>DQA > > > > > > AAJgAAADZXWZN7mBohZTauDWLWgZebddiADJJorwmSOhy4YYGHbaXeH4IWjbXOu9tgO3FkOkLkQ > > > > > > -bfjUFPC6kJXikPhG47qMNtEhHbNAXpAYvFSBQwIZHSDL7jIYiRCvseuCiyTh9oziqzgRmr-CBy > > > > > > kzyIXGm7uceM7_bkp_0Et5V-nG00BwN-tID2RkEbHSfd4O4buKDVuOuFmYb6jZDA68INJNA</ns > > > > > > 1:authToken><ns1:clientEmail>XXXXXXXXX</ns1:clientEmail><ns1:developerToken > > > > > > >XXXXXXXXXX</ns1:developerToken><ns1:userAgent>XXXXXXXX</ns1:userAgent><ns1 > > > > > > :validateOnly>false</ns1:validateOnly></ns1:RequestHeader></soapenv:Header> > > > <soapenv:Body><get > > > xmlns="https://adwords.google.com/api/adwords/cm/v200909"><selector><ids>XXXXXXX</ids><statsSelector><dateRange><min>20101015</min> > > > > > > <max>20101015</max></dateRange></statsSelector></selector></get></soapenv:B > > > ody></soapenv:Envelope> > > > 22 Oct 2010 03:22:04 DEBUG HTTPSender - HTTP/1.0 200 OK > > > 22 Oct 2010 03:22:04 DEBUG HTTPSender - Content-Type text/xml; > > > charset=UTF-8 > > > 22 Oct 2010 03:22:04 DEBUG HTTPSender - SOAPAction "" > > > 22 Oct 2010 03:22:04 DEBUG HTTPSender - Date Fri, 22 Oct 2010 10:22:41 > > > GMT > > > 22 Oct 2010 03:22:04 DEBUG HTTPSender - Expires Fri, 22 Oct 2010 > > > 10:22:41 GMT > > > 22 Oct 2010 03:22:04 DEBUG HTTPSender - Cache-Control private, max-age=0 > > > 22 Oct 2010 03:22:04 DEBUG HTTPSender - X-Content-Type-Options nosniff > > > 22 Oct 2010 03:22:04 DEBUG HTTPSender - X-Frame-Options SAMEORIGIN > > > 22 Oct 2010 03:22:04 DEBUG HTTPSender - X-XSS-Protection 1; mode=block > > > 22 Oct 2010 03:22:04 DEBUG HTTPSender - Server GSE > > > 22 Oct 2010 03:22:04 DEBUG HTTPSender - > > > no Content-Length > > > 22 Oct 2010 03:22:04 DEBUG HTTPSender - > > > XML received: > > > 22 Oct 2010 03:22:04 DEBUG HTTPSender - > > > ----------------------------------------------- > > > 22 Oct 2010 03:22:04 DEBUG HTTPSender - <soap:Envelope > > > xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><ResponseHeader > > > xmlns="https://adwords.google.com/api/adwords/cm/v200909"><requestId>a6206ca682a0ccbdb764ac5a4db1655d</requestId><operations>1</ope > > > > > > rations><responseTime>451</responseTime><units>1</units></ResponseHeader></ > > > soap:Header><soap:Body><getResponse > > > xmlns="https://adwords.google.com/api/adwords/cm/v200909"><rval><totalNumEntries>1</totalNumEntries><Page.Type>CampaignPage</Page.T > > > > > > ype><totalBudget><period>DAILY</period><amount><ComparableValue.Type>Money< > > > > > > /ComparableValue.Type><microAmount>10000000000</microAmount></amount><deliv > > > > > > eryMethod>STANDARD</deliveryMethod></totalBudget><entries><id>XXXXXXX</id>< > > > > > > name>XXXXXXXXXXXXXXXX</name><status>ACTIVE</status><servingStatus>SERVING</ > > > > > > servingStatus><startDate>20080114</startDate><endDate>20371230</endDate><bu > > > > > > dget><period>DAILY</period><amount><ComparableValue.Type>Money</ComparableV > > > > > > alue.Type><microAmount>10000000000</microAmount></amount><deliveryMethod>ST > > > ANDARD</deliveryMethod></budget><biddingStrategy > > > xsi:type="ManualCPC" > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><BiddingStrategy.Type>ManualCPC</BiddingStrategy.Type></biddingStrategy>< > > > > > > autoKeywordMatchingStatus>OPT_OUT</autoKeywordMatchingStatus><stats><startD > > > > > > ate>20101015</startDate><endDate>20101015</endDate><network>ALL</network><c > > > > > > licks>21</clicks><impressions>364</impressions><cost><ComparableValue.Type> > > > > > > Money</ComparableValue.Type><microAmount>15870000</microAmount></cost><aver > > > > > > agePosition>2.8104395604395602</averagePosition><averageCpc><ComparableValu > > > > > > e.Type>Money</ComparableValue.Type><microAmount>755714</microAmount></avera > > > > > > geCpc><averageCpm><ComparableValue.Type>Money</ComparableValue.Type><microA > > > > > > mount>43598901</microAmount></averageCpm><ctr>0.057692307692307696</ctr><co > > > > > > nversions>0</conversions><conversionRate>0.0</conversionRate><costPerConver > > > > > > sion><ComparableValue.Type>Money</ComparableValue.Type><microAmount>0</micr > > > > > > oAmount></costPerConversion><conversionsManyPerClick>0</conversionsManyPerC > > > > > > lick><conversionRateManyPerClick>0.0</conversionRateManyPerClick><costPerCo > > > > > > nversionManyPerClick><ComparableValue.Type>Money</ComparableValue.Type><mic > > > > > > roAmount>0</microAmount></costPerConversionManyPerClick><Stats.Type>Stats</ > > > > > > Stats.Type></stats><adServingOptimizationStatus>OPTIMIZE</adServingOptimiza > > > > > > tionStatus><frequencyCap><impressions>0</impressions></frequencyCap></entri > > > es></rval></getResponse></soap:Body></soap:Envelope> > > > 22 Oct 2010 03:22:04 DEBUG HTTPSender - Exit: > > > HTTPDispatchHandler::invoke > > > > And following are the request and responses when we are getting > > > incorrect response: > > > > <?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 > > > soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" > > > soapenv:mustUnderstand="0" > > > xmlns:ns1="https://adwords.google.com/api/adwords/cm/v200909"><ns1:applicationToken>XXXXXXX</ns1:applicationToken><ns1:authToken>DQAAAJ > > > > > > YAAACihHCgMQzH1zj7qqrmJw9-z8KD5IfrxvBjzkYhZHNN11e7IYazTCOHUBzPdyWpWho1q3vlJ > > > > > > 98YR-Hsqf5PrF1Loi6EpEjAwdZRUV5Ct6CrTJX_zv0cwqcUmZuPpAytWPL-M56pMn8pNphtXFsB > > > > > > C-cMDcsJVYAdVq5nvpEJPkCvv4iNWku--CpouOHB7RUOzgmS2gLX51ar7tL_p4MProg4</ns1:a > > > > > > uthToken><ns1:clientEmail>XXXXXXXXXXX</ns1:clientEmail><ns1:developerToken> > > > > > > XXXXXXXXXXX</ns1:developerToken><ns1:userAgent>XXXXXX</ns1:userAgent><ns1:v > > > > > > alidateOnly>false</ns1:validateOnly></ns1:RequestHeader></soapenv:Header><s > > > oapenv:Body><get > > > xmlns="https://adwords.google.com/api/adwords/cm/v200909"><selector><ids>18297077</ids><statsSelector><dateRange><min>20101015</min > > > > > > ><max>20101015</max></dateRange></statsSelector></selector></get></soapenv: > > > Body></soapenv:Envelope> > > > 22 Oct 2010 03:26:50 DEBUG HTTPSender - HTTP/1.0 200 OK > > > 22 Oct 2010 03:26:50 DEBUG HTTPSender - Content-Type text/xml; > > > charset=UTF-8 > > > 22 Oct 2010 03:26:50 DEBUG HTTPSender - SOAPAction "" > > > 22 Oct 2010 03:26:50 DEBUG HTTPSender - Date Fri, 22 Oct 2010 10:27:26 > > > GMT > > > 22 Oct 2010 03:26:50 DEBUG HTTPSender - Expires Fri, 22 Oct 2010 > > > 10:27:26 GMT > > > 22 Oct 2010 03:26:50 DEBUG HTTPSender - Cache-Control private, max-age=0 > > > 22 Oct 2010 03:26:50 DEBUG HTTPSender - X-Content-Type-Options nosniff > > > 22 Oct 2010 03:26:50 DEBUG HTTPSender - X-Frame-Options SAMEORIGIN > > > 22 Oct 2010 03:26:50 DEBUG HTTPSender - X-XSS-Protection 1; mode=block > > > 22 Oct 2010 03:26:50 DEBUG HTTPSender - Server GSE > > > 22 Oct 2010 03:26:50 DEBUG HTTPSender - > > > no Content-Length > > > 22 Oct 2010 03:26:50 DEBUG HTTPSender - > > > XML received: > > > 22 Oct 2010 03:26:50 DEBUG HTTPSender - > > > ----------------------------------------------- > > > 22 Oct 2010 03:26:50 DEBUG HTTPSender - <soap:Envelope > > > xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><ResponseHeader > > > xmlns="https://adwords.google.com/api/adwords/cm/v200909"><requestId>617d498fa3c7717bffa23d1c59215efe</requestId><operations>1</ope > > > > > > rations><responseTime>797</responseTime><units>1</units></ResponseHeader></ > > > soap:Header><soap:Body><getResponse > > > xmlns="https://adwords.google.com/api/adwords/cm/v200909"><rval><totalNumEntries>1</totalNumEntries><Page.Type>CampaignPage</Page.T > > > > > > ype><totalBudget><period>DAILY</period><amount><ComparableValue.Type>Money< > > > > > > /ComparableValue.Type><microAmount>10000000000</microAmount></amount><deliv > > > > > > eryMethod>STANDARD</deliveryMethod></totalBudget><entries><id>XXXXXXXX</id> > > > > > > <name>XXXXXXXXXX</name><status>ACTIVE</status><servingStatus>SERVING</servi > > > > > > ngStatus><startDate>20080114</startDate><endDate>20371230</endDate><budget> > > > > > > <period>DAILY</period><amount><ComparableValue.Type>Money</ComparableValue. > > > > > > Type><microAmount>10000000000</microAmount></amount><deliveryMethod>STANDAR > > > D</deliveryMethod></budget><biddingStrategy > > > xsi:type="ManualCPC" > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><BiddingStrategy.Type>ManualCPC</BiddingStrategy.Type></biddingStrategy>< > > > > > > autoKeywordMatchingStatus>OPT_OUT</autoKeywordMatchingStatus><adServingOpti > > > > > > mizationStatus>OPTIMIZE</adServingOptimizationStatus><frequencyCap><impress > > > > > > ions>0</impressions></frequencyCap></entries></rval></getResponse></soap:Bo > > > dy></soap:Envelope> > > > 22 Oct 2010 03:26:50 DEBUG HTTPSender - Exit: > > > HTTPDispatchHandler::invoke -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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
