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 2025-08-20 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-08-20 UTC."],[[["\u003cp\u003eThis page documents the \u003ccode\u003eProductChannelExclusivityBuilder\u003c/code\u003e, used for creating new product channel exclusivity settings in Google Ads.\u003c/p\u003e\n"],["\u003cp\u003eThe builder allows specifying the bid, channel exclusivity, and value for the new product channel exclusivity.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ebuild()\u003c/code\u003e is the core method, used to finalize and create the \u003ccode\u003eProductChannelExclusivityOperation\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIf a bid is not specified using \u003ccode\u003ewithBid()\u003c/code\u003e, it will default to the parent product group's bid.\u003c/p\u003e\n"],["\u003cp\u003eSpecifying channel exclusivity using \u003ccode\u003ewithChannelExclusivity()\u003c/code\u003e is mandatory before building the product channel exclusivity.\u003c/p\u003e\n"]]],[],null,["Builder for [ProductChannelExclusivity](/google-ads/scripts/docs/reference/adsapp/adsapp_productchannelexclusivity) objects.\n\nMethods:\n\n| Member | Type | Description |\n|-----------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------|\n| [build](#build_0) | [AdsApp.ProductChannelExclusivityOperation](/google-ads/scripts/docs/reference/adsapp/adsapp_productchannelexclusivityoperation) | Builds the product channel exclusivity. |\n| [withBid](#withBid_1) | [AdsApp.ProductChannelExclusivityBuilder](/google-ads/scripts/docs/reference/adsapp/adsapp_productchannelexclusivitybuilder) | Specifies the bid of the product channel exclusivity. |\n| [withChannelExclusivity](#withChannelExclusivity_1) | [AdsApp.ProductChannelExclusivityBuilder](/google-ads/scripts/docs/reference/adsapp/adsapp_productchannelexclusivitybuilder) | Specifies the channel exclusivity of the new product channel exclusivity. |\n| [withValue](#withValue_1) | [AdsApp.ProductChannelExclusivityBuilder](/google-ads/scripts/docs/reference/adsapp/adsapp_productchannelexclusivitybuilder) | Specifies the value of the product channel exclusivity. |\n\n`build()` Builds the product channel exclusivity. Returns a [ProductChannelExclusivityOperation](/google-ads/scripts/docs/reference/adsapp/adsapp_productchannelexclusivityoperation) that corresponds to the creation of the [ProductChannelExclusivity](/google-ads/scripts/docs/reference/adsapp/adsapp_productchannelexclusivity).\n\nReturn values:\n\n| Type | Description |\n|----------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------|\n| [AdsApp.ProductChannelExclusivityOperation](/google-ads/scripts/docs/reference/adsapp/adsapp_productchannelexclusivityoperation) | The ProductChannelExclusivityOperation. |\n\n`withBid(bid)` Specifies the bid of the product channel exclusivity. If this is unspecified, will use the bid of the parent product group.\n\nArguments:\n\n| Name | Type | Description |\n|------|----------|-------------|\n| bid | `double` | The bid. |\n\nReturn values:\n\n| Type | Description |\n|------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------|\n| [AdsApp.ProductChannelExclusivityBuilder](/google-ads/scripts/docs/reference/adsapp/adsapp_productchannelexclusivitybuilder) | The ProductChannelExclusivityBuilder with the specified bid. |\n\n`withChannelExclusivity(channelExclusivity)` Specifies the channel exclusivity of the new product channel exclusivity. This must be called before calling [ProductChannelExclusivityBuilder.build()](/google-ads/scripts/docs/reference/adsapp/adsapp_productchannelexclusivitybuilder#build_0) otherwise, creation of the [ProductChannelExclusivity](/google-ads/scripts/docs/reference/adsapp/adsapp_productchannelexclusivity) will fail.\n\nArguments:\n\n| Name | Type | Description |\n|--------------------|----------|-----------------------------------------------------------------------------|\n| channelExclusivity | `String` | The channel exclusivity to specify for the new product channel exclusivity. |\n\nReturn values:\n\n| Type | Description |\n|------------------------------------------------------------------------------------------------------------------------------|--------------------------------------|\n| [AdsApp.ProductChannelExclusivityBuilder](/google-ads/scripts/docs/reference/adsapp/adsapp_productchannelexclusivitybuilder) | Product channel exclusivity builder. |\n\n`withValue(value)` Specifies the value of the product channel exclusivity.\n\nArguments:\n\n| Name | Type | Description |\n|-------|----------|-------------|\n| value | `String` | The value. |\n\nReturn values:\n\n| Type | Description |\n|------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------|\n| [AdsApp.ProductChannelExclusivityBuilder](/google-ads/scripts/docs/reference/adsapp/adsapp_productchannelexclusivitybuilder) | The ProductChannelExclusivityBuilder with the specified value. |"]]