Default value for JSON list fields

35 views
Skip to first unread message

Danilo B.

unread,
Feb 18, 2016, 8:36:02 AM2/18/16
to AdWords API Forum
Since API v201509, several fields containing multiple URLs are sent as JSON lists instead of semicolon delimited strings. Here's the excerpt from the docs:


If the docs specify the type as "List" and the comment mentions that it's in JSON format, I would assume that the absence of any app final URLs would result in the value "[]". But instead, the value " --" is returned in the CSV reports (fetched via the API).

Could this be changed to a more useful default, like an empty JSON list (or at least an empty string)? The current default is a bit awkward because it cannot just be passed through a JSON parser, instead there needs to be additional logic that determines whether this is JSON or not.

Best,
Danilo

Umesh Dengale

unread,
Feb 18, 2016, 2:59:21 PM2/18/16
to AdWords API Forum
Hello,

I have communicated above mentioned issue as a feature request to the engineering team. This may or may not get approved. Please check out our blog for the updates or announcements.

Thanks,
Umesh, AdWords API Team.
Reply all
Reply to author
Forward
0 new messages