Hello team,
I am using Google ads api to create a billing setup, but the request failed. I found that the interface failed the first time, and the interface was created successfully the second time, which is incredible. The results are as follows.
First request:
FAILURE REQUEST DETAIL.
Request
-------
MethodName: google.ads.googleads.v6.services.BillingSetupService/MutateBillingSetup
Headers: {developer-token=REDACTED, login-customer-id=6739876670, x-goog-api-client=gl-java/1.8.0_251 gapic/ gax/1.57.0 grpc/1.30.0}
Body: customer_id: "5060762588"
operation {
create {
start_time_type: NOW
payments_account_info {
payments_account_name: "\346\261\237\350\213\217\346\234\252\350\277\237\346\225\260\345\255\227\346\212\200\346\234\257\346\234\211\351\231\220\345\205\254\345\217\270"
payments_profile_id: "1624-3300-2040"
}
}
}
Response
--------
Headers: Metadata(content-type=application/grpc,request-id=S4M2tB8OyNowdZUwWm3cww,date=Thu, 07 Jan 2021 07:54:10 GMT,alt-svc=h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43")
Body: null
Failure message: errors {
error_code {
internal_error: INTERNAL_ERROR
}
message: "An internal error has occurred."
}
Second request:
SUCCESS REQUEST SUMMARY. Method: google.ads.googleads.v6.services.BillingSetupService/MutateBillingSetup, Endpoint:
googleads.googleapis.com:443, CustomerID: 5060762588, RequestID: dlvTZflBhnb-MBadccoBvA, ResponseCode: OK, Fault: null.
Thank you
cyan