Step 2: Update Reports API Calls

Here are the steps you can take to successfully migrate your Reports API endpoint calls to use the new metrics.

For each metric below, you will need to update the API name with the new API name, and update the dimensions to ensure they are compatible with the new metric.

The compatible dimensions for the legacy metrics are different from the compatible dimensions for the new metrics. Visit our Conversions Metrics documentation for a full list of the supported dimensions per metric.

Update the CLICKS Metric

  1. Find and replace instances of CLICKS with the new API name: CLICK_COUNT.
  2. Review the dimensions applied to each metric and ensure that is is one of the supported dimensions.

Update the CONVERSIONS Metric

  1. Find and replace instances of CONVERSIONS with the new API name: CONVERSION_COUNT.
  2. Review the dimensions applied to each metric and ensure that is is one of the supported dimensions.

Update the CONVERSION_VALUE Metric

  1. Find and replace instances of CONVERSION_VALUE with the new API name: TOTAL_CONVERSION_VALUE.
  2. Review the dimensions applied to each metric and ensure that is is one of the supported dimensions.

Update the VALUE_PER_CONVERSION Metric

  1. Find and replace instances of VALUE_PER_CONVERSION with the new API name: AVERAGE_CONVERSION_VALUE.
  2. Review the dimensions applied to each metric and ensure that is is one of the supported dimensions.