Package com.restfb.types.ads
Class ReachFrequencyPrediction
java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.ads.BaseAdsObject
com.restfb.types.ads.NamedAdsObject
com.restfb.types.ads.ReachFrequencyPrediction
- All Implemented Interfaces:
Serializable
Represents the
Reach Frequency
Prediction type.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the Ad Account this reach frequency prediction belongs toThe id of the campaign which this prediction belongs toThe ID of the ad set to which this reach frequency prediction is assignedUnix timestamp of the ad set start timeUnix timestamp of the ad set stop timeThe curve for budget and reach.Daily Impression field represents a vector of predicted daily impressions for every single day.The ID of the Page or the ID of the app which the ad promotes.Unix timestamp of the expiration time of prediction, if applicablePredicted budget in cents for the ad set, relevant if prediction mode is 0Predicted impressions for the ad setMaximum budget given the target, in centsMaximum number of impressions given the targetMaximum reach given the targetMinimum budget given the target, in centsMinimum impressions given the targetMinimum reach given the targetPredicted reach for the ad set, relevant if prediction mode is 1Lifetime frequency cap per user, always relevant, 0 means no frequncy capGRP: Audience size within DMAs based on Nielsen definitionPercent of users in holdoutThe Instagram account id if instagramstream placement is used, except in the case of Mobile App Installs ads.Interval frequency cap which is set for a custom periodCustom reset period (hours) for interval frequency capA list of time periods the associated campaign has been paused.Predicted impression distribution on different placements, including:msite
: Facebook mobile sites
android
: Facebook android
ios
: Facebook ios
desktop
: Facebook desktop news feed and right hand column
ig_android
: Instagram android
ig_ios
: Instagram ios
ig_others
: Other Instagram placements ## ReachFrequencyEstimatesPlacementBreakdownThe prediction mode,0
= given reach, predict budget,
1
= given budget, predict reachRepresents percentage value indicating the prediction progress (values 0-100).Reservation status.Represents the status of the prediction, refer to Response StatusUsed to indicated the prediction is for video ads or not.Unique 30-day active users for given targetting specs.A string in JSON format representing the targeting specs specified on creation.The time when this reach frequency prediction was createdUnix timestamp when the row is updatedvoid
setAccountId
(Integer accountId) The ID of the Ad Account this reach frequency prediction belongs tovoid
setCampaignGroupId
(Integer campaignGroupId) The id of the campaign which this prediction belongs tovoid
setCampaignId
(String campaignId) The ID of the ad set to which this reach frequency prediction is assignedvoid
setCampaignTimeStart
(Date campaignTimeStart) Unix timestamp of the ad set start timevoid
setCampaignTimeStop
(Date campaignTimeStop) Unix timestamp of the ad set stop timevoid
setCurveBudgetReach
(String curveBudgetReach) The curve for budget and reach.void
setDailyImpressionCurve
(List<Double> dailyImpressionCurve) Daily Impression field represents a vector of predicted daily impressions for every single day.void
setDestinationId
(String destinationId) The ID of the Page or the ID of the app which the ad promotes.void
setExpirationTime
(Date expirationTime) Unix timestamp of the expiration time of prediction, if applicablevoid
setExternalBudget
(Integer externalBudget) Predicted budget in cents for the ad set, relevant if prediction mode is 0void
setExternalImpression
(Long externalImpression) Predicted impressions for the ad setvoid
setExternalMaximumBudget
(Long externalMaximumBudget) Maximum budget given the target, in centsvoid
setExternalMaximumImpression
(String externalMaximumImpression) Maximum number of impressions given the targetvoid
setExternalMaximumReach
(Long externalMaximumReach) Maximum reach given the targetvoid
setExternalMinimumBudget
(Long externalMinimumBudget) Minimum budget given the target, in centsvoid
setExternalMinimumImpression
(Long externalMinimumImpression) Minimum impressions given the targetvoid
setExternalMinimumReach
(Long externalMinimumReach) Minimum reach given the targetvoid
setExternalReach
(Long externalReach) Predicted reach for the ad set, relevant if prediction mode is 1void
setFrequencyCap
(Long frequencyCap) Lifetime frequency cap per user, always relevant, 0 means no frequncy capvoid
setGrpDmasAudienceSize
(Double grpDmasAudienceSize) GRP: Audience size within DMAs based on Nielsen definitionvoid
setHoldoutPercentage
(Long holdoutPercentage) Percent of users in holdoutvoid
setInstagramDestinationId
(String instagramDestinationId) The Instagram account id if instagramstream placement is used, except in the case of Mobile App Installs ads.void
setIntervalFrequencyCap
(Long intervalFrequencyCap) Interval frequency cap which is set for a custom periodvoid
setIntervalFrequencyCapResetPeriod
(Long intervalFrequencyCapResetPeriod) Custom reset period (hours) for interval frequency capvoid
setPausePeriods
(String pausePeriods) A list of time periods the associated campaign has been paused.void
setPlacementBreakdown
(String placementBreakdown) Predicted impression distribution on different placements, including:msite
: Facebook mobile sites
android
: Facebook android
ios
: Facebook ios
desktop
: Facebook desktop news feed and right hand column
ig_android
: Instagram android
ig_ios
: Instagram ios
ig_others
: Other Instagram placements ## ReachFrequencyEstimatesPlacementBreakdownvoid
setPredictionMode
(Long predictionMode) The prediction mode,0
= given reach, predict budget,
1
= given budget, predict reachvoid
setPredictionProgress
(Long predictionProgress) Represents percentage value indicating the prediction progress (values 0-100).void
setReservationStatus
(Long reservationStatus) Reservation status.void
Represents the status of the prediction, refer to Response Statusvoid
setStoryEventType
(Long storyEventType) Used to indicated the prediction is for video ads or not.void
setTargetAudienceSize
(Long targetAudienceSize) Unique 30-day active users for given targetting specs.void
setTargetSpec
(Targeting targetSpec) A string in JSON format representing the targeting specs specified on creation.void
setTimeCreated
(Date timeCreated) The time when this reach frequency prediction was createdvoid
setTimeUpdated
(Date timeUpdated) Unix timestamp when the row is updatedMethods 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 Details
-
ReachFrequencyPrediction
public ReachFrequencyPrediction()
-
-
Method Details
-
getAccountId
The ID of the Ad Account this reach frequency prediction belongs to -
setAccountId
The ID of the Ad Account this reach frequency prediction belongs to -
getCampaignGroupId
The id of the campaign which this prediction belongs to -
setCampaignGroupId
The id of the campaign which this prediction belongs to -
getCampaignId
The ID of the ad set to which this reach frequency prediction is assigned -
setCampaignId
The ID of the ad set to which this reach frequency prediction is assigned -
getCampaignTimeStart
Unix timestamp of the ad set start time -
setCampaignTimeStart
Unix timestamp of the ad set start time -
getCampaignTimeStop
Unix timestamp of the ad set stop time -
setCampaignTimeStop
Unix timestamp of the ad set stop time -
getCurveBudgetReach
The curve for budget and reach. It is a string in JSON format representing a JSON object with these fields.
num_points
: the number of data points within the object.
reach: Data contained at corresponding indices of each array form a single data point. The "reach" values are presented in ascending order with the final value containing the maximum available reach.
budget
: Data contained at corresponding indices of each array form a single data point. Cent of accounts currency.
impression
: Data contained at corresponding indices of each array form a single data point. In video view buying, this is the number of view throughs (aka impression by conversion)raw_impression: Data contained at corresponding indices of each array form a single data point. In video view buying,impressions represents view throughs and raw_impressions representstotal number of views -
setCurveBudgetReach
The curve for budget and reach. It is a string in JSON format representing a JSON object with these fields.
num_points
: the number of data points within the object.
reach: Data contained at corresponding indices of each array form a single data point. The "reach" values are presented in ascending order with the final value containing the maximum available reach.
budget
: Data contained at corresponding indices of each array form a single data point. Cent of accounts currency.
impression
: Data contained at corresponding indices of each array form a single data point. In video view buying, this is the number of view throughs (aka impression by conversion)raw_impression: Data contained at corresponding indices of each array form a single data point. In video view buying,impressions represents view throughs and raw_impressions representstotal number of views -
getDailyImpressionCurve
Daily Impression field represents a vector of predicted daily impressions for every single day. Measured from midnight to midnight in the advertiser timezone during the campaign duration. -
setDailyImpressionCurve
Daily Impression field represents a vector of predicted daily impressions for every single day. Measured from midnight to midnight in the advertiser timezone during the campaign duration. -
getDestinationId
The ID of the Page or the ID of the app which the ad promotes. -
setDestinationId
The ID of the Page or the ID of the app which the ad promotes. -
getExpirationTime
Unix timestamp of the expiration time of prediction, if applicable -
setExpirationTime
Unix timestamp of the expiration time of prediction, if applicable -
getExternalBudget
Predicted budget in cents for the ad set, relevant if prediction mode is 0 -
setExternalBudget
Predicted budget in cents for the ad set, relevant if prediction mode is 0 -
getExternalImpression
Predicted impressions for the ad set -
setExternalImpression
Predicted impressions for the ad set -
getExternalMaximumBudget
Maximum budget given the target, in cents -
setExternalMaximumBudget
Maximum budget given the target, in cents -
getExternalMaximumImpression
Maximum number of impressions given the target -
setExternalMaximumImpression
Maximum number of impressions given the target -
getExternalMaximumReach
Maximum reach given the target -
setExternalMaximumReach
Maximum reach given the target -
getExternalMinimumBudget
Minimum budget given the target, in cents -
setExternalMinimumBudget
Minimum budget given the target, in cents -
getExternalMinimumImpression
Minimum impressions given the target -
setExternalMinimumImpression
Minimum impressions given the target -
getExternalMinimumReach
Minimum reach given the target -
setExternalMinimumReach
Minimum reach given the target -
getExternalReach
Predicted reach for the ad set, relevant if prediction mode is 1 -
setExternalReach
Predicted reach for the ad set, relevant if prediction mode is 1 -
getFrequencyCap
Lifetime frequency cap per user, always relevant, 0 means no frequncy cap -
setFrequencyCap
Lifetime frequency cap per user, always relevant, 0 means no frequncy cap -
getGrpDmasAudienceSize
GRP: Audience size within DMAs based on Nielsen definition -
setGrpDmasAudienceSize
GRP: Audience size within DMAs based on Nielsen definition -
getHoldoutPercentage
Percent of users in holdout -
setHoldoutPercentage
Percent of users in holdout -
getInstagramDestinationId
The Instagram account id if instagramstream placement is used, except in the case of Mobile App Installs ads. -
setInstagramDestinationId
The Instagram account id if instagramstream placement is used, except in the case of Mobile App Installs ads. -
getIntervalFrequencyCap
Interval frequency cap which is set for a custom period -
setIntervalFrequencyCap
Interval frequency cap which is set for a custom period -
getIntervalFrequencyCapResetPeriod
Custom reset period (hours) for interval frequency cap -
setIntervalFrequencyCapResetPeriod
Custom reset period (hours) for interval frequency cap -
getPausePeriods
A list of time periods the associated campaign has been paused. -
setPausePeriods
A list of time periods the associated campaign has been paused. -
getPlacementBreakdown
Predicted impression distribution on different placements, including:msite
: Facebook mobile sites
android
: Facebook android
ios
: Facebook ios
desktop
: Facebook desktop news feed and right hand column
ig_android
: Instagram android
ig_ios
: Instagram ios
ig_others
: Other Instagram placements ## ReachFrequencyEstimatesPlacementBreakdown -
setPlacementBreakdown
Predicted impression distribution on different placements, including:msite
: Facebook mobile sites
android
: Facebook android
ios
: Facebook ios
desktop
: Facebook desktop news feed and right hand column
ig_android
: Instagram android
ig_ios
: Instagram ios
ig_others
: Other Instagram placements ## ReachFrequencyEstimatesPlacementBreakdown -
getPredictionMode
The prediction mode,0
= given reach, predict budget,
1
= given budget, predict reach -
setPredictionMode
The prediction mode,0
= given reach, predict budget,
1
= given budget, predict reach -
getPredictionProgress
Represents percentage value indicating the prediction progress (values 0-100). When 100 check status to indicate whether the prediction was successful. -
setPredictionProgress
Represents percentage value indicating the prediction progress (values 0-100). When 100 check status to indicate whether the prediction was successful. -
getReservationStatus
Reservation status.0
= Cancelled prediction,
1
= Reserved prediction,
2
= Prediction has been attached to a campaign -
setReservationStatus
Reservation status.0
= Cancelled prediction,
1
= Reserved prediction,
2
= Prediction has been attached to a campaign -
getStatus
Represents the status of the prediction, refer to Response Status -
setStatus
Represents the status of the prediction, refer to Response Status -
getStoryEventType
Used to indicated the prediction is for video ads or not. If it is for video, the prediction will not include devices that cannot play video -
setStoryEventType
Used to indicated the prediction is for video ads or not. If it is for video, the prediction will not include devices that cannot play video -
getTargetAudienceSize
Unique 30-day active users for given targetting specs. Used as tip to indicate the maximum possible audience size if campaign length is increased -
setTargetAudienceSize
Unique 30-day active users for given targetting specs. Used as tip to indicate the maximum possible audience size if campaign length is increased -
getTargetSpec
A string in JSON format representing the targeting specs specified on creation. -
setTargetSpec
A string in JSON format representing the targeting specs specified on creation. -
getTimeCreated
The time when this reach frequency prediction was created -
setTimeCreated
The time when this reach frequency prediction was created -
getTimeUpdated
Unix timestamp when the row is updated -
setTimeUpdated
Unix timestamp when the row is updated
-