Class: DfpApi::V201302::CustomFieldService::CustomFieldService
- Inherits:
-
AdsCommon::SavonService
- Object
- AdsCommon::SavonService
- DfpApi::V201302::CustomFieldService::CustomFieldService
- Defined in:
- lib/dfp_api/v201302/custom_field_service.rb
Instance Method Summary collapse
- #create_custom_field(*args, &block) ⇒ Object
- #create_custom_field_option(*args, &block) ⇒ Object
- #create_custom_field_options(*args, &block) ⇒ Object
- #create_custom_fields(*args, &block) ⇒ Object
- #get_custom_field(*args, &block) ⇒ Object
- #get_custom_field_option(*args, &block) ⇒ Object
- #get_custom_fields_by_statement(*args, &block) ⇒ Object
-
#initialize(config, endpoint) ⇒ CustomFieldService
constructor
A new instance of CustomFieldService.
- #perform_custom_field_action(*args, &block) ⇒ Object
- #update_custom_field(*args, &block) ⇒ Object
- #update_custom_field_option(*args, &block) ⇒ Object
- #update_custom_field_options(*args, &block) ⇒ Object
- #update_custom_fields(*args, &block) ⇒ Object
Constructor Details
#initialize(config, endpoint) ⇒ CustomFieldService
Returns a new instance of CustomFieldService.
15 16 17 18 |
# File 'lib/dfp_api/v201302/custom_field_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_custom_field(*args, &block) ⇒ Object
20 21 22 |
# File 'lib/dfp_api/v201302/custom_field_service.rb', line 20 def create_custom_field(*args, &block) return execute_action('create_custom_field', args, &block) end |
#create_custom_field_option(*args, &block) ⇒ Object
24 25 26 |
# File 'lib/dfp_api/v201302/custom_field_service.rb', line 24 def create_custom_field_option(*args, &block) return execute_action('create_custom_field_option', args, &block) end |
#create_custom_field_options(*args, &block) ⇒ Object
28 29 30 |
# File 'lib/dfp_api/v201302/custom_field_service.rb', line 28 def (*args, &block) return execute_action('create_custom_field_options', args, &block) end |
#create_custom_fields(*args, &block) ⇒ Object
32 33 34 |
# File 'lib/dfp_api/v201302/custom_field_service.rb', line 32 def create_custom_fields(*args, &block) return execute_action('create_custom_fields', args, &block) end |
#get_custom_field(*args, &block) ⇒ Object
36 37 38 |
# File 'lib/dfp_api/v201302/custom_field_service.rb', line 36 def get_custom_field(*args, &block) return execute_action('get_custom_field', args, &block) end |
#get_custom_field_option(*args, &block) ⇒ Object
40 41 42 |
# File 'lib/dfp_api/v201302/custom_field_service.rb', line 40 def get_custom_field_option(*args, &block) return execute_action('get_custom_field_option', args, &block) end |
#get_custom_fields_by_statement(*args, &block) ⇒ Object
44 45 46 |
# File 'lib/dfp_api/v201302/custom_field_service.rb', line 44 def get_custom_fields_by_statement(*args, &block) return execute_action('get_custom_fields_by_statement', args, &block) end |
#perform_custom_field_action(*args, &block) ⇒ Object
48 49 50 |
# File 'lib/dfp_api/v201302/custom_field_service.rb', line 48 def perform_custom_field_action(*args, &block) return execute_action('perform_custom_field_action', args, &block) end |
#update_custom_field(*args, &block) ⇒ Object
52 53 54 |
# File 'lib/dfp_api/v201302/custom_field_service.rb', line 52 def update_custom_field(*args, &block) return execute_action('update_custom_field', args, &block) end |
#update_custom_field_option(*args, &block) ⇒ Object
56 57 58 |
# File 'lib/dfp_api/v201302/custom_field_service.rb', line 56 def update_custom_field_option(*args, &block) return execute_action('update_custom_field_option', args, &block) end |
#update_custom_field_options(*args, &block) ⇒ Object
60 61 62 |
# File 'lib/dfp_api/v201302/custom_field_service.rb', line 60 def (*args, &block) return execute_action('update_custom_field_options', args, &block) end |
#update_custom_fields(*args, &block) ⇒ Object
64 65 66 |
# File 'lib/dfp_api/v201302/custom_field_service.rb', line 64 def update_custom_fields(*args, &block) return execute_action('update_custom_fields', args, &block) end |