Request : Google\Ads\GoogleAds\V16\Services\BillingSetupOperation Object
(
    [create] => Array
        (
            [paymentsAccount] => 
customers/9801342221/paymentsAccounts/2255-4790-2251-9526
            [startDateTime] => 2024-10-16 00:00:00
        )

)


Response :

ApiException was thrown with message '{
    "message": "Request contains an invalid argument.",
    "code": 3,
    "status": "INVALID_ARGUMENT",
    "details": [
        {
            "@type": 
"type.googleapis.com\/google.ads.googleads.v16.errors.GoogleAdsFailure",
            "errors": [
                {
                    "errorCode": {
                        "requestError": "UNKNOWN"
                    },
                    "message": "The error code is not in this version.",
                    "location": {
                        "fieldPathElements": [
                            {
                                "fieldName": "operation"
                            },
                            {
                                "fieldName": "create"
                            },
                            {
                                "fieldName": "start_time"
                            }
                        ]
                    }
                }
            ],
            "requestId": "r8GyWLaohvEMqxSAQJPj6g"
        }
    ]
}'.
On Wednesday, October 16, 2024 at 1:35:51 PM UTC+5:30 Google Ads API Forum 
Advisor wrote:

> Hi,
>
> Thank you for reaching out to Google Ads API Support.
>
> By reviewing your concern, I can see that you’ve received a 
> BillingSetupError FUTURE_START_TIME_PROHIBITED 
> <https://developers.google.com/google-ads/api/reference/rpc/v17/BillingSetupErrorEnum.BillingSetupError>
>  
> error which states that a start time in the future cannot be used because 
> there is currently no active billing setup for this customer. 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. 
>
> In order to investigate your issue further, kindly provide us with the 
> complete API logs (request 
> <https://developers.google.com/google-ads/api/docs/concepts/field-service#request>
>  
> and response 
> <https://developers.google.com/google-ads/api/docs/concepts/field-service#response>
>  
> logs with request-id 
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id>
>  
> and request header 
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request_headers>)
>  
> generated at your end.
>
> Since you are using the PHP client library, if you haven't enabled the 
> logging yet, I would request you to enable it by referring to this guide on 
> PHP 
> <https://developers.google.com/google-ads/api/docs/client-libs/php/logging>
> .
>
> Reply privately to the author option, or direct private reply to this 
> email.
>   
> This message is in relation to case 
> "ref:!00D1U01174p.!5004Q02vGeg9:ref" (ADR-00271871)
>
> Thanks,
>   
> [image: Google Logo] Google Ads API Team 
>
>
>  
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@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 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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c05c2e46-7cdc-4d73-b238-a9efb1820d78n%40googlegroups.com.
  • Is... Ethinos DM
    • ... Ethinos DM
      • ... Ethinos DM
        • ... Ethinos DM
        • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
          • ... Ethinos DM

Reply via email to