How can I filter reports for campaigns that have a given label's name? Attempting to use the predicate Labels CONTAINS_ANY labelName fails with a server error. The predicate LabelIds CONTAINS_ANY with the label ID works just fine, but I would rather not have to make an additional network call just to first look up the Label ID given the Label name.
Thanks, Jeff POST /api/adwords/reportdownload/v201802 HTTP/1.1 Content-Type: application/x-www-form-urlencoded Host: adwords.google.com Authorization: REDACTED developerToken: REDACTED clientCustomerId: 4625294097 User-Agent: FUEL API (AwApi-PHP, googleads-php-lib/34.0.0, PHP/7.1.3, GuzzleHttp/6.3.3, curl/7.38.0) skipReportHeader: true skipColumnHeader: true skipReportSummary: true useRawEnumValues: false includeZeroImpressions: true __rdxml=<?xml version="1.0"?> <reportDefinition><selector><fields>CampaignId</fields><fields>Cost</fields><fields>Labels</fields><fields>CampaignStatus</fields><fields>BudgetId</fields><fields>LabelIds</fields><predicates><field>Labels</field><operator>CONTAINS_ANY</operator><values>Video</values></predicates></selector><reportName>Campaign Budget Report for AdWords Client 4625294097</reportName><reportType>CAMPAIGN_PERFORMANCE_REPORT</reportType><dateRangeType>TODAY</dateRangeType><downloadFormat>CSV</downloadFormat></reportDefinition> Response: REDACTED REPORT DATA -------- Error: Server error: `POST https://adwords.google.com/api/adwords/reportdownload/v201802` resulted in a `500 Internal Server Error` response -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 "AdWords API and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. 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/838a3933-432c-4352-a1ff-cb3f011070d0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
