AdWordsApp.​ProductConditionBuilder

Builder for ProductCondition objects.

Methods:

MemberTypeDescription
build AdWordsApp.ProductConditionOperation Builds the product condition.
withBid AdWordsApp.ProductConditionBuilder Specifies the bid of the product condition.
withCondition AdWordsApp.ProductConditionBuilder Specifies the condition of the new product condition.
withValue AdWordsApp.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:

TypeDescription
AdWordsApp.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:

NameTypeDescription
bid double The bid.

Return values:

TypeDescription
AdWordsApp.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:

NameTypeDescription
condition String The condition to specify for the new product condition.

Return values:

TypeDescription
AdWordsApp.ProductConditionBuilder Product condition builder.

withValue(value)

Specifies the value of the product condition.

Arguments:

NameTypeDescription
value String The value.

Return values:

TypeDescription
AdWordsApp.ProductConditionBuilder The ProductConditionBuilder with the specified value.

Enviar comentários sobre…

Precisa de ajuda? Acesse nossa página de suporte.