AdsApp.ProductTypeBuilder
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-03-11 UTC.
[null,null,["Last updated 2025-03-11 UTC."],[[["This page documents the `ProductTypeBuilder` which is used to create `ProductType` objects in Google Ads scripts."],["The builder provides methods like `withBid` and `withValue` to specify the bid and value for the product type."],["The `build` method finalizes the configuration and returns a `ProductTypeOperation` for creation."],["If the bid is not specified using `withBid`, the product type inherits the bid from its parent product group."]]],[]]