RE: can't change bidding strategy for forecast metrics request

63 views
Skip to first unread message

Google Ads API Forum Advisor

unread,
Mar 28, 2024, 12:03:36 AM3/28/24
to d...@peachesai.com, adwor...@googlegroups.com
Hi,

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

Please be informed that I have removed your response from the forums as it contains the PII information.

By reviewing your concern, I understand that you are getting an error message "The input has an invalid value" when you are setting up bidding strategy other than manual_cpc_bidding_strategy while generating forecast metrics.

Kindly note that ​the estimation of daily_target_spend_micros for the maximize_clicks_bidding_strategy and maximize_conversions_bidding_strategy should be a minimum value of the local currency used in the campaign. The unit micros, is defined as 1,000,000 times the account currency. For example, $1.23 will be returned as 1230000, in micros.

In order to assist you further, kindly provide us with the complete API logs (request and response logs with request-id and request header) generated at your end.

If you are using a client library and haven't enabled the logging yet, I would request you to enable logging for the specific client library that you are using. You can refer to the guides Java, .Net, PHP, Python, Ruby or Perl 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.!5004Q02s0Ham:ref" (ADR-00228950)

Thanks,
 
Google Logo Google Ads API Team


 

Dev PeachesAI

unread,
Apr 1, 2024, 3:21:51 PM4/1/24
to Google Ads API and AdWords API Forum
I sent request/response logs a few days ago. Any updates? 

Google Ads API Forum Advisor

unread,
Apr 1, 2024, 7:19:26 PM4/1/24
to d...@peachesai.com, adwor...@googlegroups.com
Hi,

I would like to inform you that our team is currently working on this issue. One of our teammates will get back to you once we have an update on this. Meanwhile your patience is appreciated.

Google Ads API Forum Advisor

unread,
Apr 3, 2024, 8:46:14 AM4/3/24
to d...@peachesai.com, adwor...@googlegroups.com

Google Ads API Forum Advisor

unread,
Apr 3, 2024, 1:07:56 PM4/3/24
to adwor...@googlegroups.com, d...@peachesai.com
Hi,

Kindly note that 'max_cpc_bid_micros' are only for the manual cpc bidding strategy. When you set the bidding strategy to maximize_clicks_bidding_strategy, they might collide. Please try removing the 'max_cpc_bid_micros' fields from everywhere from the request and 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, I would request you to enable logging for the python client library that you are using. You can refer to the guide 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.
 

Google Ads API Forum Advisor

unread,
Apr 15, 2024, 1:42:07 PM4/15/24
to adwor...@googlegroups.com, d...@peachesai.com
Hello,

Following up on this, we've identified that the original request failed because setting max_cpc_bid_micros is only compatible with manual_cpc_bidding_strategy, not with maximize_clicks_bidding_strategy. The same request was failing afterwards regardless of max_cpc_bid_micros being included due to the forecast start date being set at  04-03-2024. GenerateKeywordForecastMetrics requires the forecast start date to be in the future. Hope this helps resolve the issue!

Best,
Laura, on behalf of the Google Ads API team

ref:!00D1U01174p.!5004Q02s0Ham:ref
Reply all
Reply to author
Forward
0 new messages