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-25 UTC.
[null,null,["Last updated 2025-08-25 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,["# AdsApp.ProductChannelExclusivityBuilder\n\nBuilder for [ProductChannelExclusivity](/google-ads/scripts/docs/reference/adsapp/adsapp_productchannelexclusivity) objects.\n\n### Methods:\n\n| Member | Type | Description |\n|------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------|\n| [build()](#build) | [AdsApp.ProductChannelExclusivityOperation](/google-ads/scripts/docs/reference/adsapp/adsapp_productchannelexclusivityoperation) | Builds the product channel exclusivity. |\n| [withBid(bid)](#withBid_bid) | [AdsApp.ProductChannelExclusivityBuilder](/google-ads/scripts/docs/reference/adsapp/adsapp_productchannelexclusivitybuilder) | Specifies the bid of the product channel exclusivity. |\n| [withChannelExclusivity(channelExclusivity)](#withChannelExclusivity_channelExclusivity) | [AdsApp.ProductChannelExclusivityBuilder](/google-ads/scripts/docs/reference/adsapp/adsapp_productchannelexclusivitybuilder) | Specifies the channel exclusivity of the new product channel exclusivity. |\n| [withValue(value)](#withValue_value) | [AdsApp.ProductChannelExclusivityBuilder](/google-ads/scripts/docs/reference/adsapp/adsapp_productchannelexclusivitybuilder) | Specifies the value of the product channel exclusivity. |\n\n`build()`\n---------\n\nBuilds 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\n### Return values:\n\n| Type | Description |\n|----------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------|\n| [AdsApp.ProductChannelExclusivityOperation](/google-ads/scripts/docs/reference/adsapp/adsapp_productchannelexclusivityoperation) | The ProductChannelExclusivityOperation. |\n\n`withBid(bid)`\n--------------\n\nSpecifies the bid of the product channel exclusivity. If this is unspecified, will use the bid of the parent product group.\n\n### Arguments:\n\n| Name | Type | Description |\n|------|----------|-------------|\n| bid | `double` | The bid. |\n\n### Return 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)`\n--------------------------------------------\n\nSpecifies 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) otherwise, creation of the [ProductChannelExclusivity](/google-ads/scripts/docs/reference/adsapp/adsapp_productchannelexclusivity) will fail.\n\n### Arguments:\n\n| Name | Type | Description |\n|--------------------|----------|-----------------------------------------------------------------------------|\n| channelExclusivity | `String` | The channel exclusivity to specify for the new product channel exclusivity. |\n\n### Return 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)`\n------------------\n\nSpecifies the value of the product channel exclusivity.\n\n### Arguments:\n\n| Name | Type | Description |\n|-------|----------|-------------|\n| value | `String` | The value. |\n\n### Return values:\n\n| Type | Description |\n|------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------|\n| [AdsApp.ProductChannelExclusivityBuilder](/google-ads/scripts/docs/reference/adsapp/adsapp_productchannelexclusivitybuilder) | The ProductChannelExclusivityBuilder with the specified value. |"]]