I'm trying to get Total cost, and Cost/conv. values that are displayed inside Google Adwords Keywords Filter (see attachment; row Total: Filtered Keywords, values marked in red).
First we retreive ACCOUNT_PERFORMANCE_REPORT containing Conversions, Cost and CostPerConversion fields.
From this report we take Cost field as Total Account Cost and CostPerConversion field as Total Account Cost Per Conversion.
Total Account Cost Per Conversion -
3384143 /
1000000 =
3.38If we compare these results to results from Google AdWords account (marked green in the screenshot) they seem to be correct.
Next, we are requesting KEYWORDS_PERFORMANCE_REPORT containing Conversions, Cost and CostPerConversion fields.
From this report we are filtering only those keywords that meet conversions > 0.00 criteria
After filtering we are summing Cost to get Total Filtered Keywords Cost and summing CostPerConversion field and dividing by number of filtered keywords.
Total Filtered Keywords Cost Per Conversion -
3333911.2398789 /
1000000 =
3.33Comparing these results to results from Google AdWords account (marked red in the screenshot) we see that those are not correct results.
What we need is the information on which Report Type we need to fetch from the API and how can we get those red marked results from the screenshot.
Thank you in advance!