Hi Adam,
Thanks for reaching out to the Google Ads API Forum.
I can see that you’ve received BillingSetupError.FUTURE_START_TIME_PROHIBITED
errors. Upon checking the details closely that you’ve shared with us, I found
that the API request contains the start date as datetime.now(). Could you
confirm this?
start_date = datetime.now()
billing_setup.start_date_time = start_date.strftime("%Y-%m-%d %H:%M:%S")
return billing_setup
Kindly double check your request if you are not setting the future date as
compared to when the API call was made. To avoid this error, you would need to
avoid setting a start date in future with respect to API call request time.
Also, as a side note, you may double check the latest billing setup ID in your
request that has a valid start date and end date that doesn’t extend beyond its
billing setup. Once you confirm it, you may retry your API request. Let us know
how it goes further. If the error still persists, you may provide us with the
complete logs in the format of the request and response logs along with
request-id as seen in their respective links. In addition, we recommend you to
enable logging to capture complete details if any error occurs by navigating to
the Client libraries > Your client library (ex Python) > Logging documentation,
which you can access from this link.
Kindly provide the logs to our team via reply privately to the author option.
Regards,
Yasar
Google Ads API Team
ref:_00D1U1174p._5004Q2h16Va:ref
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 the Google Groups
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/tNWjZ000000000000000000000000000000000000000000000RMM5KG00h9Jm3AJWRPuXlaFjBdb2AQ%40sfdc.net.