Hi,

I am using DataService (v201101) to retrieve bid landscape data. The
documentation says that the date range can be selected.

Please refer, 
http://code.google.com/apis/adwords/docs/reference/latest/DataService.DateRange.html.

However, the start date and end date in the results doesn't seem to
comply with the selected date range. Please have a look at the SOAP
messages below. The min and max values for the dateRange are 20110814
and 20110829 respectively.

<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/
v201101"><ns1:authToken xmlns:ns1="https://adwords.google.com/api/
adwords/cm/v201101">******</ns1:authToken><ns1:clientCustomerId>xxxxx</
ns1:clientCustomerId><ns1:developerToken>xxxxxxx</
ns1:developerToken><ns1:userAgent>AdWords API Java Client Library -
v8.3.0 - null</ns1:userAgent><ns1:validateOnly>false</
ns1:validateOnly><ns1:partialFailure>false</ns1:partialFailure></
ns1:RequestHeader></
soapenv:Header><soapenv:Body><getCriterionBidLandscape xmlns="https://
adwords.google.com/api/adwords/cm/
v201101"><serviceSelector><fields>AdGroupId</
fields><fields>CriterionId</fields><fields>StartDate</
fields><fields>EndDate</fields><fields>Bid</
fields><fields>LocalClicks</fields><fields>LocalCost</
fields><fields>MarginalCpc</fields><fields>LocalImpressions</
fields><predicates><field>AdGroupId</field><operator>IN</
operator><values>378768547</values></
predicates><predicates><field>CriterionId</field><operator>IN</
operator><values>18788619727</values><values>12526754407</values></
predicates><dateRange><min>20110814</min><max>20110829</max></
dateRange></serviceSelector></getCriterionBidLandscape></
soapenv:Body></soapenv:Envelope>


and part of the response,

<ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/
v201101"><requestId>0004ae14af4a0f800a1150a300003f60</
requestId><operations>1</operations><responseTime>340</
responseTime><units>1</units></ResponseHeader></
soap:Header><soap:Body><getCriterionBidLandscapeResponse
xmlns="https://adwords.google.com/api/adwords/cm/
v201101"><rval><totalNumEntries>1</
totalNumEntries><Page.Type>CriterionBidLandscapePage</
Page.Type><entries><DataEntry.Type>CriterionBidLandscape</
DataEntry.Type><adGroupId>378768187</adGroupId><startDate>20110921</
startDate><endDate>20110927</
endDate><landscapePoints><bid><ComparableValue.Type>Money</
ComparableValue.Type><microAmount>260000</microAmount></bid><clicks>0</
clicks><cost><ComparableValue.Type>Money</
ComparableValue.Type><microAmount>0</microAmount></
cost><marginalCpc><ComparableValue.Type>Money</
ComparableValue.Type><microAmount>0</microAmount></
marginalCpc><impressions>49</impressions></landscapePoints>

The startDate and endDate are 20110921 and 20110927 are not in the
defined range! How is it possible to confine the results into a fixed
date range? Please advice.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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

Reply via email to