AdsApp.ProductGroupBuilderSpace
Stay organized with collections
Save and categorize content based on your preferences.
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:
brandBuilder()
Returns a product brand builder.
Return values:
categoryBuilder()
Returns a product category builder.
Return values:
channelBuilder()
Returns a product channel builder.
Return values:
channelExclusivityBuilder()
Returns a product channel exclusivity builder.
Return values:
conditionBuilder()
Returns a product condition builder.
Return values:
customLabelBuilder()
Returns a product custom label builder.
Return values:
itemIdBuilder()
Returns a product item ID builder.
Return values:
productTypeBuilder()
Returns a product type builder.
Return values:
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[[["Access and manage product group builders using the `ProductGroup.newChild()` method in Google Ads scripts."],["Create new product categories, brands, channels, and other subdivisions within your product groups."],["Utilize various builder methods like `categoryBuilder()`, `brandBuilder()`, and more to define product group attributes."],["Leverage the provided code example to understand how to create a new product category using the `newChild()` method and a category builder."],["Refer to the comprehensive table of methods and their descriptions for detailed guidance on building different product group subdivisions."]]],[]]