public class BulkSharedNegativeKeyword extends SingleRecordBulkEntity
BulkNegativeKeyword.setNegativeKeyword(com.microsoft.bingads.v13.campaignmanagement.NegativeKeyword)
and
BulkNegativeKeyword.getNegativeKeyword()
methods
that can be used to read and write fields of the Shared Negative Keyword record in a bulk file.
For more information, see Shared Negative Keyword at https://go.microsoft.com/fwlink/?linkid=846127.
BulkServiceManager
,
BulkOperation
,
BulkFileReader
,
BulkFileWriter
Constructor and Description |
---|
BulkSharedNegativeKeyword() |
Modifier and Type | Method and Description |
---|---|
NegativeKeyword |
getNegativeKeyword()
Gets a negative keyword with match type.
|
long |
getNegativeKeywordListId()
Gets the identifier of the negative keyword list through which the negative keyword is shared.
|
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 |
setNegativeKeyword(NegativeKeyword negativeKeyword)
Sets a negative keyword with match type.
|
void |
setNegativeKeywordListId(long negativeKeywordListId)
Sets the identifier of the negative keyword list through which the negative keyword is shared.
|
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 getNegativeKeywordListId()
Corresponds to the 'Parent Id' field in the bulk file.
public void setNegativeKeywordListId(long negativeKeywordListId)
Corresponds to the 'Parent Id' field in the bulk file.
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.
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.)Copyright © 2024. All rights reserved.