public class BulkCampaign extends SingleRecordBulkEntity
setCampaign(com.microsoft.bingads.v13.campaignmanagement.Campaign)
and getCampaign()
methods
that can be used to read and write fields of the Campaign record in a bulk file.
For more information, see Campaign at https://go.microsoft.com/fwlink/?linkid=846127.
BulkServiceManager
,
BulkOperation
,
BulkFileReader
,
BulkFileWriter
Constructor and Description |
---|
BulkCampaign() |
Modifier and Type | Method and Description |
---|---|
Long |
getAccountId()
Gets the identifier of the account that contains the campaign.
|
String |
getBidStrategyName()
Gets the Bid Strategy name for the campaign
|
String |
getBudgetName()
Gets the budget name for the campaign
|
Campaign |
getCampaign()
Gets a campaign within an account.
|
String |
getDestinationChannel() |
Boolean |
getIsMultiChannelCampaign() |
QualityScoreData |
getQualityScoreData()
Gets the quality score data for the campaign.
|
Boolean |
getShouldServeOnMSAN() |
static boolean |
isDailyBudget(BudgetLimitType budgetType) |
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)
Sets the identifier of the account that contains the campaign.
|
void |
setBidStrategyName(String bidStrategyName)
Sets the Bid Strategy name for the campaign
|
void |
setBudgetName(String budgetName)
Sets the budget name for the campaign
|
void |
setCampaign(Campaign campaign)
Sets a campaign within an account.
|
void |
setDestinationChannel(String destinationChannel) |
void |
setIsMultiChannelCampaign(Boolean isMultiChannelCampaign) |
void |
setShouldServeOnMSAN(Boolean ShouldServeOnMSAN) |
getClientId, getErrors, getLastModifiedTime, hasErrors, readAdditionalData, readFromRowValues, readRelatedData, setClientId, write, writeAdditionalData, writeToRowValues
validateListNotNullOrEmpty, validatePropertyNotNull
canEncloseInMultilineEntity, encloseInMultilineEntity
public Long getAccountId()
Corresponds to the 'Parent Id' field in the bulk file.
public void setAccountId(Long accountId)
Corresponds to the 'Parent Id' field in the bulk file.
public Campaign getCampaign()
public void setCampaign(Campaign campaign)
public QualityScoreData getQualityScoreData()
public String getBudgetName()
public void setBudgetName(String budgetName)
public String getBidStrategyName()
public void setBidStrategyName(String bidStrategyName)
public String getDestinationChannel()
public void setDestinationChannel(String destinationChannel)
public Boolean getIsMultiChannelCampaign()
public void setIsMultiChannelCampaign(Boolean isMultiChannelCampaign)
public Boolean getShouldServeOnMSAN()
public void setShouldServeOnMSAN(Boolean ShouldServeOnMSAN)
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 static boolean isDailyBudget(BudgetLimitType budgetType)
Copyright © 2024. All rights reserved.