AdsApp.ProductChannelBuilder
Stay organized with collections
Save and categorize content based on your preferences.
Builder for
ProductChannel
objects.
Methods:
build()
Builds the product channel. Returns a
ProductChannelOperation that corresponds
to the creation of the
ProductChannel.
Return values:
withBid(bid)
Specifies the bid of the product channel. If this is unspecified, will
use the bid of the parent product group.
Arguments:
Name | Type | Description |
bid |
double |
The bid. |
Return values:
withChannel(channel)
Specifies the channel of the new product channel. This must be called
before calling
ProductChannelBuilder.build()
otherwise, creation of the
ProductChannel will fail.
Arguments:
Name | Type | Description |
channel |
String |
The channel to specify for the new product channel. |
Return values:
withValue(value)
Specifies the value of the product channel.
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 2024-12-18 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 2024-12-18 UTC."],[[["This page documents the `ProductChannelBuilder`, used for creating new Product Channels in Google Ads."],["You can specify the bid, channel, and value for the new Product Channel using the builder's methods."],["The `build()` method finalizes the Product Channel creation and returns a `ProductChannelOperation`."],["Specifying the channel using `withChannel()` is mandatory before building the Product Channel."],["If the bid is not specified using `withBid()`, the parent product group's bid will be used."]]],[]]