Uploads the file and applies the changes.
Uploads the file and applies the changes.
<aside class="warning">
When previewing a script,
apply()
previews the Bulk Upload instead of applying it.
</aside>
Returns nothing.
Specifies that this upload is used for Campaign Management entity changes.
Specifies that this upload is used for Campaign Management entity changes.
This is the default option, so this method doesn't need to be called except to override a previous call to FileUpload.forOfflineConversions().
Specifies that this upload is used for reporting offline conversions.
Specifies that this upload is used for reporting offline conversions.
By default, uploads are used for Campaign Management entity changes, so it's necessary to call FileUpload.forOfflineConversions() to make offline conversion uploads work correctly.
Uploads the file and previews the changes.
Uploads the file and previews the changes.
Returns nothing.
Sets the file name of the uploaded file.
Represents a Bulk Upload of an already-existing file, loaded from Blob, Google Sheet or Drive File.