Exponential/scientific notation for DUOBLE fields

212 views
Skip to first unread message

Oksana Sulyma

unread,
Feb 10, 2024, 2:15:39 AMFeb 10
to Google Ads API and AdWords API Forum
Hi Google Ads API team!

We pull https://developers.google.com/google-ads/api/fields/v15/campaign#campaign.optimization_score field from API and got some values in
scientific notation, as example 1.4210854715202E-14.

Documentation says field format is DOUBLE, but I can't find anything in documentation that says that DOUBLE can be in exponential/scientific notation.

Could you please confirm that this is expected API behavior - to return values in exponential format for fields declared as  DOUBLE ?

If so, what field formats could be impacted by this (whether it's some of the DOUBLE fields, all of them, DOUBLE and other field types, etc.)?

I'll be happy to provide additional details on request / response privately if needed.

Thanks,
Oksana

Message has been deleted

Oksana Sulyma

unread,
Feb 14, 2024, 4:23:04 AMFeb 14
to Google Ads API and AdWords API Forum
Hi team, just wanted to confirm that my question is still actual. Thanks!

D. H.

unread,
Feb 15, 2024, 3:29:10 AMFeb 15
to Google Ads API and AdWords API Forum
Hi,

Using the python client library I get values returned as "normal" floats like "0.9605413375709904" for campaign optimization score, from the campaign query report.

Is it possible something in your process is converting/interpreting the number in scientific notation? What does the initial raw response look like?

Regards,

D.H.

Google Ads API Forum Advisor

unread,
Feb 15, 2024, 9:35:43 AMFeb 15
to heiberge...@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for reaching out to the Google Ads API support team.

By reviewing your query, I understand that your concern is regarding the campaign.optimization_score field. I would suggest you check this Type and format summary guide to know more about the data type and its format value.

Also, in order to investigate the issue provide us with the updated complete API logs (request and response with request-id and request header) generated at your end.

Since you are using a python client library and haven't enabled the logging yet, I would request you to enable logging for the specific python client library that you are using. You can refer to the guides Python to enable logging at your end. For REST interface requests, you can enable logging via the curl command by using the -i flag.

You can send the details via Reply privately to the author option, or direct private reply to this email
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02rz8dC:ref"

Thanks,
 
Google Logo Google Ads API Team


Message has been deleted
Message has been deleted
Message has been deleted

Oksana Sulyma

unread,
Feb 20, 2024, 3:58:20 AMFeb 20
to Google Ads API and AdWords API Forum
Log was sent privately, thanks!

Google Ads API Forum Advisor

unread,
Feb 20, 2024, 8:40:04 AMFeb 20
to adwor...@googlegroups.com
Hi,

Thank you for getting back to us.

Kindly note that optimization score is an estimate of how well your Google Ads account is set to perform. Scores run from 0-100%, with 100% meaning that your account can perform at its full potential. Optimization score of the campaign. Optimization score is an estimate of how well a campaign is set to perform. It ranges from 0% (0.0) to 100% (1.0), with 100% indicating that the campaign is performing at full potential. This field is null for unscored campaigns.

I would recommend you to check this help center article About optimization score for more information.

Oksana Sulyma

unread,
Feb 20, 2024, 8:49:13 AMFeb 20
to ads...@forumsupport.google, adwor...@googlegroups.com
Thanks for your answers team. 

Please answer my questions from initial post cause this answers are important for our App logic.

1.Could you please confirm that this is expected API behavior - to return values in exponential format for fields declared as DOUBLE ? 

2. If so, what field formats could be impacted by this (whether it's some of the DOUBLE fields, all of them, DOUBLE and other field types, etc.)?

Thanks,
Oksana


--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api...@googlegroups.com
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 a topic in the Google Groups "Google Ads API and AdWords API Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adwords-api/HWEhz2FVvWw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adwords-api...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/muhJs000000000000000000000000000000000000000000000S95PXY00qjwBZb6kTEiXDonMRDITmg%40sfdc.net.

Google Ads API Forum Advisor

unread,
Feb 20, 2024, 1:56:43 PMFeb 20
to oks...@tapclicks.com, adwor...@googlegroups.com
Hi Oksana, 


Thank you for getting back to us.

I will check with our team regarding your issue and one of my team members will reach out to you once we have an update on this. Meanwhile, your patience is highly appreciated.
Message has been deleted

Oksana Sulyma

unread,
Feb 26, 2024, 5:22:03 AMFeb 26
to Google Ads API and AdWords API Forum
Thanks Google Ads API team! Just wanted to update that my question is still actual. 
Thanks,
Oksana

Google Ads API Forum Advisor

unread,
Feb 26, 2024, 7:54:36 AMFeb 26
to oksana....@gmail.com, adwor...@googlegroups.com
Hello,

The team is still investigating. I will let you know when I have any new information to share.

 
This message is in relation to case "ref:!00D1U01174p.!5004Q02rz8dC:ref"

Thanks,
 
Google Logo
Michael Cloonan
Google Ads API Team


Eugenia Mankova

unread,
Mar 27, 2024, 7:21:26 PMMar 27
to Google Ads API and AdWords API Forum
Hello Google Ads team, 

My colleague, Oksana Sulyma, initiated this thread. It's been a while since the investigation of the issue began from your end. Do you have any updates? 

Any information would be greatly appreciated. Thank you in advance.

Google Ads API Forum Advisor

unread,
Mar 28, 2024, 5:48:42 AMMar 28
to evgenia...@gmail.com, adwor...@googlegroups.com
Hello,

I haven't heard anything back yet. I've followed up with the investigating team just now, and will let you know if I hear any information I can share.

 
This message is in relation to case "ref:!00D1U01174p.!5004Q02rz8dC:ref" (ADR-00223425)


Thanks,
 
Google Logo
Michael Cloonan
Google Ads API Team


Eugenia Mankova

unread,
Mar 28, 2024, 11:56:46 AMMar 28
to Google Ads API and AdWords API Forum
Thanks, Michael! Looking forward to hearing from you.

Eugenia Mankova

unread,
Apr 16, 2024, 6:47:03 PMApr 16
to Google Ads API and AdWords API Forum
Hi Michael,
Do you have any update from the investigating team?

Thanks

Google Ads API Forum Advisor

unread,
Apr 17, 2024, 8:07:42 AMApr 17
to evgenia...@gmail.com, adwor...@googlegroups.com
Hello,

Not yet. I've pinged them yet again and will update here if I hear back.

Oksana Sulyma

unread,
Jul 3, 2024, 12:53:42 PM (3 days ago) Jul 3
to Google Ads API and AdWords API Forum
Hi Google Ads API team!
Just wanted to confirm that this question is still actual for us.
Thanks!
Oksana
Reply all
Reply to author
Forward
0 new messages