AdsApp.ProductTypeOperation
Stay organized with collections
Save and categorize content based on your preferences.
Page Summary
Calling any of the methods on a ProductTypeOperation executes the creation of a new product type.
Storing operations in an array and calling methods only after all operations are constructed is recommended for efficiency.
The getErrors() method returns a list of errors if the operation failed.
The getResult() method returns the newly created ProductType if successful, otherwise null.
The isSuccessful() method indicates whether the operation was successful with a boolean value.
An operation representing creation of a new product type. Calling any
method
(getErrors,
getResult, or
isSuccessful)
will cause the operation to execute and create the product type. To
make the script more efficient, it's recommended that you store the
operations in an array and only call these methods once you've constructed
all the operations you want.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-10-28 UTC."],[],[]]