Class: Google::Apis::DoubleclicksearchV2::ReportRequest::ReportScope

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

Overview

The reportScope is a set of IDs that are used to determine which subset of entities will be returned in the report. The full lineage of IDs from the lowest scoped level desired up through agency is required.

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) ⇒ ReportScope

Returns a new instance of ReportScope.



803
804
805
# File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 803

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

Instance Attribute Details

#ad_group_idString

DS ad group ID. Corresponds to the JSON property adGroupId

Returns:

  • (String)


771
772
773
# File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 771

def ad_group_id
  @ad_group_id
end

#ad_idString

DS ad ID. Corresponds to the JSON property adId

Returns:

  • (String)


776
777
778
# File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 776

def ad_id
  @ad_id
end

#advertiser_idString

DS advertiser ID. Corresponds to the JSON property advertiserId

Returns:

  • (String)


781
782
783
# File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 781

def advertiser_id
  @advertiser_id
end

#agency_idString

DS agency ID. Corresponds to the JSON property agencyId

Returns:

  • (String)


786
787
788
# File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 786

def agency_id
  @agency_id
end

#campaign_idString

DS campaign ID. Corresponds to the JSON property campaignId

Returns:

  • (String)


791
792
793
# File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 791

def campaign_id
  @campaign_id
end

#engine_account_idString

DS engine account ID. Corresponds to the JSON property engineAccountId

Returns:

  • (String)


796
797
798
# File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 796

def 
  @engine_account_id
end

#keyword_idString

DS keyword ID. Corresponds to the JSON property keywordId

Returns:

  • (String)


801
802
803
# File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 801

def keyword_id
  @keyword_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



808
809
810
811
812
813
814
815
816
# File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 808

def update!(**args)
  @ad_group_id = args[:ad_group_id] if args.key?(:ad_group_id)
  @ad_id = args[:ad_id] if args.key?(:ad_id)
  @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id)
  @agency_id = args[:agency_id] if args.key?(:agency_id)
  @campaign_id = args[:campaign_id] if args.key?(:campaign_id)
  @engine_account_id = args[:engine_account_id] if args.key?(:engine_account_id)
  @keyword_id = args[:keyword_id] if args.key?(:keyword_id)
end