Hi Wilrik,

Thanks for pointing this out, it sounds like there is some room for
improvement when it comes to the way the BulkMutateJobService works in
the Ruby client library.  The best course of action would be to create
a feature request on the issue tracker of that library's project:

  http://code.google.com/p/google-api-adwords-ruby/issues/list

One of the maintainers of the project will follow up with you from
there.

Best,
- Eric Koleda, AdWords API Team

On May 7, 8:18 am, Wilrik Mook <wil...@gmail.com> wrote:
> 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>#&lt;AdWords::V200909::AdGroupService::AdGroupOperation:
> 0x66570d8&gt;</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.comhttp://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 
> athttp://groups.google.com/group/adwords-api?hl=en

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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

Reply via email to