Class: Google::Apis::DfareportingV4::CampaignCreativeAssociation
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV4::CampaignCreativeAssociation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dfareporting_v4/classes.rb,
lib/google/apis/dfareporting_v4/representations.rb,
lib/google/apis/dfareporting_v4/representations.rb
Overview
Identifies a creative which has been associated with a given campaign.
Instance Attribute Summary collapse
-
#creative_id ⇒ Fixnum
ID of the creative associated with the campaign.
-
#kind ⇒ String
Identifies what kind of resource this is.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CampaignCreativeAssociation
constructor
A new instance of CampaignCreativeAssociation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CampaignCreativeAssociation
Returns a new instance of CampaignCreativeAssociation.
1969 1970 1971 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 1969 def initialize(**args) update!(**args) end |
Instance Attribute Details
#creative_id ⇒ Fixnum
ID of the creative associated with the campaign. This is a required field.
Corresponds to the JSON property creativeId
1961 1962 1963 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 1961 def creative_id @creative_id end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
dfareporting#campaignCreativeAssociation".
Corresponds to the JSON property kind
1967 1968 1969 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 1967 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1974 1975 1976 1977 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 1974 def update!(**args) @creative_id = args[:creative_id] if args.key?(:creative_id) @kind = args[:kind] if args.key?(:kind) end |