Hello, Are you consistently getting 500 errors when using UNKNOWN in the predicate? If so, I will file a bug with the team, as even if this is an error case, an HTTP 500 error is not the right way to indicate that.
Regards, Mike, AdWords API Team On Monday, December 8, 2014 3:04:30 PM UTC-5, Zweitze wrote: > > I found it. Apparently you cannot use value "UNKNOWN" for a predicate on > Status. > > But I need those campaigns too. As I recall, when you leave out a > predicate on Status, your results may get filtered on certain status > values. This happened in the past (remember the 'automatic' filters on > creatives etc.) and I never got word that the issue with auto-filters was > resolved. So I need to include this predicate. > Mind you, if I add a filter with all predicate values *except* "UNKNOWN", > I would assume that campaigns with status "unknown" will be left out from > the result. I don't want that. > > According to the documentation, "UNKNOWN" is a valid predicate value, and > "unknown" is a valid display value. So the documentation is wrong and/or > the implementation is wrong. > How do I go on from here? How can I get campaigns with status "unknown"? > > Thanks in advance! > > > On Monday, December 8, 2014 6:37:17 PM UTC+1, Zweitze wrote: >> >> Hello, >> >> At development of the v201409 migration I noticed this error on a report >> of type CAMPAIGN_PERFORMANCE_REPORT. The error happened four times in a row >> (30 seconds interval), and never happened four times in a row on earlier >> versions. >> >> This is the report: >> <?xml version="1.0"?> >> <reportDefinition> >> <selector xmlns="https://adwords.google.com/api/adwords/cm/v201409"> >> <fields>AccountDescriptiveName</fields> >> <fields>AccountCurrencyCode</fields> >> <fields>AccountTimeZoneId</fields> >> <fields>CampaignId</fields> >> <fields>CampaignName</fields> >> <fields>CampaignStatus</fields> >> <fields>Amount</fields> >> <fields>AdvertisingChannelType</fields> >> <predicates> >> <field>Status</field> >> <operator>IN</operator> >> <values>UNKNOWN</values> >> <values>ENABLED</values> >> <values>PAUSED</values> >> <values>REMOVED</values> >> </predicates> >> </selector> >> <reportName >> xmlns="https://adwords.google.com/api/adwords/cm/v201409">CampaignInfo_All_Time</reportName> >> >> >> <reportType >> xmlns="https://adwords.google.com/api/adwords/cm/v201409">CAMPAIGN_PERFORMANCE_REPORT</reportType> >> >> >> <dateRangeType >> xmlns="https://adwords.google.com/api/adwords/cm/v201409">ALL_TIME</dateRangeType> >> >> >> <downloadFormat xmlns=" >> https://adwords.google.com/api/adwords/cm/v201409">GZIPPED_XML</downloadFormat> >> >> >> <includeZeroImpressions xmlns=" >> https://adwords.google.com/api/adwords/cm/v201409">true</includeZeroImpressions> >> >> >> </reportDefinition> >> >> Our request headers: >> Content-Type >> application/x-www-form-urlencoded >> Authorization >> Bearer ya29.1...3Leq25 >> clientCustomerId >> 8928384200 >> developerToken >> kNkfox...m9qg_g >> skipReportHeader >> True >> skipReportSummary >> True >> User-Agent >> Adwords API by Maxlead >> Host >> adwords.google.com >> Content-Length >> 1445 >> Expect >> 100-continue >> Accept-Encoding >> gzip, deflate >> >> AdWords API Response headers: >> X-Content-Type-Options >> nosniff >> X-Frame-Options >> SAMEORIGIN >> X-XSS-Protection >> 1; mode=block >> Transfer-Encoding >> chunked >> Cache-Control >> private, max-age=0 >> Content-Type >> text/xml >> Date >> Mon, 08 Dec 2014 16:38:32 GMT >> Expires >> Mon, 08 Dec 2014 16:38:32 GMT >> Server >> GSE >> >> As stated before, this is an exact copy of the report we requested in >> earlier versions. But there is one small difference, we use flags >> skipHeaderReport and skipHeaderSummary in this version. >> >> Is v201409 not stable yet? >> >> Thank in advance, >> Zweitze de Vries >> > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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+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 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 http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/0fbd7ac5-bd27-41b8-b179-a78c8df5c99f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.