I'm trying to filter campaigns by their Label. The predicate LabelIds 
CONTAINS_ANY works fine, but I don't want to have to make an additional 
network call to the API just to look up the LabelId first.

When trying the predicate Labels CONTAINS_ANY, I'm getting a 500 Internal 
Server Error response from the API.

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/8bd4b4a0-fca4-4074-ad9f-4788fbaa3305%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to