Methods:
Member | Type | Description |
---|---|---|
build | AdsApp.ProductConditionOperation |
Builds the product condition. |
withBid | AdsApp.ProductConditionBuilder |
Specifies the bid of the product condition. |
withCondition | AdsApp.ProductConditionBuilder |
Specifies the condition of the new product condition. |
withValue | AdsApp.ProductConditionBuilder |
Specifies the value of the product condition. |
build()
Builds the product condition. Returns a ProductConditionOperation that corresponds
to the creation of the ProductCondition. Return values:
Type | Description |
---|---|
AdsApp.ProductConditionOperation |
The ProductConditionOperation. |
withBid(bid)
Specifies the bid of the product condition. If this is unspecified, will
use the bid of the parent product group. Arguments:
Name | Type | Description |
---|---|---|
bid | double |
The bid. |
Return values:
Type | Description |
---|---|
AdsApp.ProductConditionBuilder |
The ProductConditionBuilder with the specified bid. |
withCondition(condition)
Specifies the condition of the new product condition. If the condition is
unspecified before calling 'build', the condition will fail to build. Arguments:
Name | Type | Description |
---|---|---|
condition | String |
The condition to specify for the new product condition. |
Return values:
Type | Description |
---|---|
AdsApp.ProductConditionBuilder |
Product condition builder. |
withValue(value)
Specifies the value of the product condition. Arguments:
Name | Type | Description |
---|---|---|
value | String |
The value. |
Return values:
Type | Description |
---|---|
AdsApp.ProductConditionBuilder |
The ProductConditionBuilder with the specified value. |