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

total_amount_micros can't be set or updated #282

Open
vitorrd opened this issue Jan 10, 2021 · 0 comments
Open

total_amount_micros can't be set or updated #282

vitorrd opened this issue Jan 10, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@vitorrd
Copy link

vitorrd commented Jan 10, 2021

Hello.

This issue is happening on V6, and I couldn't seem to find any way to work around this, as both creating a new budget and updating one while setting total_amount_micros both fail with error "The error code is not in this version."

The code below is the minimum reproduction I could make of this.

                budget_operation = client.operation.update_resource.campaign_budget(budget_resource_name) do |budget|
                    budget.total_amount_micros = req.total_amount_micros
                end

                response = client.service.campaign_budget.mutate_campaign_budgets(
                    customer_id: customer_id,
                    operations: [budget_operation],
                )

Thanks.

@mcloonan mcloonan added the bug Something isn't working label Mar 22, 2021
@xflesym xflesym removed their assignment Jun 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants