Hi all,
When I try to pull data from topic_constant and
mobile_app_category_constant I see similar malformed result only with the
first element in a returned array.
*Resource:* topic_constant
*Query: *SELECT topic_constant.resource_name, topic_constant.id,
topic_constant.path, topic_constant.topic_constant_parent FROM
topic_constant
*First element in response:*
{ "topic_constant": { "id": "0", "topic_constant_parent":
"topicConstants/-1", "path": [ "" ] } }
*Second (and other) elements in response:*
{ "topic_constant": { "resource_name": "topicConstants/3", "id": "3", "path":
[ "", "Arts & Entertainment" ] } }
*Comment: *As you can see there is no resource_name in first element, id is
zero (why?)
*Resource:* mobile_app_category_constant
*Query: *SELECT mobile_app_category_constant.resource_name,
mobile_app_category_constant.id, mobile_app_category_constant.name FROM
mobile_app_category_constant
*First element in response:*
{ "mobile_app_category_constant": { "id": 0, "name": "/" } }
*Second (and other) elements in response:*
{ "mobile_app_category_constant": { "resource_name":
"mobileAppCategoryConstants/60000", "id": 60000, "name": "Google Play" } }
*Comment: *As you can see there is no resource_name in first element, id is
zero (why?)
----------
I am using Python Google Ads library
<https://github.com/googleads/google-ads-python> v15.0.0 (Google Ads v10)
and executing query via service.search_stream() method.
My assumption that response is malformed is because there is no
resource_name
All other resources that I query do not have this behaviour.
Tested on multiple customer accounts.
I see this only with two resources, but it may also exist on others.
Other _constant resources do not have this behaviour.
My question is: Is this a bug or a valid element?
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [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
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/5ba9cb6b-55e1-4d85-8162-16e30bf150dfn%40googlegroups.com.