Incompatible fields in Ad Group Performance

166 views
Skip to first unread message

Andy Lu

unread,
May 12, 2021, 2:20:39 PM5/12/21
to AdWords API and Google Ads API Forum

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 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.

Google Ads API Forum Advisor Prod

unread,
May 12, 2021, 3:37:14 PM5/12/21
to adwor...@googlegroups.com

Hi Andy,

Thank you for reaching out. If the error shows that these fields are not compatible then it means you are not supposed to use them at the same time as it’s not supported. Our top priority right now is to get the new Google Ads API ready for general availability. As such, we aren't planning on adding enhancements to the AdWords API, but we will continue to address any bugs as they are found.

Thanks and regards,
Xiaoming, Google Ads API Team

 

Google Logo
Xiaoming
Google Ads API Team
 


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