Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   * Copyright 2010 Google Inc.
   *
   * 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://code.google.com/p/google-apis-client-generator/
  * (build: 2013-11-22 19:59:01 UTC)
  * on 2013-12-17 at 23:42:53 UTC 
  * Modify at your own risk.
  */
 
 package com.google.api.services.doubleclicksearch.model;

A conversion containing data relevant to DoubleClick Search.

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 DoubleClick Search API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON

Author(s):
Google, Inc.
 
 @SuppressWarnings("javadoc")
 public final class Conversion extends com.google.api.client.json.GenericJson {

  
DS ad group ID. The value may be null.
 
   private java.lang.Long adGroupId;

  
DS ad ID. The value may be null.
 
   private java.lang.Long adId;

  
DS advertiser ID. The value may be null.
 
   private java.lang.Long advertiserId;

  
DS agency ID. The value may be null.
 
   private java.lang.Long agencyId;

  
DS campaign ID. The value may be null.
 
   private java.lang.Long campaignId;

  
DS click ID for the conversion. The value may be null.
 
   private java.lang.String clickId;

  
Advertiser provided ID for the conversion, also known as the order ID. The value may be null.
 
   private java.lang.String conversionId;

  
The time at which the conversion was last modified, in epoch millis UTC. The value may be null.
 
The time at which the conversion took place, in epoch millis UTC. The value may be null.
 
DS criterion (keyword) ID. The value may be null.
  private java.lang.Long criterionId;

  
The currency code for the revenue. Should be in ISO 4217 alphabetic (3-char) format. The value may be null.
  private java.lang.String currencyCode;

  
DS conversion ID. The value may be null.
  private java.lang.Long dsConversionId;

  
DS engine account ID. The value may be null.
  private java.lang.Long engineAccountId;

  
The quantity of this conversion, in millis. The value may be null.
  private java.lang.Long quantityMillis;

  
The revenue amount of this TRANSACTION conversion, in micros. The value may be null.
  private java.lang.Long revenueMicros;

  
The numeric segmentation identifier (for example, DoubleClick Search Floodlight activity ID). The value may be null.
  private java.lang.Long segmentationId;

  
The friendly segmentation identifier (for example, DoubleClick Search Floodlight activity name). The value may be null.
  private java.lang.String segmentationName;

  
The segmentation type of this conversion (for example, FLOODLIGHT). The value may be null.
  private java.lang.String segmentationType;

  
The state of the conversion, that is, either ACTIVE or DELETED. The value may be null.
  private java.lang.String state;

  
The type of the conversion, that is, either ACTION or TRANSACTION. An ACTION conversion is an action by the user that has no monetarily quantifiable value, while a TRANSACTION conversion is an action that does have a monetarily quantifiable value. Examples are email list signups (ACTION) versus ecommerce purchases (TRANSACTION). The value may be null.
  private java.lang.String type;

  
DS ad group ID.

Returns:
value or null for none
  public java.lang.Long getAdGroupId() {
    return ;
  }

  
DS ad group ID.

Parameters:
adGroupId adGroupId or null for none
  public Conversion setAdGroupId(java.lang.Long adGroupId) {
    this. = adGroupId;
    return this;
  }

  
DS ad ID.

Returns:
value or null for none
  public java.lang.Long getAdId() {
    return ;
  }

  
DS ad ID.

Parameters:
adId adId or null for none
  public Conversion setAdId(java.lang.Long adId) {
    this. = adId;
    return this;
  }

  
DS advertiser ID.

Returns:
value or null for none
  public java.lang.Long getAdvertiserId() {
    return ;
  }

  
DS advertiser ID.

Parameters:
advertiserId advertiserId or null for none
  public Conversion setAdvertiserId(java.lang.Long advertiserId) {
    this. = advertiserId;
    return this;
  }

  
DS agency ID.

Returns:
value or null for none
  public java.lang.Long getAgencyId() {
    return ;
  }

  
DS agency ID.

Parameters:
agencyId agencyId or null for none
  public Conversion setAgencyId(java.lang.Long agencyId) {
    this. = agencyId;
    return this;
  }

  
DS campaign ID.

Returns:
value or null for none
  public java.lang.Long getCampaignId() {
    return ;
  }

  
DS campaign ID.

Parameters:
campaignId campaignId or null for none
  public Conversion setCampaignId(java.lang.Long campaignId) {
    this. = campaignId;
    return this;
  }

  
DS click ID for the conversion.

Returns:
value or null for none
  public java.lang.String getClickId() {
    return ;
  }

  
DS click ID for the conversion.

Parameters:
clickId clickId or null for none
  public Conversion setClickId(java.lang.String clickId) {
    this. = clickId;
    return this;
  }

  
Advertiser provided ID for the conversion, also known as the order ID.

Returns:
value or null for none
    return ;
  }

  
Advertiser provided ID for the conversion, also known as the order ID.

Parameters:
conversionId conversionId or null for none
  public Conversion setConversionId(java.lang.String conversionId) {
    this. = conversionId;
    return this;
  }

  
The time at which the conversion was last modified, in epoch millis UTC.

Returns:
value or null for none
  }

  
The time at which the conversion was last modified, in epoch millis UTC.

Parameters:
conversionModifiedTimestamp conversionModifiedTimestamp or null for none
  public Conversion setConversionModifiedTimestamp(java.math.BigInteger conversionModifiedTimestamp) {
    this. = conversionModifiedTimestamp;
    return this;
  }

  
The time at which the conversion took place, in epoch millis UTC.

Returns:
value or null for none
    return ;
  }

  
The time at which the conversion took place, in epoch millis UTC.

Parameters:
conversionTimestamp conversionTimestamp or null for none
  public Conversion setConversionTimestamp(java.math.BigInteger conversionTimestamp) {
    this. = conversionTimestamp;
    return this;
  }

  
DS criterion (keyword) ID.

Returns:
value or null for none
  public java.lang.Long getCriterionId() {
    return ;
  }

  
DS criterion (keyword) ID.

Parameters:
criterionId criterionId or null for none
  public Conversion setCriterionId(java.lang.Long criterionId) {
    this. = criterionId;
    return this;
  }

  
The currency code for the revenue. Should be in ISO 4217 alphabetic (3-char) format.

Returns:
value or null for none
    return ;
  }

  
The currency code for the revenue. Should be in ISO 4217 alphabetic (3-char) format.

Parameters:
currencyCode currencyCode or null for none
  public Conversion setCurrencyCode(java.lang.String currencyCode) {
    this. = currencyCode;
    return this;
  }

  
DS conversion ID.

Returns:
value or null for none
    return ;
  }

  
DS conversion ID.

Parameters:
dsConversionId dsConversionId or null for none
  public Conversion setDsConversionId(java.lang.Long dsConversionId) {
    this. = dsConversionId;
    return this;
  }

  
DS engine account ID.

Returns:
value or null for none
    return ;
  }

  
DS engine account ID.

Parameters:
engineAccountId engineAccountId or null for none
  public Conversion setEngineAccountId(java.lang.Long engineAccountId) {
    this. = engineAccountId;
    return this;
  }

  
The quantity of this conversion, in millis.

Returns:
value or null for none
    return ;
  }

  
The quantity of this conversion, in millis.

Parameters:
quantityMillis quantityMillis or null for none
  public Conversion setQuantityMillis(java.lang.Long quantityMillis) {
    this. = quantityMillis;
    return this;
  }

  
The revenue amount of this TRANSACTION conversion, in micros.

Returns:
value or null for none
  public java.lang.Long getRevenueMicros() {
    return ;
  }

  
The revenue amount of this TRANSACTION conversion, in micros.

Parameters:
revenueMicros revenueMicros or null for none
  public Conversion setRevenueMicros(java.lang.Long revenueMicros) {
    this. = revenueMicros;
    return this;
  }

  
The numeric segmentation identifier (for example, DoubleClick Search Floodlight activity ID).

Returns:
value or null for none
    return ;
  }

  
The numeric segmentation identifier (for example, DoubleClick Search Floodlight activity ID).

Parameters:
segmentationId segmentationId or null for none
  public Conversion setSegmentationId(java.lang.Long segmentationId) {
    this. = segmentationId;
    return this;
  }

  
The friendly segmentation identifier (for example, DoubleClick Search Floodlight activity name).

Returns:
value or null for none
    return ;
  }

  
The friendly segmentation identifier (for example, DoubleClick Search Floodlight activity name).

Parameters:
segmentationName segmentationName or null for none
  public Conversion setSegmentationName(java.lang.String segmentationName) {
    this. = segmentationName;
    return this;
  }

  
The segmentation type of this conversion (for example, FLOODLIGHT).

Returns:
value or null for none
    return ;
  }

  
The segmentation type of this conversion (for example, FLOODLIGHT).

Parameters:
segmentationType segmentationType or null for none
  public Conversion setSegmentationType(java.lang.String segmentationType) {
    this. = segmentationType;
    return this;
  }

  
The state of the conversion, that is, either ACTIVE or DELETED.

Returns:
value or null for none
  public java.lang.String getState() {
    return ;
  }

  
The state of the conversion, that is, either ACTIVE or DELETED.

Parameters:
state state or null for none
  public Conversion setState(java.lang.String state) {
    this. = state;
    return this;
  }

  
The type of the conversion, that is, either ACTION or TRANSACTION. An ACTION conversion is an action by the user that has no monetarily quantifiable value, while a TRANSACTION conversion is an action that does have a monetarily quantifiable value. Examples are email list signups (ACTION) versus ecommerce purchases (TRANSACTION).

Returns:
value or null for none
  public java.lang.String getType() {
    return ;
  }

  
The type of the conversion, that is, either ACTION or TRANSACTION. An ACTION conversion is an action by the user that has no monetarily quantifiable value, while a TRANSACTION conversion is an action that does have a monetarily quantifiable value. Examples are email list signups (ACTION) versus ecommerce purchases (TRANSACTION).

Parameters:
type type or null for none
  public Conversion setType(java.lang.String type) {
    this. = type;
    return this;
  }
  public Conversion set(String fieldNameObject value) {
    return (Conversionsuper.set(fieldNamevalue);
  }
  public Conversion clone() {
    return (Conversionsuper.clone();
  }
New to GrepCode? Check out our FAQ X