Class: Google::Apis::DfareportingV2_1::CreativeField
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_1::CreativeField
- 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 creative field.
Instance Attribute Summary collapse
-
#account_id ⇒ String
Account ID of this creative field.
-
#advertiser_id ⇒ String
Advertiser ID of this creative field.
-
#advertiser_id_dimension_value ⇒ Google::Apis::DfareportingV2_1::DimensionValue
Represents a DimensionValue resource.
-
#id ⇒ String
ID of this creative field.
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#name ⇒ String
Name of this creative field.
-
#subaccount_id ⇒ String
Subaccount ID of this creative field.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CreativeField
constructor
A new instance of CreativeField.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CreativeField
Returns a new instance of CreativeField
3412 3413 3414 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 3412 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_id ⇒ String
Account ID of this creative field. This is a read-only field that can be left
blank.
Corresponds to the JSON property accountId
3377 3378 3379 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 3377 def account_id @account_id end |
#advertiser_id ⇒ String
Advertiser ID of this creative field. This is a required field on insertion.
Corresponds to the JSON property advertiserId
3382 3383 3384 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 3382 def advertiser_id @advertiser_id end |
#advertiser_id_dimension_value ⇒ Google::Apis::DfareportingV2_1::DimensionValue
Represents a DimensionValue resource.
Corresponds to the JSON property advertiserIdDimensionValue
3387 3388 3389 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 3387 def advertiser_id_dimension_value @advertiser_id_dimension_value end |
#id ⇒ String
ID of this creative field. This is a read-only, auto-generated field.
Corresponds to the JSON property id
3392 3393 3394 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 3392 def id @id end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
dfareporting#creativeField".
Corresponds to the JSON property kind
3398 3399 3400 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 3398 def kind @kind end |
#name ⇒ String
Name of this creative field. This is a required field and must be less than
256 characters long and unique among creative fields of the same advertiser.
Corresponds to the JSON property name
3404 3405 3406 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 3404 def name @name end |
#subaccount_id ⇒ String
Subaccount ID of this creative field. This is a read-only field that can be
left blank.
Corresponds to the JSON property subaccountId
3410 3411 3412 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 3410 def subaccount_id @subaccount_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3417 3418 3419 3420 3421 3422 3423 3424 3425 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 3417 def update!(**args) @account_id = args[:account_id] unless args[:account_id].nil? @advertiser_id = args[:advertiser_id] unless args[:advertiser_id].nil? @advertiser_id_dimension_value = args[:advertiser_id_dimension_value] unless args[:advertiser_id_dimension_value].nil? @id = args[:id] unless args[:id].nil? @kind = args[:kind] unless args[:kind].nil? @name = args[:name] unless args[:name].nil? @subaccount_id = args[:subaccount_id] unless args[:subaccount_id].nil? end |