Class: Google::Apis::DfareportingV3_4::CampaignManagerIds

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dfareporting_v3_4/classes.rb,
generated/google/apis/dfareporting_v3_4/representations.rb,
generated/google/apis/dfareporting_v3_4/representations.rb

Overview

Campaign Manager IDs related to the custom event.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ CampaignManagerIds

Returns a new instance of CampaignManagerIds.



1776
1777
1778
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 1776

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#ad_idFixnum

Ad ID for Campaign Manager. Corresponds to the JSON property adId

Returns:

  • (Fixnum)


1748
1749
1750
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 1748

def ad_id
  @ad_id
end

#campaign_idFixnum

Campaign ID for Campaign Manager. Corresponds to the JSON property campaignId

Returns:

  • (Fixnum)


1753
1754
1755
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 1753

def campaign_id
  @campaign_id
end

#creative_idFixnum

Creative ID for Campaign Manager. Corresponds to the JSON property creativeId

Returns:

  • (Fixnum)


1758
1759
1760
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 1758

def creative_id
  @creative_id
end

#kindString

Identifies what kind of resource this is. Value: the fixed string " dfareporting#campaignManagerIds". Corresponds to the JSON property kind

Returns:

  • (String)


1764
1765
1766
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 1764

def kind
  @kind
end

#placement_idFixnum

Placement ID for Campaign Manager. Corresponds to the JSON property placementId

Returns:

  • (Fixnum)


1769
1770
1771
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 1769

def placement_id
  @placement_id
end

#site_idFixnum

Site ID for Campaign Manager. Corresponds to the JSON property siteId

Returns:

  • (Fixnum)


1774
1775
1776
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 1774

def site_id
  @site_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1781
1782
1783
1784
1785
1786
1787
1788
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 1781

def update!(**args)
  @ad_id = args[:ad_id] if args.key?(:ad_id)
  @campaign_id = args[:campaign_id] if args.key?(:campaign_id)
  @creative_id = args[:creative_id] if args.key?(:creative_id)
  @kind = args[:kind] if args.key?(:kind)
  @placement_id = args[:placement_id] if args.key?(:placement_id)
  @site_id = args[:site_id] if args.key?(:site_id)
end