Here is the original report definition

<tns:reportDefinition+xmlns:tns="https://adwords.google.com/api/adwords/cm/v201809";>
  <tns:selector>
    <tns:fields>ConversionRate
    </tns:fields>
    <tns:fields>Conversions
    </tns:fields>
    <tns:fields>CostPerConversion
    </tns:fields>
    <tns:fields>Date
    </tns:fields>
    <tns:fields>Device
    </tns:fields>
    <tns:fields>ExternalConversionSource
    </tns:fields>
    <tns:fields>Year
    </tns:fields>
    <tns:dateRange>
      <tns:min>20200228
      </tns:min>
      <tns:max>20200228
      </tns:max>
    </tns:dateRange>
  </tns:selector>
  <tns:reportName>Seems+this+is+required
  </tns:reportName>
  <tns:reportType>ADGROUP_PERFORMANCE_REPORT
  </tns:reportType>
  <tns:dateRangeType>CUSTOM_DATE
  </tns:dateRangeType>
  <tns:downloadFormat>CSV
  </tns:downloadFormat>
</tns:reportDefinition>

That resulted in this error

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  <reportDownloadError>
  <ApiError>
    <type>SelectorError.INVALID_FIELD_SELECTION
    </type>
    <trigger>ExternalConversionSource
    </trigger>
    <fieldPath>BiddableConversionRate
    </fieldPath>
  </ApiError>
  </reportDownloadError>

So I removed ConversionRate from the report definition, and the new error 
was

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  <reportDownloadError>
  <ApiError>
    <type> SelectorError.INVALID_FIELD_SELECTION
    </type>
    <trigger> ExternalConversionSource
    </trigger>
    <fieldPath> CostPerBiddableConversion
    </fieldPath>
    </ApiError>
  </reportDownloadError>

So I removed CostPerConversion and the report was able to download.

Referencing the docs for ExternalConversionSource 
<https://developers.google.com/adwords/api/docs/appendix/reports/adgroup-performance-report#externalconversionsource>
 
though, neither ConversionRate nor CostPerConversion are listed under "Not 
compatible with the following fields".

Is this a regression in the API? Is this a failure to update docs?

For context, all of these requests were made using the Python client 
<https://github.com/googleads/googleads-python-lib>.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@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 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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/7f23215b-bb5f-45ee-bc68-cbcd35e1b21bn%40googlegroups.com.
  • Incompatible fields in ... 'Andy Lu' via AdWords API and Google Ads API Forum

Reply via email to