AdsApp.ProductChannelExclusivityBuilder
Stay organized with collections
Save and categorize content based on your preferences.
Builder for
ProductChannelExclusivity
objects.
Methods:
build()
Builds the product channel exclusivity. Returns a
ProductChannelExclusivityOperation that corresponds
to the creation of the
ProductChannelExclusivity.
Return values:
withBid(bid)
Specifies the bid of the product channel exclusivity. If this is unspecified, will
use the bid of the parent product group.
Arguments:
Name | Type | Description |
bid |
double |
The bid. |
Return values:
withChannelExclusivity(channelExclusivity)
Specifies the channel exclusivity of the new product channel exclusivity.
This must be called before calling
ProductChannelExclusivityBuilder.build()
otherwise, creation of the
ProductChannelExclusivity
will fail.
Arguments:
Name | Type | Description |
channelExclusivity |
String |
The channel exclusivity to specify for the new
product channel exclusivity. |
Return values:
withValue(value)
Specifies the value of the product channel exclusivity.
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 `ProductChannelExclusivityBuilder`, used for creating new product channel exclusivity settings in Google Ads."],["The builder allows specifying the bid, channel exclusivity, and value for the new product channel exclusivity."],["`build()` is the core method, used to finalize and create the `ProductChannelExclusivityOperation`."],["If a bid is not specified using `withBid()`, it will default to the parent product group's bid."],["Specifying channel exclusivity using `withChannelExclusivity()` is mandatory before building the product channel exclusivity."]]],[]]