google-adwords-api 1.3.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/ChangeLog +3 -0
- data/lib/adwords_api/api_config.rb +116 -4
- data/lib/adwords_api/v201809/account_label_service.rb +46 -0
- data/lib/adwords_api/v201809/account_label_service_registry.rb +46 -0
- data/lib/adwords_api/v201809/ad_customizer_feed_service.rb +46 -0
- data/lib/adwords_api/v201809/ad_customizer_feed_service_registry.rb +46 -0
- data/lib/adwords_api/v201809/ad_group_ad_service.rb +62 -0
- data/lib/adwords_api/v201809/ad_group_ad_service_registry.rb +46 -0
- data/lib/adwords_api/v201809/ad_group_bid_modifier_service.rb +54 -0
- data/lib/adwords_api/v201809/ad_group_bid_modifier_service_registry.rb +46 -0
- data/lib/adwords_api/v201809/ad_group_criterion_service.rb +62 -0
- data/lib/adwords_api/v201809/ad_group_criterion_service_registry.rb +46 -0
- data/lib/adwords_api/v201809/ad_group_extension_setting_service.rb +54 -0
- data/lib/adwords_api/v201809/ad_group_extension_setting_service_registry.rb +46 -0
- data/lib/adwords_api/v201809/ad_group_feed_service.rb +54 -0
- data/lib/adwords_api/v201809/ad_group_feed_service_registry.rb +46 -0
- data/lib/adwords_api/v201809/ad_group_service.rb +62 -0
- data/lib/adwords_api/v201809/ad_group_service_registry.rb +46 -0
- data/lib/adwords_api/v201809/ad_param_service.rb +46 -0
- data/lib/adwords_api/v201809/ad_param_service_registry.rb +46 -0
- data/lib/adwords_api/v201809/ad_service.rb +46 -0
- data/lib/adwords_api/v201809/ad_service_registry.rb +46 -0
- data/lib/adwords_api/v201809/adwords_user_list_service.rb +62 -0
- data/lib/adwords_api/v201809/adwords_user_list_service_registry.rb +46 -0
- data/lib/adwords_api/v201809/asset_service.rb +46 -0
- data/lib/adwords_api/v201809/asset_service_registry.rb +46 -0
- data/lib/adwords_api/v201809/batch_job_service.rb +54 -0
- data/lib/adwords_api/v201809/batch_job_service_registry.rb +46 -0
- data/lib/adwords_api/v201809/bidding_strategy_service.rb +54 -0
- data/lib/adwords_api/v201809/bidding_strategy_service_registry.rb +46 -0
- data/lib/adwords_api/v201809/budget_order_service.rb +54 -0
- data/lib/adwords_api/v201809/budget_order_service_registry.rb +46 -0
- data/lib/adwords_api/v201809/budget_service.rb +54 -0
- data/lib/adwords_api/v201809/budget_service_registry.rb +46 -0
- data/lib/adwords_api/v201809/campaign_bid_modifier_service.rb +54 -0
- data/lib/adwords_api/v201809/campaign_bid_modifier_service_registry.rb +46 -0
- data/lib/adwords_api/v201809/campaign_criterion_service.rb +54 -0
- data/lib/adwords_api/v201809/campaign_criterion_service_registry.rb +46 -0
- data/lib/adwords_api/v201809/campaign_extension_setting_service.rb +54 -0
- data/lib/adwords_api/v201809/campaign_extension_setting_service_registry.rb +46 -0
- data/lib/adwords_api/v201809/campaign_feed_service.rb +54 -0
- data/lib/adwords_api/v201809/campaign_feed_service_registry.rb +46 -0
- data/lib/adwords_api/v201809/campaign_group_performance_target_service.rb +46 -0
- data/lib/adwords_api/v201809/campaign_group_performance_target_service_registry.rb +46 -0
- data/lib/adwords_api/v201809/campaign_group_service.rb +46 -0
- data/lib/adwords_api/v201809/campaign_group_service_registry.rb +46 -0
- data/lib/adwords_api/v201809/campaign_service.rb +62 -0
- data/lib/adwords_api/v201809/campaign_service_registry.rb +46 -0
- data/lib/adwords_api/v201809/campaign_shared_set_service.rb +54 -0
- data/lib/adwords_api/v201809/campaign_shared_set_service_registry.rb +46 -0
- data/lib/adwords_api/v201809/constant_data_service.rb +110 -0
- data/lib/adwords_api/v201809/constant_data_service_registry.rb +46 -0
- data/lib/adwords_api/v201809/conversion_tracker_service.rb +54 -0
- data/lib/adwords_api/v201809/conversion_tracker_service_registry.rb +46 -0
- data/lib/adwords_api/v201809/custom_affinity_service.rb +62 -0
- data/lib/adwords_api/v201809/custom_affinity_service_registry.rb +46 -0
- data/lib/adwords_api/v201809/customer_extension_setting_service.rb +54 -0
- data/lib/adwords_api/v201809/customer_extension_setting_service_registry.rb +46 -0
- data/lib/adwords_api/v201809/customer_feed_service.rb +54 -0
- data/lib/adwords_api/v201809/customer_feed_service_registry.rb +46 -0
- data/lib/adwords_api/v201809/customer_negative_criterion_service.rb +54 -0
- data/lib/adwords_api/v201809/customer_negative_criterion_service_registry.rb +46 -0
- data/lib/adwords_api/v201809/customer_service.rb +62 -0
- data/lib/adwords_api/v201809/customer_service_registry.rb +46 -0
- data/lib/adwords_api/v201809/customer_sync_service.rb +38 -0
- data/lib/adwords_api/v201809/customer_sync_service_registry.rb +47 -0
- data/lib/adwords_api/v201809/data_service.rb +94 -0
- data/lib/adwords_api/v201809/data_service_registry.rb +46 -0
- data/lib/adwords_api/v201809/draft_async_error_service.rb +46 -0
- data/lib/adwords_api/v201809/draft_async_error_service_registry.rb +46 -0
- data/lib/adwords_api/v201809/draft_service.rb +54 -0
- data/lib/adwords_api/v201809/draft_service_registry.rb +46 -0
- data/lib/adwords_api/v201809/feed_item_service.rb +54 -0
- data/lib/adwords_api/v201809/feed_item_service_registry.rb +46 -0
- data/lib/adwords_api/v201809/feed_item_target_service.rb +54 -0
- data/lib/adwords_api/v201809/feed_item_target_service_registry.rb +46 -0
- data/lib/adwords_api/v201809/feed_mapping_service.rb +54 -0
- data/lib/adwords_api/v201809/feed_mapping_service_registry.rb +46 -0
- data/lib/adwords_api/v201809/feed_service.rb +54 -0
- data/lib/adwords_api/v201809/feed_service_registry.rb +46 -0
- data/lib/adwords_api/v201809/label_service.rb +54 -0
- data/lib/adwords_api/v201809/label_service_registry.rb +46 -0
- data/lib/adwords_api/v201809/location_criterion_service.rb +46 -0
- data/lib/adwords_api/v201809/location_criterion_service_registry.rb +46 -0
- data/lib/adwords_api/v201809/managed_customer_service.rb +78 -0
- data/lib/adwords_api/v201809/managed_customer_service_registry.rb +46 -0
- data/lib/adwords_api/v201809/media_service.rb +54 -0
- data/lib/adwords_api/v201809/media_service_registry.rb +46 -0
- data/lib/adwords_api/v201809/offline_call_conversion_feed_service.rb +38 -0
- data/lib/adwords_api/v201809/offline_call_conversion_feed_service_registry.rb +46 -0
- data/lib/adwords_api/v201809/offline_conversion_adjustment_feed_service.rb +38 -0
- data/lib/adwords_api/v201809/offline_conversion_adjustment_feed_service_registry.rb +46 -0
- data/lib/adwords_api/v201809/offline_conversion_feed_service.rb +38 -0
- data/lib/adwords_api/v201809/offline_conversion_feed_service_registry.rb +46 -0
- data/lib/adwords_api/v201809/offline_data_upload_service.rb +46 -0
- data/lib/adwords_api/v201809/offline_data_upload_service_registry.rb +46 -0
- data/lib/adwords_api/v201809/report_definition_service.rb +38 -0
- data/lib/adwords_api/v201809/report_definition_service_registry.rb +46 -0
- data/lib/adwords_api/v201809/shared_criterion_service.rb +54 -0
- data/lib/adwords_api/v201809/shared_criterion_service_registry.rb +46 -0
- data/lib/adwords_api/v201809/shared_set_service.rb +54 -0
- data/lib/adwords_api/v201809/shared_set_service_registry.rb +46 -0
- data/lib/adwords_api/v201809/targeting_idea_service.rb +38 -0
- data/lib/adwords_api/v201809/targeting_idea_service_registry.rb +46 -0
- data/lib/adwords_api/v201809/traffic_estimator_service.rb +38 -0
- data/lib/adwords_api/v201809/traffic_estimator_service_registry.rb +46 -0
- data/lib/adwords_api/v201809/trial_async_error_service.rb +46 -0
- data/lib/adwords_api/v201809/trial_async_error_service_registry.rb +46 -0
- data/lib/adwords_api/v201809/trial_service.rb +54 -0
- data/lib/adwords_api/v201809/trial_service_registry.rb +46 -0
- data/lib/adwords_api/version.rb +1 -1
- metadata +111 -3
@@ -0,0 +1,46 @@
|
|
1
|
+
# Encoding: utf-8
|
2
|
+
#
|
3
|
+
# This is auto-generated code, changes will be overwritten.
|
4
|
+
#
|
5
|
+
# Copyright:: Copyright 2018, Google Inc. All Rights Reserved.
|
6
|
+
# License:: Licensed under the Apache License, Version 2.0.
|
7
|
+
#
|
8
|
+
# Code generated by AdsCommon library 1.0.1 on 2018-09-20 09:47:42.
|
9
|
+
|
10
|
+
require 'adwords_api/errors'
|
11
|
+
|
12
|
+
module AdwordsApi; module V201809; module TrialService
|
13
|
+
class TrialServiceRegistry
|
14
|
+
TRIALSERVICE_METHODS = {:get=>{:input=>[{:name=>:selector, :type=>"Selector", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_response", :fields=>[{:name=>:rval, :type=>"TrialPage", :min_occurs=>0, :max_occurs=>1}]}}, :mutate=>{:input=>[{:name=>:operations, :type=>"TrialOperation", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"mutate_response", :fields=>[{:name=>:rval, :type=>"TrialReturnValue", :min_occurs=>0, :max_occurs=>1}]}}, :query=>{:input=>[{:name=>:query, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"query_response", :fields=>[{:name=>:rval, :type=>"TrialPage", :min_occurs=>0, :max_occurs=>1}]}}}
|
15
|
+
TRIALSERVICE_TYPES = {:ApiError=>{:fields=>[{:name=>:field_path, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:field_path_elements, :type=>"FieldPathElement", :min_occurs=>0, :max_occurs=>:unbounded}, {: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}]}, :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"}, :BiddingErrors=>{:fields=>[{:name=>:reason, :type=>"BiddingErrors.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :BudgetError=>{:fields=>[{:name=>:reason, :type=>"BudgetError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CampaignError=>{:fields=>[{:name=>:reason, :type=>"CampaignError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ClientTermsError=>{:fields=>[{:name=>:reason, :type=>"ClientTermsError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :DatabaseError=>{:fields=>[{:name=>:reason, :type=>"DatabaseError.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}]}, :DateRangeError=>{:fields=>[{:name=>:reason, :type=>"DateRangeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :DistinctError=>{:fields=>[{:name=>:reason, :type=>"DistinctError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :EntityCountLimitExceeded=>{:fields=>[{:name=>:reason, :type=>"EntityCountLimitExceeded.Reason", :min_occurs=>0, :max_occurs=>1}, {:name=>:enclosing_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:limit, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:account_limit_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:existing_count, :type=>"int", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :EntityNotFound=>{:fields=>[{:name=>:reason, :type=>"EntityNotFound.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :FieldPathElement=>{:fields=>[{:name=>:field, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:index, :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"}, :ListReturnValue=>{:fields=>[{:name=>:list_return_value_type, :original_name=>"ListReturnValue.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :NotEmptyError=>{:fields=>[{:name=>:reason, :type=>"NotEmptyError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NullError=>{:fields=>[{:name=>:reason, :type=>"NullError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :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}, :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}]}, :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}, :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"}, :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}]}, :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=>: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}]}, :StringFormatError=>{:fields=>[{:name=>:reason, :type=>"StringFormatError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :StringLengthError=>{:fields=>[{:name=>:reason, :type=>"StringLengthError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :Trial=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:base_campaign_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:draft_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:budget_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :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=>:traffic_split_percent, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:traffic_split_type, :type=>"CampaignTrialTrafficSplitType", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"TrialStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:trial_campaign_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :TrialError=>{:fields=>[{:name=>:reason, :type=>"TrialError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :TrialOperation=>{:fields=>[{:name=>:operand, :type=>"Trial", :min_occurs=>0, :max_occurs=>1}], :base=>"Operation"}, :TrialPage=>{:fields=>[{:name=>:entries, :type=>"Trial", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Page"}, :TrialReturnValue=>{:fields=>[{:name=>:value, :type=>"Trial", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:partial_failure_errors, :type=>"ApiError", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ListReturnValue"}, :"AuthenticationError.Reason"=>{:fields=>[]}, :"AuthorizationError.Reason"=>{:fields=>[]}, :"BiddingErrors.Reason"=>{:fields=>[]}, :"BudgetError.Reason"=>{:fields=>[]}, :"CampaignError.Reason"=>{:fields=>[]}, :CampaignTrialTrafficSplitType=>{:fields=>[]}, :"ClientTermsError.Reason"=>{:fields=>[]}, :"DatabaseError.Reason"=>{:fields=>[]}, :"DateError.Reason"=>{:fields=>[]}, :"DateRangeError.Reason"=>{:fields=>[]}, :"DistinctError.Reason"=>{:fields=>[]}, :"EntityCountLimitExceeded.Reason"=>{:fields=>[]}, :"EntityNotFound.Reason"=>{:fields=>[]}, :"IdError.Reason"=>{:fields=>[]}, :"InternalApiError.Reason"=>{:fields=>[]}, :"NotEmptyError.Reason"=>{:fields=>[]}, :"NullError.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=>[]}, :"RejectedError.Reason"=>{:fields=>[]}, :"RequestError.Reason"=>{:fields=>[]}, :"RequiredError.Reason"=>{:fields=>[]}, :"SelectorError.Reason"=>{:fields=>[]}, :"SizeLimitError.Reason"=>{:fields=>[]}, :SortOrder=>{:fields=>[]}, :"StringFormatError.Reason"=>{:fields=>[]}, :"StringLengthError.Reason"=>{:fields=>[]}, :"TrialError.Reason"=>{:fields=>[]}, :TrialStatus=>{:fields=>[]}}
|
16
|
+
TRIALSERVICE_NAMESPACES = []
|
17
|
+
|
18
|
+
def self.get_method_signature(method_name)
|
19
|
+
return TRIALSERVICE_METHODS[method_name.to_sym]
|
20
|
+
end
|
21
|
+
|
22
|
+
def self.get_type_signature(type_name)
|
23
|
+
return TRIALSERVICE_TYPES[type_name.to_sym]
|
24
|
+
end
|
25
|
+
|
26
|
+
def self.get_namespace(index)
|
27
|
+
return TRIALSERVICE_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, TrialServiceRegistry)
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end; end; end
|
data/lib/adwords_api/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-adwords-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Danial Klimkin
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-
|
12
|
+
date: 2018-09-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: google-ads-common
|
@@ -401,6 +401,114 @@ files:
|
|
401
401
|
- lib/adwords_api/v201806/trial_async_error_service_registry.rb
|
402
402
|
- lib/adwords_api/v201806/trial_service.rb
|
403
403
|
- lib/adwords_api/v201806/trial_service_registry.rb
|
404
|
+
- lib/adwords_api/v201809/account_label_service.rb
|
405
|
+
- lib/adwords_api/v201809/account_label_service_registry.rb
|
406
|
+
- lib/adwords_api/v201809/ad_customizer_feed_service.rb
|
407
|
+
- lib/adwords_api/v201809/ad_customizer_feed_service_registry.rb
|
408
|
+
- lib/adwords_api/v201809/ad_group_ad_service.rb
|
409
|
+
- lib/adwords_api/v201809/ad_group_ad_service_registry.rb
|
410
|
+
- lib/adwords_api/v201809/ad_group_bid_modifier_service.rb
|
411
|
+
- lib/adwords_api/v201809/ad_group_bid_modifier_service_registry.rb
|
412
|
+
- lib/adwords_api/v201809/ad_group_criterion_service.rb
|
413
|
+
- lib/adwords_api/v201809/ad_group_criterion_service_registry.rb
|
414
|
+
- lib/adwords_api/v201809/ad_group_extension_setting_service.rb
|
415
|
+
- lib/adwords_api/v201809/ad_group_extension_setting_service_registry.rb
|
416
|
+
- lib/adwords_api/v201809/ad_group_feed_service.rb
|
417
|
+
- lib/adwords_api/v201809/ad_group_feed_service_registry.rb
|
418
|
+
- lib/adwords_api/v201809/ad_group_service.rb
|
419
|
+
- lib/adwords_api/v201809/ad_group_service_registry.rb
|
420
|
+
- lib/adwords_api/v201809/ad_param_service.rb
|
421
|
+
- lib/adwords_api/v201809/ad_param_service_registry.rb
|
422
|
+
- lib/adwords_api/v201809/ad_service.rb
|
423
|
+
- lib/adwords_api/v201809/ad_service_registry.rb
|
424
|
+
- lib/adwords_api/v201809/adwords_user_list_service.rb
|
425
|
+
- lib/adwords_api/v201809/adwords_user_list_service_registry.rb
|
426
|
+
- lib/adwords_api/v201809/asset_service.rb
|
427
|
+
- lib/adwords_api/v201809/asset_service_registry.rb
|
428
|
+
- lib/adwords_api/v201809/batch_job_service.rb
|
429
|
+
- lib/adwords_api/v201809/batch_job_service_registry.rb
|
430
|
+
- lib/adwords_api/v201809/bidding_strategy_service.rb
|
431
|
+
- lib/adwords_api/v201809/bidding_strategy_service_registry.rb
|
432
|
+
- lib/adwords_api/v201809/budget_order_service.rb
|
433
|
+
- lib/adwords_api/v201809/budget_order_service_registry.rb
|
434
|
+
- lib/adwords_api/v201809/budget_service.rb
|
435
|
+
- lib/adwords_api/v201809/budget_service_registry.rb
|
436
|
+
- lib/adwords_api/v201809/campaign_bid_modifier_service.rb
|
437
|
+
- lib/adwords_api/v201809/campaign_bid_modifier_service_registry.rb
|
438
|
+
- lib/adwords_api/v201809/campaign_criterion_service.rb
|
439
|
+
- lib/adwords_api/v201809/campaign_criterion_service_registry.rb
|
440
|
+
- lib/adwords_api/v201809/campaign_extension_setting_service.rb
|
441
|
+
- lib/adwords_api/v201809/campaign_extension_setting_service_registry.rb
|
442
|
+
- lib/adwords_api/v201809/campaign_feed_service.rb
|
443
|
+
- lib/adwords_api/v201809/campaign_feed_service_registry.rb
|
444
|
+
- lib/adwords_api/v201809/campaign_group_performance_target_service.rb
|
445
|
+
- lib/adwords_api/v201809/campaign_group_performance_target_service_registry.rb
|
446
|
+
- lib/adwords_api/v201809/campaign_group_service.rb
|
447
|
+
- lib/adwords_api/v201809/campaign_group_service_registry.rb
|
448
|
+
- lib/adwords_api/v201809/campaign_service.rb
|
449
|
+
- lib/adwords_api/v201809/campaign_service_registry.rb
|
450
|
+
- lib/adwords_api/v201809/campaign_shared_set_service.rb
|
451
|
+
- lib/adwords_api/v201809/campaign_shared_set_service_registry.rb
|
452
|
+
- lib/adwords_api/v201809/constant_data_service.rb
|
453
|
+
- lib/adwords_api/v201809/constant_data_service_registry.rb
|
454
|
+
- lib/adwords_api/v201809/conversion_tracker_service.rb
|
455
|
+
- lib/adwords_api/v201809/conversion_tracker_service_registry.rb
|
456
|
+
- lib/adwords_api/v201809/custom_affinity_service.rb
|
457
|
+
- lib/adwords_api/v201809/custom_affinity_service_registry.rb
|
458
|
+
- lib/adwords_api/v201809/customer_extension_setting_service.rb
|
459
|
+
- lib/adwords_api/v201809/customer_extension_setting_service_registry.rb
|
460
|
+
- lib/adwords_api/v201809/customer_feed_service.rb
|
461
|
+
- lib/adwords_api/v201809/customer_feed_service_registry.rb
|
462
|
+
- lib/adwords_api/v201809/customer_negative_criterion_service.rb
|
463
|
+
- lib/adwords_api/v201809/customer_negative_criterion_service_registry.rb
|
464
|
+
- lib/adwords_api/v201809/customer_service.rb
|
465
|
+
- lib/adwords_api/v201809/customer_service_registry.rb
|
466
|
+
- lib/adwords_api/v201809/customer_sync_service.rb
|
467
|
+
- lib/adwords_api/v201809/customer_sync_service_registry.rb
|
468
|
+
- lib/adwords_api/v201809/data_service.rb
|
469
|
+
- lib/adwords_api/v201809/data_service_registry.rb
|
470
|
+
- lib/adwords_api/v201809/draft_async_error_service.rb
|
471
|
+
- lib/adwords_api/v201809/draft_async_error_service_registry.rb
|
472
|
+
- lib/adwords_api/v201809/draft_service.rb
|
473
|
+
- lib/adwords_api/v201809/draft_service_registry.rb
|
474
|
+
- lib/adwords_api/v201809/feed_item_service.rb
|
475
|
+
- lib/adwords_api/v201809/feed_item_service_registry.rb
|
476
|
+
- lib/adwords_api/v201809/feed_item_target_service.rb
|
477
|
+
- lib/adwords_api/v201809/feed_item_target_service_registry.rb
|
478
|
+
- lib/adwords_api/v201809/feed_mapping_service.rb
|
479
|
+
- lib/adwords_api/v201809/feed_mapping_service_registry.rb
|
480
|
+
- lib/adwords_api/v201809/feed_service.rb
|
481
|
+
- lib/adwords_api/v201809/feed_service_registry.rb
|
482
|
+
- lib/adwords_api/v201809/label_service.rb
|
483
|
+
- lib/adwords_api/v201809/label_service_registry.rb
|
484
|
+
- lib/adwords_api/v201809/location_criterion_service.rb
|
485
|
+
- lib/adwords_api/v201809/location_criterion_service_registry.rb
|
486
|
+
- lib/adwords_api/v201809/managed_customer_service.rb
|
487
|
+
- lib/adwords_api/v201809/managed_customer_service_registry.rb
|
488
|
+
- lib/adwords_api/v201809/media_service.rb
|
489
|
+
- lib/adwords_api/v201809/media_service_registry.rb
|
490
|
+
- lib/adwords_api/v201809/offline_call_conversion_feed_service.rb
|
491
|
+
- lib/adwords_api/v201809/offline_call_conversion_feed_service_registry.rb
|
492
|
+
- lib/adwords_api/v201809/offline_conversion_adjustment_feed_service.rb
|
493
|
+
- lib/adwords_api/v201809/offline_conversion_adjustment_feed_service_registry.rb
|
494
|
+
- lib/adwords_api/v201809/offline_conversion_feed_service.rb
|
495
|
+
- lib/adwords_api/v201809/offline_conversion_feed_service_registry.rb
|
496
|
+
- lib/adwords_api/v201809/offline_data_upload_service.rb
|
497
|
+
- lib/adwords_api/v201809/offline_data_upload_service_registry.rb
|
498
|
+
- lib/adwords_api/v201809/report_definition_service.rb
|
499
|
+
- lib/adwords_api/v201809/report_definition_service_registry.rb
|
500
|
+
- lib/adwords_api/v201809/shared_criterion_service.rb
|
501
|
+
- lib/adwords_api/v201809/shared_criterion_service_registry.rb
|
502
|
+
- lib/adwords_api/v201809/shared_set_service.rb
|
503
|
+
- lib/adwords_api/v201809/shared_set_service_registry.rb
|
504
|
+
- lib/adwords_api/v201809/targeting_idea_service.rb
|
505
|
+
- lib/adwords_api/v201809/targeting_idea_service_registry.rb
|
506
|
+
- lib/adwords_api/v201809/traffic_estimator_service.rb
|
507
|
+
- lib/adwords_api/v201809/traffic_estimator_service_registry.rb
|
508
|
+
- lib/adwords_api/v201809/trial_async_error_service.rb
|
509
|
+
- lib/adwords_api/v201809/trial_async_error_service_registry.rb
|
510
|
+
- lib/adwords_api/v201809/trial_service.rb
|
511
|
+
- lib/adwords_api/v201809/trial_service_registry.rb
|
404
512
|
- lib/adwords_api/version.rb
|
405
513
|
homepage: https://github.com/googleads/google-api-ads-ruby
|
406
514
|
licenses:
|
@@ -422,7 +530,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
422
530
|
version: 1.3.6
|
423
531
|
requirements: []
|
424
532
|
rubyforge_project: google-adwords-api
|
425
|
-
rubygems_version: 2.6
|
533
|
+
rubygems_version: 2.7.6
|
426
534
|
signing_key:
|
427
535
|
specification_version: 4
|
428
536
|
summary: Ruby Client libraries for AdWords API
|