Class: DfpApi::V201302::PlacementService::PlacementService
- Inherits:
-
AdsCommon::SavonService
- Object
- AdsCommon::SavonService
- DfpApi::V201302::PlacementService::PlacementService
- Defined in:
- lib/dfp_api/v201302/placement_service.rb
Instance Method Summary collapse
- #create_placement(*args, &block) ⇒ Object
- #create_placements(*args, &block) ⇒ Object
- #get_placement(*args, &block) ⇒ Object
- #get_placements_by_statement(*args, &block) ⇒ Object
-
#initialize(config, endpoint) ⇒ PlacementService
constructor
A new instance of PlacementService.
- #perform_placement_action(*args, &block) ⇒ Object
- #update_placement(*args, &block) ⇒ Object
- #update_placements(*args, &block) ⇒ Object
Constructor Details
#initialize(config, endpoint) ⇒ PlacementService
Returns a new instance of PlacementService.
15 16 17 18 |
# File 'lib/dfp_api/v201302/placement_service.rb', line 15 def initialize(config, endpoint) namespace = 'https://www.google.com/apis/ads/publisher/v201302' super(config, endpoint, namespace, :v201302) end |
Instance Method Details
#create_placement(*args, &block) ⇒ Object
20 21 22 |
# File 'lib/dfp_api/v201302/placement_service.rb', line 20 def create_placement(*args, &block) return execute_action('create_placement', args, &block) end |
#create_placements(*args, &block) ⇒ Object
24 25 26 |
# File 'lib/dfp_api/v201302/placement_service.rb', line 24 def create_placements(*args, &block) return execute_action('create_placements', args, &block) end |
#get_placement(*args, &block) ⇒ Object
28 29 30 |
# File 'lib/dfp_api/v201302/placement_service.rb', line 28 def get_placement(*args, &block) return execute_action('get_placement', args, &block) end |
#get_placements_by_statement(*args, &block) ⇒ Object
32 33 34 |
# File 'lib/dfp_api/v201302/placement_service.rb', line 32 def get_placements_by_statement(*args, &block) return execute_action('get_placements_by_statement', args, &block) end |
#perform_placement_action(*args, &block) ⇒ Object
36 37 38 |
# File 'lib/dfp_api/v201302/placement_service.rb', line 36 def perform_placement_action(*args, &block) return execute_action('perform_placement_action', args, &block) end |
#update_placement(*args, &block) ⇒ Object
40 41 42 |
# File 'lib/dfp_api/v201302/placement_service.rb', line 40 def update_placement(*args, &block) return execute_action('update_placement', args, &block) end |
#update_placements(*args, &block) ⇒ Object
44 45 46 |
# File 'lib/dfp_api/v201302/placement_service.rb', line 44 def update_placements(*args, &block) return execute_action('update_placements', args, &block) end |