google-adwords-api 0.10.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +3 -0
- data/examples/v201306/misc/setup_oauth2.rb +4 -4
- data/examples/v201306/optimization/get_keyword_ideas.rb +1 -1
- data/examples/v201309/advanced_operations/add_site_links.rb +71 -9
- data/examples/v201309/advanced_operations/update_site_links.rb +194 -0
- data/examples/v201309/misc/setup_oauth2.rb +4 -4
- data/examples/v201309/optimization/get_keyword_ideas.rb +1 -1
- data/lib/adwords_api/api_config.rb +0 -88
- data/lib/adwords_api/version.rb +1 -1
- data/test/templates/v201306/basic_operations_get_campaigns.def +1 -1
- data/test/templates/v201306/misc_use_oauth2_jwt.def +1 -1
- data/test/templates/v201309/basic_operations_get_campaigns.def +1 -1
- data/test/templates/v201309/misc_use_oauth2_jwt.def +1 -1
- metadata +266 -429
- data/examples/v201302/account_management/create_account.rb +0 -95
- data/examples/v201302/account_management/get_account_alerts.rb +0 -122
- data/examples/v201302/account_management/get_account_changes.rb +0 -145
- data/examples/v201302/account_management/get_account_hierarchy.rb +0 -103
- data/examples/v201302/advanced_operations/add_ad_group_bid_modifier.rb +0 -105
- data/examples/v201302/advanced_operations/add_click_to_download_ad.rb +0 -137
- data/examples/v201302/advanced_operations/add_site_links.rb +0 -221
- data/examples/v201302/advanced_operations/create_and_attach_shared_keyword_set.rb +0 -147
- data/examples/v201302/advanced_operations/find_and_remove_criteria_from_shared_set.rb +0 -181
- data/examples/v201302/advanced_operations/get_ad_group_bid_modifiers.rb +0 -106
- data/examples/v201302/adwords_for_video/add_video_call_to_action.rb +0 -94
- data/examples/v201302/adwords_for_video/add_video_campaign.rb +0 -103
- data/examples/v201302/adwords_for_video/find_videos.rb +0 -92
- data/examples/v201302/adwords_for_video/get_keyword_criteria.rb +0 -101
- data/examples/v201302/adwords_for_video/get_targeting_groups.rb +0 -93
- data/examples/v201302/adwords_for_video/get_video_campaign_criteria.rb +0 -99
- data/examples/v201302/adwords_for_video/get_video_campaign_stats.rb +0 -126
- data/examples/v201302/adwords_for_video/get_video_campaigns.rb +0 -94
- data/examples/v201302/basic_operations/add_ad_groups.rb +0 -143
- data/examples/v201302/basic_operations/add_campaigns.rb +0 -162
- data/examples/v201302/basic_operations/add_keywords.rb +0 -116
- data/examples/v201302/basic_operations/add_text_ads.rb +0 -113
- data/examples/v201302/basic_operations/delete_ad.rb +0 -93
- data/examples/v201302/basic_operations/delete_ad_group.rb +0 -110
- data/examples/v201302/basic_operations/delete_campaign.rb +0 -111
- data/examples/v201302/basic_operations/delete_keyword.rb +0 -98
- data/examples/v201302/basic_operations/get_ad_groups.rb +0 -106
- data/examples/v201302/basic_operations/get_campaigns.rb +0 -101
- data/examples/v201302/basic_operations/get_campaigns_with_awql.rb +0 -93
- data/examples/v201302/basic_operations/get_keywords.rb +0 -112
- data/examples/v201302/basic_operations/get_text_ads.rb +0 -114
- data/examples/v201302/basic_operations/pause_ad.rb +0 -92
- data/examples/v201302/basic_operations/update_ad_group.rb +0 -89
- data/examples/v201302/basic_operations/update_campaign.rb +0 -90
- data/examples/v201302/basic_operations/update_keyword.rb +0 -110
- data/examples/v201302/campaign_management/add_experiment.rb +0 -166
- data/examples/v201302/campaign_management/add_keywords_in_bulk.rb +0 -158
- data/examples/v201302/campaign_management/add_location_extension.rb +0 -125
- data/examples/v201302/campaign_management/add_location_extension_override.rb +0 -91
- data/examples/v201302/campaign_management/get_all_disapproved_ads.rb +0 -101
- data/examples/v201302/campaign_management/get_all_disapproved_ads_with_awql.rb +0 -92
- data/examples/v201302/campaign_management/promote_experiment.rb +0 -85
- data/examples/v201302/campaign_management/set_ad_parameters.rb +0 -122
- data/examples/v201302/campaign_management/set_criterion_bid_modifier.rb +0 -110
- data/examples/v201302/campaign_management/validate_text_ad.rb +0 -114
- data/examples/v201302/error_handling/handle_captcha_challenge.rb +0 -93
- data/examples/v201302/error_handling/handle_partial_failures.rb +0 -134
- data/examples/v201302/error_handling/handle_policy_violation_error.rb +0 -145
- data/examples/v201302/error_handling/handle_two_factor_authorization_error.rb +0 -88
- data/examples/v201302/migration/set_campaign_enhanced.rb +0 -91
- data/examples/v201302/migration/upgrade_legacy_sitelinks.rb +0 -313
- data/examples/v201302/misc/get_all_images_and_videos.rb +0 -108
- data/examples/v201302/misc/setup_oauth2.rb +0 -88
- data/examples/v201302/misc/upload_image.rb +0 -97
- data/examples/v201302/misc/use_oauth2_jwt.rb +0 -93
- data/examples/v201302/optimization/estimate_keyword_traffic.rb +0 -137
- data/examples/v201302/optimization/get_keyword_bid_simulations.rb +0 -100
- data/examples/v201302/optimization/get_keyword_ideas.rb +0 -130
- data/examples/v201302/optimization/get_placement_ideas.rb +0 -112
- data/examples/v201302/remarketing/add_audience.rb +0 -123
- data/examples/v201302/remarketing/add_conversion_tracker.rb +0 -104
- data/examples/v201302/reporting/download_criteria_report.rb +0 -87
- data/examples/v201302/reporting/download_criteria_report_with_awql.rb +0 -86
- data/examples/v201302/reporting/get_campaign_stats.rb +0 -113
- data/examples/v201302/reporting/get_report_fields.rb +0 -79
- data/examples/v201302/reporting/parallel_report_download.rb +0 -171
- data/examples/v201302/targeting/add_campaign_targeting_criteria.rb +0 -123
- data/examples/v201302/targeting/add_demographic_targeting_criteria.rb +0 -116
- data/examples/v201302/targeting/get_campaign_targeting_criteria.rb +0 -110
- data/examples/v201302/targeting/get_targetable_languages_and_carriers.rb +0 -94
- data/examples/v201302/targeting/lookup_location.rb +0 -112
- data/examples/v201309/campaign_management/add_location_extension_override.rb +0 -91
- data/examples/v201309/reporting/get_campaign_stats.rb +0 -113
- data/lib/adwords_api/v201302/ad_extension_override_service.rb +0 -38
- data/lib/adwords_api/v201302/ad_extension_override_service_registry.rb +0 -46
- data/lib/adwords_api/v201302/ad_group_ad_service.rb +0 -42
- data/lib/adwords_api/v201302/ad_group_ad_service_registry.rb +0 -46
- data/lib/adwords_api/v201302/ad_group_bid_modifier_service.rb +0 -38
- data/lib/adwords_api/v201302/ad_group_bid_modifier_service_registry.rb +0 -46
- data/lib/adwords_api/v201302/ad_group_criterion_service.rb +0 -42
- data/lib/adwords_api/v201302/ad_group_criterion_service_registry.rb +0 -46
- data/lib/adwords_api/v201302/ad_group_feed_service.rb +0 -38
- data/lib/adwords_api/v201302/ad_group_feed_service_registry.rb +0 -47
- data/lib/adwords_api/v201302/ad_group_service.rb +0 -42
- data/lib/adwords_api/v201302/ad_group_service_registry.rb +0 -46
- data/lib/adwords_api/v201302/ad_param_service.rb +0 -38
- data/lib/adwords_api/v201302/ad_param_service_registry.rb +0 -46
- data/lib/adwords_api/v201302/alert_service.rb +0 -34
- data/lib/adwords_api/v201302/alert_service_registry.rb +0 -46
- data/lib/adwords_api/v201302/budget_order_service.rb +0 -42
- data/lib/adwords_api/v201302/budget_order_service_registry.rb +0 -46
- data/lib/adwords_api/v201302/budget_service.rb +0 -38
- data/lib/adwords_api/v201302/budget_service_registry.rb +0 -46
- data/lib/adwords_api/v201302/campaign_ad_extension_service.rb +0 -38
- data/lib/adwords_api/v201302/campaign_ad_extension_service_registry.rb +0 -46
- data/lib/adwords_api/v201302/campaign_criterion_service.rb +0 -42
- data/lib/adwords_api/v201302/campaign_criterion_service_registry.rb +0 -46
- data/lib/adwords_api/v201302/campaign_feed_service.rb +0 -38
- data/lib/adwords_api/v201302/campaign_feed_service_registry.rb +0 -46
- data/lib/adwords_api/v201302/campaign_service.rb +0 -42
- data/lib/adwords_api/v201302/campaign_service_registry.rb +0 -46
- data/lib/adwords_api/v201302/campaign_shared_set_service.rb +0 -38
- data/lib/adwords_api/v201302/campaign_shared_set_service_registry.rb +0 -47
- data/lib/adwords_api/v201302/constant_data_service.rb +0 -62
- data/lib/adwords_api/v201302/constant_data_service_registry.rb +0 -46
- data/lib/adwords_api/v201302/conversion_tracker_service.rb +0 -38
- data/lib/adwords_api/v201302/conversion_tracker_service_registry.rb +0 -46
- data/lib/adwords_api/v201302/customer_service.rb +0 -34
- data/lib/adwords_api/v201302/customer_service_registry.rb +0 -46
- data/lib/adwords_api/v201302/customer_sync_service.rb +0 -34
- data/lib/adwords_api/v201302/customer_sync_service_registry.rb +0 -47
- data/lib/adwords_api/v201302/data_service.rb +0 -38
- data/lib/adwords_api/v201302/data_service_registry.rb +0 -46
- data/lib/adwords_api/v201302/experiment_service.rb +0 -38
- data/lib/adwords_api/v201302/experiment_service_registry.rb +0 -46
- data/lib/adwords_api/v201302/feed_item_service.rb +0 -38
- data/lib/adwords_api/v201302/feed_item_service_registry.rb +0 -46
- data/lib/adwords_api/v201302/feed_mapping_service.rb +0 -38
- data/lib/adwords_api/v201302/feed_mapping_service_registry.rb +0 -46
- data/lib/adwords_api/v201302/feed_service.rb +0 -38
- data/lib/adwords_api/v201302/feed_service_registry.rb +0 -46
- data/lib/adwords_api/v201302/geo_location_service.rb +0 -34
- data/lib/adwords_api/v201302/geo_location_service_registry.rb +0 -46
- data/lib/adwords_api/v201302/location_criterion_service.rb +0 -34
- data/lib/adwords_api/v201302/location_criterion_service_registry.rb +0 -46
- data/lib/adwords_api/v201302/managed_customer_service.rb +0 -50
- data/lib/adwords_api/v201302/managed_customer_service_registry.rb +0 -46
- data/lib/adwords_api/v201302/media_service.rb +0 -38
- data/lib/adwords_api/v201302/media_service_registry.rb +0 -46
- data/lib/adwords_api/v201302/mutate_job_service.rb +0 -42
- data/lib/adwords_api/v201302/mutate_job_service_registry.rb +0 -46
- data/lib/adwords_api/v201302/report_definition_service.rb +0 -34
- data/lib/adwords_api/v201302/report_definition_service_registry.rb +0 -46
- data/lib/adwords_api/v201302/shared_criterion_service.rb +0 -38
- data/lib/adwords_api/v201302/shared_criterion_service_registry.rb +0 -47
- data/lib/adwords_api/v201302/shared_set_service.rb +0 -38
- data/lib/adwords_api/v201302/shared_set_service_registry.rb +0 -47
- data/lib/adwords_api/v201302/targeting_idea_service.rb +0 -38
- data/lib/adwords_api/v201302/targeting_idea_service_registry.rb +0 -46
- data/lib/adwords_api/v201302/traffic_estimator_service.rb +0 -34
- data/lib/adwords_api/v201302/traffic_estimator_service_registry.rb +0 -46
- data/lib/adwords_api/v201302/user_list_service.rb +0 -38
- data/lib/adwords_api/v201302/user_list_service_registry.rb +0 -46
- data/lib/adwords_api/v201302/video_ad_service.rb +0 -38
- data/lib/adwords_api/v201302/video_ad_service_registry.rb +0 -46
- data/lib/adwords_api/v201302/video_campaign_criterion_service.rb +0 -38
- data/lib/adwords_api/v201302/video_campaign_criterion_service_registry.rb +0 -47
- data/lib/adwords_api/v201302/video_campaign_service.rb +0 -38
- data/lib/adwords_api/v201302/video_campaign_service_registry.rb +0 -46
- data/lib/adwords_api/v201302/video_service.rb +0 -42
- data/lib/adwords_api/v201302/video_service_registry.rb +0 -46
- data/lib/adwords_api/v201302/video_targeting_group_criterion_service.rb +0 -38
- data/lib/adwords_api/v201302/video_targeting_group_criterion_service_registry.rb +0 -46
- data/lib/adwords_api/v201302/video_targeting_group_service.rb +0 -38
- data/lib/adwords_api/v201302/video_targeting_group_service_registry.rb +0 -46
- data/test/examples/v201302/test_account_management.rb +0 -50
- data/test/examples/v201302/test_advanced_operations.rb +0 -81
- data/test/examples/v201302/test_basic_operations.rb +0 -177
- data/test/examples/v201302/test_campaign_management.rb +0 -132
- data/test/examples/v201302/test_error_handling.rb +0 -63
- data/test/examples/v201302/test_migration.rb +0 -49
- data/test/examples/v201302/test_misc.rb +0 -39
- data/test/examples/v201302/test_optimization.rb +0 -63
- data/test/examples/v201302/test_remarketing.rb +0 -39
- data/test/examples/v201302/test_reporting.rb +0 -84
- data/test/examples/v201302/test_targeting.rb +0 -68
- data/test/examples/v201302/utils.rb +0 -267
- data/test/suite_exampletests_v201302.rb +0 -37
- data/test/templates/v201302/basic_operations_get_campaigns.def +0 -114
- data/test/templates/v201302/misc_use_oauth2_jwt.def +0 -131
@@ -1,38 +0,0 @@
|
|
1
|
-
# Encoding: utf-8
|
2
|
-
#
|
3
|
-
# This is auto-generated code, changes will be overwritten.
|
4
|
-
#
|
5
|
-
# Copyright:: Copyright 2013, Google Inc. All Rights Reserved.
|
6
|
-
# License:: Licensed under the Apache License, Version 2.0.
|
7
|
-
#
|
8
|
-
# Code generated by AdsCommon library 0.9.3 on 2013-03-05 13:30:28.
|
9
|
-
|
10
|
-
require 'ads_common/savon_service'
|
11
|
-
require 'adwords_api/v201302/conversion_tracker_service_registry'
|
12
|
-
|
13
|
-
module AdwordsApi; module V201302; module ConversionTrackerService
|
14
|
-
class ConversionTrackerService < AdsCommon::SavonService
|
15
|
-
def initialize(config, endpoint)
|
16
|
-
namespace = 'https://adwords.google.com/api/adwords/cm/v201302'
|
17
|
-
super(config, endpoint, namespace, :v201302)
|
18
|
-
end
|
19
|
-
|
20
|
-
def get(*args, &block)
|
21
|
-
return execute_action('get', args, &block)
|
22
|
-
end
|
23
|
-
|
24
|
-
def mutate(*args, &block)
|
25
|
-
return execute_action('mutate', args, &block)
|
26
|
-
end
|
27
|
-
|
28
|
-
private
|
29
|
-
|
30
|
-
def get_service_registry()
|
31
|
-
return ConversionTrackerServiceRegistry
|
32
|
-
end
|
33
|
-
|
34
|
-
def get_module()
|
35
|
-
return AdwordsApi::V201302::ConversionTrackerService
|
36
|
-
end
|
37
|
-
end
|
38
|
-
end; end; end
|
@@ -1,46 +0,0 @@
|
|
1
|
-
# Encoding: utf-8
|
2
|
-
#
|
3
|
-
# This is auto-generated code, changes will be overwritten.
|
4
|
-
#
|
5
|
-
# Copyright:: Copyright 2013, Google Inc. All Rights Reserved.
|
6
|
-
# License:: Licensed under the Apache License, Version 2.0.
|
7
|
-
#
|
8
|
-
# Code generated by AdsCommon library 0.9.3 on 2013-03-05 13:30:28.
|
9
|
-
|
10
|
-
require 'adwords_api/errors'
|
11
|
-
|
12
|
-
module AdwordsApi; module V201302; module ConversionTrackerService
|
13
|
-
class ConversionTrackerServiceRegistry
|
14
|
-
CONVERSIONTRACKERSERVICE_METHODS = {:get=>{:input=>[{:name=>:service_selector, :type=>"Selector", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_response", :fields=>[{:name=>:rval, :type=>"ConversionTrackerPage", :min_occurs=>0, :max_occurs=>1}]}}, :mutate=>{:input=>[{:name=>:operations, :type=>"ConversionTrackerOperation", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"mutate_response", :fields=>[{:name=>:rval, :type=>"ConversionTrackerReturnValue", :min_occurs=>0, :max_occurs=>1}]}}}
|
15
|
-
CONVERSIONTRACKERSERVICE_TYPES = {:AdWordsConversionTracker=>{:fields=>[{:name=>:snippet, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:markup_language, :type=>"AdWordsConversionTracker.MarkupLanguage", :min_occurs=>0, :max_occurs=>1}, {:name=>:text_format, :type=>"AdWordsConversionTracker.TextFormat", :min_occurs=>0, :max_occurs=>1}, {:name=>:conversion_page_language, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:background_color, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_revenue_value, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:tracking_code_type, :type=>"AdWordsConversionTracker.TrackingCodeType", :min_occurs=>0, :max_occurs=>1}], :base=>"ConversionTracker"}, :AppConversion=>{:fields=>[{:name=>:app_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:app_platform, :type=>"AppConversion.AppPlatform", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_revenue_value, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:snippet, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:app_conversion_type, :type=>"AppConversion.AppConversionType", :min_occurs=>0, :max_occurs=>1}], :base=>"ConversionTracker"}, :AuthenticationError=>{:fields=>[{:name=>:reason, :type=>"AuthenticationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :AuthorizationError=>{:fields=>[{:name=>:reason, :type=>"AuthorizationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ClientTermsError=>{:fields=>[{:name=>:reason, :type=>"ClientTermsError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ConversionTrackingError=>{:fields=>[{:name=>:reason, :type=>"ConversionTrackingError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :DateError=>{:fields=>[{:name=>:reason, :type=>"DateError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :DateRange=>{:fields=>[{:name=>:min, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:max, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :DistinctError=>{:fields=>[{:name=>:reason, :type=>"DistinctError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :DoubleValue=>{:fields=>[{:name=>:number, :type=>"double", :min_occurs=>0, :max_occurs=>1}], :base=>"NumberValue"}, :IdError=>{:fields=>[{:name=>:reason, :type=>"IdError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :InternalApiError=>{:fields=>[{:name=>:reason, :type=>"InternalApiError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :LongValue=>{:fields=>[{:name=>:number, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :base=>"NumberValue"}, :Money=>{:fields=>[{:name=>:micro_amount, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :base=>"ComparableValue"}, :NotEmptyError=>{:fields=>[{:name=>:reason, :type=>"NotEmptyError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NotWhitelistedError=>{:fields=>[{:name=>:reason, :type=>"NotWhitelistedError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NumberValue=>{:fields=>[], :abstract=>true, :base=>"ComparableValue"}, :OperationAccessDenied=>{:fields=>[{:name=>:reason, :type=>"OperationAccessDenied.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :OperatorError=>{:fields=>[{:name=>:reason, :type=>"OperatorError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :OrderBy=>{:fields=>[{:name=>:field, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:sort_order, :type=>"SortOrder", :min_occurs=>0, :max_occurs=>1}]}, :Paging=>{:fields=>[{:name=>:start_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:number_results, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :Predicate=>{:fields=>[{:name=>:field, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:operator, :type=>"Predicate.Operator", :min_occurs=>0, :max_occurs=>1}, {:name=>:values, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}]}, :QuotaCheckError=>{:fields=>[{:name=>:reason, :type=>"QuotaCheckError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RangeError=>{:fields=>[{:name=>:reason, :type=>"RangeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RateExceededError=>{:fields=>[{:name=>:reason, :type=>"RateExceededError.Reason", :min_occurs=>0, :max_occurs=>1}, {:name=>:rate_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:rate_scope, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:retry_after_seconds, :type=>"int", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ReadOnlyError=>{:fields=>[{:name=>:reason, :type=>"ReadOnlyError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequestError=>{:fields=>[{:name=>:reason, :type=>"RequestError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredError=>{:fields=>[{:name=>:reason, :type=>"RequiredError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SelectorError=>{:fields=>[{:name=>:reason, :type=>"SelectorError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SizeLimitError=>{:fields=>[{:name=>:reason, :type=>"SizeLimitError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SoapHeader=>{:fields=>[{:name=>:auth_token, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:client_customer_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:developer_token, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_agent, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:validate_only, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:partial_failure, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:service_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:method_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:operations, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:units, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :StringLengthError=>{:fields=>[{:name=>:reason, :type=>"StringLengthError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ComparableValue=>{:fields=>[{:name=>:comparable_value_type, :original_name=>"ComparableValue.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ConversionTrackerStats=>{:fields=>[{:name=>:num_conversion_events, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:conversion_value, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:most_recent_conversion_date, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:num_converted_clicks, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :ConversionTracker=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"ConversionTracker.Status", :min_occurs=>0, :max_occurs=>1}, {:name=>:category, :type=>"ConversionTracker.Category", :min_occurs=>0, :max_occurs=>1}, {:name=>:stats, :type=>"ConversionTrackerStats", :min_occurs=>0, :max_occurs=>1}, {:name=>:viewthrough_lookback_window, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:viewthrough_conversion_de_dup_search, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_product_ads_chargeable, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:product_ads_chargeable_conversion_window, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:conversion_tracker_type, :original_name=>"ConversionTracker.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ConversionTrackerOperation=>{:fields=>[{:name=>:operand, :type=>"ConversionTracker", :min_occurs=>0, :max_occurs=>1}], :base=>"Operation"}, :ConversionTrackerReturnValue=>{:fields=>[{:name=>:value, :type=>"ConversionTracker", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ListReturnValue"}, :DatabaseError=>{:fields=>[{:name=>:reason, :type=>"DatabaseError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ListReturnValue=>{:fields=>[{:name=>:list_return_value_type, :original_name=>"ListReturnValue.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :Operation=>{:fields=>[{:name=>:operator, :type=>"Operator", :min_occurs=>0, :max_occurs=>1}, {:name=>:operation_type, :original_name=>"Operation.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :Selector=>{:fields=>[{:name=>:fields, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:predicates, :type=>"Predicate", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:date_range, :type=>"DateRange", :min_occurs=>0, :max_occurs=>1}, {:name=>:ordering, :type=>"OrderBy", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:paging, :type=>"Paging", :min_occurs=>0, :max_occurs=>1}]}, :ApiError=>{:fields=>[{:name=>:field_path, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:trigger, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:error_string, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:api_error_type, :original_name=>"ApiError.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ApiException=>{:fields=>[{:name=>:errors, :type=>"ApiError", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ApplicationException"}, :ApplicationException=>{:fields=>[{:name=>:message, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:application_exception_type, :original_name=>"ApplicationException.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :ConversionTrackerPage=>{:fields=>[{:name=>:entries, :type=>"ConversionTracker", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"NoStatsPage"}, :NoStatsPage=>{:fields=>[], :abstract=>true, :base=>"Page"}, :Page=>{:fields=>[{:name=>:total_num_entries, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:page_type, :original_name=>"Page.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :"AdWordsConversionTracker.MarkupLanguage"=>{:fields=>[]}, :"AdWordsConversionTracker.TextFormat"=>{:fields=>[]}, :"AdWordsConversionTracker.TrackingCodeType"=>{:fields=>[]}, :"AppConversion.AppConversionType"=>{:fields=>[]}, :"AppConversion.AppPlatform"=>{:fields=>[]}, :"AuthenticationError.Reason"=>{:fields=>[]}, :"AuthorizationError.Reason"=>{:fields=>[]}, :"ClientTermsError.Reason"=>{:fields=>[]}, :"ConversionTracker.Category"=>{:fields=>[]}, :"ConversionTracker.Status"=>{:fields=>[]}, :"ConversionTrackingError.Reason"=>{:fields=>[]}, :"DatabaseError.Reason"=>{:fields=>[]}, :"DateError.Reason"=>{:fields=>[]}, :"DistinctError.Reason"=>{:fields=>[]}, :"IdError.Reason"=>{:fields=>[]}, :"InternalApiError.Reason"=>{:fields=>[]}, :"NotEmptyError.Reason"=>{:fields=>[]}, :"NotWhitelistedError.Reason"=>{:fields=>[]}, :"OperationAccessDenied.Reason"=>{:fields=>[]}, :Operator=>{:fields=>[]}, :"OperatorError.Reason"=>{:fields=>[]}, :"Predicate.Operator"=>{:fields=>[]}, :"QuotaCheckError.Reason"=>{:fields=>[]}, :"RangeError.Reason"=>{:fields=>[]}, :"RateExceededError.Reason"=>{:fields=>[]}, :"ReadOnlyError.Reason"=>{:fields=>[]}, :"RequestError.Reason"=>{:fields=>[]}, :"RequiredError.Reason"=>{:fields=>[]}, :"SelectorError.Reason"=>{:fields=>[]}, :"SizeLimitError.Reason"=>{:fields=>[]}, :SortOrder=>{:fields=>[]}, :"StringLengthError.Reason"=>{:fields=>[]}}
|
16
|
-
CONVERSIONTRACKERSERVICE_NAMESPACES = []
|
17
|
-
|
18
|
-
def self.get_method_signature(method_name)
|
19
|
-
return CONVERSIONTRACKERSERVICE_METHODS[method_name.to_sym]
|
20
|
-
end
|
21
|
-
|
22
|
-
def self.get_type_signature(type_name)
|
23
|
-
return CONVERSIONTRACKERSERVICE_TYPES[type_name.to_sym]
|
24
|
-
end
|
25
|
-
|
26
|
-
def self.get_namespace(index)
|
27
|
-
return CONVERSIONTRACKERSERVICE_NAMESPACES[index]
|
28
|
-
end
|
29
|
-
end
|
30
|
-
|
31
|
-
# Base class for exceptions.
|
32
|
-
class ApplicationException < AdwordsApi::Errors::ApiException
|
33
|
-
attr_reader :message # string
|
34
|
-
attr_reader :application_exception_type # string
|
35
|
-
end
|
36
|
-
|
37
|
-
# Exception class for holding a list of service errors.
|
38
|
-
class ApiException < ApplicationException
|
39
|
-
attr_reader :errors # ApiError
|
40
|
-
def initialize(exception_fault)
|
41
|
-
@array_fields ||= []
|
42
|
-
@array_fields << 'errors'
|
43
|
-
super(exception_fault, ConversionTrackerServiceRegistry)
|
44
|
-
end
|
45
|
-
end
|
46
|
-
end; end; end
|
@@ -1,34 +0,0 @@
|
|
1
|
-
# Encoding: utf-8
|
2
|
-
#
|
3
|
-
# This is auto-generated code, changes will be overwritten.
|
4
|
-
#
|
5
|
-
# Copyright:: Copyright 2013, Google Inc. All Rights Reserved.
|
6
|
-
# License:: Licensed under the Apache License, Version 2.0.
|
7
|
-
#
|
8
|
-
# Code generated by AdsCommon library 0.9.3 on 2013-03-05 13:30:29.
|
9
|
-
|
10
|
-
require 'ads_common/savon_service'
|
11
|
-
require 'adwords_api/v201302/customer_service_registry'
|
12
|
-
|
13
|
-
module AdwordsApi; module V201302; module CustomerService
|
14
|
-
class CustomerService < AdsCommon::SavonService
|
15
|
-
def initialize(config, endpoint)
|
16
|
-
namespace = 'https://adwords.google.com/api/adwords/mcm/v201302'
|
17
|
-
super(config, endpoint, namespace, :v201302)
|
18
|
-
end
|
19
|
-
|
20
|
-
def get(*args, &block)
|
21
|
-
return execute_action('get', args, &block)
|
22
|
-
end
|
23
|
-
|
24
|
-
private
|
25
|
-
|
26
|
-
def get_service_registry()
|
27
|
-
return CustomerServiceRegistry
|
28
|
-
end
|
29
|
-
|
30
|
-
def get_module()
|
31
|
-
return AdwordsApi::V201302::CustomerService
|
32
|
-
end
|
33
|
-
end
|
34
|
-
end; end; end
|
@@ -1,46 +0,0 @@
|
|
1
|
-
# Encoding: utf-8
|
2
|
-
#
|
3
|
-
# This is auto-generated code, changes will be overwritten.
|
4
|
-
#
|
5
|
-
# Copyright:: Copyright 2013, Google Inc. All Rights Reserved.
|
6
|
-
# License:: Licensed under the Apache License, Version 2.0.
|
7
|
-
#
|
8
|
-
# Code generated by AdsCommon library 0.9.3 on 2013-03-05 13:30:29.
|
9
|
-
|
10
|
-
require 'adwords_api/errors'
|
11
|
-
|
12
|
-
module AdwordsApi; module V201302; module CustomerService
|
13
|
-
class CustomerServiceRegistry
|
14
|
-
CUSTOMERSERVICE_METHODS = {:get=>{:input=>[], :output=>{:name=>"get_response", :fields=>[{:name=>:rval, :type=>"Customer", :min_occurs=>0, :max_occurs=>1}]}}}
|
15
|
-
CUSTOMERSERVICE_TYPES = {:AuthenticationError=>{:fields=>[{:name=>:reason, :type=>"AuthenticationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :AuthorizationError=>{:fields=>[{:name=>:reason, :type=>"AuthorizationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :ClientTermsError=>{:fields=>[{:name=>:reason, :type=>"ClientTermsError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :DistinctError=>{:fields=>[{:name=>:reason, :type=>"DistinctError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :IdError=>{:fields=>[{:name=>:reason, :type=>"IdError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :InternalApiError=>{:fields=>[{:name=>:reason, :type=>"InternalApiError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :NotEmptyError=>{:fields=>[{:name=>:reason, :type=>"NotEmptyError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :NotWhitelistedError=>{:fields=>[{:name=>:reason, :type=>"NotWhitelistedError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :NullError=>{:fields=>[{:name=>:reason, :type=>"NullError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :OperationAccessDenied=>{:fields=>[{:name=>:reason, :type=>"OperationAccessDenied.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :OperatorError=>{:fields=>[{:name=>:reason, :type=>"OperatorError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :QuotaCheckError=>{:fields=>[{:name=>:reason, :type=>"QuotaCheckError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :RangeError=>{:fields=>[{:name=>:reason, :type=>"RangeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :RateExceededError=>{:fields=>[{:name=>:reason, :type=>"RateExceededError.Reason", :min_occurs=>0, :max_occurs=>1}, {:name=>:rate_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:rate_scope, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:retry_after_seconds, :type=>"int", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :ReadOnlyError=>{:fields=>[{:name=>:reason, :type=>"ReadOnlyError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :RequestError=>{:fields=>[{:name=>:reason, :type=>"RequestError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :RequiredError=>{:fields=>[{:name=>:reason, :type=>"RequiredError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :SizeLimitError=>{:fields=>[{:name=>:reason, :type=>"SizeLimitError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :SoapHeader=>{:fields=>[{:name=>:auth_token, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:client_customer_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:developer_token, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_agent, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:validate_only, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:partial_failure, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :ns=>0}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:service_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:method_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:operations, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:units, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :ns=>0}, :StringLengthError=>{:fields=>[{:name=>:reason, :type=>"StringLengthError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :DatabaseError=>{:fields=>[{:name=>:reason, :type=>"DatabaseError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :ApiError=>{:fields=>[{:name=>:field_path, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:trigger, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:error_string, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:api_error_type, :original_name=>"ApiError.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true, :ns=>0}, :ApiException=>{:fields=>[{:name=>:errors, :type=>"ApiError", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ApplicationException", :ns=>0}, :ApplicationException=>{:fields=>[{:name=>:message, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:application_exception_type, :original_name=>"ApplicationException.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}], :ns=>0}, :"AuthenticationError.Reason"=>{:fields=>[], :ns=>0}, :"AuthorizationError.Reason"=>{:fields=>[], :ns=>0}, :"ClientTermsError.Reason"=>{:fields=>[], :ns=>0}, :"DatabaseError.Reason"=>{:fields=>[], :ns=>0}, :"DistinctError.Reason"=>{:fields=>[], :ns=>0}, :"IdError.Reason"=>{:fields=>[], :ns=>0}, :"InternalApiError.Reason"=>{:fields=>[], :ns=>0}, :"NotEmptyError.Reason"=>{:fields=>[], :ns=>0}, :"NotWhitelistedError.Reason"=>{:fields=>[], :ns=>0}, :"NullError.Reason"=>{:fields=>[], :ns=>0}, :"OperationAccessDenied.Reason"=>{:fields=>[], :ns=>0}, :"OperatorError.Reason"=>{:fields=>[], :ns=>0}, :"QuotaCheckError.Reason"=>{:fields=>[], :ns=>0}, :"RangeError.Reason"=>{:fields=>[], :ns=>0}, :"RateExceededError.Reason"=>{:fields=>[], :ns=>0}, :"ReadOnlyError.Reason"=>{:fields=>[], :ns=>0}, :"RequestError.Reason"=>{:fields=>[], :ns=>0}, :"RequiredError.Reason"=>{:fields=>[], :ns=>0}, :"SizeLimitError.Reason"=>{:fields=>[], :ns=>0}, :"StringLengthError.Reason"=>{:fields=>[], :ns=>0}, :Customer=>{:fields=>[{:name=>:customer_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:currency_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:date_time_zone, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:descriptive_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:can_manage_clients, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:test_account, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}}
|
16
|
-
CUSTOMERSERVICE_NAMESPACES = ["https://adwords.google.com/api/adwords/cm/v201302"]
|
17
|
-
|
18
|
-
def self.get_method_signature(method_name)
|
19
|
-
return CUSTOMERSERVICE_METHODS[method_name.to_sym]
|
20
|
-
end
|
21
|
-
|
22
|
-
def self.get_type_signature(type_name)
|
23
|
-
return CUSTOMERSERVICE_TYPES[type_name.to_sym]
|
24
|
-
end
|
25
|
-
|
26
|
-
def self.get_namespace(index)
|
27
|
-
return CUSTOMERSERVICE_NAMESPACES[index]
|
28
|
-
end
|
29
|
-
end
|
30
|
-
|
31
|
-
# Base class for exceptions.
|
32
|
-
class ApplicationException < AdwordsApi::Errors::ApiException
|
33
|
-
attr_reader :message # string
|
34
|
-
attr_reader :application_exception_type # string
|
35
|
-
end
|
36
|
-
|
37
|
-
# Exception class for holding a list of service errors.
|
38
|
-
class ApiException < ApplicationException
|
39
|
-
attr_reader :errors # ApiError
|
40
|
-
def initialize(exception_fault)
|
41
|
-
@array_fields ||= []
|
42
|
-
@array_fields << 'errors'
|
43
|
-
super(exception_fault, CustomerServiceRegistry)
|
44
|
-
end
|
45
|
-
end
|
46
|
-
end; end; end
|
@@ -1,34 +0,0 @@
|
|
1
|
-
# Encoding: utf-8
|
2
|
-
#
|
3
|
-
# This is auto-generated code, changes will be overwritten.
|
4
|
-
#
|
5
|
-
# Copyright:: Copyright 2013, Google Inc. All Rights Reserved.
|
6
|
-
# License:: Licensed under the Apache License, Version 2.0.
|
7
|
-
#
|
8
|
-
# Code generated by AdsCommon library 0.9.3 on 2013-03-05 13:30:29.
|
9
|
-
|
10
|
-
require 'ads_common/savon_service'
|
11
|
-
require 'adwords_api/v201302/customer_sync_service_registry'
|
12
|
-
|
13
|
-
module AdwordsApi; module V201302; module CustomerSyncService
|
14
|
-
class CustomerSyncService < AdsCommon::SavonService
|
15
|
-
def initialize(config, endpoint)
|
16
|
-
namespace = 'https://adwords.google.com/api/adwords/ch/v201302'
|
17
|
-
super(config, endpoint, namespace, :v201302)
|
18
|
-
end
|
19
|
-
|
20
|
-
def get(*args, &block)
|
21
|
-
return execute_action('get', args, &block)
|
22
|
-
end
|
23
|
-
|
24
|
-
private
|
25
|
-
|
26
|
-
def get_service_registry()
|
27
|
-
return CustomerSyncServiceRegistry
|
28
|
-
end
|
29
|
-
|
30
|
-
def get_module()
|
31
|
-
return AdwordsApi::V201302::CustomerSyncService
|
32
|
-
end
|
33
|
-
end
|
34
|
-
end; end; end
|
@@ -1,47 +0,0 @@
|
|
1
|
-
# Encoding: utf-8
|
2
|
-
#
|
3
|
-
# This is auto-generated code, changes will be overwritten.
|
4
|
-
#
|
5
|
-
# Copyright:: Copyright 2013, Google Inc. All Rights Reserved.
|
6
|
-
# License:: Licensed under the Apache License, Version 2.0.
|
7
|
-
#
|
8
|
-
# Code generated by AdsCommon library 0.9.3 on 2013-03-05 13:30:29.
|
9
|
-
|
10
|
-
require 'adwords_api/errors'
|
11
|
-
|
12
|
-
module AdwordsApi; module V201302; module CustomerSyncService
|
13
|
-
class CustomerSyncServiceRegistry
|
14
|
-
CUSTOMERSYNCSERVICE_METHODS = {:get=>{:input=>[{:name=>:selector, :type=>"CustomerSyncSelector", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_response", :fields=>[{:name=>:rval, :type=>"CustomerChangeData", :min_occurs=>0, :max_occurs=>1}]}}}
|
15
|
-
CUSTOMERSYNCSERVICE_TYPES = {:AuthenticationError=>{:fields=>[{:name=>:reason, :type=>"AuthenticationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :AuthorizationError=>{:fields=>[{:name=>:reason, :type=>"AuthorizationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :ClientTermsError=>{:fields=>[{:name=>:reason, :type=>"ClientTermsError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :DateError=>{:fields=>[{:name=>:reason, :type=>"DateError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :DateTimeRange=>{:fields=>[{:name=>:min, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:max, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :ns=>0}, :DistinctError=>{:fields=>[{:name=>:reason, :type=>"DistinctError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :IdError=>{:fields=>[{:name=>:reason, :type=>"IdError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :InternalApiError=>{:fields=>[{:name=>:reason, :type=>"InternalApiError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :NotEmptyError=>{:fields=>[{:name=>:reason, :type=>"NotEmptyError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :NotWhitelistedError=>{:fields=>[{:name=>:reason, :type=>"NotWhitelistedError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :QuotaCheckError=>{:fields=>[{:name=>:reason, :type=>"QuotaCheckError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :RangeError=>{:fields=>[{:name=>:reason, :type=>"RangeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :RateExceededError=>{:fields=>[{:name=>:reason, :type=>"RateExceededError.Reason", :min_occurs=>0, :max_occurs=>1}, {:name=>:rate_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:rate_scope, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:retry_after_seconds, :type=>"int", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :ReadOnlyError=>{:fields=>[{:name=>:reason, :type=>"ReadOnlyError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :RequestError=>{:fields=>[{:name=>:reason, :type=>"RequestError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :RequiredError=>{:fields=>[{:name=>:reason, :type=>"RequiredError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :SizeLimitError=>{:fields=>[{:name=>:reason, :type=>"SizeLimitError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :SoapHeader=>{:fields=>[{:name=>:auth_token, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:client_customer_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:developer_token, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_agent, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:validate_only, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:partial_failure, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :ns=>0}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:service_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:method_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:operations, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:units, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :ns=>0}, :StringLengthError=>{:fields=>[{:name=>:reason, :type=>"StringLengthError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :DatabaseError=>{:fields=>[{:name=>:reason, :type=>"DatabaseError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :ApiError=>{:fields=>[{:name=>:field_path, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:trigger, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:error_string, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:api_error_type, :original_name=>"ApiError.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true, :ns=>0}, :ApiException=>{:fields=>[{:name=>:errors, :type=>"ApiError", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ApplicationException", :ns=>0}, :ApplicationException=>{:fields=>[{:name=>:message, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:application_exception_type, :original_name=>"ApplicationException.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}], :ns=>0}, :"AuthenticationError.Reason"=>{:fields=>[], :ns=>0}, :"AuthorizationError.Reason"=>{:fields=>[], :ns=>0}, :"ClientTermsError.Reason"=>{:fields=>[], :ns=>0}, :"DatabaseError.Reason"=>{:fields=>[], :ns=>0}, :"DateError.Reason"=>{:fields=>[], :ns=>0}, :"DistinctError.Reason"=>{:fields=>[], :ns=>0}, :"IdError.Reason"=>{:fields=>[], :ns=>0}, :"InternalApiError.Reason"=>{:fields=>[], :ns=>0}, :"NotEmptyError.Reason"=>{:fields=>[], :ns=>0}, :"NotWhitelistedError.Reason"=>{:fields=>[], :ns=>0}, :"QuotaCheckError.Reason"=>{:fields=>[], :ns=>0}, :"RangeError.Reason"=>{:fields=>[], :ns=>0}, :"RateExceededError.Reason"=>{:fields=>[], :ns=>0}, :"ReadOnlyError.Reason"=>{:fields=>[], :ns=>0}, :"RequestError.Reason"=>{:fields=>[], :ns=>0}, :"RequiredError.Reason"=>{:fields=>[], :ns=>0}, :"SizeLimitError.Reason"=>{:fields=>[], :ns=>0}, :"StringLengthError.Reason"=>{:fields=>[], :ns=>0}, :AdGroupChangeData=>{:fields=>[{:name=>:ad_group_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:ad_group_change_status, :type=>"ChangeStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:changed_ads, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:changed_criteria, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:deleted_criteria, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}]}, :CampaignChangeData=>{:fields=>[{:name=>:campaign_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:campaign_change_status, :type=>"ChangeStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:changed_ad_groups, :type=>"AdGroupChangeData", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:added_campaign_criteria, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:deleted_campaign_criteria, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:added_ad_extensions, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:deleted_ad_extensions, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:campaign_targeting_changed, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :CustomerChangeData=>{:fields=>[{:name=>:changed_campaigns, :type=>"CampaignChangeData", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:last_change_timestamp, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :CustomerSyncError=>{:fields=>[{:name=>:reason, :type=>"CustomerSyncError.Reason", :min_occurs=>0, :max_occurs=>1}, {:name=>:campaign_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CustomerSyncSelector=>{:fields=>[{:name=>:date_time_range, :type=>"DateTimeRange", :min_occurs=>0, :max_occurs=>1}, {:name=>:campaign_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}]}, :ChangeStatus=>{:fields=>[]}, :"CustomerSyncError.Reason"=>{:fields=>[]}}
|
16
|
-
CUSTOMERSYNCSERVICE_NAMESPACES = ["https://adwords.google.com/api/adwords/cm/v201302"]
|
17
|
-
|
18
|
-
def self.get_method_signature(method_name)
|
19
|
-
return CUSTOMERSYNCSERVICE_METHODS[method_name.to_sym]
|
20
|
-
end
|
21
|
-
|
22
|
-
def self.get_type_signature(type_name)
|
23
|
-
return CUSTOMERSYNCSERVICE_TYPES[type_name.to_sym]
|
24
|
-
end
|
25
|
-
|
26
|
-
def self.get_namespace(index)
|
27
|
-
return CUSTOMERSYNCSERVICE_NAMESPACES[index]
|
28
|
-
end
|
29
|
-
end
|
30
|
-
|
31
|
-
# Indicates that this instance is a subtype of ApplicationException.
|
32
|
-
# Although this field is returned in the response, it is ignored on input
|
33
|
-
# and cannot be selected. Specify xsi:type instead.
|
34
|
-
class ApplicationException < AdwordsApi::Errors::ApiException
|
35
|
-
attr_reader :message # string
|
36
|
-
attr_reader :application_exception_type # string
|
37
|
-
end
|
38
|
-
|
39
|
-
class ApiException < ApplicationException
|
40
|
-
attr_reader :errors # ApiError
|
41
|
-
def initialize(exception_fault)
|
42
|
-
@array_fields ||= []
|
43
|
-
@array_fields << 'errors'
|
44
|
-
super(exception_fault, CustomerSyncServiceRegistry)
|
45
|
-
end
|
46
|
-
end
|
47
|
-
end; end; end
|
@@ -1,38 +0,0 @@
|
|
1
|
-
# Encoding: utf-8
|
2
|
-
#
|
3
|
-
# This is auto-generated code, changes will be overwritten.
|
4
|
-
#
|
5
|
-
# Copyright:: Copyright 2013, Google Inc. All Rights Reserved.
|
6
|
-
# License:: Licensed under the Apache License, Version 2.0.
|
7
|
-
#
|
8
|
-
# Code generated by AdsCommon library 0.9.3 on 2013-03-05 13:30:30.
|
9
|
-
|
10
|
-
require 'ads_common/savon_service'
|
11
|
-
require 'adwords_api/v201302/data_service_registry'
|
12
|
-
|
13
|
-
module AdwordsApi; module V201302; module DataService
|
14
|
-
class DataService < AdsCommon::SavonService
|
15
|
-
def initialize(config, endpoint)
|
16
|
-
namespace = 'https://adwords.google.com/api/adwords/cm/v201302'
|
17
|
-
super(config, endpoint, namespace, :v201302)
|
18
|
-
end
|
19
|
-
|
20
|
-
def get_ad_group_bid_landscape(*args, &block)
|
21
|
-
return execute_action('get_ad_group_bid_landscape', args, &block)
|
22
|
-
end
|
23
|
-
|
24
|
-
def get_criterion_bid_landscape(*args, &block)
|
25
|
-
return execute_action('get_criterion_bid_landscape', args, &block)
|
26
|
-
end
|
27
|
-
|
28
|
-
private
|
29
|
-
|
30
|
-
def get_service_registry()
|
31
|
-
return DataServiceRegistry
|
32
|
-
end
|
33
|
-
|
34
|
-
def get_module()
|
35
|
-
return AdwordsApi::V201302::DataService
|
36
|
-
end
|
37
|
-
end
|
38
|
-
end; end; end
|
@@ -1,46 +0,0 @@
|
|
1
|
-
# Encoding: utf-8
|
2
|
-
#
|
3
|
-
# This is auto-generated code, changes will be overwritten.
|
4
|
-
#
|
5
|
-
# Copyright:: Copyright 2013, Google Inc. All Rights Reserved.
|
6
|
-
# License:: Licensed under the Apache License, Version 2.0.
|
7
|
-
#
|
8
|
-
# Code generated by AdsCommon library 0.9.3 on 2013-03-05 13:30:30.
|
9
|
-
|
10
|
-
require 'adwords_api/errors'
|
11
|
-
|
12
|
-
module AdwordsApi; module V201302; module DataService
|
13
|
-
class DataServiceRegistry
|
14
|
-
DATASERVICE_METHODS = {:get_ad_group_bid_landscape=>{:input=>[{:name=>:service_selector, :type=>"Selector", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_ad_group_bid_landscape_response", :fields=>[{:name=>:rval, :type=>"AdGroupBidLandscapePage", :min_occurs=>0, :max_occurs=>1}]}}, :get_criterion_bid_landscape=>{:input=>[{:name=>:service_selector, :type=>"Selector", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_criterion_bid_landscape_response", :fields=>[{:name=>:rval, :type=>"CriterionBidLandscapePage", :min_occurs=>0, :max_occurs=>1}]}}}
|
15
|
-
DATASERVICE_TYPES = {:AdGroupBidLandscape=>{:fields=>[{:name=>:type, :type=>"AdGroupBidLandscape.Type", :min_occurs=>0, :max_occurs=>1}, {:name=>:landscape_current, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"BidLandscape"}, :AdxError=>{:fields=>[{:name=>:reason, :type=>"AdxError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :AuthenticationError=>{:fields=>[{:name=>:reason, :type=>"AuthenticationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :AuthorizationError=>{:fields=>[{:name=>:reason, :type=>"AuthorizationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :BetaError=>{:fields=>[{:name=>:reason, :type=>"BetaError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ClientTermsError=>{:fields=>[{:name=>:reason, :type=>"ClientTermsError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CriterionBidLandscape=>{:fields=>[{:name=>:criterion_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :base=>"BidLandscape"}, :DateError=>{:fields=>[{:name=>:reason, :type=>"DateError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :DateRange=>{:fields=>[{:name=>:min, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:max, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :DistinctError=>{:fields=>[{:name=>:reason, :type=>"DistinctError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :DoubleValue=>{:fields=>[{:name=>:number, :type=>"double", :min_occurs=>0, :max_occurs=>1}], :base=>"NumberValue"}, :IdError=>{:fields=>[{:name=>:reason, :type=>"IdError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :InternalApiError=>{:fields=>[{:name=>:reason, :type=>"InternalApiError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :LongValue=>{:fields=>[{:name=>:number, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :base=>"NumberValue"}, :Money=>{:fields=>[{:name=>:micro_amount, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :base=>"ComparableValue"}, :NotEmptyError=>{:fields=>[{:name=>:reason, :type=>"NotEmptyError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NotWhitelistedError=>{:fields=>[{:name=>:reason, :type=>"NotWhitelistedError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NullError=>{:fields=>[{:name=>:reason, :type=>"NullError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NumberValue=>{:fields=>[], :abstract=>true, :base=>"ComparableValue"}, :OrderBy=>{:fields=>[{:name=>:field, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:sort_order, :type=>"SortOrder", :min_occurs=>0, :max_occurs=>1}]}, :Paging=>{:fields=>[{:name=>:start_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:number_results, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :Predicate=>{:fields=>[{:name=>:field, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:operator, :type=>"Predicate.Operator", :min_occurs=>0, :max_occurs=>1}, {:name=>:values, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}]}, :QuotaCheckError=>{:fields=>[{:name=>:reason, :type=>"QuotaCheckError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RangeError=>{:fields=>[{:name=>:reason, :type=>"RangeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RateExceededError=>{:fields=>[{:name=>:reason, :type=>"RateExceededError.Reason", :min_occurs=>0, :max_occurs=>1}, {:name=>:rate_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:rate_scope, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:retry_after_seconds, :type=>"int", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ReadOnlyError=>{:fields=>[{:name=>:reason, :type=>"ReadOnlyError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RejectedError=>{:fields=>[{:name=>:reason, :type=>"RejectedError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequestError=>{:fields=>[{:name=>:reason, :type=>"RequestError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredError=>{:fields=>[{:name=>:reason, :type=>"RequiredError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SelectorError=>{:fields=>[{:name=>:reason, :type=>"SelectorError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SizeLimitError=>{:fields=>[{:name=>:reason, :type=>"SizeLimitError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SoapHeader=>{:fields=>[{:name=>:auth_token, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:client_customer_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:developer_token, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_agent, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:validate_only, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:partial_failure, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:service_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:method_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:operations, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:units, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :StringLengthError=>{:fields=>[{:name=>:reason, :type=>"StringLengthError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :DataError=>{:fields=>[{:name=>:reason, :type=>"DataError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ComparableValue=>{:fields=>[{:name=>:comparable_value_type, :original_name=>"ComparableValue.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :DatabaseError=>{:fields=>[{:name=>:reason, :type=>"DatabaseError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :Selector=>{:fields=>[{:name=>:fields, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:predicates, :type=>"Predicate", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:date_range, :type=>"DateRange", :min_occurs=>0, :max_occurs=>1}, {:name=>:ordering, :type=>"OrderBy", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:paging, :type=>"Paging", :min_occurs=>0, :max_occurs=>1}]}, :ApiError=>{:fields=>[{:name=>:field_path, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:trigger, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:error_string, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:api_error_type, :original_name=>"ApiError.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ApiException=>{:fields=>[{:name=>:errors, :type=>"ApiError", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ApplicationException"}, :ApplicationException=>{:fields=>[{:name=>:message, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:application_exception_type, :original_name=>"ApplicationException.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :"BidLandscape.LandscapePoint"=>{:fields=>[{:name=>:bid, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:clicks, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:cost, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:marginal_cpc, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:impressions, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:promoted_impressions, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :BidLandscape=>{:fields=>[{:name=>:campaign_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:ad_group_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:start_date, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:end_date, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:landscape_points, :type=>"BidLandscape.LandscapePoint", :min_occurs=>0, :max_occurs=>:unbounded}], :abstract=>true, :base=>"DataEntry"}, :DataEntry=>{:fields=>[{:name=>:data_entry_type, :original_name=>"DataEntry.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :AdGroupBidLandscapePage=>{:fields=>[{:name=>:entries, :type=>"AdGroupBidLandscape", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"NoStatsPage"}, :CriterionBidLandscapePage=>{:fields=>[{:name=>:entries, :type=>"CriterionBidLandscape", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"NoStatsPage"}, :NoStatsPage=>{:fields=>[], :abstract=>true, :base=>"Page"}, :Page=>{:fields=>[{:name=>:total_num_entries, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:page_type, :original_name=>"Page.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :"AdGroupBidLandscape.Type"=>{:fields=>[]}, :"AdxError.Reason"=>{:fields=>[]}, :"AuthenticationError.Reason"=>{:fields=>[]}, :"AuthorizationError.Reason"=>{:fields=>[]}, :"BetaError.Reason"=>{:fields=>[]}, :"ClientTermsError.Reason"=>{:fields=>[]}, :"DatabaseError.Reason"=>{:fields=>[]}, :"DateError.Reason"=>{:fields=>[]}, :"DistinctError.Reason"=>{:fields=>[]}, :"IdError.Reason"=>{:fields=>[]}, :"InternalApiError.Reason"=>{:fields=>[]}, :"NotEmptyError.Reason"=>{:fields=>[]}, :"NotWhitelistedError.Reason"=>{:fields=>[]}, :"NullError.Reason"=>{:fields=>[]}, :"Predicate.Operator"=>{:fields=>[]}, :"QuotaCheckError.Reason"=>{:fields=>[]}, :"RangeError.Reason"=>{:fields=>[]}, :"RateExceededError.Reason"=>{:fields=>[]}, :"ReadOnlyError.Reason"=>{:fields=>[]}, :"RejectedError.Reason"=>{:fields=>[]}, :"RequestError.Reason"=>{:fields=>[]}, :"RequiredError.Reason"=>{:fields=>[]}, :"SelectorError.Reason"=>{:fields=>[]}, :"SizeLimitError.Reason"=>{:fields=>[]}, :SortOrder=>{:fields=>[]}, :"StringLengthError.Reason"=>{:fields=>[]}, :"DataError.Reason"=>{:fields=>[]}}
|
16
|
-
DATASERVICE_NAMESPACES = []
|
17
|
-
|
18
|
-
def self.get_method_signature(method_name)
|
19
|
-
return DATASERVICE_METHODS[method_name.to_sym]
|
20
|
-
end
|
21
|
-
|
22
|
-
def self.get_type_signature(type_name)
|
23
|
-
return DATASERVICE_TYPES[type_name.to_sym]
|
24
|
-
end
|
25
|
-
|
26
|
-
def self.get_namespace(index)
|
27
|
-
return DATASERVICE_NAMESPACES[index]
|
28
|
-
end
|
29
|
-
end
|
30
|
-
|
31
|
-
# Base class for exceptions.
|
32
|
-
class ApplicationException < AdwordsApi::Errors::ApiException
|
33
|
-
attr_reader :message # string
|
34
|
-
attr_reader :application_exception_type # string
|
35
|
-
end
|
36
|
-
|
37
|
-
# Exception class for holding a list of service errors.
|
38
|
-
class ApiException < ApplicationException
|
39
|
-
attr_reader :errors # ApiError
|
40
|
-
def initialize(exception_fault)
|
41
|
-
@array_fields ||= []
|
42
|
-
@array_fields << 'errors'
|
43
|
-
super(exception_fault, DataServiceRegistry)
|
44
|
-
end
|
45
|
-
end
|
46
|
-
end; end; end
|
@@ -1,38 +0,0 @@
|
|
1
|
-
# Encoding: utf-8
|
2
|
-
#
|
3
|
-
# This is auto-generated code, changes will be overwritten.
|
4
|
-
#
|
5
|
-
# Copyright:: Copyright 2013, Google Inc. All Rights Reserved.
|
6
|
-
# License:: Licensed under the Apache License, Version 2.0.
|
7
|
-
#
|
8
|
-
# Code generated by AdsCommon library 0.9.3 on 2013-03-05 13:30:30.
|
9
|
-
|
10
|
-
require 'ads_common/savon_service'
|
11
|
-
require 'adwords_api/v201302/experiment_service_registry'
|
12
|
-
|
13
|
-
module AdwordsApi; module V201302; module ExperimentService
|
14
|
-
class ExperimentService < AdsCommon::SavonService
|
15
|
-
def initialize(config, endpoint)
|
16
|
-
namespace = 'https://adwords.google.com/api/adwords/cm/v201302'
|
17
|
-
super(config, endpoint, namespace, :v201302)
|
18
|
-
end
|
19
|
-
|
20
|
-
def get(*args, &block)
|
21
|
-
return execute_action('get', args, &block)
|
22
|
-
end
|
23
|
-
|
24
|
-
def mutate(*args, &block)
|
25
|
-
return execute_action('mutate', args, &block)
|
26
|
-
end
|
27
|
-
|
28
|
-
private
|
29
|
-
|
30
|
-
def get_service_registry()
|
31
|
-
return ExperimentServiceRegistry
|
32
|
-
end
|
33
|
-
|
34
|
-
def get_module()
|
35
|
-
return AdwordsApi::V201302::ExperimentService
|
36
|
-
end
|
37
|
-
end
|
38
|
-
end; end; end
|
@@ -1,46 +0,0 @@
|
|
1
|
-
# Encoding: utf-8
|
2
|
-
#
|
3
|
-
# This is auto-generated code, changes will be overwritten.
|
4
|
-
#
|
5
|
-
# Copyright:: Copyright 2013, Google Inc. All Rights Reserved.
|
6
|
-
# License:: Licensed under the Apache License, Version 2.0.
|
7
|
-
#
|
8
|
-
# Code generated by AdsCommon library 0.9.3 on 2013-03-05 13:30:30.
|
9
|
-
|
10
|
-
require 'adwords_api/errors'
|
11
|
-
|
12
|
-
module AdwordsApi; module V201302; module ExperimentService
|
13
|
-
class ExperimentServiceRegistry
|
14
|
-
EXPERIMENTSERVICE_METHODS = {:get=>{:input=>[{:name=>:service_selector, :type=>"Selector", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_response", :fields=>[{:name=>:rval, :type=>"ExperimentPage", :min_occurs=>0, :max_occurs=>1}]}}, :mutate=>{:input=>[{:name=>:operations, :type=>"ExperimentOperation", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"mutate_response", :fields=>[{:name=>:rval, :type=>"ExperimentReturnValue", :min_occurs=>0, :max_occurs=>1}]}}}
|
15
|
-
EXPERIMENTSERVICE_TYPES = {:AdxError=>{:fields=>[{:name=>:reason, :type=>"AdxError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :AuthenticationError=>{:fields=>[{:name=>:reason, :type=>"AuthenticationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :AuthorizationError=>{:fields=>[{:name=>:reason, :type=>"AuthorizationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :BudgetError=>{:fields=>[{:name=>:reason, :type=>"BudgetError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ClientTermsError=>{:fields=>[{:name=>:reason, :type=>"ClientTermsError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :DateError=>{:fields=>[{:name=>:reason, :type=>"DateError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :DateRange=>{:fields=>[{:name=>:min, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:max, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :DistinctError=>{:fields=>[{:name=>:reason, :type=>"DistinctError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :EntityNotFound=>{:fields=>[{:name=>:reason, :type=>"EntityNotFound.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ExperimentServiceError=>{:fields=>[{:name=>:reason, :type=>"ExperimentServiceError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ExperimentSummaryStats=>{:fields=>[{:name=>:ad_groups_count, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:ad_group_criteria_count, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:ad_group_ads_count, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :IdError=>{:fields=>[{:name=>:reason, :type=>"IdError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :InternalApiError=>{:fields=>[{:name=>:reason, :type=>"InternalApiError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NewEntityCreationError=>{:fields=>[{:name=>:reason, :type=>"NewEntityCreationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NotEmptyError=>{:fields=>[{:name=>:reason, :type=>"NotEmptyError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NotWhitelistedError=>{:fields=>[{:name=>:reason, :type=>"NotWhitelistedError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NullError=>{:fields=>[{:name=>:reason, :type=>"NullError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :OperationAccessDenied=>{:fields=>[{:name=>:reason, :type=>"OperationAccessDenied.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :OperatorError=>{:fields=>[{:name=>:reason, :type=>"OperatorError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :OrderBy=>{:fields=>[{:name=>:field, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:sort_order, :type=>"SortOrder", :min_occurs=>0, :max_occurs=>1}]}, :Paging=>{:fields=>[{:name=>:start_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:number_results, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :Predicate=>{:fields=>[{:name=>:field, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:operator, :type=>"Predicate.Operator", :min_occurs=>0, :max_occurs=>1}, {:name=>:values, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}]}, :QuotaCheckError=>{:fields=>[{:name=>:reason, :type=>"QuotaCheckError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :QuotaError=>{:fields=>[{:name=>:reason, :type=>"QuotaError.Reason", :min_occurs=>0, :max_occurs=>1}, {:name=>:limit, :type=>"int", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RangeError=>{:fields=>[{:name=>:reason, :type=>"RangeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RateExceededError=>{:fields=>[{:name=>:reason, :type=>"RateExceededError.Reason", :min_occurs=>0, :max_occurs=>1}, {:name=>:rate_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:rate_scope, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:retry_after_seconds, :type=>"int", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ReadOnlyError=>{:fields=>[{:name=>:reason, :type=>"ReadOnlyError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RejectedError=>{:fields=>[{:name=>:reason, :type=>"RejectedError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequestError=>{:fields=>[{:name=>:reason, :type=>"RequestError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RequiredError=>{:fields=>[{:name=>:reason, :type=>"RequiredError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SelectorError=>{:fields=>[{:name=>:reason, :type=>"SelectorError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SizeLimitError=>{:fields=>[{:name=>:reason, :type=>"SizeLimitError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SoapHeader=>{:fields=>[{:name=>:auth_token, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:client_customer_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:developer_token, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_agent, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:validate_only, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:partial_failure, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:service_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:method_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:operations, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:units, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :StringLengthError=>{:fields=>[{:name=>:reason, :type=>"StringLengthError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :DatabaseError=>{:fields=>[{:name=>:reason, :type=>"DatabaseError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :Experiment=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:control_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:campaign_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"ExperimentStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:serving_status, :type=>"ExperimentServingStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:query_percentage, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:start_date_time, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:end_date_time, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:last_modified_date_time, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:experiment_summary_stats, :type=>"ExperimentSummaryStats", :min_occurs=>0, :max_occurs=>1}]}, :ExperimentOperation=>{:fields=>[{:name=>:operand, :type=>"Experiment", :min_occurs=>0, :max_occurs=>1}], :base=>"Operation"}, :ExperimentReturnValue=>{:fields=>[{:name=>:value, :type=>"Experiment", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ListReturnValue"}, :ListReturnValue=>{:fields=>[{:name=>:list_return_value_type, :original_name=>"ListReturnValue.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :Operation=>{:fields=>[{:name=>:operator, :type=>"Operator", :min_occurs=>0, :max_occurs=>1}, {:name=>:operation_type, :original_name=>"Operation.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :Selector=>{:fields=>[{:name=>:fields, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:predicates, :type=>"Predicate", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:date_range, :type=>"DateRange", :min_occurs=>0, :max_occurs=>1}, {:name=>:ordering, :type=>"OrderBy", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:paging, :type=>"Paging", :min_occurs=>0, :max_occurs=>1}]}, :ApiError=>{:fields=>[{:name=>:field_path, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:trigger, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:error_string, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:api_error_type, :original_name=>"ApiError.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ApiException=>{:fields=>[{:name=>:errors, :type=>"ApiError", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ApplicationException"}, :ApplicationException=>{:fields=>[{:name=>:message, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:application_exception_type, :original_name=>"ApplicationException.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :ExperimentPage=>{:fields=>[{:name=>:entries, :type=>"Experiment", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Page"}, :Page=>{:fields=>[{:name=>:total_num_entries, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:page_type, :original_name=>"Page.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :"AdxError.Reason"=>{:fields=>[]}, :"AuthenticationError.Reason"=>{:fields=>[]}, :"AuthorizationError.Reason"=>{:fields=>[]}, :"BudgetError.Reason"=>{:fields=>[]}, :"ClientTermsError.Reason"=>{:fields=>[]}, :"DatabaseError.Reason"=>{:fields=>[]}, :"DateError.Reason"=>{:fields=>[]}, :"DistinctError.Reason"=>{:fields=>[]}, :"EntityNotFound.Reason"=>{:fields=>[]}, :"ExperimentServiceError.Reason"=>{:fields=>[]}, :ExperimentServingStatus=>{:fields=>[]}, :ExperimentStatus=>{:fields=>[]}, :"IdError.Reason"=>{:fields=>[]}, :"InternalApiError.Reason"=>{:fields=>[]}, :"NewEntityCreationError.Reason"=>{:fields=>[]}, :"NotEmptyError.Reason"=>{:fields=>[]}, :"NotWhitelistedError.Reason"=>{:fields=>[]}, :"NullError.Reason"=>{:fields=>[]}, :"OperationAccessDenied.Reason"=>{:fields=>[]}, :Operator=>{:fields=>[]}, :"OperatorError.Reason"=>{:fields=>[]}, :"Predicate.Operator"=>{:fields=>[]}, :"QuotaCheckError.Reason"=>{:fields=>[]}, :"QuotaError.Reason"=>{:fields=>[]}, :"RangeError.Reason"=>{:fields=>[]}, :"RateExceededError.Reason"=>{:fields=>[]}, :"ReadOnlyError.Reason"=>{:fields=>[]}, :"RejectedError.Reason"=>{:fields=>[]}, :"RequestError.Reason"=>{:fields=>[]}, :"RequiredError.Reason"=>{:fields=>[]}, :"SelectorError.Reason"=>{:fields=>[]}, :"SizeLimitError.Reason"=>{:fields=>[]}, :SortOrder=>{:fields=>[]}, :"StringLengthError.Reason"=>{:fields=>[]}}
|
16
|
-
EXPERIMENTSERVICE_NAMESPACES = []
|
17
|
-
|
18
|
-
def self.get_method_signature(method_name)
|
19
|
-
return EXPERIMENTSERVICE_METHODS[method_name.to_sym]
|
20
|
-
end
|
21
|
-
|
22
|
-
def self.get_type_signature(type_name)
|
23
|
-
return EXPERIMENTSERVICE_TYPES[type_name.to_sym]
|
24
|
-
end
|
25
|
-
|
26
|
-
def self.get_namespace(index)
|
27
|
-
return EXPERIMENTSERVICE_NAMESPACES[index]
|
28
|
-
end
|
29
|
-
end
|
30
|
-
|
31
|
-
# Base class for exceptions.
|
32
|
-
class ApplicationException < AdwordsApi::Errors::ApiException
|
33
|
-
attr_reader :message # string
|
34
|
-
attr_reader :application_exception_type # string
|
35
|
-
end
|
36
|
-
|
37
|
-
# Exception class for holding a list of service errors.
|
38
|
-
class ApiException < ApplicationException
|
39
|
-
attr_reader :errors # ApiError
|
40
|
-
def initialize(exception_fault)
|
41
|
-
@array_fields ||= []
|
42
|
-
@array_fields << 'errors'
|
43
|
-
super(exception_fault, ExperimentServiceRegistry)
|
44
|
-
end
|
45
|
-
end
|
46
|
-
end; end; end
|
@@ -1,38 +0,0 @@
|
|
1
|
-
# Encoding: utf-8
|
2
|
-
#
|
3
|
-
# This is auto-generated code, changes will be overwritten.
|
4
|
-
#
|
5
|
-
# Copyright:: Copyright 2013, Google Inc. All Rights Reserved.
|
6
|
-
# License:: Licensed under the Apache License, Version 2.0.
|
7
|
-
#
|
8
|
-
# Code generated by AdsCommon library 0.9.3 on 2013-03-07 14:18:09.
|
9
|
-
|
10
|
-
require 'ads_common/savon_service'
|
11
|
-
require 'adwords_api/v201302/feed_item_service_registry'
|
12
|
-
|
13
|
-
module AdwordsApi; module V201302; module FeedItemService
|
14
|
-
class FeedItemService < AdsCommon::SavonService
|
15
|
-
def initialize(config, endpoint)
|
16
|
-
namespace = 'https://adwords.google.com/api/adwords/cm/v201302'
|
17
|
-
super(config, endpoint, namespace, :v201302)
|
18
|
-
end
|
19
|
-
|
20
|
-
def get(*args, &block)
|
21
|
-
return execute_action('get', args, &block)
|
22
|
-
end
|
23
|
-
|
24
|
-
def mutate(*args, &block)
|
25
|
-
return execute_action('mutate', args, &block)
|
26
|
-
end
|
27
|
-
|
28
|
-
private
|
29
|
-
|
30
|
-
def get_service_registry()
|
31
|
-
return FeedItemServiceRegistry
|
32
|
-
end
|
33
|
-
|
34
|
-
def get_module()
|
35
|
-
return AdwordsApi::V201302::FeedItemService
|
36
|
-
end
|
37
|
-
end
|
38
|
-
end; end; end
|