Dim service As BudgetService = 
CType(User.GetService(AdWordsService.v201607.BudgetService), BudgetService)
        Dim selector As New Selector

        selector.fields = New String() {
           Budget.Fields.BudgetId, Budget.Fields.Amount
        }

        selector.predicates = New Predicate() {
            Predicate.Equals(Budget.Fields.BudgetStatus, 
BudgetBudgetStatus.ENABLED)
        }

        selector.paging = Paging.Default

        Dim page As BudgetPage
        Try

            ' Get the text ads.
            page = service.get(selector)

error: INVALID_PREDICATE_ENUM_VALUE, trigger: '0'


How can the enum have an invalid value?  Is the BudgetBudgetStatus ENUM not 
the correct enum for filtering BudgetStatus?  


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
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 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/8057ea50-af38-406f-b233-7f02418c283e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to