Class: Google::Apis::DfareportingV2_1::Project
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_1::Project
- 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
-
#account_id ⇒ String
Account ID of this project.
-
#advertiser_id ⇒ String
Advertiser ID of this project.
-
#audience_age_group ⇒ String
Audience age group of this project.
-
#audience_gender ⇒ String
Audience gender of this project.
-
#budget ⇒ String
Budget of this project in the currency specified by the current account.
-
#client_billing_code ⇒ String
Client billing code of this project.
-
#client_name ⇒ String
Name of the project client.
-
#end_date ⇒ Date
End date of the project.
-
#id ⇒ String
ID of this project.
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#last_modified_info ⇒ Google::Apis::DfareportingV2_1::LastModifiedInfo
Modification timestamp.
-
#name ⇒ String
Name of this project.
-
#overview ⇒ String
Overview of this project.
-
#start_date ⇒ Date
Start date of the project.
-
#subaccount_id ⇒ String
Subaccount ID of this project.
-
#target_clicks ⇒ String
Number of clicks that the advertiser is targeting.
-
#target_conversions ⇒ String
Number of conversions that the advertiser is targeting.
-
#target_cpa_nanos ⇒ String
CPA that the advertiser is targeting.
-
#target_cpc_nanos ⇒ String
CPC that the advertiser is targeting.
-
#target_cpm_nanos ⇒ String
CPM that the advertiser is targeting.
-
#target_impressions ⇒ String
Number of impressions that the advertiser is targeting.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Project
constructor
A new instance of Project.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::Hashable
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_id ⇒ String
Account ID of this project.
Corresponds to the JSON property accountId
8305 8306 8307 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8305 def account_id @account_id end |
#advertiser_id ⇒ String
Advertiser ID of this project.
Corresponds to the JSON property advertiserId
8310 8311 8312 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8310 def advertiser_id @advertiser_id end |
#audience_age_group ⇒ String
Audience age group of this project.
Corresponds to the JSON property audienceAgeGroup
8315 8316 8317 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8315 def audience_age_group @audience_age_group end |
#audience_gender ⇒ String
Audience gender of this project.
Corresponds to the JSON property audienceGender
8320 8321 8322 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8320 def audience_gender @audience_gender end |
#budget ⇒ String
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
8328 8329 8330 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8328 def budget @budget end |
#client_billing_code ⇒ String
Client billing code of this project.
Corresponds to the JSON property clientBillingCode
8333 8334 8335 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8333 def client_billing_code @client_billing_code end |
#client_name ⇒ String
Name of the project client.
Corresponds to the JSON property clientName
8338 8339 8340 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8338 def client_name @client_name end |
#end_date ⇒ Date
End date of the project.
Corresponds to the JSON property endDate
8343 8344 8345 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8343 def end_date @end_date end |
#id ⇒ String
ID of this project. This is a read-only, auto-generated field.
Corresponds to the JSON property id
8348 8349 8350 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8348 def id @id end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
dfareporting#project".
Corresponds to the JSON property kind
8354 8355 8356 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8354 def kind @kind end |
#last_modified_info ⇒ Google::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 |
#name ⇒ String
Name of this project.
Corresponds to the JSON property name
8364 8365 8366 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8364 def name @name end |
#overview ⇒ String
Overview of this project.
Corresponds to the JSON property overview
8369 8370 8371 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8369 def overview @overview end |
#start_date ⇒ Date
Start date of the project.
Corresponds to the JSON property startDate
8374 8375 8376 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8374 def start_date @start_date end |
#subaccount_id ⇒ String
Subaccount ID of this project.
Corresponds to the JSON property subaccountId
8379 8380 8381 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8379 def subaccount_id @subaccount_id end |
#target_clicks ⇒ String
Number of clicks that the advertiser is targeting.
Corresponds to the JSON property targetClicks
8384 8385 8386 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8384 def target_clicks @target_clicks end |
#target_conversions ⇒ String
Number of conversions that the advertiser is targeting.
Corresponds to the JSON property targetConversions
8389 8390 8391 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8389 def target_conversions @target_conversions end |
#target_cpa_nanos ⇒ String
CPA that the advertiser is targeting.
Corresponds to the JSON property targetCpaNanos
8394 8395 8396 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8394 def target_cpa_nanos @target_cpa_nanos end |
#target_cpc_nanos ⇒ String
CPC that the advertiser is targeting.
Corresponds to the JSON property targetCpcNanos
8399 8400 8401 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8399 def target_cpc_nanos @target_cpc_nanos end |
#target_cpm_nanos ⇒ String
CPM that the advertiser is targeting.
Corresponds to the JSON property targetCpmNanos
8404 8405 8406 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8404 def target_cpm_nanos @target_cpm_nanos end |
#target_impressions ⇒ String
Number of impressions that the advertiser is targeting.
Corresponds to the JSON property targetImpressions
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 |