Hey Sreelakshmi,

I'm not talking about processing the jobs.   The processing time is quite 
quick.  I'm referring to uploading the jobs to Google.

I'm trying to figure out how to get my data (upload it) to Google faster. 
 Once it is uploaded, it processes quite quickly - but I'm unsure if 
compression is actually working - Am I making the Compression call correct 
above? or is Compression enabled by default for SOAP PUT requests including 
GZIP?

Also - are there any other another ways to get the data into Google faster?

On Tuesday, May 9, 2017 at 3:10:41 PM UTC-4, DS wrote:
>
> Hello,
>
> I'm utilizing the BatchJobService to update AdGroups and I'm trying to 
> figure out how to speed up my uploads.
>
> I can upload Incrementally in batch Operation sizes of 10k each time which 
> on average, takes about 7-8 minutes.  Across 43 campaigns / ~750,000 
> adGroups, the amount of time would take 3-4 hours.  I'd love to figure out 
> how to get this down to less than an hour if possible.
>
> I've tried playing around with the PHP API library and compressionLevel to 
> see if it improves upload  performance but I'm not sure it's working.  I've 
> tried sniffing the traffic between Google and my servers during the upload, 
> but it's encrypted so I can't see if I'm fully submitting a GZIP request. 
>  I've also added 'gzip' to my user agent but it's still not improving 
> upload speed or upload performance.   I would have thought GZIP compression 
> would work better because it is Text / XML.
>
> I've also tried changing my Batch Operations upload sizes to between 1,000 
> to 10,000 to figure out if that would improve upload performance.
>
> Here's the SoapSettingsBuilder / AdWordsSessionBuilder code I'm using - 
>     $soapSettings = (new SoapSettingsBuilder())
>         ->fromFile()
>         ->withCompressionLevel(9)
>         ->build();
>
>     $session = (new AdWordsSessionBuilder())
> ->withClientCustomerId(*REDACTED*)
>         ->withSoapSettings($soapSettings)        
> ->withDeveloperToken(*REDACTED*)
>         ->withUserAgent('My App (gzip)')
>         ->withOAuth2Credential($oAuth2Credential)
>         ->build();
>
> Maybe I'm missing something but are there any other ideas to improve 
> performance to get the data to Google?
>
> Thanks.
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/d69e611c-e68d-472e-9b45-de1283760b13%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • BatchJob... DS
    • Re:... 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum
    • Re:... DS
    • Re:... 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum

Reply via email to