class Google::Apis::DfareportingV2_1::Project

Contains properties of a DoubleClick Planning project.

Attributes

account_id[RW]

Account ID of this project. Corresponds to the JSON property `accountId` @return [String]

advertiser_id[RW]

Advertiser ID of this project. Corresponds to the JSON property `advertiserId` @return [String]

audience_age_group[RW]

Audience age group of this project. Corresponds to the JSON property `audienceAgeGroup` @return [String]

audience_gender[RW]

Audience gender of this project. Corresponds to the JSON property `audienceGender` @return [String]

budget[RW]

Budget of this project in the currency specified by the current account. The value stored in this field represents only the non-fractional amount. For example, for USD, the smallest value that can be represented by this field is 1 US dollar. Corresponds to the JSON property `budget` @return [String]

client_billing_code[RW]

Client billing code of this project. Corresponds to the JSON property `clientBillingCode` @return [String]

client_name[RW]

Name of the project client. Corresponds to the JSON property `clientName` @return [String]

end_date[RW]

End date of the project. Corresponds to the JSON property `endDate` @return [Date]

id[RW]

ID of this project. This is a read-only, auto-generated field. Corresponds to the JSON property `id` @return [String]

kind[RW]

Identifies what kind of resource this is. Value: the fixed string “ dfareporting#project”. Corresponds to the JSON property `kind` @return [String]

last_modified_info[RW]

Modification timestamp. Corresponds to the JSON property `lastModifiedInfo` @return [Google::Apis::DfareportingV2_1::LastModifiedInfo]

name[RW]

Name of this project. Corresponds to the JSON property `name` @return [String]

overview[RW]

Overview of this project. Corresponds to the JSON property `overview` @return [String]

start_date[RW]

Start date of the project. Corresponds to the JSON property `startDate` @return [Date]

subaccount_id[RW]

Subaccount ID of this project. Corresponds to the JSON property `subaccountId` @return [String]

target_clicks[RW]

Number of clicks that the advertiser is targeting. Corresponds to the JSON property `targetClicks` @return [String]

target_conversions[RW]

Number of conversions that the advertiser is targeting. Corresponds to the JSON property `targetConversions` @return [String]

target_cpa_nanos[RW]

CPA that the advertiser is targeting. Corresponds to the JSON property `targetCpaNanos` @return [String]

target_cpc_nanos[RW]

CPC that the advertiser is targeting. Corresponds to the JSON property `targetCpcNanos` @return [String]

target_cpm_nanos[RW]

CPM that the advertiser is targeting. Corresponds to the JSON property `targetCpmNanos` @return [String]

target_impressions[RW]

Number of impressions that the advertiser is targeting. Corresponds to the JSON property `targetImpressions` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/dfareporting_v2_1/classes.rb, line 8411
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/dfareporting_v2_1/classes.rb, line 8416
def update!(**args)
  @account_id = args[:account_id] unless args[:account_id].nil?
  @advertiser_id = args[:advertiser_id] unless args[:advertiser_id].nil?
  @audience_age_group = args[:audience_age_group] unless args[:audience_age_group].nil?
  @audience_gender = args[:audience_gender] unless args[:audience_gender].nil?
  @budget = args[:budget] unless args[:budget].nil?
  @client_billing_code = args[:client_billing_code] unless args[:client_billing_code].nil?
  @client_name = args[:client_name] unless args[:client_name].nil?
  @end_date = args[:end_date] unless args[:end_date].nil?
  @id = args[:id] unless args[:id].nil?
  @kind = args[:kind] unless args[:kind].nil?
  @last_modified_info = args[:last_modified_info] unless args[:last_modified_info].nil?
  @name = args[:name] unless args[:name].nil?
  @overview = args[:overview] unless args[:overview].nil?
  @start_date = args[:start_date] unless args[:start_date].nil?
  @subaccount_id = args[:subaccount_id] unless args[:subaccount_id].nil?
  @target_clicks = args[:target_clicks] unless args[:target_clicks].nil?
  @target_conversions = args[:target_conversions] unless args[:target_conversions].nil?
  @target_cpa_nanos = args[:target_cpa_nanos] unless args[:target_cpa_nanos].nil?
  @target_cpc_nanos = args[:target_cpc_nanos] unless args[:target_cpc_nanos].nil?
  @target_cpm_nanos = args[:target_cpm_nanos] unless args[:target_cpm_nanos].nil?
  @target_impressions = args[:target_impressions] unless args[:target_impressions].nil?
end