public class BulkCampaignNegativeKeyword extends SingleRecordBulkEntity
setNegativeKeyword(com.microsoft.bingads.v13.campaignmanagement.NegativeKeyword)
and getNegativeKeyword()
methods that can be used to read and write
fields of the Campaign Negative Keyword record in a bulk file.
For more information, see Campaign Negative Keyword at https://go.microsoft.com/fwlink/?linkid=846127.
BulkServiceManager
,
BulkOperation
,
BulkFileReader
,
BulkFileWriter
Constructor and Description |
---|
BulkCampaignNegativeKeyword() |
Modifier and Type | Method and Description |
---|---|
Long |
getCampaignId()
Gets the identifier of the campaign that the negative keyword is assigned.
|
String |
getCampaignName()
Gets the name of the campaign that the negative keyword is assigned.
|
NegativeKeyword |
getNegativeKeyword()
Gets a negative keyword with match type.
|
Status |
getStatus()
Gets the status of the negative keyword association.
|
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 |
setCampaignId(Long campaignId)
Sets the identifier of the campaign that the negative keyword is assigned.
|
void |
setCampaignName(String campaignName)
Sets the name of the campaign that the negative keyword is assigned.
|
void |
setNegativeKeyword(NegativeKeyword negativeKeyword)
Sets a negative keyword with match type.
|
void |
setStatus(Status status)
Sets the status of the negative keyword association.
|
getClientId, getErrors, getLastModifiedTime, hasErrors, readAdditionalData, readFromRowValues, readRelatedData, setClientId, write, writeAdditionalData, writeToRowValues
validateListNotNullOrEmpty, validatePropertyNotNull
canEncloseInMultilineEntity, encloseInMultilineEntity
public Long getCampaignId()
Corresponds to the 'Parent Id' field in the bulk file.
public void setCampaignId(Long campaignId)
Corresponds to the 'Parent Id' field in the bulk file.
public String getCampaignName()
Corresponds to the 'Campaign' field in the bulk file.
public void setCampaignName(String campaignName)
Corresponds to the 'Campaign' field in the bulk file.
public void processMappingsFromRowValues(RowValues values)
SingleRecordBulkEntity
values
- Set of values and mappings corresponding to one row/single line entitypublic void processMappingsToRowValues(RowValues values, boolean excludeReadonlyData)
SingleRecordBulkEntity
values
- Row valuesexcludeReadonlyData
- indicates whether readonly data should be written (such as errors, performance data etc.)public NegativeKeyword getNegativeKeyword()
public void setNegativeKeyword(NegativeKeyword negativeKeyword)
public Status getStatus()
The value is Active if the negative keyword is assigned to the parent entity. The value is Deleted if the negative keyword is removed from the parent entity, or should be removed 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 negative keyword is assigned to the parent entity. The value is Deleted if the negative keyword is removed from the parent entity, or should be removed in a subsequent upload operation. Corresponds to the 'Status' field in the bulk file.
Copyright © 2024. All rights reserved.