package com.microsoft.bingads.v10.bulk.entities;
import com.microsoft.bingads.v10.bulk.BulkServiceManager;
import com.microsoft.bingads.v10.bulk.BulkFileReader;
import com.microsoft.bingads.v10.bulk.BulkFileWriter;
import com.microsoft.bingads.v10.bulk.BulkOperation;
/**
* Represents one radius target bid within an radius target that is associated with an ad group.
*
* This class exposes the {@link BulkRadiusTargetBid#setRadiusTargetBid} and {@link BulkRadiusTargetBid#getRadiusTargetBid}
* methods that can be used to read and write fields of the Ad Group Radius Target record in a bulk file.
*
* <p>
* For more information, see Ad Group Radius Target at
* <a href="http://go.microsoft.com/fwlink/?LinkID=620257">http://go.microsoft.com/fwlink/?LinkID=620257</a>.
* </p>
*
* <p>
* One {@link BulkAdGroupRadiusTarget} exposes a read only list of {@link BulkAdGroupRadiusTargetBid}.
* Each {@link BulkAdGroupRadiusTargetBid} instance corresponds to one Ad Group Radius Target record in the bulk file.
* If you upload a {@link BulkAdGroupRadiusTarget},
* then you are effectively replacing any existing bids for the corresponding radius target.
* </p>
*
* @see BulkServiceManager
* @see BulkOperation
* @see BulkFileReader
* @see BulkFileWriter
*/
public class BulkAdGroupRadiusTargetBid extends BulkRadiusTargetBid {
/**
* Initializes a new instanced of the BulkAdGroupRadiusTargetBid class.
*/
public BulkAdGroupRadiusTargetBid() {
super(new BulkAdGroupTargetIdentifier(BulkAdGroupRadiusTargetBid.class));
}
/**
* Gets the identifier of the ad group that the target is associated.
*
* <p>
* Corresponds to the 'Parent Id' field in the bulk file.
* </p>
*/
public Long getAdGroupId() {
return getEntityId();
}
/**
* Sets the identifier of the ad group that the target is associated.
*
* <p>
* Corresponds to the 'Parent Id' field in the bulk file.
* </p>
*/
public void setAdGroupId(Long adGroupId) {
setEntityId(adGroupId);
}
/**
* Gets the name of the ad group that the target is associated.
*
* <p>
* Corresponds to the 'Ad Group' field in the bulk file.
* </p>
*/
public String getAdGroupName() {
return getEntityName();
}
/**
* Sets the name of the ad group that the target is associated.
*
* <p>
* Corresponds to the 'Ad Group' field in the bulk file.
* </p>
*/
public void setAdGroupName(String adGroupName) {
setEntityName(adGroupName);
}
/**
* Gets the name of the campaign that target is associated.
*
* <p>
* Corresponds to the 'Campaign' field in the bulk file.
* </p>
*/
public String getCampaignName() {
return getParentEntityName();
}
/**
* Sets the name of the campaign that target is associated.
*
* <p>
* Corresponds to the 'Campaign' field in the bulk file.
* </p>
*/
public void setCampaignName(String campaignName) {
setParentEntityName(campaignName);
}
}