Invalid values for campaign state (and other types)

35 views
Skip to first unread message

markus...@s24.com

unread,
Feb 11, 2015, 11:51:24 AM2/11/15
to adwor...@googlegroups.com
Hi,

when querying for campaign states sometimes invalid values are returned, e.g. "6nabled" instead of "Enabled".
Is this a bug or a feature?

This happens for other types like e.g. keyword match type too.
The pattern seems to be, that the first character is replaced by a number.

Josh Radcliff (AdWords API Team)

unread,
Feb 11, 2015, 2:04:27 PM2/11/15
to adwor...@googlegroups.com
Hi,

Are you seeing this in reporting requests or SOAP requests? Could you post an example of a request and response, after removing any sensitive information? If you prefer, you can send those files only to me by clicking Reply to Author on this post.

Thanks,
Josh, AdWords API Team

Markus Heiden

unread,
Feb 12, 2015, 4:26:56 AM2/12/15
to adwordsapia...@google.com, adwor...@googlegroups.com
Hi Josh,

we are downloading the XML-Reports with the Java com.google.api.ads.adwords.lib.utils.v201409.ReportDownloader. I tried to reproduce it today, but did not get this case. I will send you a XML file, if this error happens again.

Markus 

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api...@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 a topic in the Google Groups "AdWords API Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adwords-api/S0zzk6YSNf8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adwords-api...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/fb4809a4-f6ad-4b58-a6a8-93225d14f780%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

markus...@s24.com

unread,
Apr 27, 2015, 3:44:05 AM4/27/15
to adwor...@googlegroups.com
Hi Josh,

thanks for your response, it pointed me to the right direction. We used cached instance of XMLInputFactory concurrently which is not thread-safe too. After fixing this, the problem did not occur anymore.

Thanks,
Markus 

Josh Radcliff (AdWords API Team)

unread,
Feb 12, 2015, 9:00:55 AM2/12/15
to adwor...@googlegroups.com, adwordsapia...@google.com
Hi Markus,

Thanks for the update. One thing to note is that ReportDownloader is not thread-safe, so if you're running reports concurrently, please make sure you use a separate instance of that class per thread.

Cheers,
Josh, AdWords API Team


Reply all
Reply to author
Forward
0 new messages