Hi Gabriel,

Thanks for sending over the logs.  I see what you're saying - this is odd 
indeed.

While I'm investigating, could you work around this by limiting the number 
of ad groups or campaigns per request?  As long as the number of landscape 
points for your criteria is less than the *numberResults* on the request's *
paging* element you will get back all of the results in a single 
response/page.

Thanks,
Josh, AdWords API Team

On Monday, October 28, 2013 5:07:22 PM UTC-4, gabriel....@gmail.com wrote:
>
> Hi guys,
>
> Thanks for your replies.
>
> Please find attached the SOAP xml logs of the getCriterionBidLandscape API 
> call.
>
> Cheers,
> Gabriel
>
>
> On Monday, October 28, 2013 12:25:28 PM UTC-2, Josh Radcliff (AdWords API 
> Team) wrote:
>>
>> Hi Gabriel,
>>
>> Could you share the information Takeshi requested below?  Please make 
>> sure you remove any sensitive information from the logs before you post.
>>
>> Cheers,
>> Josh, AdWords API Team
>>
>> On Friday, October 18, 2013 12:40:04 AM UTC-4, Takeshi Hagikura (AdWords 
>> API Team) wrote:
>>>
>>> Hi Gabriel,
>>>
>>> Thanks for the report. 
>>> Can you please also share the request and response SOAP xml logs to see 
>>> what the returned totalNumEntries is?
>>> (Please remove the sensitive info)
>>>
>>> Best,
>>> - Takeshi, AdWords API Team
>>>
>>> On Tuesday, October 15, 2013 11:25:11 PM UTC+9, gabriel....@gmail.comwrote:
>>>>
>>>> Hi,
>>>>
>>>> I am trying to paginate the results of the getCriterionBidLandscape 
>>>> operation of the Data Service, however the totalNumEntries returned by 
>>>> the CriterionBidLandscapePage is not correct.
>>>>
>>>> I am using the .net client library and the version v201306 of the API.
>>>>
>>>> Bellow I paste part of my code.
>>>>
>>>> Any help will be appreciated.
>>>>
>>>> Thanks in advance,
>>>> Gabriel
>>>>
>>>>             // Gets the DataService
>>>>             DataService dataService = 
>>>> (DataService)user.GetService(AdWordsService.v201306.DataService);
>>>>  
>>>>             // Creates the selector.
>>>>             Selector selector = new Selector();
>>>>             selector.fields = new string[] { "CampaignId", "StartDate", 
>>>> "EndDate", "LocalImpressions", "LocalClicks", "LocalCost", "Bid", 
>>>> "MarginalCpc" };
>>>>  
>>>>             // Creates the predicate to filter the bid lanscapes for the 
>>>> selected keywords
>>>>             Predicate criterionPredicate = new Predicate();
>>>>             criterionPredicate.field = "CriterionId";
>>>>             criterionPredicate.@operator = PredicateOperator.IN;
>>>>             criterionPredicate.values = 
>>>> adGroupCriterionPage.entries.Select(k => 
>>>> k.criterion.id.ToString()).ToArray();
>>>>  
>>>>             selector.predicates = new Predicate[] { adGroupPredicate, 
>>>> criterionPredicate };
>>>>  
>>>>             // Creates paging controls
>>>>             selector.paging = new Paging();
>>>>             selector.paging.startIndex = 0;
>>>>             selector.paging.numberResults = 10000;
>>>>  
>>>>             CriterionBidLandscapePage criterionBidLandscapePage = null;
>>>>             do
>>>>             {
>>>>                 try
>>>>                 {
>>>>                     // Gets bid landscapes for the selected keywords
>>>>                     criterionBidLandscapePage = 
>>>> dataService.getCriterionBidLandscape(selector);
>>>>  
>>>>                     // Use criterionBidLandscapePage entries data
>>>>                 }
>>>>                 catch (Exception ex)
>>>>                 {
>>>>                     // Handle Error
>>>>                 }
>>>>  
>>>>                 selector.paging.startIndex += 10000;
>>>>             } 
>>>>             while (criterionBidLandscapePage.totalNumEntries > 
>>>> selector.paging.startIndex);
>>>>
>>>>
>>>>

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

--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to