Thank you for your help.

On Tuesday, April 19, 2016 at 2:02:44 PM UTC-4, Nadine Sundquist (AdWords 
API Team) wrote:
>
> Greetings!
>
> It's good to hear that you're now getting results back. As for the results 
> running out of memory, the utility just retrieves the entire result from 
> the URL. It isn't streamed or broken down into smaller chunks. If you find 
> the result is too large, you have a couple of options:
>
>    - Increase the amount of memory on your system that your process is 
>    allowed to use.
>    - Decrease the number of operations per batch job, since you wouldn't 
>    be able to handle the size of the results.
>
> For the future, you could also file an issue on GitHub 
> <https://github.com/googleads/googleads-dotnet-lib/issues> to add the 
> feature of streaming results. 
>
> Cheers,
> Nadine, AdWords API Team
>
> On Tuesday, April 19, 2016 at 1:16:58 PM UTC-4, goingdev wrote:
>>
>> Thank you for that... I tried excluding the predicates and I didn't get 
>> any results. I realized I wasn't passing in the correct client customer ID. 
>> I'm able to retrieve the job now.
>>
>> I'm having another issue now with downloading the results. It's giving an 
>> "out of memory exception" on this line:
>>
>> BatchJobMutateResponse mutateResponse = 
>> batchJobUploadHelper.Download(batchJob.downloadUrl.url);
>>
>> Does the API not handle large jobs? Should I be batching them like I have 
>> been the MutateJobService?
>>
>>
>> On Tuesday, April 19, 2016 at 12:04:17 PM UTC-4, Nadine Sundquist 
>> (AdWords API Team) wrote:
>>>
>>> Hello,
>>>
>>> It sounds like you're working your way through our Batch Processing 
>>> guide <https://developers.google.com/adwords/api/docs/guides/batch-jobs> 
>>> for your migration. I have a few questions to ask to help you troubleshoot:
>>>
>>>    - Are you using the batch job utility provided by the client library 
>>>    to upload your operations?
>>>    - Have you tried calling just BatchJobSerice.get() 
>>>    
>>> <https://developers.google.com/adwords/api/docs/reference/v201603/BatchJobService#get>
>>>  without 
>>>    predicates to see if your job appears?
>>>    - How are you getting the batch job ID? Are you getting it from the 
>>>    BatchJob.id 
>>>    
>>> <https://developers.google.com/adwords/api/docs/reference/v201603/BatchJobService.BatchJob#id>
>>>     field?
>>>
>>> Regards,
>>> Nadine, AdWords API Team
>>>
>>> On Tuesday, April 19, 2016 at 11:39:01 AM UTC-4, goingdev wrote:
>>>>
>>>> How do I troubleshoot this?   I'm trying to migrate to BatchJobService 
>>>> but cannot do so if I cannot retrieve job results reliably.
>>>>
>>>> On Monday, April 18, 2016 at 4:28:56 PM UTC-4, goingdev wrote:
>>>>>
>>>>> I'm getting this for a few job IDs
>>>>>
>>>>> Request:
>>>>> <?xml version="1.0" encoding="utf-8"?>
>>>>> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"; 
>>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:xsd="
>>>>> http://www.w3.org/2001/XMLSchema";>
>>>>>   <soap:Header>
>>>>>     <RequestHeader xmlns="
>>>>> https://adwords.google.com/api/adwords/cm/v201601";>
>>>>>       <developerToken xmlns="
>>>>> https://adwords.google.com/api/adwords/cm/v201601";>x</developerToken>
>>>>>       <clientCustomerId xmlns="
>>>>> https://adwords.google.com/api/adwords/cm/v201601
>>>>> ">x</clientCustomerId>
>>>>>       <userAgent xmlns="
>>>>> https://adwords.google.com/api/adwords/cm/v201601";>x</userAgent>
>>>>>     </RequestHeader>
>>>>>   </soap:Header>
>>>>>   <soap:Body>
>>>>>     <get xmlns="https://adwords.google.com/api/adwords/cm/v201601";>
>>>>>       <selector>
>>>>>         <fields>Id</fields>
>>>>>         <fields>Status</fields>
>>>>>         <fields>DownloadUrl</fields>
>>>>>         <fields>ProcessingErrors</fields>
>>>>>         <fields>ProgressStats</fields>
>>>>>         <predicates>
>>>>>           <field>Id</field>
>>>>>           <operator>EQUALS</operator>
>>>>>           <values>86004965</values>
>>>>>         </predicates>
>>>>>       </selector>
>>>>>     </get>
>>>>>   </soap:Body>
>>>>> </soap:Envelope>
>>>>>
>>>>> Response:
>>>>> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
>>>>>   <soap:Header>
>>>>>     <ResponseHeader xmlns="
>>>>> https://adwords.google.com/api/adwords/cm/v201601";>
>>>>>       <requestId>000530c82fda85e00ac13c16640092ee</requestId>
>>>>>       <serviceName>BatchJobService</serviceName>
>>>>>       <methodName>get</methodName>
>>>>>       <operations>1</operations>
>>>>>       <responseTime>424</responseTime>
>>>>>     </ResponseHeader>
>>>>>   </soap:Header>
>>>>>   <soap:Body>
>>>>>     <getResponse xmlns="
>>>>> https://adwords.google.com/api/adwords/cm/v201601";>
>>>>>       <rval>
>>>>>         <totalNumEntries>0</totalNumEntries>
>>>>>         <Page.Type>BatchJobPage</Page.Type>
>>>>>       </rval>
>>>>>     </getResponse>
>>>>>   </soap:Body>
>>>>> </soap:Envelope>
>>>>>
>>>>>
>>>>>
>>>>> On Friday, April 15, 2016 at 3:30:59 PM UTC-4, Yin Niu wrote:
>>>>>>
>>>>>> Hi, 
>>>>>>
>>>>>> Do you have the SOAP request and response logs for this job? Pleaase 
>>>>>> click *Reply privately to author* in the forum when responding. 
>>>>>>
>>>>>> Thanks,
>>>>>> Yin, AdWords API Team. 
>>>>>>
>>>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/b0e6ff85-24fc-4085-b22c-4b508e819906%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Retrieving Bat... goingdev
    • Re: Retri... 'Yin Niu' via AdWords API Forum
      • Re: R... goingdev
        • R... goingdev
          • ... 'Nadine Sundquist (AdWords API Team)' via AdWords API Forum
            • ... goingdev
              • ... 'Nadine Sundquist (AdWords API Team)' via AdWords API Forum
                • ... goingdev

Reply via email to