Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Account Budget Proposal Error #75

Closed
mattensor opened this issue Sep 17, 2019 · 3 comments
Closed

Account Budget Proposal Error #75

mattensor opened this issue Sep 17, 2019 · 3 comments
Labels
question ❔ Further information is requested

Comments

@mattensor
Copy link

mattensor commented Sep 17, 2019

Hey there,

I'm wanting to update an existing account budget and get back the following error:
TypeError: operation.setUpdate is not a function
at AccountBudgetProposalService.

I run the following code (using version 3.2.0):

customer.accountBudgetProposals.update({
    resource_name: accountBudget,
    proposal_type: 4
});

Not too sure why I can't update, I had a similar issue when trying to update billing setups (was not possible in the api). Looking at the docs this should be possible :)

https://developers.google.com/google-ads/api/docs/billing/account-budgets#terminating_account_budgets

Am I missing something here?
Thanks

@mattensor
Copy link
Author

Any update on this?

@kritzware
Copy link
Contributor

kritzware commented Sep 23, 2019

Hi @mattensor, apologies for the delay on this one.

Unfortunately, it seems like account budget proposals cannot be updated, according to the Google Ads API documentation. They only support creation or removal 😞

Edit: I just noticed that link you provided. I think the confusion may be from the field mask being called the updateMask, despite the operation being a create.

@kritzware kritzware added the question ❔ Further information is requested label Sep 23, 2019
@mattensor
Copy link
Author

Amazing! that makes sense in a weird way

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question ❔ Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants