AD_PERFORMANCE_REPORT and criterionId

26 views
Skip to first unread message

Darkcookie

unread,
Feb 27, 2017, 5:01:11 AM2/27/17
to AdWords API Forum

Hi, i'm trying to get Cost from AD_PERFORMANCE_REPORT using Id, Date and CriterionId. 

Does that means, that i will get cost for every Ad Id, Date and Keyword ID, or i need to add Criterion Type = 'Keyword' in my query? 
It's not obvious, because the description of CriterionId says, that it's a KeyWordID, but CriterionType contains not only Keyword. 
Can you explain this to me, please?

Vishal Vinayak (Adwords API Team)

unread,
Feb 27, 2017, 12:00:16 PM2/27/17
to AdWords API Forum
Hi,

Ad Performance Report is a single attribution report when the field CriterionId (xml attribute: KeywordId) is included in the request. This means that the report would contain impressions and all of the stats attributed to a single criterion (associated with the CriterionId in the row).  However, please note that the report would contain data for all criteria types (age range, location, keyword etc.) and if you would want to filter only the keyword type criteria, you would have to add a CriteriaType filter to the request i.e CriteriaType=KEYWORD. Please revert if you have additional questions.

Regards,
Vishal, AdWords API Team
Reply all
Reply to author
Forward
0 new messages