Hello, I am building a Ruby application which makes use of the Ruby client library. I am trying to use the BulkMutateJobService when the number of operations exceeds the threshold of 100 operations. These operations are constructed like they normally would, as instructed by step 1 here: http://code.google.com/apis/adwords/v2009/docs/bulkjobs.html This seems to be a problem, as I keep getting an error:
SOAP Error: Unmarshalling Error: cvc-type.2: The type definition cannot be abstract for element n2:operations. (code: 0) After debugging the SOAP stream, it seems that indeed the content of an operations tag are not correct: <n2:operations>#<AdWords::V200909::AdGroupService::AdGroupOperation: 0x66570d8></n2:operations> It looks like the AdGroupOperation is not converted to xml. So I changed it to an AdWords::V200909::BulkMutateJobService::AdGroupOperation at creation of the operation and this made it work. It seems that AdWords::V200909::BulkMutateJobService has a duplicate class for just about every operation and object that would be used with any other service. Unfortunately this is not very intuitive and contradicts the instructions given in the url provided above. I checked the Java client library and it does not seem to have the same structure. So, am I missing something or is this intended behavior? Thanks in advance! -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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