All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.bingads.v13.bulk.entities.BulkAdGroupNegativeSite Maven / Gradle / Ivy

Go to download

The Bing Ads Java SDK is a library improving developer experience when working with the Bing Ads services by providing high-level access to features such as Bulk API, OAuth Authorization and SOAP API.

There is a newer version: 13.0.22.1
Show newest version
package com.microsoft.bingads.v13.bulk.entities;

import com.microsoft.bingads.v13.bulk.BulkFileReader;
import com.microsoft.bingads.v13.bulk.BulkFileWriter;
import com.microsoft.bingads.v13.bulk.BulkOperation;
import com.microsoft.bingads.v13.bulk.BulkServiceManager;
import com.microsoft.bingads.v13.internal.bulk.entities.BulkAdGroupNegativeSitesIdentifier;
import com.microsoft.bingads.v13.internal.bulk.entities.MultiRecordBulkEntity;

/**
 * 

* Represents a negative site that is assigned to an ad group. Each negative * site can be read or written in a bulk file. This class exposes properties * that can be read and written as fields of the Ad Group Negative Site record * in a bulk file. *

* *

* For more information, see Ad Group Negative Site at * https://go.microsoft.com/fwlink/?linkid=846127 *

* *

* One {@link BulkAdGroupNegativeSites} exposes a read only list of * {@link BulkAdGroupNegativeSite}. Each {@link BulkAdGroupNegativeSite} * instance corresponds to one Ad Group Negative Site record in the bulk file. * If you upload a {@link BulkAdGroupNegativeSites}, then you are effectively * replacing any existing negative sites assigned to the ad group. *

* * @see BulkServiceManager * @see BulkOperation * @see BulkFileReader * @see BulkFileWriter */ public class BulkAdGroupNegativeSite extends BulkNegativeSite { /** * Gets the identifier of the ad group that the negative site is assigned. * *

* Corresponds to the 'Parent Id' field in the bulk file. *

*/ public long getAdGroupId() { return this.getIdentifier().getAdGroupId(); } /** * Sets the identifier of the ad group that the negative site is assigned. * *

* Corresponds to the 'Parent Id' field in the bulk file. *

*/ public void setAdGroupId(long value) { this.getIdentifier().setAdGroupId(value); } /** * Gets the name of the ad group that the negative site is assigned. * *

* Corresponds to the 'Ad Group' field in the bulk file. *

*/ public String getAdGroupName() { return this.getIdentifier().getAdGroupName(); } /** * Sets the name of the ad group that the negative site is assigned. * *

* Corresponds to the 'Ad Group' field in the bulk file. *

*/ public void setAdGroupName(String value) { this.getIdentifier().setAdGroupName(value); } /** * Gets the name of the ad group that the negative site is assigned. * *

* Corresponds to the 'Ad Group' field in the bulk file. *

*/ public String getCampaignName() { return this.getIdentifier().getCampaignName(); } /** * Sets the name of the ad group that the negative site is assigned. * *

* Corresponds to the 'Ad Group' field in the bulk file. *

*/ public void setCampaignName(String value) { this.getIdentifier().setCampaignName(value); } /** * Initializes a new instance of the BulkAdGroupNegativeSite class. */ public BulkAdGroupNegativeSite() { super(new BulkAdGroupNegativeSitesIdentifier()); } @Override MultiRecordBulkEntity createNegativeSitesWithThisNegativeSite() { return new BulkAdGroupNegativeSites(this); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy