How to get conversion-specific data in KEYWORDLESS_QUERY_REPORT

25 views
Skip to first unread message

Zweitze

unread,
Mar 12, 2020, 12:45:20 PM3/12/20
to AdWords API and Google Ads API Forum
Hi,

You won't believe what I just learnt: look at the documentation of KEYWORDLESS_QUERY_REPORT, field ConversionTrackerId (direct link). At section "not compatible with" it says you cannot use this with fields Conversions and ConversionValue!

How is this possible? How can I find out how many conversions were realized, segmented by type?


AdWords API seems to behave according this documentation. I get this error:
ReportDefinitionError.INVALID_FIELD_NAME_FOR_REPORT->ConversionTrackerId (Cannot select a combination of ConversionTrackerId and AverageCpc,AverageCpm,Clicks,ConversionRate,Conversions,Cost,CostPerConversion,Ctr,Impressions,ValuePerConversion)

For the record a sample report definition generating this error:
<?xml version="1.0" encoding="utf-8"?>
<reportDefinition>
   <selector xmlns="https://adwords.google.com/api/adwords/cm/v201809">
       <fields>CampaignId</fields>
       <fields>AdGroupId</fields>
       <fields>Query</fields>
       <fields>Url</fields>
       <fields>ConversionTrackerId</fields>
       <fields>Conversions</fields>
       <fields>ViewThroughConversions</fields>
       <fields>ConversionValue</fields>
       <predicates>
           <field>CampaignStatus</field>
           <operator>IN</operator>
           <values>ENABLED</values>
           <values>PAUSED</values>
           <values>REMOVED</values>
       </predicates>
       <predicates>
           <field>AdGroupStatus</field>
           <operator>IN</operator>
           <values>ENABLED</values>
           <values>PAUSED</values>
           <values>REMOVED</values>
       </predicates>
       <dateRange>
           <min>20200213</min>
           <max>20200311</max>
       </dateRange>
   </selector>
   <reportName xmlns="https://adwords.google.com/api/adwords/cm/v201809"> KeywordlessQueryConversions 05-03-2020...12-03-2020</reportName>
   <reportType xmlns="https://adwords.google.com/api/adwords/cm/v201809">KEYWORDLESS_QUERY_REPORT</reportType>
   <dateRangeType xmlns="https://adwords.google.com/api/adwords/cm/v201809">CUSTOM_DATE</dateRangeType>
   <downloadFormat xmlns="https://adwords.google.com/api/adwords/cm/v201809">GZIPPED_XML</downloadFormat>
</reportDefinition>

I guess it fails on any account with DSA and at least one conversion type, but I can confirm it fails on account 5102373090
Nevertheless, I mainly wonder how to get segmented conversions? Is this some oversight? Will it be corrected?

Zweitze

unread,
Mar 12, 2020, 12:53:15 PM3/12/20
to AdWords API and Google Ads API Forum
In above sample report I accidently added field "ViewThroughConversions", which is not allowed anyway.
Without that field you get the error I mentioned. (Even with that field you get the same error, go figure...)

Google Ads API Forum Advisor Prod

unread,
Mar 13, 2020, 9:56:23 AM3/13/20
to zwe...@gmail.com, adwor...@googlegroups.com
Hi Zweitze,

Thank you for reaching out. Unfortunately, this isn't possible using the keywordless query report. If you would like to get that data, you should use a report that supports returning conversions segmented by type.

Regards,
Mitchell
Google Ads API Team

ref:_00D1U1174p._5001UXUuU9:ref
Reply all
Reply to author
Forward
0 new messages