BillingSetup fails with error code "NO_SIGNUP_PERMISSION"

111 views
Skip to first unread message

Junho Song

unread,
Dec 26, 2019, 5:15:36 AM12/26/19
to AdWords API and Google Ads API Forum
Hi, i am developing service using 'google ads api beta'


But the response says failed
{
"error": {
"code": 400,
"message": "Request contains an invalid argument.",
"status": "INVALID_ARGUMENT",
"details": [
{
"@type": "type.googleapis.com/google.ads.googleads.v2.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."
}
]
}
]
}
}

It says i have not permissions.
'The customer' is a client account created by MCC account on AdWords UI
Payment profile ID is also registered on my 'https://pay.google.com/gp/w/u/0/home/settings'

I wrote the code like below
public function testBasicTest()
{
$billingSetup = new BillingSetup();
$billingSetup
->setPaymentsAccountInfo(
(new PaymentsAccountInfo())
->setPaymentsAccountName(new StringValue(['value' => 'CreditCardTest']))
->setPaymentsProfileId(new StringValue(['value' => 'XXXX-XXXX-XXXX']))
)
->setStartTimeType(TimeType::NOW);

$billingSetupOperation = new BillingSetupOperation();
$billingSetupOperation->setCreate($billingSetup);

$billingSetupServiceClient = $this->googleAdsClient->getBillingSetupServiceClient();
$billingSetupServiceClient->mutateBillingSetup(self::CLIENT_ID, $billingSetupOperation);
}

And it will generate request body like below
{
    "customerId": "1241969154",
    "operation": {
        "create": {
            "paymentsAccountInfo": {
                "paymentsAccountName": "CreditCardTest",
                "paymentsProfileId": "2096-9326-0136"
            },
            "startTimeType": "NOW"
        }
    }
}

Google Ads API Forum Advisor Prod

unread,
Dec 26, 2019, 5:27:13 PM12/26/19
to junho...@taggers.io, adwor...@googlegroups.com

Hi Junho,

Thank you for reaching out. Billing setups can only be created by customers who have permission to set up billings. You have to reach out to your Google Technical Account Manager for help in setting up permissions. Please let me know if you have any further questions. 

Thanks and regards,
Xiaoming, Google Ads API Team


 

ref:_00D1U1174p._5001UOFG2C:ref

martin ploug

unread,
Sep 27, 2020, 2:45:48 PM9/27/20
to AdWords API and Google Ads API Forum
Hi,

I have the same problem.

Ive looked through a lot of the answers in the forum and this is the standard response.

"Billing setups can only be created by customers who have permission to set up billings"

But where do you set the permission ? Where should i go to give the customer permission set up billings.

Google Ads API Forum Advisor Prod

unread,
Sep 28, 2020, 10:58:19 AM9/28/20
to martin.plo...@gmail.com, adwor...@googlegroups.com

Hi Martin,

Thank you for reaching out. To get permission setting up billing for your account, you have to reach out to your Google Account Manager or Google Representative for help in setting up permissions. They will grant you necessary permissions for setting up billing.



Thanks and regards,
Xiaoming, Google Ads API Team


Google Logo
Xiaoming
Google Ads API Team
 


ref:_00D1U1174p._5001UOFG2C:ref
Reply all
Reply to author
Forward
0 new messages