HI,

When I created the bill, I was associated with an existing account. The 
request failed.

Return information:

FAILURE REQUEST DETAIL.
Request
-------
MethodName: 
google.ads.googleads.v6.services.BillingSetupService/MutateBillingSetup
Endpoint: googleads.googleapis.com:443
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: "6477922205"
operation {
  create {
    resource_name: 
"customers/6477922205/paymentsAccounts/2338-3104-9327-7072"
    start_time_type: NOW
    payments_account: "2338-3104-9327-7072"
  }
}


Response
--------
Headers: 
Metadata(content-type=application/grpc,request-id=l3H_8382yUeWkpvYQtbheQ,date=Thu,
 
14 Jan 2021 13:18:52 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 {
    request_error: RESOURCE_NAME_MALFORMED
  }
  message: "Resource name \'2338-3104-9327-7072\' is malformed: expected 
\'customers/{customer_id}/paymentsAccounts/{payments_account_id}\'."
}

Status: Status{code=INVALID_ARGUMENT, description=Request contains an 
invalid argument., cause=null}.
2021-01-14 21:18:52.706 ERROR 12943 --- [nio-8002-exec-4] 
c.a.g.a.s.GoogleAdsAccountBudgetService  : errors {
  error_code {
    request_error: RESOURCE_NAME_MALFORMED
  }
  message: "Resource name \'2338-3104-9327-7072\' is malformed: expected 
\'customers/{customer_id}/paymentsAccounts/{payments_account_id}\'."
}


com.google.ads.googleads.v6.errors.GoogleAdsException: errors {
  error_code {
    request_error: RESOURCE_NAME_MALFORMED
  }
  message: "Resource name \'2338-3104-9327-7072\' is malformed: expected 
\'customers/{customer_id}/paymentsAccounts/{payments_account_id}\'."
}

Thanks
cyan

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/32341c55-f276-459c-8d4a-e8578858a29fn%40googlegroups.com.

Reply via email to