AdsApp.​ProductGroupBuilderSpace

Access to product group builders via the ProductGroup.newChild() method.

For instance, to create a new product category, you might use:

var root = AdsApp.shoppingAdGroups().get().next().rootProductGroup();
root.newChild().categoryBuilder().withName('Electronics').build();

Methods:

MemberTypeDescription
brandBuilder AdsApp.ProductBrandBuilder Returns a product brand builder.
categoryBuilder AdsApp.ProductCategoryBuilder Returns a product category builder.
channelBuilder AdsApp.ProductChannelBuilder Returns a product channel builder.
channelExclusivityBuilder AdsApp.ProductChannelExclusivityBuilder Returns a product channel exclusivity builder.
conditionBuilder AdsApp.ProductConditionBuilder Returns a product condition builder.
customLabelBuilder AdsApp.ProductCustomLabelBuilder Returns a product custom label builder.
itemIdBuilder AdsApp.ProductItemIdBuilder Returns a product item ID builder.
productTypeBuilder AdsApp.ProductTypeBuilder Returns a product type builder.

brandBuilder()

Returns a product brand builder.

Return values:

TypeDescription
AdsApp.ProductBrandBuilder A product brand builder.

categoryBuilder()

Returns a product category builder.

Return values:

TypeDescription
AdsApp.ProductCategoryBuilder A product category builder.

channelBuilder()

Returns a product channel builder.

Return values:

TypeDescription
AdsApp.ProductChannelBuilder A product channel builder.

channelExclusivityBuilder()

Returns a product channel exclusivity builder.

Return values:

TypeDescription
AdsApp.ProductChannelExclusivityBuilder A product channel exclusivity builder.

conditionBuilder()

Returns a product condition builder.

Return values:

TypeDescription
AdsApp.ProductConditionBuilder A product condition builder.

customLabelBuilder()

Returns a product custom label builder.

Return values:

TypeDescription
AdsApp.ProductCustomLabelBuilder A product custom label builder.

itemIdBuilder()

Returns a product item ID builder.

Return values:

TypeDescription
AdsApp.ProductItemIdBuilder A product item ID builder.

productTypeBuilder()

Returns a product type builder.

Return values:

TypeDescription
AdsApp.ProductTypeBuilder A product type builder.