public class BulkAssetGroup extends SingleRecordBulkEntity
This class exposes the setAssetGroup(com.microsoft.bingads.v13.campaignmanagement.AssetGroup)
and getAssetGroup()
that can be used to read and write
fields of the Asset Group record in a bulk file.
For more information, see Asset Group at https://go.microsoft.com/fwlink/?linkid=846127.
BulkServiceManager
,
BulkOperation
,
BulkFileReader
,
BulkFileWriter
Constructor and Description |
---|
BulkAssetGroup() |
Modifier and Type | Method and Description |
---|---|
AssetGroup |
getAssetGroup()
Gets the AssetGroup Data Object of the Campaign Management Service.
|
Long |
getCampaignId()
Gets the identifier of the campaign that contains the ad group.
|
String |
getCampaignName()
Gets the name of the campaign that contains the ad group.
|
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 |
setAssetGroup(AssetGroup assetGroup)
Sets the AssetGroup Data Object of the Campaign Management Service.
|
void |
setCampaignId(Long campaignId)
Sets the identifier of the campaign that contains the ad group.
|
void |
setCampaignName(String campaignName)
Sets the name of the campaign that contains the ad group.
|
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 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 AssetGroup getAssetGroup()
A subset of AssetGroup properties are available in the Ad Group record. For more information, see Ad Group at https://go.microsoft.com/fwlink/?linkid=846127.
public void setAssetGroup(AssetGroup assetGroup)
A subset of AssetGroup properties are available in the Ad Group record. For more information, see Ad Group at https://go.microsoft.com/fwlink/?linkid=846127.
Copyright © 2024. All rights reserved.