Package com.restfb.types.ads
Class AdSet
- java.lang.Object
-
- com.restfb.types.AbstractFacebookType
-
- com.restfb.types.ads.BaseAdsObject
-
- com.restfb.types.ads.NamedAdsObject
-
- com.restfb.types.ads.AdSet
-
- All Implemented Interfaces:
HasCreatedTime
,Serializable
public class AdSet extends NamedAdsObject implements HasCreatedTime
Represents the AdGroup Set type. Note: AdGroup Set vs AdGroup Campaign Prior to July 2014 ad sets were referred to as 'campaigns'. When using ad sets in API calls the parameter may be referred to as 'adcampaign'. A campaign contains one or more ad sets.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AdSet()
-
Method Summary
-
Methods inherited from class com.restfb.types.ads.NamedAdsObject
getName, setName
-
Methods inherited from class com.restfb.types.ads.BaseAdsObject
getId, setId
-
Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
-
-
-
Constructor Detail
-
AdSet
public AdSet()
-
-
Method Detail
-
addAdLabel
public boolean addAdLabel(AdLabel adLabel)
-
removeAdLabel
public boolean removeAdLabel(AdLabel adLabel)
-
getAdlabels
public List<AdLabel> getAdlabels()
-
getAccountId
public String getAccountId()
-
setAccountId
public void setAccountId(String accountId)
-
getAdKeywords
public AdKeywords getAdKeywords()
-
setAdKeywords
public void setAdKeywords(AdKeywords adKeywords)
-
getAdcampaignGroup
public Campaign getAdcampaignGroup()
-
setAdcampaignGroup
public void setAdcampaignGroup(Campaign adcampaignGroup)
-
getAdsetSchedule
public List<DayPart> getAdsetSchedule()
-
setAdsetSchedule
public void setAdsetSchedule(List<DayPart> adsetSchedule)
-
getAssetFeedId
public String getAssetFeedId()
-
setAssetFeedId
public void setAssetFeedId(String assetFeedId)
-
getAttributionSpec
public List<JsonObject> getAttributionSpec()
-
setAttributionSpec
public void setAttributionSpec(List<JsonObject> attributionSpec)
-
getBestCreative
public AdDynamicCreative getBestCreative()
-
setBestCreative
public void setBestCreative(AdDynamicCreative bestCreative)
-
getBidAdjustments
public AdBidAdjustments getBidAdjustments()
-
setBidAdjustments
public void setBidAdjustments(AdBidAdjustments bidAdjustments)
-
getBidAmount
public Long getBidAmount()
-
setBidAmount
public void setBidAmount(Long bidAmount)
-
getBidInfo
public Map<String,Long> getBidInfo()
-
setBidInfo
public void setBidInfo(Map<String,Long> bidInfo)
-
getBidConstraints
public AdCampaignBidConstraint getBidConstraints()
-
setBidConstraints
public void setBidConstraints(AdCampaignBidConstraint bidConstraints)
-
getMBidInfo
public Map<String,Long> getMBidInfo()
-
setMBidInfo
public void setMBidInfo(Map<String,Long> mBidInfo)
-
getBidStrategy
public BidStrategyEnum getBidStrategy()
-
setBidStrategy
public void setBidStrategy(BidStrategyEnum bidStrategy)
-
getBillingEvent
public String getBillingEvent()
-
setBillingEvent
public void setBillingEvent(String billingEvent)
-
getBudgetRemaining
public String getBudgetRemaining()
-
setBudgetRemaining
public void setBudgetRemaining(String budgetRemaining)
-
getCampaign
public Campaign getCampaign()
-
setCampaign
public void setCampaign(Campaign campaign)
-
getCampaignId
public String getCampaignId()
-
setCampaignId
public void setCampaignId(String campaignId)
-
getConfiguredStatus
public String getConfiguredStatus()
-
setConfiguredStatus
public void setConfiguredStatus(String configuredStatus)
-
getCreatedTime
public Date getCreatedTime()
- Specified by:
getCreatedTime
in interfaceHasCreatedTime
-
setCreatedTime
public void setCreatedTime(Date createdTime)
-
getCreativeSequence
public List<String> getCreativeSequence()
-
setCreativeSequence
public void setCreativeSequence(List<String> creativeSequence)
-
getDailyBudget
public String getDailyBudget()
-
setDailyBudget
public void setDailyBudget(String dailyBudget)
-
getDailyMinSpendTarget
public String getDailyMinSpendTarget()
-
setDailyMinSpendTarget
public void setDailyMinSpendTarget(String dailyMinSpendTarget)
-
getDailySpendCap
public String getDailySpendCap()
-
setDailySpendCap
public void setDailySpendCap(String dailySpendCap)
-
getDestinationType
public String getDestinationType()
-
setDestinationType
public void setDestinationType(String destinationType)
-
getEffectiveStatus
public String getEffectiveStatus()
-
setEffectiveStatus
public void setEffectiveStatus(String effectiveStatus)
-
getEndTime
public Date getEndTime()
-
setEndTime
public void setEndTime(Date endTime)
-
getFrequencyCap
public Long getFrequencyCap()
-
setFrequencyCap
public void setFrequencyCap(Long frequencyCap)
-
getFrequencyCapResetPeriod
public Long getFrequencyCapResetPeriod()
-
setFrequencyCapResetPeriod
public void setFrequencyCapResetPeriod(Long frequencyCapResetPeriod)
-
getFrequencyControlSpecs
public List<AdCampaignFrequencyControlSpecs> getFrequencyControlSpecs()
-
setFrequencyControlSpecs
public void setFrequencyControlSpecs(List<AdCampaignFrequencyControlSpecs> frequencyControlSpecs)
-
getIsAutobid
public Boolean getIsAutobid()
-
setIsAutobid
public void setIsAutobid(Boolean isAutobid)
-
getIssuesInfo
@GraphAPI(since="3.2") public List<AdCampaignIssuesInfo> getIssuesInfo()
-
setIssuesInfo
public void setIssuesInfo(List<AdCampaignIssuesInfo> issuesInfo)
-
getLifetimeBudget
public String getLifetimeBudget()
-
setLifetimeBudget
public void setLifetimeBudget(String lifetimeBudget)
-
getLifetimeFrequencyCap
public Long getLifetimeFrequencyCap()
-
setLifetimeFrequencyCap
public void setLifetimeFrequencyCap(Long lifetimeFrequencyCap)
-
getLifetimeImps
public Long getLifetimeImps()
-
setLifetimeImps
public void setLifetimeImps(Long lifetimeImps)
-
getOptimizationGoal
public String getOptimizationGoal()
-
setOptimizationGoal
public void setOptimizationGoal(String optimizationGoal)
-
getPacingType
public List<String> getPacingType()
-
setPacingType
public void setPacingType(List<String> pacingType)
-
getPromotedObject
public AdPromotedObject getPromotedObject()
-
setPromotedObject
public void setPromotedObject(AdPromotedObject promotedObject)
-
getRecommendations
public List<AdRecommendation> getRecommendations()
-
setRecommendations
public void setRecommendations(List<AdRecommendation> recommendations)
-
getRfPredictionId
public String getRfPredictionId()
-
setRfPredictionId
public void setRfPredictionId(String rfPredictionId)
-
getRtbFlag
public Boolean getRtbFlag()
-
setRtbFlag
public void setRtbFlag(Boolean rtbFlag)
-
getStartTime
public Date getStartTime()
-
setStartTime
public void setStartTime(Date startTime)
-
getMStatus
public String getMStatus()
-
setMStatus
public void setMStatus(String mStatus)
-
getTargeting
public Targeting getTargeting()
-
setTargeting
public void setTargeting(Targeting targeting)
-
getUpdatedTime
public Date getUpdatedTime()
-
setUpdatedTime
public void setUpdatedTime(Date updatedTime)
-
getUseNewAppClick
public Boolean getUseNewAppClick()
-
setUseNewAppClick
public void setUseNewAppClick(Boolean useNewAppClick)
-
-