Returns a selector of the child product groups of this product channel.
Converts the product channel into a negative product channel.
Converts the product channel into a negative product channel. Does nothing if the product channel has children or is already excluded.
Returns nothing.
Returns the shopping ad group to which this product channel belongs.
Returns the shopping campaign to which this product channel belongs.
Returns the name of this product channel.
Returns the name of this product channel. Possible values:
LOCAL
,
ONLINE
.
Returns the type of this entity as a
String
, in this case,
"ProductChannel"
.
Returns the type of this entity as a
String
, in this case,
"ProductChannel"
.
Returns the ID of the product channel.
Returns the max cpc bid of the product channel, in the currency of the account.
Returns the max cpc bid of the product channel, in the currency of the account. Returns
null
if the
campaign's bidding strategy
is not
MANUAL_CPC
or the product channel is excluded.
Returns stats for the specified custom date range.
Returns stats for the specified custom date range. Both parameters can be either an object containing year, month, and day fields, or an 8-digit string in
YYYYMMDD
form. For instance,
March 24th, 2013
is represented as either
{year: 2013, month: 3, day: 24}
or
"20130324"
. The date range is inclusive on both ends, so
forDateRange("20130324", "20130324")
defines a range of a single day.
Returns the value of the product channel or
null
if this is the root product group.
Returns the value of the product channel or
null
if this is the root product group.
Returns
true
iff this product channel has child product groups.
Returns
true
iff this product channel has child product groups.
Converts the product channel into a positive product channel.
Converts the product channel into a positive product channel. Does nothing if the product channel is not excluded.
Returns nothing.
Returns
true
if this is an excluded product channel.
Returns
true
if this is an excluded product channel.
Returns
true
if the product channel is a catch-all product channel.
Returns
true
if the product channel is a catch-all product channel. i.e.
'Everything else'
.
Returns access to the product group builder space or
null
if the product channel is excluded.
Returns access to the product group builder space or
null
if the product channel is excluded.
Returns the parent product group of this product channel or
null
if this is the root product group.
Returns the parent product group of this product channel or
null
if this is the root product group.
Removes the product channel.
Removes the product channel.
Returns nothing.
Will remove all child product groups of this product channel.
Will remove all child product groups of this product channel.
Returns nothing.
Sets the max cpc bid of the product channel to the specified value.
Sets the max cpc bid of the product channel to the specified value. The change will take effect only if the
campaign's bidding strategy
is
MANUAL_CPC
and the product channel is not excluded.
Returns nothing.
Represents a product channel.