Re: Change from deleted to removed
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.
Re: Change from deleted to removed
Hi, I have a question realted to this issue: I have a program which toggles the state of some adgroups between enabled and paused. Since I determine which adgroups are affected by searching for certain keywords. I will now run into problems, if I detect a keyword which ia associated wit an deactivated adgroup Is it possible to write a selector, which will find only keywords associated with a adgroups and campaigns which are not removed. As fas as I have seen I can include the field userStatus and filter for enabled keyword. But this will still find all enabled keywords, which are associated with removed adwords and will trigger an error if I try to change the status of the adgroup -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/a7bb0436-61f5-4e09-b83c-87cdd7978f21%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.