Hello Karol,
This is Maia from the Google Ads Scripts Team. Thank you for reaching out to us.
As per the error InputError: Invalid input: "". Expected a non-negative number, this occurred due to the reason that setCpa() accepts a type double parameter. However, you have declared the variable new_bid with double quotation marks which led to the value being interpretted as a type string. For reference, you may check this setCpa documentation.
Kindly try to remove the quotation marks and replace the value as 0.0 (e.g. var new_bid = 0.0). Let us know how it goes and should you still encounter any errors, kindly provide the following details below:
Kindly send the details via `Reply privately to author` option. If the said option is not available on your end, you may send those through the email alias <googleadsscr...@google.com> instead.
Best Regards,
|
||||||
--
-- You received this message because you are subscribed to the Google Groups AdWords Scripts Forum group. Please do not reply to this email. To post to this group or unsubscribe please visit https://developers.google.com/adwords/scripts/community.
---
You received this message because you are subscribed to a topic in the Google Groups "Google Ads Scripts Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adwords-scripts/reYXJnxV9M0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adwords-scrip...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-scripts/Xg6K_000000000000000000000000000000000000000000000RHGVIT00ncA79UFSQ_2LzSsq1Betow%40sfdc.net.