Class: DfpApi::V201208::CreativeSetService::CreativeSetService
- Inherits:
-
AdsCommon::SavonService
- Object
- AdsCommon::SavonService
- DfpApi::V201208::CreativeSetService::CreativeSetService
- Defined in:
- lib/dfp_api/v201208/creative_set_service.rb
Instance Method Summary collapse
- #create_creative_set(*args, &block) ⇒ Object
- #get_creative_set(*args, &block) ⇒ Object
- #get_creative_sets_by_statement(*args, &block) ⇒ Object
-
#initialize(config, endpoint) ⇒ CreativeSetService
constructor
A new instance of CreativeSetService.
- #update_creative_set(*args, &block) ⇒ Object
Constructor Details
#initialize(config, endpoint) ⇒ CreativeSetService
Returns a new instance of CreativeSetService.
15 16 17 18 |
# File 'lib/dfp_api/v201208/creative_set_service.rb', line 15 def initialize(config, endpoint) namespace = 'https://www.google.com/apis/ads/publisher/v201208' super(config, endpoint, namespace, :v201208) end |
Instance Method Details
#create_creative_set(*args, &block) ⇒ Object
20 21 22 |
# File 'lib/dfp_api/v201208/creative_set_service.rb', line 20 def create_creative_set(*args, &block) return execute_action('create_creative_set', args, &block) end |
#get_creative_set(*args, &block) ⇒ Object
24 25 26 |
# File 'lib/dfp_api/v201208/creative_set_service.rb', line 24 def get_creative_set(*args, &block) return execute_action('get_creative_set', args, &block) end |
#get_creative_sets_by_statement(*args, &block) ⇒ Object
28 29 30 |
# File 'lib/dfp_api/v201208/creative_set_service.rb', line 28 def get_creative_sets_by_statement(*args, &block) return execute_action('get_creative_sets_by_statement', args, &block) end |
#update_creative_set(*args, &block) ⇒ Object
32 33 34 |
# File 'lib/dfp_api/v201208/creative_set_service.rb', line 32 def update_creative_set(*args, &block) return execute_action('update_creative_set', args, &block) end |