Guys, Erik: I've been fighting with this for a week: Basically, I want to upload a few thousand keywords to an adgroup;
The problem is that I get -a lot- of timeouts when submitting the job parts; the only way I made it work was to make -very- small job parts (just 10 operations!!). I'm using the new google-api-ads-ruby; which apparently doesn't let you to set the timeout (but it waits for a long time before aborting!); This is the response for a short request I, [2011-04-21T15:02:12.197837 #31215] INFO -- : <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/ envelope/"><soap:Header><ResponseHeader xmlns="https:// adwords.google.com/api/adwords/cm/ v201101"><requestId>c8d8359e3cf223e18981254dff3866c4</ requestId><operations>1</operations><responseTime>424</ responseTime><units>1</units></ResponseHeader></ soap:Header><soap:Body><getResponse xmlns="https://adwords.google.com/ api/adwords/cm/v201101"><rval><context><authenticatedUserEmail>xx</ authenticatedUserEmail><effectiveCustomerId>xx</effectiveCustomerId></ context><billingSummary><numOperations>830</ numOperations><numUnits>6225</numUnits></ billingSummary><Job.Type>BulkMutateJob</ Job.Type><id>-2499447643469356053</id><policy/><status>PROCESSING</ status><numRequestParts>91</ numRequestParts><numRequestPartsReceived>91</numRequestPartsReceived></ rval></getResponse></soap:Body></soap:Envelope> And this is a sample req of adding a part, with 100 ops that is never responded: I, [2011-04-21T15:03:35.217750 #2565] INFO -- : ! CONNECT TO adwords.google.com:443 I, [2011-04-21T15:03:35.394615 #2565] INFO -- : ! CONNECTION ESTABLISHED I, [2011-04-21T15:03:38.214331 #2565] INFO -- : POST /api/adwords/job/ v201101/BulkMutateJobService HTTP/1.1 Content-Type: text/xml; charset=utf-8 SOAPAction: "" User-Agent: SOAP4R/1.6.1-SNAPSHOT (/, ruby 1.9.2 (2010-12-25) [x86_64- linux]) Date: Thu, 21 Apr 2011 18:03:35 GMT Content-Length: 76185 Host: adwords.google.com <?xml version="1.0" encoding="utf-8" ?> <env:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"> <env:Header> <n1:RequestHeader xmlns:n1="https://adwords.google.com/api/ adwords/cm/v201101" env:mustUnderstand="0"> <n1:authToken>x</n1:authToken> <n1:userAgent>Ruby-AwApi-0.1.1|AdwordsAmigo::BulkMutateJob</ n1:userAgent> <n1:developerToken>x</n1:developerToken> <n1:clientEmail>x</n1:clientEmail> </n1:RequestHeader> </env:Header> <env:Body> <n2:mutate xmlns:n2="https://adwords.google.com/api/adwords/cm/ v201101"> <n2:operation xsi:type="n2:JobOperation"> <n2:operator>ADD</n2:operator> <n2:operand xsi:type="n2:BulkMutateJob"> <n2:request> <n2:partIndex>0</n2:partIndex> <n2:operationStreams> <n2:scopingEntityId> <n2:type>CAMPAIGN_ID</n2:type> <n2:value>80093270</n2:value> </n2:scopingEntityId> <n2:operations xsi:type="n2:AdGroupCriterionOperation"> [....] after a while, it ends up with: I, [2011-04-21T15:03:38.223813 #2565] INFO -- : = Response I, [2011-04-21T15:04:38.225075 #2565] INFO -- : ! CONNECTION CLOSED Any hints? -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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