/** * Retrieves all the Genders. * * @return a list of all the Genders * @throws RemoteException for communication-related exceptions */ public List<Gender> getGenderCriterion() throws RemoteException { // Using ReflectionUtil to execute getService().getGenderCriterion() with retries Gender[] genders = (Gender[]) ReflectionUtil.invokeCount("getGenderCriterion", getService(), classS, MAX_RETRY_COUNT); return Arrays.asList(genders); }
/** * Retrieves all the AgeRanges. * * @return a list of all the AgeRanges * @throws RemoteException for communication-related exceptions */ public List<AgeRange> getAgeRangeCriterion() throws RemoteException { // Using ReflectionUtil to execute getService().getAgeRangeCriterion() with retries AgeRange[] ageRanges = (AgeRange[]) ReflectionUtil.invokeCount( "getAgeRangeCriterion", getService(), classS, MAX_RETRY_COUNT); return Arrays.asList(ageRanges); }
/** * Retrieves all the Verticals. * * @return a list of all the Vertical * @throws RemoteException for communication-related exceptions */ public List<Vertical> getVerticalCriterion() throws RemoteException { // Using ReflectionUtil to execute getService().getVerticalCriterion() with retries Vertical[] verticals = (Vertical[]) ReflectionUtil.invokeCount( "getVerticalCriterion", getService(), classS, MAX_RETRY_COUNT); return Arrays.asList(verticals); }
/** * Retrieves all the MobileDevices. * * @return a list of all the MobileDevices * @throws RemoteException for communication-related exceptions */ public List<MobileDevice> getMobileDeviceCriterion() throws RemoteException { // Using ReflectionUtil to execute getService().getMobileDeviceCriterion() with retries MobileDevice[] mobileDevices = (MobileDevice[]) ReflectionUtil.invokeCount( "getMobileDeviceCriterion", getService(), classS, MAX_RETRY_COUNT); return Arrays.asList(mobileDevices); }
/** * Retrieves all the ProductBiddingCategoryDatas. * * @param selector should be a Generic Selector (com.google.api.adwords.v201402.cm.Selector) or a * specific Selector appropriate to the ServiceInterface used that does not support Generic * Selectors * @return a list of all the ProductBiddingCategoryDatas * @throws RemoteException for communication-related exceptions */ public List<ProductBiddingCategoryData> getProductBiddingCategoryData(Selector selector) throws RemoteException { // Using ReflectionUtil to execute getService().getUserInterestCriterion() with retries ProductBiddingCategoryData[] productBiddingCategoryDatas = (ProductBiddingCategoryData[]) ReflectionUtil.invokeCount( "getProductBiddingCategoryData", getService(), classS, selector, MAX_RETRY_COUNT); return Arrays.asList(productBiddingCategoryDatas); }
/** * Retrieves all the OperatingSystemVersions. * * @return a list of all the OperatingSystemVersions * @throws RemoteException for communication-related exceptions */ public List<OperatingSystemVersion> getOperatingSystemVersionCriterion() throws RemoteException { // Using ReflectionUtil to execute getService().getOperatingSystemVersionCriterion() with // retries OperatingSystemVersion[] operatingSystemVersions = (OperatingSystemVersion[]) ReflectionUtil.invokeCount( "getOperatingSystemVersionCriterion", getService(), classS, MAX_RETRY_COUNT); return Arrays.asList(operatingSystemVersions); }
/** * Retrieves all the CriterionUserInterests. * * @return a list of all the CriterionUserInterests * @throws RemoteException for communication-related exceptions */ public List<CriterionUserInterest> getUserInterestCriterion( ConstantDataServiceUserInterestTaxonomyType constantDataServiceUserInterestTaxonomyType) throws RemoteException { // Using ReflectionUtil to execute getService().getUserInterestCriterion() with retries CriterionUserInterest[] criterionUserInterests = (CriterionUserInterest[]) ReflectionUtil.invokeCount( "getUserInterestCriterion", getService(), classS, constantDataServiceUserInterestTaxonomyType, MAX_RETRY_COUNT); return Arrays.asList(criterionUserInterests); }