Examples of ProductBiddingCategory


Examples of com.google.api.ads.adwords.axis.v201402.cm.ProductBiddingCategory

    productTypeLevel2Books.setValue("Books");

    // The value for the bidding category is a fixed ID for the 'Luggage & Bags'
    // category. You can retrieve IDs for categories from the ConstantDataService.
    // See the 'GetProductCategoryTaxonomy' example for more details.
    ProductBiddingCategory productBiddingCategory = new ProductBiddingCategory();
    productBiddingCategory.setType(ProductDimensionType.BIDDING_CATEGORY_L1);
    productBiddingCategory.setValue(-5914235892932915235L);
   
    productScope.setDimensions(new ProductDimension[]{ productBrand, productCanonicalCondition,
        productCustomAttribute, productOfferId, productTypeLevel1Media, productTypeLevel2Books,
        productBiddingCategory});
View Full Code Here

Examples of com.google.api.ads.adwords.axis.v201402.cm.ProductBiddingCategory

    ProductPartition otherBrand = helper.createSubdivision(otherCondition, new ProductBrand());

    // The value for the bidding category is a fixed ID for the 'Luggage & Bags'
    // category. You can retrieve IDs for categories from the ConstantDataService.
    // See the 'GetProductCategoryTaxonomy' example for more details.
    ProductBiddingCategory biddingCategory = new ProductBiddingCategory();
    biddingCategory.setType(ProductDimensionType.BIDDING_CATEGORY_L1);
    biddingCategory.setValue(-5914235892932915235L);
    helper.createUnit(otherBrand, biddingCategory, 750000L);

    ProductBiddingCategory otherBiddingCategory = new ProductBiddingCategory();
    otherBiddingCategory.setType(ProductDimensionType.BIDDING_CATEGORY_L1);
    helper.createUnit(otherBrand, otherBiddingCategory, 110000L);

    // Make the mutate request.
    AdGroupCriterionReturnValue result = adGroupCriterionService.mutate(helper.getOperations());
View Full Code Here

Examples of com.google.api.ads.adwords.axis.v201402.cm.ProductBiddingCategory

      ProductDimension nodeCaseValue = node.getCaseValue();
      type = nodeCaseValue.getProductDimensionType();
      if (nodeCaseValue instanceof ProductCanonicalCondition) {
        value = String.valueOf(((ProductCanonicalCondition) nodeCaseValue).getCondition());
      } else if (nodeCaseValue instanceof ProductBiddingCategory) {
        ProductBiddingCategory productBiddingCategory = (ProductBiddingCategory) nodeCaseValue;
        value = String.format("%s(%s)", productBiddingCategory.getType(),
            productBiddingCategory.getValue());
      } else if (nodeCaseValue instanceof ProductBrand){
        ProductBrand productBrand = (ProductBrand) nodeCaseValue;
        value = productBrand.getValue();
      } else {
        value = nodeCaseValue.toString();
View Full Code Here

Examples of com.google.api.ads.adwords.axis.v201406.cm.ProductBiddingCategory

    productTypeLevel2Books.setValue("Books");

    // The value for the bidding category is a fixed ID for the 'Luggage & Bags'
    // category. You can retrieve IDs for categories from the ConstantDataService.
    // See the 'GetProductCategoryTaxonomy' example for more details.
    ProductBiddingCategory productBiddingCategory = new ProductBiddingCategory();
    productBiddingCategory.setType(ProductDimensionType.BIDDING_CATEGORY_L1);
    productBiddingCategory.setValue(-5914235892932915235L);
   
    productScope.setDimensions(new ProductDimension[]{ productBrand, productCanonicalCondition,
        productCustomAttribute, productOfferId, productTypeLevel1Media, productTypeLevel2Books,
        productBiddingCategory});
View Full Code Here

Examples of com.google.api.ads.adwords.axis.v201406.cm.ProductBiddingCategory

    ProductPartition otherBrand = helper.createSubdivision(otherCondition, new ProductBrand());

    // The value for the bidding category is a fixed ID for the 'Luggage & Bags'
    // category. You can retrieve IDs for categories from the ConstantDataService.
    // See the 'GetProductCategoryTaxonomy' example for more details.
    ProductBiddingCategory biddingCategory = new ProductBiddingCategory();
    biddingCategory.setType(ProductDimensionType.BIDDING_CATEGORY_L1);
    biddingCategory.setValue(-5914235892932915235L);
    helper.createUnit(otherBrand, biddingCategory, 750000L);

    ProductBiddingCategory otherBiddingCategory = new ProductBiddingCategory();
    otherBiddingCategory.setType(ProductDimensionType.BIDDING_CATEGORY_L1);
    helper.createUnit(otherBrand, otherBiddingCategory, 110000L);

    // Make the mutate request.
    AdGroupCriterionReturnValue result = adGroupCriterionService.mutate(helper.getOperations());
View Full Code Here

Examples of com.google.api.ads.adwords.axis.v201406.cm.ProductBiddingCategory

      ProductDimension nodeCaseValue = node.getCaseValue();
      type = nodeCaseValue.getProductDimensionType();
      if (nodeCaseValue instanceof ProductCanonicalCondition) {
        value = String.valueOf(((ProductCanonicalCondition) nodeCaseValue).getCondition());
      } else if (nodeCaseValue instanceof ProductBiddingCategory) {
        ProductBiddingCategory productBiddingCategory = (ProductBiddingCategory) nodeCaseValue;
        value = String.format("%s(%s)", productBiddingCategory.getType(),
            productBiddingCategory.getValue());
      } else if (nodeCaseValue instanceof ProductBrand){
        ProductBrand productBrand = (ProductBrand) nodeCaseValue;
        value = productBrand.getValue();
      } else {
        value = nodeCaseValue.toString();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.