Unable to add budget at account level

214 views
Skip to first unread message

divyakum...@gmail.com

unread,
Apr 28, 2022, 4:01:19 PM4/28/22
to Google Ads API and AdWords API Forum
Hi Team,

My project is using v10 Google Ads API and I receive an API error while trying to add a budget to a client account. Appreciate your help in this regard,

request_id: "WZcUumED0jn6qUfiUzLMMg" 

Status: Status{code=INVALID_ARGUMENT, description=Request contains an invalid argument., cause=null}.

2022-04-27 16:21:37,953 ERROR [main] A: C: API:4907 - budgetOrderService mutate failed for addBudget: startTime=;endTime=;amount=1450000000

com.google.ads.googleads.v10.errors.GoogleAdsException: errors {

  error_code {

    mutate_error: RESOURCE_NOT_FOUND

  }

  message: "Resource was not found."

  location {

    field_path_elements {

      field_name: "operation"

    }

    field_path_elements {

      field_name: "create"

    }

    field_path_elements {

      field_name: "billing_setup"

    }

  }

}

Google Ads API Forum Advisor

unread,
Apr 29, 2022, 4:49:23 PM4/29/22
to divyakum...@gmail.com, adwor...@googlegroups.com
Hello Divya,

Thank you for raising this concern to the Google Ads API support team. Unfortunately, only customers who have permission to set up billing can create a billing setup. Users can contact their account representative for help setting up permissions.

Additionally, you can try our sample code by using the account's billing setup to retrieve all BillingSetup objects available for the specified customerId also with the billing_setup resource.

Please note you either generate the access token for the correct account, or that accounts are linked properly in the manager account so that the credentials in your request can access the billing customer. See the Manager-Client relationships section of the Budget Order Service guide for more information. Let me know if you have any questions.

If the issue still persists, could you please provide us with the complete request and response logs with the request-id and login-customer-id, so our team can better check the root cause of the error?
Please send the requested details via the Reply privately to the author option. If this option is not available, you may send the details directly to our googleadsapi-support@google.com alias by referring to this thread.

Best regards,
Google Logo
Jakeia Sabrina
Google Ads API Team
 

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