*** AttributeError: 'NoneType' object has no attribute 'Call'

487 views
Skip to first unread message

Corine Morin

unread,
Mar 9, 2022, 11:24:01 AM3/9/22
to Google Ads API and AdWords API Forum
We recently migrated to Google API V9, and we encounter this problem when trying to
create a new account budget proposal:

We use Python 3.8

    service = self.google_client.get_service('AccountBudgetProposalService')
    service.mutate_account_budget_proposal(customer_id=XXXXXXXX, operation=operation)

Operation:
create {
  proposal_type: CREATE
  billing_setup: "customers/XXXXXXXX/billingSetups/6723730110"
  proposed_name: "XXXXXXXX"
  proposed_spending_limit_micros: 87260000
}


API Response:
WARNING 2022-03-09 11:06:25,041 logging_interceptor 18439 140231374133056 Request made: ClientCustomerId: XXXXXXXX, Host: googleads.googleapis.com, Method: /google.ads.googleads.v9.services.AccountBudgetProposalService/MutateAccountBudgetProposal, RequestId: t3pXNXkT4WSIGtsv_lBP1Q, IsFault: True, FaultMessage: Internal error encountered.
*** AttributeError: 'NoneType' object has no attribute 'Call'

We are unable to create account_budget_proposal ... why is the API returning "*** AttributeError: 'NoneType' object has no attribute 'Call'" how are we suppose to fix this?

Corine

Google Ads API Forum Advisor

unread,
Mar 9, 2022, 9:51:20 PM3/9/22
to cmo...@cyberpublicity.com, adwor...@googlegroups.com
Hi Corine,

Thank you for reaching out to us.

Could you confirm whether the client library was configured as per this guide ? And is this the example code you are using or referring to? If you haven't yet, you may also enable logging for us to see the possible cause of the issue and the contents of your request. You may then retry your request to generate the logs and so our team can further investigate.

You may then send the requested information via the Reply privately to author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead

Best regards,
Google Logo
Heidi
Google Ads API Team
 


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