AdsApp.ProductTypeBuilder
Stay organized with collections
Save and categorize content based on your preferences.
-
The ProductTypeBuilder is used to create ProductType objects.
-
The build() method creates the product type and returns a ProductTypeOperation.
-
The withBid(bid) method specifies the bid for the product type, defaulting to the parent's bid if not set.
-
The withValue(value) method sets the value for the product type.
Builder for
ProductType
objects.
Methods:
build()
Builds the product type. Returns a
ProductTypeOperation that corresponds
to the creation of the
ProductType.
Return values:
withBid(bid)
Specifies the bid of the product type. If this is unspecified, will
use the bid of the parent product group.
Arguments:
| Name | Type | Description |
| bid |
double |
The bid. |
Return values:
withValue(value)
Specifies the value of the product type.
Arguments:
| Name | Type | Description |
| value |
String |
The value. |
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-12-03 UTC.
[null,null,["Last updated 2025-12-03 UTC."],[],[]]