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

com.google.api.services.dfareporting.model.TvCampaignSummary Maven / Gradle / Ivy

/*
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under the License
 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 * or implied. See the License for the specific language governing permissions and limitations under
 * the License.
 */
/*
 * This code was generated by https://github.com/googleapis/google-api-java-client-services/
 * Modify at your own risk.
 */

package com.google.api.services.dfareporting.model;

/**
 * TvCampaignSummary contains aggregate data from a TV campaign.
 *
 * 

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Campaign Manager 360 API. For a detailed explanation * see: * https://developers.google.com/api-client-library/java/google-http-java-client/json *

* * @author Google, Inc. */ @SuppressWarnings("javadoc") public final class TvCampaignSummary extends com.google.api.client.json.GenericJson { /** * The end date of the TV campaign, inclusive. A string of the format: "yyyy-MM-dd". * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String endDate; /** * GRP of this TV campaign. * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString private java.lang.Long grp; /** * ID of this TV campaign. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String id; /** * Impressions across the entire TV campaign. * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString private java.lang.Long impressions; /** * Identifies what kind of resource this is. Value: the fixed string * "dfareporting#tvCampaignSummary". * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String kind; /** * Identifier. Name of this TV campaign. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String name; /** * Spend across the entire TV campaign. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Double spend; /** * The start date of the TV campaign, inclusive. A string of the format: "yyyy-MM-dd". * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String startDate; /** * "CampaignComponentType" of this TV campaign. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String type; /** * The end date of the TV campaign, inclusive. A string of the format: "yyyy-MM-dd". * @return value or {@code null} for none */ public java.lang.String getEndDate() { return endDate; } /** * The end date of the TV campaign, inclusive. A string of the format: "yyyy-MM-dd". * @param endDate endDate or {@code null} for none */ public TvCampaignSummary setEndDate(java.lang.String endDate) { this.endDate = endDate; return this; } /** * GRP of this TV campaign. * @return value or {@code null} for none */ public java.lang.Long getGrp() { return grp; } /** * GRP of this TV campaign. * @param grp grp or {@code null} for none */ public TvCampaignSummary setGrp(java.lang.Long grp) { this.grp = grp; return this; } /** * ID of this TV campaign. * @return value or {@code null} for none */ public java.lang.String getId() { return id; } /** * ID of this TV campaign. * @param id id or {@code null} for none */ public TvCampaignSummary setId(java.lang.String id) { this.id = id; return this; } /** * Impressions across the entire TV campaign. * @return value or {@code null} for none */ public java.lang.Long getImpressions() { return impressions; } /** * Impressions across the entire TV campaign. * @param impressions impressions or {@code null} for none */ public TvCampaignSummary setImpressions(java.lang.Long impressions) { this.impressions = impressions; return this; } /** * Identifies what kind of resource this is. Value: the fixed string * "dfareporting#tvCampaignSummary". * @return value or {@code null} for none */ public java.lang.String getKind() { return kind; } /** * Identifies what kind of resource this is. Value: the fixed string * "dfareporting#tvCampaignSummary". * @param kind kind or {@code null} for none */ public TvCampaignSummary setKind(java.lang.String kind) { this.kind = kind; return this; } /** * Identifier. Name of this TV campaign. * @return value or {@code null} for none */ public java.lang.String getName() { return name; } /** * Identifier. Name of this TV campaign. * @param name name or {@code null} for none */ public TvCampaignSummary setName(java.lang.String name) { this.name = name; return this; } /** * Spend across the entire TV campaign. * @return value or {@code null} for none */ public java.lang.Double getSpend() { return spend; } /** * Spend across the entire TV campaign. * @param spend spend or {@code null} for none */ public TvCampaignSummary setSpend(java.lang.Double spend) { this.spend = spend; return this; } /** * The start date of the TV campaign, inclusive. A string of the format: "yyyy-MM-dd". * @return value or {@code null} for none */ public java.lang.String getStartDate() { return startDate; } /** * The start date of the TV campaign, inclusive. A string of the format: "yyyy-MM-dd". * @param startDate startDate or {@code null} for none */ public TvCampaignSummary setStartDate(java.lang.String startDate) { this.startDate = startDate; return this; } /** * "CampaignComponentType" of this TV campaign. * @return value or {@code null} for none */ public java.lang.String getType() { return type; } /** * "CampaignComponentType" of this TV campaign. * @param type type or {@code null} for none */ public TvCampaignSummary setType(java.lang.String type) { this.type = type; return this; } @Override public TvCampaignSummary set(String fieldName, Object value) { return (TvCampaignSummary) super.set(fieldName, value); } @Override public TvCampaignSummary clone() { return (TvCampaignSummary) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy