class Google::Apis::DfareportingV3_5::Project

Contains properties of a Planning project.

Attributes

account_id[RW]

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

advertiser_id[RW]

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

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 [Fixnum]

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]

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 [Fixnum]

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::DfareportingV3_5::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]

Corresponds to the JSON property `startDate` @return [Date]

subaccount_id[RW]

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

target_clicks[RW]

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

target_conversions[RW]

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

target_cpa_nanos[RW]

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

target_cpc_nanos[RW]

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

target_cpm_active_view_nanos[RW]

vCPM from Active View that the advertiser is targeting. Corresponds to the JSON property `targetCpmActiveViewNanos` @return [Fixnum]

target_cpm_nanos[RW]

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

target_impressions[RW]

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

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

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