Returns a selector of the child product groups of this product type.
Converts the product type into a negative product type.
Converts the product type into a negative product type. Does nothing if the product type has children or is already excluded.
Returns nothing.
Returns the shopping ad group to which this product type belongs.
Returns the shopping campaign to which this product type belongs.
Returns the type of this entity as a
String
, in this case,
"ProductType"
.
Returns the type of this entity as a
String
, in this case,
"ProductType"
.
Returns the ID of the product type.
Returns the max cpc bid of the product type, in the currency of the account.
Returns the max cpc bid of the product type, in the currency of the account. Returns
null
if the
campaign's bidding strategy
is not
MANUAL_CPC
or the product type 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 name of the product type.
Returns the value of the product type or
null
if this is the root product group.
Returns the value of the product type or
null
if this is the root product group.
Returns
true
iff this product type has child product groups.
Returns
true
iff this product type has child product groups.
Converts the product type into a positive product type.
Converts the product type into a positive product type. Does nothing if the product type is not excluded.
Returns nothing.
Returns
true
if this is an excluded product type.
Returns
true
if this is an excluded product type.
Returns
true
if the product type is a catch-all product type.
Returns
true
if the product type is a catch-all product type. i.e.
'Everything else'
.
Returns access to the product group builder space or
null
if the product type is excluded.
Returns access to the product group builder space or
null
if the product type is excluded.
Returns the parent product group of this product type or
null
if this is the root product group.
Returns the parent product group of this product type or
null
if this is the root product group.
Removes the product type.
Removes the product type.
Returns nothing.
Will remove all child product groups of this product type.
Will remove all child product groups of this product type.
Returns nothing.
Sets the max cpc bid of the product type to the specified value.
Sets the max cpc bid of the product type to the specified value. The change will take effect only if the
campaign's bidding strategy
is
MANUAL_CPC
and the product type is not excluded.
Returns nothing.
Represents a product type.