@Test public void testAdGroupCriterion() { String expected = "customers/1234/adGroupCriteria/5678~1011"; assertEquals(expected, ResourceNames.adGroupCriterion(1234L, 5678L, 1011L)); }
public static String adGroupCriterion(long customerId, long adGroupId, long criterionId) { return AdGroupCriterionName.format( String.valueOf(customerId), concatIdentifiers(adGroupId, criterionId)); }
ResourceNames { public static String adGroupCriterion(long customerId, long adGroupId, long criterionId) { return AdGroupCriterionName.format( String.valueOf(customerId), concatIdentifiers(adGroupId, criterionId)); } }
ResourceNames { public static String adGroupCriterion(long customerId, long adGroupId, long criterionId) { return AdGroupCriterionName.format( String.valueOf(customerId), concatIdentifiers(adGroupId, criterionId)); }  }
ResourceNames { public static String adGroupCriterion(long customerId, long adGroupId, long criterionId) { return AdGroupCriterionName.format( String.valueOf(customerId), concatIdentifiers(adGroupId, criterionId)); }  static String accountBudget(long customerId, long accountBudgetId); static String accountBudgetProposal(long customerId, long accountBudgetProposalId); static String accountLink(long customerId, long accountLinkId); static String ad(long customerId, long adId); static String adGroup(long customerId, long adGroupId); static String adGroupAd(long customerId, long adGroupId, long adId); static String adGroupAdAssetView(long customerId, long adGroupId, long adId, long assetId,
      AssetFieldType fieldType); static String adGroupAdLabel(long customerId, long adGroupId, long adId, long labelId); static String adGroupAudienceView(long customerId, long adGroupId, long criterionId); static String adGroupBidModifier(long customerId, long adGroupId, long criterionId); static String adGroupCriterion(long customerId, long adGroupId, long criterionId); static String adGroupCriterionLabel(
      long customerId, long adGroupId, long criterionId, long labelId); static String adGroupCriterionSimulation(
      long customerId,
      long adGroupId,
      long criterionId,
      SimulationType type,
      SimulationModificationMethod method,
      String startDate,
      String endDate); static String adGroupExtensionSetting(
      long customerId, long adGroupId, ExtensionType extensionType); static String adGroupFeed(long customerId, long adGroupId, long feedId); static String adGroupLabel(long customerId, long adGroupId, long labelId); static String adGroupSimulation(
      long customerId,
      long adGroupId,
      SimulationType type,
      SimulationModificationMethod method,
      String startDate,
      String endDate); static String adParameter(
      long customerId, long adGroupId, long criterionId, long parameterIndex); static String adScheduleView(long customerId, long campaignId, long criterionId); static String ageRangeView(long customerId, long adGroupId, long criterionId); static String asset(long customerId, long assetId); static String biddingStrategy(long customerId, long biddingStrategyId); static String billingSetup(long customerId, long billingSetupId); static String campaign(long customerId, long campaignId); static String campaignAudienceView(long customerId, long campaignId, long criterionId); static String campaignBidModifier(long customerId, long campaignId, long criterionId); static String campaignBudget(long customerId, long budgetId); static String campaignCriterion(long customerId, long campaignId, long criterionId); static String campaignCriterionSimulation(
      long customerId,
      long campaignId,
      SimulationType type,
      SimulationModificationMethod method,
      String startDate,
      String endDate); static String campaignDraft(long customerId, long baseCampaignId, long draftId); static String campaignExperiment(long customerId, long campaignExperimentId); static String campaignExtensionSetting(
      long customerId, long campaignId, ExtensionType extensionType); static String campaignFeed(long customerId, long campaignId, long feedId); static String campaignLabel(long customerId, long campaignId, long labelId); static String campaignSharedSet(long customerId, long campaignId, long sharedSetId); static String carrierConstant(long criterionId); static String changeStatus(long customerId, String changeStatusId); static String clickView(long customerId, String date, String gclid); static String conversionAction(long customerId, long conversionActionId); static String currencyConstant(String currencyCode); static String customInterest(long customerId, long customInterestId); static String customer(long customerId); static String customerClient(long customerId, long clientCustomerId); static String customerClientLink(
      long customerId, long clientCustomerId, long managerLinkId); static String customerExtensionSetting(long customerId, ExtensionType extensionType); static String customerFeed(long customerId, long feedId); static String customerLabel(long customerId, long labelId); static String customerManagerLink(
      long customerId, long managerCustomerId, long managerLinkId); @Deprecated static String customerNegativeCriteria(long customerId, long criterionId); static String customerNegativeCriterion(long customerId, long criterionId); static String detailPlacementView(
      long customerId, long adGroupId, String placementBase64); static String displayKeywordView(long customerId, long adGroupId, long criterionId); static String distanceView(long customerId, long chainId, DistanceBucket distanceBucket); static String domainCategory(
      long customerId, long campaignId, String categoryBase64, String languageCode); static String dynamicSearchAdsSearchTermView(
      long customerId, long adGroupId, String searchTerm, String headline, String landingPage); static String expandedLandingPageView(
      long customerId, String expandedFinalUrlFingerprint); static String extensionFeedItem(long customerId, long feedItemId); static String feed(long customerId, long feedId); static String feedItem(long customerId, long feedId, long feedItemId); static String feedItemTarget(
      long customerId,
      long feedId,
      long feedItemId,
      FeedItemTargetType targetType,
      long feedItemTargetId); static String feedMapping(long customerId, long feedId, long feedMappingId); static String feedPlaceholderView(long customerId, PlaceholderType placeholderType); static String genderView(long customerId, long adGroupId, long criterionId); static String geoTargetConstant(long criterionId); static String geographicView(
      long customerId, long countryCriterionId, GeoTargetingType targetType); static String googleAdsField(String field); static String groupPlacementView(long customerId, long adGroupId, String placementBase64); static String hotelGroupView(long customerId, long adGroupId, long criterionId); static String hotelPerformanceView(long customerId); static String incomeRangeView(long customerId, long adGroupId, long criterionId); static String keywordPlan(long customerId, long kpPlanId); static String keywordPlanAdGroup(long customerId, long kpAdGroupId); static String keywordPlanCampaign(long customerId, long kpCampaignId); static String keywordPlanAdGroupKeyword(long customerId, long kpAdGroupKeywordId); static String keywordPlanCampaignKeyword(long customerId, long kpCampaignKeywordId); static String keywordView(long customerId, long adGroupId, long criterionId); static String label(long customerId, long labelId); static String landingPageView(long customerId, String unexpandedFinalUrlFingerprint); static String languageConstant(long criterionId); static String locationView(long customerId, long campaignId, long criterionId); static String managedPlacementView(long customerId, long adGroupId, long criterionId); static String mediaFile(long customerId, long mediaId); static String merchantCenterLink(long customerId, long merchantCenterId); static String mobileAppCategoryConstant(long mobileAppCategoryId); static String mobileDeviceConstant(long criterionId); static String batchJob(long customerId, long mutateJobId); static String offlineUserDataJob(long customerId, long offlineUserDataJobId); static String operatingSystemVersionConstant(long criterionId); static String paidOrganicSearchTermView(
      long customerId, long campaignId, long adGroupid, String searchTermBase64); static String parentalStatusView(long customerId, long adGroupId, long criterionId); static String paymentsAccount(long customerId, String paymentsAccountId); static String productBiddingCategoryConstant(
      String countryCode, ProductBiddingCategoryLevel level, long constantId); static String productGroupView(long customerId, long adgroupId, long criterionId); static String recommendation(long customerId, String recommendationId); static String remarketingAction(long customerId, long remarketingActionId); static String searchTermView(
      long customerId, long campaignId, long adGroupId, String query); static String sharedCriterion(long customerId, long sharedSetId, long criterionId); static String sharedSet(long customerId, long sharedSetId); static String shoppingPerformanceView(long customerId); static String thirdPartyAppAnalyticsLink(long customerId, long accountLinkId); static String topicConstant(long verticalId); static String topicView(long customerId, long adGroupId, long criterionId); static String userInterest(long customerId, long categoryId); static String userList(long customerId, long userListId); static String userLocationView(
      long customerId, long countryCriterionId, boolean isTargetingLocation); static String video(long customerId, String videoId); }
ResourceNames { public static String adGroupCriterion(long customerId, long adGroupId, long criterionId) { return AdGroupCriterionName.format( String.valueOf(customerId), concatIdentifiers(adGroupId, criterionId)); }  static String accountBudget(long customerId, long accountBudgetId); static String accountBudgetProposal(long customerId, long accountBudgetProposalId); static String accountLink(long customerId, long accountLinkId); static String ad(long customerId, long adId); static String adGroup(long customerId, long adGroupId); static String adGroupAd(long customerId, long adGroupId, long adId); static String adGroupAdAssetView(long customerId, long adGroupId, long adId, long assetId,
      AssetFieldType fieldType); static String adGroupAdLabel(long customerId, long adGroupId, long adId, long labelId); static String adGroupAudienceView(long customerId, long adGroupId, long criterionId); static String adGroupBidModifier(long customerId, long adGroupId, long criterionId); static String adGroupCriterion(long customerId, long adGroupId, long criterionId); static String adGroupCriterionLabel(
      long customerId, long adGroupId, long criterionId, long labelId); static String adGroupCriterionSimulation(
      long customerId,
      long adGroupId,
      long criterionId,
      SimulationType type,
      SimulationModificationMethod method,
      String startDate,
      String endDate); static String adGroupExtensionSetting(
      long customerId, long adGroupId, ExtensionType extensionType); static String adGroupFeed(long customerId, long adGroupId, long feedId); static String adGroupLabel(long customerId, long adGroupId, long labelId); static String adGroupSimulation(
      long customerId,
      long adGroupId,
      SimulationType type,
      SimulationModificationMethod method,
      String startDate,
      String endDate); static String adParameter(
      long customerId, long adGroupId, long criterionId, long parameterIndex); static String adScheduleView(long customerId, long campaignId, long criterionId); static String ageRangeView(long customerId, long adGroupId, long criterionId); static String asset(long customerId, long assetId); static String biddingStrategy(long customerId, long biddingStrategyId); static String billingSetup(long customerId, long billingSetupId); static String campaign(long customerId, long campaignId); static String campaignAudienceView(long customerId, long campaignId, long criterionId); static String campaignBidModifier(long customerId, long campaignId, long criterionId); static String campaignBudget(long customerId, long budgetId); static String campaignCriterion(long customerId, long campaignId, long criterionId); static String campaignCriterionSimulation(
      long customerId,
      long campaignId,
      SimulationType type,
      SimulationModificationMethod method,
      String startDate,
      String endDate); static String campaignDraft(long customerId, long baseCampaignId, long draftId); static String campaignExperiment(long customerId, long campaignExperimentId); static String campaignExtensionSetting(
      long customerId, long campaignId, ExtensionType extensionType); static String campaignFeed(long customerId, long campaignId, long feedId); static String campaignLabel(long customerId, long campaignId, long labelId); static String campaignSharedSet(long customerId, long campaignId, long sharedSetId); static String carrierConstant(long criterionId); static String changeStatus(long customerId, String changeStatusId); static String clickView(long customerId, String date, String gclid); static String conversionAction(long customerId, long conversionActionId); static String currencyConstant(String currencyCode); static String customInterest(long customerId, long customInterestId); static String customer(long customerId); static String customerClient(long customerId, long clientCustomerId); static String customerClientLink(
      long customerId, long clientCustomerId, long managerLinkId); static String customerExtensionSetting(long customerId, ExtensionType extensionType); static String customerFeed(long customerId, long feedId); static String customerLabel(long customerId, long labelId); static String customerManagerLink(
      long customerId, long managerCustomerId, long managerLinkId); @Deprecated static String customerNegativeCriteria(long customerId, long criterionId); static String customerNegativeCriterion(long customerId, long criterionId); static String detailPlacementView(
      long customerId, long adGroupId, String placementBase64); static String displayKeywordView(long customerId, long adGroupId, long criterionId); static String distanceView(long customerId, long chainId, DistanceBucket distanceBucket); static String domainCategory(
      long customerId, long campaignId, String categoryBase64, String languageCode); static String dynamicSearchAdsSearchTermView(
      long customerId, long adGroupId, String searchTerm, String headline, String landingPage); static String expandedLandingPageView(
      long customerId, String expandedFinalUrlFingerprint); static String extensionFeedItem(long customerId, long feedItemId); static String feed(long customerId, long feedId); static String feedItem(long customerId, long feedId, long feedItemId); static String feedItemTarget(
      long customerId,
      long feedId,
      long feedItemId,
      FeedItemTargetType targetType,
      long feedItemTargetId); static String feedMapping(long customerId, long feedId, long feedMappingId); static String feedPlaceholderView(long customerId, PlaceholderType placeholderType); static String genderView(long customerId, long adGroupId, long criterionId); static String geoTargetConstant(long criterionId); static String geographicView(
      long customerId, long countryCriterionId, GeoTargetingType targetType); static String googleAdsField(String field); static String groupPlacementView(long customerId, long adGroupId, String placementBase64); static String hotelGroupView(long customerId, long adGroupId, long criterionId); static String hotelPerformanceView(long customerId); static String incomeRangeView(long customerId, long adGroupId, long criterionId); static String keywordPlan(long customerId, long kpPlanId); static String keywordPlanAdGroup(long customerId, long kpAdGroupId); static String keywordPlanCampaign(long customerId, long kpCampaignId); static String keywordPlanAdGroupKeyword(long customerId, long kpAdGroupKeywordId); static String keywordPlanCampaignKeyword(long customerId, long kpCampaignKeywordId); static String keywordView(long customerId, long adGroupId, long criterionId); static String label(long customerId, long labelId); static String landingPageView(long customerId, String unexpandedFinalUrlFingerprint); static String languageConstant(long criterionId); static String locationView(long customerId, long campaignId, long criterionId); static String managedPlacementView(long customerId, long adGroupId, long criterionId); static String mediaFile(long customerId, long mediaId); static String merchantCenterLink(long customerId, long merchantCenterId); static String mobileAppCategoryConstant(long mobileAppCategoryId); static String mobileDeviceConstant(long criterionId); static String batchJob(long customerId, long mutateJobId); static String offlineUserDataJob(long customerId, long offlineUserDataJobId); static String operatingSystemVersionConstant(long criterionId); static String paidOrganicSearchTermView(
      long customerId, long campaignId, long adGroupid, String searchTermBase64); static String parentalStatusView(long customerId, long adGroupId, long criterionId); static String paymentsAccount(long customerId, String paymentsAccountId); static String productBiddingCategoryConstant(
      String countryCode, ProductBiddingCategoryLevel level, long constantId); static String productGroupView(long customerId, long adgroupId, long criterionId); static String recommendation(long customerId, String recommendationId); static String remarketingAction(long customerId, long remarketingActionId); static String searchTermView(
      long customerId, long campaignId, long adGroupId, String query); static String sharedCriterion(long customerId, long sharedSetId, long criterionId); static String sharedSet(long customerId, long sharedSetId); static String shoppingPerformanceView(long customerId); static String thirdPartyAppAnalyticsLink(long customerId, long accountLinkId); static String topicConstant(long verticalId); static String topicView(long customerId, long adGroupId, long criterionId); static String userInterest(long customerId, long categoryId); static String userList(long customerId, long userListId); static String userLocationView(
      long customerId, long countryCriterionId, boolean isTargetingLocation); static String video(long customerId, String videoId);  }