client.DownloadReport(
report_definition={
'reportName': 8099393253,
'dateRangeType': 'CUSTOM_DATE',
'reportType': 'CRITERIA_PERFORMANCE_REPORT',
'downloadFormat': 'XML',
'selector': {
'fields': [
'AdGroupId',
'AdNetworkType1',
'BidModifier',
'CpcBid',
'CampaignId',
'Clicks',
'ClickType'
'Cost',
'CriteriaType',
'Date',
'Device',
'DisplayName',
'Id',
'Impressions',
],
'dateRange': {'min': '2016-09-08', 'max': '2016-09-09'},
}
},
output=open('/path', 'w'),
include_zero_impressions=False
)
It's already supported by API itself, but isn't supported by Python library. Do you mean there is no support in Python library yet?
Hello Igor,There are no support for this criteria type in AdWords API yet.I'm not aware of the plan to support this in the near future.
For the release announcement, you can follow our announcements thread.Best,Thanet, AdWords API Team
On Wednesday, September 14, 2016 at 2:04:12 AM UTC+9, Shwetha Vastrad (AdWords API Team) wrote:Hi Igor,Could you provide the complete report definition you are using to download report data along with a sample report in which the custom affinity audience criteria are missing? Please use Reply privately to author when responding.Thanks,Shwetha, AdWords API Team.
--To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/7cbdad6c-61c8-426b-a20e-823f9ea63ffa%40googlegroups.com.
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscribe@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 a topic in the Google Groups "AdWords API Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adwords-api/jbW1WQ1iWoM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adwords-api+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
There is anounce of this criteria type in criteria performance report in API v201601.
Hi Igor,Yes, but the data is not fed into that criteria type yet.
That's why you're not seeing anything.I know that this is confusing to you.
I've given feedback to engineering as a feature request already.
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 a topic in the Google Groups "AdWords API Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adwords-api/jbW1WQ1iWoM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adwords-api...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/7cbdad6c-61c8-426b-a20e-823f9ea63ffa%40googlegroups.com.
The list of possible enum values for the CriteriaType field on the CRITERIA_PERFORMANCE_REPORT has expanded to include:
PARENT
- Parental statusCUSTOM_AFFINITY
- Custom affinity"Hi Igor,No. I meant the data itself is not available in AdWords API, not related to any client libraries.
And I need criteria performance report in single attribution. This is mandatory and critical for us.
But the problem is not in attribution. Problem is that API don't return lines with Custom Affinity, but AdWords script do, GA also show this data.
BTW the total costs/clicks/impressions in criteria performance report from API are less than actual costs!
Hi Igor,And I need criteria performance report in single attribution. This is mandatory and critical for us.Could you please clarify why you need this report type despite the behavior I explained before, that is, you can't guarantee what to get back?
But the problem is not in attribution. Problem is that API don't return lines with Custom Affinity, but AdWords script do, GA also show this data.API does return custom affinity but as I explained before, not in all situations that it will return custom affinity back, because it's a single attribution.Besides, GA and AdWords Script doesn't always use the same infrastructure as AdWords API.We can't expect the same behaviors across the products.
BTW the total costs/clicks/impressions in criteria performance report from API are less than actual costs!If you mean comparing the result from criteria performance report with that in Display Network of UI, then it's as expected.Those in UI are mainly multiple attribution reports and the total number of stats mostly can't be matched directly with the single attribution reports.
We use it for matching with orders using gclid (click performance report) , orders calculated by our own attribution. This report contain all spends on targeting level (keyword_id). Google Analytics do the same.
BTW Click performance report contains custom affinity. So currently we cannot match the data correctly. How GA do it? Use different infrastructure, hidden from advertisers, even for big advertiser.
What do you mean? We've compared result from script and API: it's the same except lines with custom affinity.
Hello Igor,We use it for matching with orders using gclid (click performance report) , orders calculated by our own attribution. This report contain all spends on targeting level (keyword_id). Google Analytics do the same.
BTW Click performance report contains custom affinity. So currently we cannot match the data correctly. How GA do it? Use different infrastructure, hidden from advertisers, even for big advertiser.I still doubt if you can do in that way, as Click Performance Report returns only attribute-type fields, no metric fields.That's partly why you see custom affinity appears in the Click Performance Report, but not in the Criteria Performance Report.Originally, they gather data in a different way.Let me check with engineering to find more.
What do you mean? We've compared result from script and API: it's the same except lines with custom affinity.To be clear, do you compare the result from script with API or do you compare the result from Click Performance Report with Criteria Performance Report?
If the former (you run the same report type, but from script and from API), could you please send me the result and AWQL?
I need to use that information to pass to engineering so that we can see what happens.
Hi, any updates here?