Class AdKeywordStats

All Implemented Interfaces:
Serializable

public class AdKeywordStats
extends NamedAdsObject
See Also:
Serialized Form
  • Constructor Details

  • Method Details

    • getActions

    • addAction

      public boolean addAction​(AdsActionStats action)
    • removeAction

      public boolean removeAction​(AdsActionStats action)
    • getUniqueActions

    • addUniqueAction

      public boolean addUniqueAction​(AdsActionStats uniqueAction)
    • removeUniqueAction

      public boolean removeUniqueAction​(AdsActionStats uniqueAction)
    • 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

      public void setImpressions​(Integer impressions)
      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

      public void setUniqueImpressions​(Integer uniqueImpressions)
      The number of people your ad was served to.
    • getReach

      public Integer getReach()
      The number of people your ad was served to.
    • setReach

      public void setReach​(Integer reach)
      The number of people your ad was served to.
    • getClicks

      public Integer 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

      public void setClicks​(Integer clicks)
      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

      public void setUniqueClicks​(Integer uniqueClicks)
      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

      public 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. 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

      public 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. For example, if the same person likes and comments on a post, they will be counted as 1 unique person.
    • getSpend

      public Double getSpend()
      The total amount you've spent so far.
    • setSpend

      public void setSpend​(Double spend)
      The total amount you've spent so far.
    • getCtr

      public Double getCtr()
      The number of clicks you received divided by the number of impressions.
    • setCtr

      public void setCtr​(Double ctr)
      The number of clicks you received divided by the number of impressions.
    • getUniqueCtr

      public Double 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

      public void setUniqueCtr​(Double uniqueCtr)
      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

      public Double getCpm()
      The average cost you've paid to have 1,000 impressions on your ad.
    • setCpm

      public void setCpm​(Double cpm)
      The average cost you've paid to have 1,000 impressions on your ad.
    • getCpp

      public Double getCpp()
      The average cost you've paid to have your ad served to 1,000 unique people.
    • setCpp

      public void setCpp​(Double cpp)
      The average cost you've paid to have your ad served to 1,000 unique people.
    • getCpc

      public Double getCpc()
      The average cost per click for these ads, calculated as the amount spent divided by the number of clicks received.
    • setCpc

      public void setCpc​(Double cpc)
      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

      public void setCostPerTotalAction​(Double costPerTotalAction)
      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

      public 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.
    • getFrequency

      public Double getFrequency()
      The average number of times your ad was served to each person.
    • setFrequency

      public void setFrequency​(Double frequency)
      The average number of times your ad was served to each person.