Class: Sem4r::Account

Inherits:
Base
  • Object
show all
Includes:
AccountAccountExtension, AccountCampaignExtension, AccountInfoExtension, BulkMutateJobAccountExtension, GeoLocationAccountExtension, ReportAccountExtension, ReportDefinitionAccountExtension, TargetingIdeaExtension
Defined in:
lib/sem4r/account.rb,
lib/sem4r/info/info_account_extension.rb,
lib/sem4r/campaign/campaign_account_extension.rb,
lib/sem4r/v13_report/report_account_extension.rb,
lib/sem4r/v13_account/account_account_extension.rb,
lib/sem4r/geo_location/geo_location_account_extension.rb,
lib/sem4r/targeting_idea/targeting_idea_account_extension.rb,
lib/sem4r/bulk_mutate_job/bulk_mutate_job_account_extension.rb,
lib/sem4r/report_definition/report_definition_account_extension.rb

Instance Attribute Summary

Attributes inherited from Base

#adwords, #credentials, #service

Instance Method Summary collapse

Methods included from ReportDefinitionAccountExtension

#p_report_definitions, #report_definition, #report_definition_delete, #report_definition_delete_all, #report_definitions, #report_fields

Methods included from BulkMutateJobAccountExtension

#job_delete, #job_mutate, #job_result, #jobs, #p_jobs

Methods included from TargetingIdeaExtension

#p_targeting_idea, #targeting_idea

Methods included from GeoLocationAccountExtension

#geo_location

Methods included from AccountAccountExtension

#client_accounts, #currency_code, #customer_id, #p_client_accounts, #p_info

Methods included from ReportAccountExtension

#p_reports, #report, #reports

Methods included from AccountCampaignExtension

#campaign, #campaigns, #p_campaigns

Methods included from AccountInfoExtension

#year_unit_cost

Methods inherited from Base

#add_counters

Methods included from Sem4rSoap::SoapAttributes

#_from_element, #_to_s, #_to_xml, included

Constructor Details

#initialize(adwords, credentials) ⇒ Account

Returns a new instance of Account.



29
30
31
32
33
34
# File 'lib/sem4r/account.rb', line 29

def initialize( adwords, credentials )
  super( adwords, credentials )
  @campaigns = nil
  @reports = nil
  @report_definitions = nil
end

Instance Method Details

#client_emailObject



40
41
42
# File 'lib/sem4r/account.rb', line 40

def client_email
  credentials.client_email
end

#to_sObject



36
37
38
# File 'lib/sem4r/account.rb', line 36

def to_s
  credentials.to_s
end