Package com.restfb.types.ads
Class AdKeywordStats
java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.ads.BaseAdsObject
com.restfb.types.ads.NamedAdsObject
com.restfb.types.ads.AdKeywordStats
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
addAction
(AdsActionStats action) boolean
addUniqueAction
(AdsActionStats uniqueAction) The total number of clicks on your ad.The average you've spent on actions.The average cost per unique click for these ads, calculated as the amount spent divided by the number of unique clicks received.getCpc()
The average cost per click for these ads, calculated as the amount spent divided by the number of clicks received.getCpm()
The average cost you've paid to have 1,000 impressions on your ad.getCpp()
The average cost you've paid to have your ad served to 1,000 unique people.getCtr()
The number of clicks you received divided by the number of impressions.The average number of times your ad was served to each person.The number of times your ad was served.getReach()
The number of people your ad was served to.getSpend()
The total amount you've spent so far.The number of actions taken on your ad, Page, app or event after your ad was served to someone, even if they didn't click on it.The number of unique people who took an action such as liking your Page or installing your app as a result of your ad.The total number of unique people who have clicked on your ad.The number of people who clicked on your ad divided by the number of people you reached.The number of people your ad was served to.boolean
removeAction
(AdsActionStats action) boolean
removeUniqueAction
(AdsActionStats uniqueAction) void
The total number of clicks on your ad.void
setCostPerTotalAction
(Double costPerTotalAction) The average you've spent on actions.void
setCostPerUniqueClick
(Double costPerUniqueClick) The average cost per unique click for these ads, calculated as the amount spent divided by the number of unique clicks received.void
The average cost per click for these ads, calculated as the amount spent divided by the number of clicks received.void
The average cost you've paid to have 1,000 impressions on your ad.void
The average cost you've paid to have your ad served to 1,000 unique people.void
The number of clicks you received divided by the number of impressions.void
setFrequency
(Double frequency) The average number of times your ad was served to each person.void
setImpressions
(Integer impressions) The number of times your ad was served.void
The number of people your ad was served to.void
The total amount you've spent so far.void
setTotalActions
(Integer totalActions) The number of actions taken on your ad, Page, app or event after your ad was served to someone, even if they didn't click on it.void
setTotalUniqueActions
(Integer totalUniqueActions) The number of unique people who took an action such as liking your Page or installing your app as a result of your ad.void
setUniqueClicks
(Integer uniqueClicks) The total number of unique people who have clicked on your ad.void
setUniqueCtr
(Double uniqueCtr) The number of people who clicked on your ad divided by the number of people you reached.void
setUniqueImpressions
(Integer uniqueImpressions) The number of people your ad was served to.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 Details
-
AdKeywordStats
public AdKeywordStats()
-
-
Method Details
-
getActions
-
addAction
-
removeAction
-
getUniqueActions
-
addUniqueAction
-
removeUniqueAction
-
getImpressions
The number of times your ad was served. On our mobile apps an ad is counted as served the first time it's viewed. On all other Facebook interfaces, an ad is served the first time it's placed in a person's News Feed or each time it's placed in the right column. -
setImpressions
The number of times your ad was served. On our mobile apps an ad is counted as served the first time it's viewed. On all other Facebook interfaces, an ad is served the first time it's placed in a person's News Feed or each time it's placed in the right column. -
getUniqueImpressions
The number of people your ad was served to. -
setUniqueImpressions
The number of people your ad was served to. -
getReach
The number of people your ad was served to. -
setReach
The number of people your ad was served to. -
getClicks
The total number of clicks on your ad. Depending on what you're promoting, this can include Page likes, event responses or app installs. -
setClicks
The total number of clicks on your ad. Depending on what you're promoting, this can include Page likes, event responses or app installs. -
getUniqueClicks
The total number of unique people who have clicked on your ad. For example, if 3 people click on the same ad 5 times, it will count as 3 unique clicks. -
setUniqueClicks
The total number of unique people who have clicked on your ad. For example, if 3 people click on the same ad 5 times, it will count as 3 unique clicks. -
getTotalActions
The number of actions taken on your ad, Page, app or event after your ad was served to someone, even if they didn't click on it. Actions include Page likes, app installs, conversions, event responses and more. For example, 2 Page likes and 2 comments would be counted as 4 actions. -
setTotalActions
The number of actions taken on your ad, Page, app or event after your ad was served to someone, even if they didn't click on it. Actions include Page likes, app installs, conversions, event responses and more. For example, 2 Page likes and 2 comments would be counted as 4 actions. -
getTotalUniqueActions
The number of unique people who took an action such as liking your Page or installing your app as a result of your ad. For example, if the same person likes and comments on a post, they will be counted as 1 unique person. -
setTotalUniqueActions
The number of unique people who took an action such as liking your Page or installing your app as a result of your ad. For example, if the same person likes and comments on a post, they will be counted as 1 unique person. -
getSpend
The total amount you've spent so far. -
setSpend
The total amount you've spent so far. -
getCtr
The number of clicks you received divided by the number of impressions. -
setCtr
The number of clicks you received divided by the number of impressions. -
getUniqueCtr
The number of people who clicked on your ad divided by the number of people you reached. For example, if you received 20 unique clicks and your ad was served to 1,000 unique people, your unique click-through rate would be 2%. -
setUniqueCtr
The number of people who clicked on your ad divided by the number of people you reached. For example, if you received 20 unique clicks and your ad was served to 1,000 unique people, your unique click-through rate would be 2%. -
getCpm
The average cost you've paid to have 1,000 impressions on your ad. -
setCpm
The average cost you've paid to have 1,000 impressions on your ad. -
getCpp
The average cost you've paid to have your ad served to 1,000 unique people. -
setCpp
The average cost you've paid to have your ad served to 1,000 unique people. -
getCpc
The average cost per click for these ads, calculated as the amount spent divided by the number of clicks received. -
setCpc
The average cost per click for these ads, calculated as the amount spent divided by the number of clicks received. -
getCostPerTotalAction
The average you've spent on actions. For example, if you spent $20 and you got 10 Page likes, each one cost an average of $2. -
setCostPerTotalAction
The average you've spent on actions. For example, if you spent $20 and you got 10 Page likes, each one cost an average of $2. -
getCostPerUniqueClick
The average cost per unique click for these ads, calculated as the amount spent divided by the number of unique clicks received. -
setCostPerUniqueClick
The average cost per unique click for these ads, calculated as the amount spent divided by the number of unique clicks received. -
getFrequency
The average number of times your ad was served to each person. -
setFrequency
The average number of times your ad was served to each person.
-