Hello Praveen,
The CampaignType field is not available in the criteria performance report,
hence it is not possible to filter by CampaignType field. However to get an
idea on using predicates with selector I am filtering the results with
CriteriaType filed. Please find my report definition below.
report = {
'reportName': 'Last 7 days CRITERIA_PERFORMANCE_REPORT',
'dateRangeType': 'LAST_7_DAYS',
'reportType': 'CRITERIA_PERFORMANCE_REPORT',
'downloadFormat': 'CSV',
'selector': {
'fields': ['CampaignId', 'AdGroupId',
'Id', 'CriteriaType',
'Criteria', 'FinalUrls',
'Impressions', 'Clicks', 'Cost'],
'predicates': [{
'field': 'CriteriaType',
'operator': 'EQUALS',
'values': ['KEYWORD']
}]
}
}
Please let me know if you have any further questions.
Regards,
Sai Teja, Google Ads API Team
ref:_00D1U1174p._5001UBo9Ky:ref
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/OrNmA000000000000000000000000000000000000000000000PTGLGP00VNoVCmq1QaWOPUXRZwta0Q%40sfdc.net.