Is this a bug using the Adwords API?

My Ruby code to make the call and puts the output to the console 
immediately:

user_list_srv = adwords_api.service(:AdwordsUserListService, API_VERSION)
user_lists = user_list_srv.get(:fields => FIELDS)[:entries]
puts user_lists
user_lists


The response is this:

{:id=>731210000, :is_read_only=>false, :name=>"All visitors (AdWords)", 
:size=>0, :user_list_type=>"UserList"}
10:55:08 web.1        | {:id=>"731210002", :is_read_only=>"false", 
:name=>"AdWords optimized list", :size=>"0", :list_type=>"LOGICAL", 
:user_list_type=>"LogicalUserList", :xsi_type=>"ns2:LogicalUserList"}

Notice for the first list, the :id and :size are Ints, with the 
:is_read_only a boolean. For the second list, they are all string types. 
(Note: I've changed the id values manually).

What is going on here? 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/d4beeefc-cf7e-41f6-b11e-6b810cf2cec2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... gotcha82
    • ... 'Michael Cloonan (AdWords API Team)' via AdWords API and Google Ads API Forum

Reply via email to