Hi Almas, This is a known issue, that the AdGroupAdService doesn't return DISABLED ads. Unfortunately I don't have a timeline for when a fix or workaround will be made available.
Best, - Eric On Feb 16, 1:31 am, Almas Kanjiyani <kanjiyanial...@gmail.com> wrote: > Hi Eric, > > I had a question in mind. For AdGroupAd's whose status is Disabled, I > am not able to retrieve it from Google with the get() API call. > > How can we get the AdGroupAds from Google whose Status="Disabled"? > > Thanks, > Almas > > On Feb 9, 10:17 pm, AdWords API Advisor <adwordsapiadvi...@google.com> > wrote: > > > > > Hi, > > > Unfortunately this behavior hasn't been clearly documented yet, and I > > apologize for any confusion. AdGroupAds (Creatives) do not behave the > > same, as even an ad with zero impressions will remain with the deleted > > status. > > > Best, > > - Eric > > > On Feb 9, 4:53 am, ryo <tadaima10ji27...@gmail.com> wrote: > > > > Oh, as you say, the keyword has never had an impression. > > > > Where this specification is published? > > > I searched AdWords v2009 and google forum, however, I can't find... > > > > And, the Creative is the same specification? > > > > On 2月9日, 午前1:29, AdWords API Advisor <adwordsapiadvi...@google.com> > > > wrote: > > > > > Hi, > > > > > I just ran some tests and the selector appears to be working > > > > correctly. Please keep in mind that deleting a keyword can have two > > > > different outcomes: > > > > > - If the keyword has never had an impression then it will be > > > > completely removed from the ad group, and it will not be returned with > > > > any get() requests. > > > > - If the keyword has had some impressions then it will remain in the > > > > ad group with the DELETED status. > > > > > It could be that your ad group just doesn't have any keywords in this > > > > DELETED status. You can verify this in the AdWords web interface. > > > > > Best, > > > > - Eric Koleda, AdWords API Team > > > > > On Feb 8, 6:29 am, ryo <tadaima10ji27...@gmail.com> wrote: > > > > > > Hi. > > > > > > I use Java v200909. > > > > > > I have a question about > > > > > AdGroupCriterionSelector#setUserStatuses(Userstatus[] userStatuses). > > > > > Userstatus.ACTIVE and Userstatus.PAUSED are well-functioning. > > > > > However, Userstatus.DELETED is NOT well-functioning, I think. > > > > > For example, the following code doesn't work. > > > > > > AdGroupCriterionServiceInterface adGroupCriterionService > > > > > = > > > > > user.getService(AdWordsService.V200909.ADGROUP_CRITERION_SERVICE); > > > > > AdGroupCriterionSelector selector = new AdGroupCriterionSelector(); > > > > > selector.setIdFilters(new AdGroupCriterionIdFilter[]{ > > > > > new AdGroupCriterionIdFilter(12345L, 67890L, null)}); > > > > > > selector.setCriterionUse(CriterionUse.BIDDABLE); > > > > > selector.setUserStatuses(new UserStatus[]{UserStatus.DELETED}); > > > > > > adGroupCriterionService.get(selector).getEntries(); > > > > > > A part of soap request is the following. > > > > > > <soapenv:Body> > > > > > <get xmlns="https://adwords.google.com/api/adwords/cm/v200909"> > > > > > <selector> > > > > > <idFilters> > > > > > <campaignId>12345</campaignId> > > > > > <adGroupId>67890</adGroupId> > > > > > </idFilters> > > > > > <criterionUse>BIDDABLE</criterionUse> > > > > > <userStatuses>DELETED</userStatuses> > > > > > </selector> > > > > > </get> > > > > > </soapenv:Body>- Hide quoted text - > > > - Show quoted text - -- 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-...@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.