Hi Team,
I wanted to filter the Campaign Performance Report based on CampaignId,
Can you please let me know how to do it?
ReportQuery query =
new ReportQuery.Builder()
.fields(
"CampaignId",
"CampaignName")
.from(ReportDefinitionReportType.CAMPAIGN_PERFORMANCE_REPORT)
// .where("Status").in("ENABLED", "PAUSED")
// .during(ReportDefinitionDateRangeType.LAST_7_DAYS)
.where("CampaignId").contains("78945612")
.build();
It gives an error as :
Report was not downloaded due to a DetailedReportDownloadResponseException
with errorText '<?xml version="1.0" encoding="UTF-8"
standalone="yes"?><reportDownloadError><ApiError><type>SelectorError.INVALID_PREDICATE_OPERATOR</type><trigger>CampaignId</trigger><fieldPath>selector.reportDefinition.selector</fieldPath></ApiError></reportDownloadError>',
trigger 'CampaignId' and field path 'selector.reportDefinition.selector'
Regards,
Anurag Sinha
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/d7def7f7-b8d7-4d61-912a-3c8576c77964n%40googlegroups.com.