Campaign Metrics.costMicros (api) not matched with campaign cost in UI invoice (pdf)

104 views
Skip to first unread message

Nacho Peralta

unread,
Dec 5, 2022, 2:14:08 PM12/5/22
to Google Ads API and AdWords API Forum
Hi,

I download invoice pdf from Google Ads UI and I retrieve campaign metrics by query in SearchStream method where segment.dates are between dates of invoice month.
In some cases, campaign.costmicros (from query) not match with campaign cost in invoice (from pdf).

Why is this happening?

Is any way to retrieve campaign cost from invoice via Google Ads api?

Thanks!

Google Ads API Forum Advisor

unread,
Dec 6, 2022, 2:58:54 AM12/6/22
to nacpe...@gmail.com, adwor...@googlegroups.com

Hi Nacho,

Thank you for raising this concern to the Google Ads API Forum. I hope you are doing well today.

I see that you are having issues with the campaign.costmicros (from query) in Google Ads API with the mismatch outcome of campaign cost in invoice pdf from Google Ads UI.

Can you confirm if you are referring to this Invoice? If yes, then you may follow this document to retrieve invoice data using Google Ads API.

Alternatively or if issues still persist, please provide a full screenshot of the problem in the UI showing the data you want to retrieve, and the complete API logs (request and response logs with request ID). You can provide it via Reply privately to author option. If this option is not available, then send it instead on this email address googleadsa...@google.com.

Have a great day.

Regards,

Google Logo
Carmela
Google Ads API Team
 


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