public class BulkAudienceGroup extends SingleRecordBulkEntity
This class exposes the setAudienceGroup(com.microsoft.bingads.v13.campaignmanagement.AudienceGroup)
and getAudienceGroup()
that can be used to read and write
fields of the Audience Group record in a bulk file.
For more information, see Audience Group at https://go.microsoft.com/fwlink/?linkid=846127.
BulkServiceManager
,
BulkOperation
,
BulkFileReader
,
BulkFileWriter
Constructor and Description |
---|
BulkAudienceGroup() |
Modifier and Type | Method and Description |
---|---|
Long |
getAccountId() |
List<AgeRange> |
getAgeRanges() |
AudienceGroup |
getAudienceGroup() |
List<Long> |
getAudienceIds() |
List<GenderType> |
getGenderTypes() |
Status |
getStatus() |
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 |
setAccountId(Long accountId) |
void |
setAgeRanges(List<AgeRange> ageRanges) |
void |
setAudienceGroup(AudienceGroup audienceGroup) |
void |
setAudienceIds(List<Long> audienceIds) |
void |
setGenderTypes(List<GenderType> genderTypes) |
void |
setStatus(Status status) |
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 AudienceGroup getAudienceGroup()
public void setAudienceGroup(AudienceGroup audienceGroup)
public Long getAccountId()
public void setAccountId(Long accountId)
public Status getStatus()
public void setStatus(Status status)
public List<GenderType> getGenderTypes()
public void setGenderTypes(List<GenderType> genderTypes)
Copyright © 2024. All rights reserved.