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

twitter4jads.models.ads.TwitterAdObjective Maven / Gradle / Ivy

The newest version!
package twitter4jads.models.ads;

import twitter4jads.models.MetricGroup;

/**
 *
 * Date: 4/19/16
 * Time: 8:51 PM
 */
public enum TwitterAdObjective {

    APP_ENGAGEMENTS("app_engagements", MetricGroup.ENGAGEMENT, MetricGroup.BILLING, MetricGroup.MOBILE_CONVERSION,
            MetricGroup.MEDIA, MetricGroup.VIDEO, MetricGroup.WEB_CONVERSION),

    APP_INSTALLS("app_installs", MetricGroup.ENGAGEMENT, MetricGroup.BILLING, MetricGroup.MOBILE_CONVERSION,
            MetricGroup.MEDIA, MetricGroup.VIDEO, MetricGroup.WEB_CONVERSION),

    FOLLOWERS("followers", MetricGroup.ENGAGEMENT, MetricGroup.BILLING, MetricGroup.MOBILE_CONVERSION, MetricGroup.MEDIA, MetricGroup.VIDEO,
            MetricGroup.WEB_CONVERSION),

    LEAD_GENERATION("lead_generation", MetricGroup.ENGAGEMENT, MetricGroup.BILLING, MetricGroup.MOBILE_CONVERSION, MetricGroup.MEDIA,
                    MetricGroup.VIDEO, MetricGroup.WEB_CONVERSION),

    PREROLL_VIEWS("preroll_views", MetricGroup.ENGAGEMENT, MetricGroup.BILLING, MetricGroup.MOBILE_CONVERSION, MetricGroup.MEDIA,
            MetricGroup.VIDEO, MetricGroup.WEB_CONVERSION),

    ENGAGEMENTS("engagements", MetricGroup.ENGAGEMENT, MetricGroup.BILLING, MetricGroup.MOBILE_CONVERSION, MetricGroup.MEDIA,
            MetricGroup.VIDEO, MetricGroup.WEB_CONVERSION),

    QUALIFIED_IMPRESSIONS("qualified_impressions", MetricGroup.ENGAGEMENT, MetricGroup.BILLING, MetricGroup.MOBILE_CONVERSION, MetricGroup.MEDIA,
                          MetricGroup.VIDEO, MetricGroup.WEB_CONVERSION),

    VIDEO_VIEWS("video_views", MetricGroup.ENGAGEMENT, MetricGroup.BILLING, MetricGroup.MOBILE_CONVERSION, MetricGroup.MEDIA, MetricGroup.VIDEO,
            MetricGroup.WEB_CONVERSION),

    WEBSITE_CLICKS("website_clicks", MetricGroup.ENGAGEMENT, MetricGroup.BILLING, MetricGroup.MOBILE_CONVERSION, MetricGroup.MEDIA, MetricGroup.VIDEO,
                   MetricGroup.WEB_CONVERSION),
    WEBSITE_CONVERSIONS("website_conversions", MetricGroup.ENGAGEMENT, MetricGroup.BILLING, MetricGroup.MOBILE_CONVERSION, MetricGroup.MEDIA,
                        MetricGroup.VIDEO, MetricGroup.WEB_CONVERSION),
    REACH("reach", MetricGroup.ENGAGEMENT, MetricGroup.BILLING, MetricGroup.MOBILE_CONVERSION, MetricGroup.MEDIA, MetricGroup.VIDEO,
              MetricGroup.WEB_CONVERSION);

    private MetricGroup[] metricGroups;
    private String objective;

    TwitterAdObjective(String objective, MetricGroup... metricGroups) {
        this.metricGroups = metricGroups;
        this.objective = objective;
    }

    public MetricGroup[] getMetricGroups() {
        return metricGroups;
    }

    public String getObjective() {
        return objective;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy