Class: Google::Apis::DfareportingV2_1::CampaignCreativeAssociation
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_1::CampaignCreativeAssociation
- 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
Identifies a creative which has been associated with a given campaign.
Instance Attribute Summary collapse
-
#creative_id ⇒ String
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.
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CampaignCreativeAssociation
Returns a new instance of CampaignCreativeAssociation.
1583 1584 1585 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 1583 def initialize(**args) update!(**args) end |
Instance Attribute Details
#creative_id ⇒ String
ID of the creative associated with the campaign. This is a required field.
Corresponds to the JSON property creativeId
1575 1576 1577 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 1575 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
1581 1582 1583 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 1581 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1588 1589 1590 1591 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 1588 def update!(**args) @creative_id = args[:creative_id] unless args[:creative_id].nil? @kind = args[:kind] unless args[:kind].nil? end |