Hi, If that selector doesn't work, then there aren't any workarounds that I am aware of.
Cheers, Anash On Monday, August 25, 2014 4:55:11 AM UTC-4, adword...@pass-consulting.com wrote: > > Hi Anash, >>> >> > I tried your tip using the fields AdGroupStatus resp. CampaignStatus. > It did not work. Nor with the get method and neigther wit the query method. > When I tried > $query = 'SELECT Id, Status, KeywordText, AdGroupId WHERE AdGroupStatus > != ENABLED ORDER BY Id'; > > // Create paging controls. > $offset = 0; > $adGroupCriterionService = $user->GetAdGroupCriterionService (); > do { > $pageQuery = sprintf('%s LIMIT %d,%d', $query, $offset, > AdWordsConstants::RECOMMENDED_PAGE_SIZE); > // Make the query request. > $page = $adGroupCriterionService->query($pageQuery); > > I get an error has occurred: [SelectorError.INVALID_PREDICATE_FIELD_NAME > @ query; trigger:'AdGroupStatus']. > > Seems there is no way around doing it on my own. > > > > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/60e0c14c-c801-4250-881c-691fbcdf0673%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.