Hey Jason,

Thanks, that helps decipher the docs a little better. What's strange is 
even though it says start/endDate are required I got it working only 
without those included. The issue seems to be that I was using the operator 
IN instead of EQUALS.




On Wednesday, October 24, 2012 7:02:54 PM UTC-4, Jason Stedman wrote:
>
> Ryan,
>
> I meant to link you to the pages in the docs to help explain this concept:
>
> The class CriterionBidLandscape:
>
>
> https://developers.google.com/adwords/api/docs/reference/latest/DataService.CriterionBidLandscape
>
> contains a list(or array) of BidLandscape.LandscapePoint:
>
>
> https://developers.google.com/adwords/api/docs/reference/latest/DataService.BidLandscape.LandscapePoint
>
> which has a required field "bid".
>
> Hope this helps!
>
> Jason
>
> On Wednesday, October 24, 2012 7:00:48 PM UTC-4, Jason Stedman wrote:
>>
>> Ryan,
>>
>> I suspect this has something to do with the fields you are selecting. 
>>
>> Both "startDate" and "endDate" are required, but I don't think this is 
>> the only issue.
>>
>> Something that is not obvious about the documentation is that members of 
>> a service object class are also selectable and may be required.
>>
>> What I mean here is that since you are selecting fields from 
>> CriterionBidLandscape, you may also be required to select fields from its 
>> child object BidLandscape.LandscapePoint to get a result. A BidLandscape is 
>> actually a collection of BidLandscape.LandscapePoint objects. In this case 
>> it is an Array of BidLandscape.LandscapePoint objects. So by requesting a 
>> CriterionBidLandscape without selecting the required field "bid" from the 
>> BidLandscape.LandscapePoint class, you are preventing yourself from getting 
>> any results. This goes for any service in the API.
>>
>>
>>

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