>
> 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/6d4119a6-e8f1-4944-85a9-fa749c8e059a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to