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,
Marjorie
Google Ads API Team
ref:_00D1U1174p._5004Q2h2KRf:ref
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/2f2VW000000000000000000000000000000000000000000000RMTEVM00wNOv5S_rS8q8AbW-nPIpmg%40sfdc.net.