Wednesday, 26 October 2016

How to deal with "--" values

Hi,

In v201603 we got a change in reporting, string fields with NULL values are consistently reported as "--". I always wondered how to work with this, since "--" is a perfectly valid string value. Yes, you can create a campaign named "--", and a group too. (Google: just check campaign 688822988, and group 386353)

But maybe those fields can never be NULL, so my first question is: which fields are nullable and which fields are not? Ideally I would like to see the reporting documentation extended, telling for every field whether it is nullable or not.

Recently certain fields are reported as NULL which didn't happen before - especially Path1 and Path2 of extended text ads. And now it gets tricky, because "--" is actually a valid value for these fields... Check out the attached screenshot! (Google: you can find this ad in the group mentioned earlier).

But this particular ad gives me a problem, when I request an ad performance report, it both Path1 and Path2 report value "--". One of them should be interpreted as "--", the other as NULL. How can I do that?

So I have two questions:
1. Can the reporting documentation be updated, stating which fields can be NULL?
2. How does one distinguish NULL from the text "--"

Thanks in advance!

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
 
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+unsubscribe@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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscribe@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/50f01195-7fde-4ff5-9c77-99a40f3e5cdb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment