selector.predicates = New Predicate() {
   Predicate.In(Budget.Fields.BudgetStatus, New String() {"ENABLED"})
}


Figured it out.  You are supposed to send in a string, not use the 
budgetstatus enum to filter budgetstatus.  Makes TOTAL sense! /s



On Thursday, September 22, 2016 at 11:46:01 AM UTC-7, rentca...@gmail.com 
wrote:
>
>          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/bced8ca0-1e34-4784-8bb6-e8e26b9ed2b3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to