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