Skip to content

total_amount_micros can't be set or updated #282

Description

@vitorrd

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions