average_cpc or micro values are too large

22 views
Skip to first unread message

cv

unread,
Apr 14, 2023, 5:56:59 AM4/14/23
to Google Ads API and AdWords API Forum

Hello,

I can see that sometimes API is returning micros values as this.

[average_cpc] => 2685714.2857143

Can you please explain how I need to proceed to get values without micros.


Thanks,

Google Ads API Forum Advisor

unread,
Apr 14, 2023, 9:53:01 AM4/14/23
to chirag....@gmail.com, adwor...@googlegroups.com

Hi, 

Thanks for reaching out to the Google Ads API Team. I hope you are doing well today.

Moving forward to your concern about the issue with [average_cpc] => 2685714.2857143, for our team to further compare, investigate, and validate why you are encountering issues, can you provide more information with regards to this matter?
 

  • Provide the complete API (request and response with request-id) logs with request ID generated as shown in the respective links.
  • Complete screenshots (without cropping) from the Google Ads UI of the data you are retrieving.


We do this to check if there’s an error thrown and provide right recommendations. 

If you haven't enabled logging yet, it can be enabled by navigating to the Client libraries > Your client library (ex. Java) > Logging documentation, which you can access from this link. For REST interface requests, you can enable logging via the curl command by using the -i flag. This will cause the tool to include the HTTP response headers in the output.

Reference link:


Have a great day.

Regards,

Google Logo Google Ads API Team


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