AI-generated Key Takeaways
-
This operation facilitates the creation of a new mobile app within Google Ads.
-
Calling any of its methods (getErrors, getResult, or isSuccessful) triggers the app creation process.
-
For optimal script efficiency, store operations in an array and execute methods after constructing all desired operations.
-
The operation provides methods to check for errors, retrieve the created app, and confirm operation success.
Methods:
Member | Type | Description |
---|---|---|
getErrors() | String[] |
Returns an empty array if the operation was successful, otherwise returns the list of errors encountered when trying to create the MobileApp. |
getResult() | AdsApp.MobileApp |
Returns the newly created MobileApp, or null if
the operation was unsuccessful. |
isSuccessful() | boolean |
Returns true if the operation was successful. |
getErrors()
Returns an empty array if the operation was successful, otherwise returns
the list of errors encountered when trying to create the MobileApp. Return values:
Type | Description |
---|---|
String[] |
The errors that occurred during the MobileAppOperation . |
getResult()
Returns the newly created MobileApp, or null
if
the operation was unsuccessful. Return values:
Type | Description |
---|---|
AdsApp.MobileApp |
The MobileApp created by the MobileAppOperation. |
isSuccessful()
Returns true
if the operation was successful. Return values:
Type | Description |
---|---|
boolean |
true if the operation was successful. |