*File Name* : AddBillingSetup.php
We are encountering an issue when setting up billing for a customer account
using the Google Ads API. Specifically, the following error occurs:
ApiException was thrown with message '{
"
message": "Request contains an invalid argument.",
"code": 3,
"status": "INVALID_ARGUMENT",
"details": [
{
"@type <https://github.com/type>":
"type.googleapis.com/google.ads.googleads.v16.errors.GoogleAdsFailure",
"errors": [
{
"errorCode": {
"billingSetupError": "FUTURE_START_TIME_PROHIBITED"
},
"message": "A start time in the future cannot be used because there is
currently no active billing setup for this customer.",
"location": {
"fieldPathElements": [
{
"fieldName": "operation"
},
{
"fieldName": "create"
},
{
"fieldName": "start_time"
}
]
}
}
],
"requestId": "1Z_7PyJ9cNH0rJKVvEdGuQ"
}
]
}'.
he above error occurs only when we attempt to create the billing setup
through the API. However, the issue does not occur if we log in to the
Google Ads account manually, select the relevant customer ID, and click on
the Billing section. After doing this, the API request works correctly.
This behavior forces us to manually log in and click the Billing option
every time we create a new account, which is not feasible as we need to
create and set up billing for over 500 accounts using the API.
*My server timezone is UTC and my account setup timezone is IST is it
affect any on API call*
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/7e7635c9-6834-4312-932c-3f1576674baan%40googlegroups.com.