I am currently attempting to assign a billing profile to an advertiser using the Google Ads PHP library APIs. However, I encountered an issue where the API responds with an error, indicating that the customer does not have permission to sign up for billing or use the specified payments profile ID. Below are the details of my request and the response for your reference:
Request Details
{
"customerId": "xxxxxxxxxx",
"paymentsProfileId": "xxxxxxxxx",
"name": "xxxxxx"
}
API Response
{
"message": "ApiException was thrown with message:",
"details": {
"error": {
"message": "Request contains an invalid argument.",
"code": 3,
"status": "INVALID_ARGUMENT",
"details": [
{
"@type": "
type.googleapis.com/google.ads.googleads.v17.errors.GoogleAdsFailure",
"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": "rw4zqFLejEZ6B1T_VptBDw"
},
"status": "error",
"data": []
}
Issue Description- Error Code: The API returns an error with code 3 and status INVALID_ARGUMENT.
- Specific Error: billingSetupError: NO_SIGNUP_PERMISSION
- The message indicates that:
- The customer account may lack permissions to sign up for billing.
- Alternatively, the specified payments profile ID might not be valid or associated with the customer account.
- Request ID: The unique identifier for this request is rw4zqFLejEZ6B1T_VptBDw.
Troubleshooting Steps Taken- Verified Permissions: I ensured that the customer account has billing-related permissions but still encountered the error.
- Checked Payments Profile ID: Confirmed that the payments profile ID is valid and active within the Google Ads account.
- Consulted Documentation: I referred to the Google Ads API documentation, but the information on assigning billing profiles appears to be insufficient for resolving this issue.
Request for AssistanceCould you please provide guidance on resolving this issue? Specifically, I would like to know:
- Are there any additional prerequisites or configurations required to assign a payments profile to an advertiser?
- Is there any API endpoint or parameter I may have missed that could ensure the successful execution of this request?
- Can you confirm whether the NO_SIGNUP_PERMISSION error is related to account-level restrictions or the payments profile itself?
Additional Information- API Version: Google Ads API v17
- PHP Library Version: v17
Thank you for your time and support. I look forward to your response to help me proceed with resolving this issue.