Class: DfpApi::V201211::TeamService::TeamService
- Inherits:
-
AdsCommon::SavonService
- Object
- AdsCommon::SavonService
- DfpApi::V201211::TeamService::TeamService
- Defined in:
- lib/dfp_api/v201211/team_service.rb
Instance Method Summary collapse
- #create_team(*args, &block) ⇒ Object
- #create_teams(*args, &block) ⇒ Object
- #get_team(*args, &block) ⇒ Object
- #get_teams_by_statement(*args, &block) ⇒ Object
-
#initialize(config, endpoint) ⇒ TeamService
constructor
A new instance of TeamService.
- #update_team(*args, &block) ⇒ Object
- #update_teams(*args, &block) ⇒ Object
Constructor Details
#initialize(config, endpoint) ⇒ TeamService
Returns a new instance of TeamService.
15 16 17 18 |
# File 'lib/dfp_api/v201211/team_service.rb', line 15 def initialize(config, endpoint) namespace = 'https://www.google.com/apis/ads/publisher/v201211' super(config, endpoint, namespace, :v201211) end |
Instance Method Details
#create_team(*args, &block) ⇒ Object
20 21 22 |
# File 'lib/dfp_api/v201211/team_service.rb', line 20 def create_team(*args, &block) return execute_action('create_team', args, &block) end |
#create_teams(*args, &block) ⇒ Object
24 25 26 |
# File 'lib/dfp_api/v201211/team_service.rb', line 24 def create_teams(*args, &block) return execute_action('create_teams', args, &block) end |
#get_team(*args, &block) ⇒ Object
28 29 30 |
# File 'lib/dfp_api/v201211/team_service.rb', line 28 def get_team(*args, &block) return execute_action('get_team', args, &block) end |
#get_teams_by_statement(*args, &block) ⇒ Object
32 33 34 |
# File 'lib/dfp_api/v201211/team_service.rb', line 32 def get_teams_by_statement(*args, &block) return execute_action('get_teams_by_statement', args, &block) end |
#update_team(*args, &block) ⇒ Object
36 37 38 |
# File 'lib/dfp_api/v201211/team_service.rb', line 36 def update_team(*args, &block) return execute_action('update_team', args, &block) end |
#update_teams(*args, &block) ⇒ Object
40 41 42 |
# File 'lib/dfp_api/v201211/team_service.rb', line 40 def update_teams(*args, &block) return execute_action('update_teams', args, &block) end |