Hi, The code you have looks correct. Are you sure the criterion ID you specified exists in the ad group? I would double check the ID you are passing in.
Best, - Eric Koleda, AdWords API Team On Jan 12, 5:47 am, "[email protected]" <[email protected]> wrote: > Hi, > > I try to get information on a single criterion. > > Dim selector As New AdGroupCriterionSelector() > Dim idFilters As New AdGroupCriterionIdFilter > selector.criterionUse = CriterionUse.BIDDABLE > selector.criterionUseSpecified = True > idFilters.adGroupId = Long.Parse("My_Group_ID") > idFilters.adGroupIdSpecified = True > idFilters.criterionId = Long.Parse("MyCriterion_ID") > idFilters.criterionIdSpecified = True > selector.idFilters = New AdGroupCriterionIdFilter() {idFilters} > selector.userStatuses = New UserStatus() {UserStatus.ACTIVE} > Dim results As AdGroupCriterionPage = service.get(selector) > If results IsNot Nothing AndAlso results.entries IsNot Nothing > AndAlso results.entries.Length > 0 Then > OK > end if > > It doesn't work results is nothing > > Or when i delete > idFilters.criterionId = Long.Parse("MyCriterion_ID") > idFilters.criterionIdSpecified = True > > I'm abble to get all criterions of the group... > > But i would like to get information only for some criterions, not for > all.... > > Thnks for your help. > > Regards
-- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en.
