Hi Alan,

InternalApiError.UNEXPECTED_INTERNAL_API_ERROR means that something 
unexpected happened at our end. MutateJobService should be able to process 
the kind of batch size you provide without any issues.

Can you please provide the SOAP request id (or the sanitized SOAP logs)? 
You can turn on SOAP logging in the client library's settings.ini.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Wednesday, August 27, 2014 7:40:01 AM UTC-4, Alan Coleman wrote:
>
> Hello everyone,
>
> I'm creating some functionality in our app to build a fresh copy of a 
> campaign based on a current  campaign's ALL_TIME sqpr report. The report 
> has the potential to produces tens of thousands of search terms - Which 
> will in turn be created into AdGroups, TextAds, Keywords and Negatives.
>
> I'm using MutateJobService to bulk upload data in batches of 1000 records. 
> So for example if I need to create 16,000 AdGroups I'm chunking the array 
> of AdGroups into 16 x 1000 and making 16 MutateJobService requests in a 
> loop.
>
> This works, up to a point.
>
> I can created around 20,000 TextAds before  the script stops and I receive 
> an error (See below), although confusingly it just stops and I don't see an 
> error at all, or even an entry into my various logs.
>
> *Can anyone think of something I could be doing wrong?*
>
> *Am I asking for too much by pushing this much data through the API, even 
> using MutateJobService?*
>
> To give you an idea of what I'm trying to achieve, this is what the page 
> of my app looks like:
>
>
> <https://lh6.googleusercontent.com/-SPlWg0qUgmQ/U_3CUmnyF4I/AAAAAAAAAUM/yqsQAlAcRHU/s1600/AdWordsApi.PNG>
>
>
>
>
>
>
> *Fatal error*: Uncaught SoapFault exception: [soap:Server] 
> [InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ 
> com.google.ads.api.services.common.error.InternalApiError.<init>(InternalApiErro]
>  
> in 
> /home1/adwordsl/public_html/app/adwords_api_php_5.3.2/src/Google/Api/Ads/Common/Lib/AdsSoapClient.php:216
>  
> Stack trace: #0 
> /home1/adwordsl/public_html/app/adwords_api_php_5.3.2/src/Google/Api/Ads/Common/Lib/AdsSoapClient.php(216):
>  
> SoapClient->__soapCall('mutate', Array, NULL, Array, Array) #1 
> /home1/adwordsl/public_html/app/adwords_api_php_5.3.2/src/Google/Api/Ads/AdWords/v201402/MutateJobService.php(19169):
>  
> AdsSoapClient->__soapCall('mutate', Array) #2 
> /home1/adwordsl/public_html/app/php_inc/app_addtextadsinbulk.php(73): 
> MutateJobService->mutate(Array, Object(BulkMutateJobPolicy)) #3 
> /home1/adwordsl/public_html/app/appcampaignreset.php(484): 
> AddTextAdsInBulk(Object(AdWordsUser), Array) #4 {main} thrown in 
> */home1/adwordsl/public_html/app/adwords_api_php_5.3.2/src/Google/Api/Ads/Common/Lib/AdsSoapClient.php*
>  on 
> line *216*
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [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
--- 
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 [email protected].
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/d2de44a7-3b1b-4a54-8995-05f21b138279%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to