Hello Team,
My production manager ID is 1004010941. We created sub user through PHP V8
google as API using createCustomer API. Sub user can be created under
manager. But when we trying to setup billing profile ID to that user we
getting error as follows. Pls check complete request & response log as
below.
[2022-02-24T11:15:53.682530+00:00] google-ads.NOTICE: Request
-------
Method Name:
/google.ads.googleads.v8.services.BillingSetupService/MutateBillingSetup
Host: googleads.googleapis.com
Headers: {
"x-goog-api-client": "gl-php\/7.4.21 gapic\/ gax\/1.9.1 grpc\/1.40.0RC1
rest\/1.9.1",
"x-goog-request-params": "customer_id=6828724995",
"developer-token": "REDACTED",
"login-customer-id": "1004010941"
}
Request:
{"customerId":"6828724995","operation":{"create":{"paymentsAccountInfo":{"paymentsAccountName":"Payments
Account
#2022-02-24T11:15:52.073+00:00","paymentsProfileId":"2905-5534-6762"},"startDateTime":"2022-02-24","endDateTime":"2022-02-25"}}}
Response
-------
Headers: {
"request-id": "ntexzbLtd4yTkKBfKIA09A",
"date": "Thu, 24 Feb 2022 11:15:53 GMT",
"alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":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\""
}
Fault
-------
Status code: 3
Details: Request contains an invalid argument.
Failure:
{"errors":[{"errorCode":{"billingSetupError":"NO_SIGNUP_PERMISSION"},"message":"*The
customer does not have permission to signup for billing or does not have
permission to use a given payments profile ID*
."}],"requestId":"ntexzbLtd4yTkKBfKIA09A"}
But when we creating sub user through Google Ads web UI, it automatically
showing that billing profile to that user.
Pls let's know how to set billing profile to new created sub user through
API.
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2ab9c3cc-0261-40c0-a486-8d51bab267d7n%40googlegroups.com.