Register for one of our upcoming Google Ads scripts workshops.

AdsApp.​ProductItemIdBuilder

Builder for ProductItemId objects.

Methods:

MemberTypeDescription
build AdsApp.ProductItemIdOperation Builds the product item id.
withBid AdsApp.ProductItemIdBuilder Specifies the bid of the product item id.
withValue AdsApp.ProductItemIdBuilder Specifies the value of the product item id.

build()

Builds the product item id. Returns a ProductItemIdOperation that corresponds to the creation of the ProductItemId.

Return values:

TypeDescription
AdsApp.ProductItemIdOperation The ProductItemIdOperation.

withBid(bid)

Specifies the bid of the product item id. If this is unspecified, will use the bid of the parent product group.

Arguments:

NameTypeDescription
bid double The bid.

Return values:

TypeDescription
AdsApp.ProductItemIdBuilder The ProductItemIdBuilder with the specified bid.

withValue(value)

Specifies the value of the product item id.

Arguments:

NameTypeDescription
value String The value.

Return values:

TypeDescription
AdsApp.ProductItemIdBuilder The ProductItemIdBuilder with the specified value.

发送以下问题的反馈:

此网页
Google Ads scripts
Google Ads scripts
需要帮助?请访问我们的支持页面