Class: Google::Apis::DfareportingV2_1::Project

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable
Defined in:
generated/google/apis/dfareporting_v2_1/classes.rb,
generated/google/apis/dfareporting_v2_1/representations.rb,
generated/google/apis/dfareporting_v2_1/representations.rb

Overview

Contains properties of a DoubleClick Planning project.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Project

Returns a new instance of Project.



8411
8412
8413
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8411

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#account_idString

Account ID of this project. Corresponds to the JSON property accountId

Returns:

  • (String)


8305
8306
8307
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8305

def 
  @account_id
end

#advertiser_idString

Advertiser ID of this project. Corresponds to the JSON property advertiserId

Returns:

  • (String)


8310
8311
8312
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8310

def advertiser_id
  @advertiser_id
end

#audience_age_groupString

Audience age group of this project. Corresponds to the JSON property audienceAgeGroup

Returns:

  • (String)


8315
8316
8317
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8315

def audience_age_group
  @audience_age_group
end

#audience_genderString

Audience gender of this project. Corresponds to the JSON property audienceGender

Returns:

  • (String)


8320
8321
8322
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8320

def audience_gender
  @audience_gender
end

#budgetString

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

Returns:

  • (String)


8328
8329
8330
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8328

def budget
  @budget
end

#client_billing_codeString

Client billing code of this project. Corresponds to the JSON property clientBillingCode

Returns:

  • (String)


8333
8334
8335
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8333

def client_billing_code
  @client_billing_code
end

#client_nameString

Name of the project client. Corresponds to the JSON property clientName

Returns:

  • (String)


8338
8339
8340
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8338

def client_name
  @client_name
end

#end_dateDate

End date of the project. Corresponds to the JSON property endDate

Returns:

  • (Date)


8343
8344
8345
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8343

def end_date
  @end_date
end

#idString

ID of this project. This is a read-only, auto-generated field. Corresponds to the JSON property id

Returns:

  • (String)


8348
8349
8350
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8348

def id
  @id
end

#kindString

Identifies what kind of resource this is. Value: the fixed string " dfareporting#project". Corresponds to the JSON property kind

Returns:

  • (String)


8354
8355
8356
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8354

def kind
  @kind
end

#last_modified_infoGoogle::Apis::DfareportingV2_1::LastModifiedInfo

Modification timestamp. Corresponds to the JSON property lastModifiedInfo



8359
8360
8361
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8359

def last_modified_info
  @last_modified_info
end

#nameString

Name of this project. Corresponds to the JSON property name

Returns:

  • (String)


8364
8365
8366
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8364

def name
  @name
end

#overviewString

Overview of this project. Corresponds to the JSON property overview

Returns:

  • (String)


8369
8370
8371
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8369

def overview
  @overview
end

#start_dateDate

Start date of the project. Corresponds to the JSON property startDate

Returns:

  • (Date)


8374
8375
8376
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8374

def start_date
  @start_date
end

#subaccount_idString

Subaccount ID of this project. Corresponds to the JSON property subaccountId

Returns:

  • (String)


8379
8380
8381
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8379

def subaccount_id
  @subaccount_id
end

#target_clicksString

Number of clicks that the advertiser is targeting. Corresponds to the JSON property targetClicks

Returns:

  • (String)


8384
8385
8386
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8384

def target_clicks
  @target_clicks
end

#target_conversionsString

Number of conversions that the advertiser is targeting. Corresponds to the JSON property targetConversions

Returns:

  • (String)


8389
8390
8391
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8389

def target_conversions
  @target_conversions
end

#target_cpa_nanosString

CPA that the advertiser is targeting. Corresponds to the JSON property targetCpaNanos

Returns:

  • (String)


8394
8395
8396
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8394

def target_cpa_nanos
  @target_cpa_nanos
end

#target_cpc_nanosString

CPC that the advertiser is targeting. Corresponds to the JSON property targetCpcNanos

Returns:

  • (String)


8399
8400
8401
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8399

def target_cpc_nanos
  @target_cpc_nanos
end

#target_cpm_nanosString

CPM that the advertiser is targeting. Corresponds to the JSON property targetCpmNanos

Returns:

  • (String)


8404
8405
8406
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8404

def target_cpm_nanos
  @target_cpm_nanos
end

#target_impressionsString

Number of impressions that the advertiser is targeting. Corresponds to the JSON property targetImpressions

Returns:

  • (String)


8409
8410
8411
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8409

def target_impressions
  @target_impressions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
# 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