public abstract class BulkAudience<T extends Audience> extends SingleRecordBulkEntity
setAudience(T)
and getAudience()
methods that can be used to read and write fields of the Audience record in a bulk file.
For more information, see Audience at https://go.microsoft.com/fwlink/?linkid=846127.
BulkServiceManager
,
BulkOperation
,
BulkFileReader
,
BulkFileWriter
Constructor and Description |
---|
BulkAudience() |
Modifier and Type | Method and Description |
---|---|
abstract T |
createAudience() |
T |
getAudience()
Gets the audience.
|
Status |
getStatus()
Gets the status of the audience.
|
void |
processMappingsFromRowValues(RowValues values)
Process specific entity mappings from CSV values.
|
void |
processMappingsToRowValues(RowValues values,
boolean excludeReadonlyData)
Process specific entity mappings to CSV values.
|
void |
setAudience(T audience)
Sets the audience.
|
void |
setStatus(Status status)
Sets the status of the audience.
|
getClientId, getErrors, getLastModifiedTime, hasErrors, readAdditionalData, readFromRowValues, readRelatedData, setClientId, write, writeAdditionalData, writeToRowValues
validateListNotNullOrEmpty, validatePropertyNotNull
canEncloseInMultilineEntity, encloseInMultilineEntity
public void processMappingsFromRowValues(RowValues values)
SingleRecordBulkEntity
processMappingsFromRowValues
in class SingleRecordBulkEntity
values
- Set of values and mappings corresponding to one row/single line entitypublic void processMappingsToRowValues(RowValues values, boolean excludeReadonlyData)
SingleRecordBulkEntity
processMappingsToRowValues
in class SingleRecordBulkEntity
values
- Row valuesexcludeReadonlyData
- indicates whether readonly data should be written (such as errors, performance data etc.)public abstract T createAudience()
public T getAudience()
public void setAudience(T audience)
public Status getStatus()
The value is Active if the audience is available in the account's shared library. The value is Deleted if the audience is deleted from the library, or should be deleted in a subsequent upload operation. Corresponds to the 'Status' field in the bulk file.
public void setStatus(Status status)
The value is Active if the audience is available to be associated with an ad group. The value is Deleted if the audience is deleted, or should be deleted in a subsequent upload operation. Corresponds to the 'Status' field in the bulk file.
Copyright © 2024. All rights reserved.