class Google::Apis::DoubleclicksearchV2::ReportRequest::ReportScope

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.

Attributes

ad_group_id[RW]

DS ad group ID. Corresponds to the JSON property `adGroupId` @return [String]

ad_id[RW]

DS ad ID. Corresponds to the JSON property `adId` @return [String]

advertiser_id[RW]

DS advertiser ID. Corresponds to the JSON property `advertiserId` @return [String]

agency_id[RW]

DS agency ID. Corresponds to the JSON property `agencyId` @return [String]

campaign_id[RW]

DS campaign ID. Corresponds to the JSON property `campaignId` @return [String]

engine_account_id[RW]

DS engine account ID. Corresponds to the JSON property `engineAccountId` @return [String]

keyword_id[RW]

DS keyword ID. Corresponds to the JSON property `keywordId` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/doubleclicksearch_v2/classes.rb, line 803
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# 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