Public Function RemoveBudget(ByVal budget As Budget) As Budget
Dim Locations As New Dictionary(Of Int64, Location)
Dim service As BudgetService =
Dim operation As BudgetOperation = New BudgetOperation()
budget.status = BudgetBudgetStatus.REMOVED
operation.operand = budget
operation.operator = [Operator].REMOVE
Dim operations(0) As BudgetOperation
operations(0) = operation
Catch e As Exception
Throw New System.ApplicationException("Failed to get location
for ad.", e)
the budget object passed to this function is returned from the
BudgetService via a get. The code runs smoothly without an error, yet my
next Get request finds the same budget with same Id like my Remove
operation was just ignored.
Also find us on our blog and Google+:
You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to email@example.com
To unsubscribe from this group, send email to
For more options, visit this group at
You received this message because you are subscribed to the Google Groups
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit
For more options, visit https://groups.google.com/d/optout.