Hi,
I am writing a python script that creates an account and its account budget.
The account budget will use a consolidated billing setup that already exists and it is used by many others account of the same manager account.
To create the account I am using
this example. In this code I need to know the billing_setup_id.
So, to get this billing setup id, i am running this request:
[2023-01-11 11:27:21,752 - DEBUG] Request
-------
Method: /google.ads.googleads.v12.services.GoogleAdsService/SearchStream
Host:
googleads.googleapis.comHeaders: {
"developer-token": "REDACTED",
"login-customer-id": "1819813713",
"x-goog-api-client": "gl-python/3.7.5 grpc/1.51.1 gax/2.10.1 gccl/19.0.0 pb/4.21.10",
"x-goog-request-params": "customer_id=1512791080"
}
Request: customer_id: "1512791080"
query: "\n SELECT\n
billing_setup.id,\n billing_setup.status,\n billing_setup.payments_account,\n billing_setup.payments_account_info.payments_account_id,\n billing_setup.payments_account_info.payments_account_name,\n billing_setup.payments_account_info.payments_profile_id,\n billing_setup.payments_account_info.payments_profile_name,\n billing_setup.payments_account_info.secondary_payments_profile_id\n FROM billing_setup"
And I am receiving an empty response:
Response
-------
Headers: {
"request-id": "J9uBQ5jl3xDpGoNrYGda0w"
}
My user has access to the payment manager account.
Can you help me?
Thanks!!