Hi William,
Thanks for reaching out to the Google Ads API Forum.
Kindly note that Google Ads API retrieves data that you can see in the Google Ads UI. You mentioned that you are comparing the cost for the campaign and the ad_group_ad_asset_view. Having said that, please note that it is not recommended to compare the cost of these 2 as they are at different levels. The campaign report is for the campaign level and the ad_group_ad_asset_view is for the ad level. So it is expected that the cost pulled from these 2 reports are not equal.
Please see reference below:
For ad_group_ad_asset_view:
SELECT metrics.cost_micros FROM ad_group_ad_asset_view WHERE segments.date = '20221104'
"summaryRow": {
"metrics": {
"costMicros": "23061269818"
}
}
For campaign:
SELECT metrics.cost_micros FROM campaign WHERE segments.date = '20221104’
"summaryRow": {
"metrics": {
"costMicros": "25890341030"
}
}
Let me know if you have further questions.
Regards,
|
||||||