google-adwords-api 1.0.1 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/COPYING +0 -0
- data/ChangeLog +5 -0
- data/README.md +0 -0
- data/adwords_api.yml +0 -0
- data/lib/adwords_api.rb +14 -0
- data/lib/adwords_api/api_config.rb +0 -92
- data/lib/adwords_api/batch_job_utils.rb +0 -0
- data/lib/adwords_api/credential_handler.rb +0 -0
- data/lib/adwords_api/errors.rb +0 -0
- data/lib/adwords_api/incremental_upload_helper.rb +0 -0
- data/lib/adwords_api/query_utils/query_builder.rb +41 -0
- data/lib/adwords_api/query_utils/report_query.rb +30 -0
- data/lib/adwords_api/query_utils/report_query_builder.rb +82 -0
- data/lib/adwords_api/query_utils/service_query.rb +61 -0
- data/lib/adwords_api/query_utils/service_query_builder.rb +83 -0
- data/lib/adwords_api/query_utils/where_builder.rb +97 -0
- data/lib/adwords_api/report_header_handler.rb +0 -0
- data/lib/adwords_api/report_stream.rb +0 -0
- data/lib/adwords_api/report_utils.rb +0 -0
- data/lib/adwords_api/utils.rb +0 -0
- data/lib/adwords_api/utils_reporter.rb +12 -0
- data/lib/adwords_api/v201705/account_label_service.rb +0 -0
- data/lib/adwords_api/v201705/account_label_service_registry.rb +0 -0
- data/lib/adwords_api/v201705/ad_customizer_feed_service.rb +0 -0
- data/lib/adwords_api/v201705/ad_customizer_feed_service_registry.rb +0 -0
- data/lib/adwords_api/v201705/ad_group_ad_service.rb +0 -0
- data/lib/adwords_api/v201705/ad_group_ad_service_registry.rb +0 -0
- data/lib/adwords_api/v201705/ad_group_bid_modifier_service.rb +0 -0
- data/lib/adwords_api/v201705/ad_group_bid_modifier_service_registry.rb +0 -0
- data/lib/adwords_api/v201705/ad_group_criterion_service.rb +0 -0
- data/lib/adwords_api/v201705/ad_group_criterion_service_registry.rb +0 -0
- data/lib/adwords_api/v201705/ad_group_extension_setting_service.rb +0 -0
- data/lib/adwords_api/v201705/ad_group_extension_setting_service_registry.rb +0 -0
- data/lib/adwords_api/v201705/ad_group_feed_service.rb +0 -0
- data/lib/adwords_api/v201705/ad_group_feed_service_registry.rb +0 -0
- data/lib/adwords_api/v201705/ad_group_service.rb +0 -0
- data/lib/adwords_api/v201705/ad_group_service_registry.rb +0 -0
- data/lib/adwords_api/v201705/ad_param_service.rb +0 -0
- data/lib/adwords_api/v201705/ad_param_service_registry.rb +0 -0
- data/lib/adwords_api/v201705/adwords_user_list_service.rb +0 -0
- data/lib/adwords_api/v201705/adwords_user_list_service_registry.rb +0 -0
- data/lib/adwords_api/v201705/batch_job_service.rb +0 -0
- data/lib/adwords_api/v201705/batch_job_service_registry.rb +0 -0
- data/lib/adwords_api/v201705/bidding_strategy_service.rb +0 -0
- data/lib/adwords_api/v201705/bidding_strategy_service_registry.rb +0 -0
- data/lib/adwords_api/v201705/budget_order_service.rb +0 -0
- data/lib/adwords_api/v201705/budget_order_service_registry.rb +0 -0
- data/lib/adwords_api/v201705/budget_service.rb +0 -0
- data/lib/adwords_api/v201705/budget_service_registry.rb +0 -0
- data/lib/adwords_api/v201705/campaign_bid_modifier_service.rb +0 -0
- data/lib/adwords_api/v201705/campaign_bid_modifier_service_registry.rb +0 -0
- data/lib/adwords_api/v201705/campaign_criterion_service.rb +0 -0
- data/lib/adwords_api/v201705/campaign_criterion_service_registry.rb +0 -0
- data/lib/adwords_api/v201705/campaign_extension_setting_service.rb +0 -0
- data/lib/adwords_api/v201705/campaign_extension_setting_service_registry.rb +0 -0
- data/lib/adwords_api/v201705/campaign_feed_service.rb +0 -0
- data/lib/adwords_api/v201705/campaign_feed_service_registry.rb +0 -0
- data/lib/adwords_api/v201705/campaign_group_performance_target_service.rb +0 -0
- data/lib/adwords_api/v201705/campaign_group_performance_target_service_registry.rb +0 -0
- data/lib/adwords_api/v201705/campaign_group_service.rb +0 -0
- data/lib/adwords_api/v201705/campaign_group_service_registry.rb +0 -0
- data/lib/adwords_api/v201705/campaign_service.rb +0 -0
- data/lib/adwords_api/v201705/campaign_service_registry.rb +0 -0
- data/lib/adwords_api/v201705/campaign_shared_set_service.rb +0 -0
- data/lib/adwords_api/v201705/campaign_shared_set_service_registry.rb +0 -0
- data/lib/adwords_api/v201705/constant_data_service.rb +0 -0
- data/lib/adwords_api/v201705/constant_data_service_registry.rb +0 -0
- data/lib/adwords_api/v201705/conversion_tracker_service.rb +0 -0
- data/lib/adwords_api/v201705/conversion_tracker_service_registry.rb +0 -0
- data/lib/adwords_api/v201705/customer_extension_setting_service.rb +0 -0
- data/lib/adwords_api/v201705/customer_extension_setting_service_registry.rb +0 -0
- data/lib/adwords_api/v201705/customer_feed_service.rb +0 -0
- data/lib/adwords_api/v201705/customer_feed_service_registry.rb +0 -0
- data/lib/adwords_api/v201705/customer_service.rb +0 -0
- data/lib/adwords_api/v201705/customer_service_registry.rb +0 -0
- data/lib/adwords_api/v201705/customer_sync_service.rb +0 -0
- data/lib/adwords_api/v201705/customer_sync_service_registry.rb +0 -0
- data/lib/adwords_api/v201705/data_service.rb +0 -0
- data/lib/adwords_api/v201705/data_service_registry.rb +0 -0
- data/lib/adwords_api/v201705/draft_async_error_service.rb +0 -0
- data/lib/adwords_api/v201705/draft_async_error_service_registry.rb +0 -0
- data/lib/adwords_api/v201705/draft_service.rb +0 -0
- data/lib/adwords_api/v201705/draft_service_registry.rb +0 -0
- data/lib/adwords_api/v201705/feed_item_service.rb +0 -0
- data/lib/adwords_api/v201705/feed_item_service_registry.rb +0 -0
- data/lib/adwords_api/v201705/feed_mapping_service.rb +0 -0
- data/lib/adwords_api/v201705/feed_mapping_service_registry.rb +0 -0
- data/lib/adwords_api/v201705/feed_service.rb +0 -0
- data/lib/adwords_api/v201705/feed_service_registry.rb +0 -0
- data/lib/adwords_api/v201705/label_service.rb +0 -0
- data/lib/adwords_api/v201705/label_service_registry.rb +0 -0
- data/lib/adwords_api/v201705/location_criterion_service.rb +0 -0
- data/lib/adwords_api/v201705/location_criterion_service_registry.rb +0 -0
- data/lib/adwords_api/v201705/managed_customer_service.rb +0 -0
- data/lib/adwords_api/v201705/managed_customer_service_registry.rb +0 -0
- data/lib/adwords_api/v201705/media_service.rb +0 -0
- data/lib/adwords_api/v201705/media_service_registry.rb +0 -0
- data/lib/adwords_api/v201705/offline_call_conversion_feed_service.rb +0 -0
- data/lib/adwords_api/v201705/offline_call_conversion_feed_service_registry.rb +0 -0
- data/lib/adwords_api/v201705/offline_conversion_feed_service.rb +0 -0
- data/lib/adwords_api/v201705/offline_conversion_feed_service_registry.rb +0 -0
- data/lib/adwords_api/v201705/report_definition_service.rb +0 -0
- data/lib/adwords_api/v201705/report_definition_service_registry.rb +0 -0
- data/lib/adwords_api/v201705/shared_criterion_service.rb +0 -0
- data/lib/adwords_api/v201705/shared_criterion_service_registry.rb +0 -0
- data/lib/adwords_api/v201705/shared_set_service.rb +0 -0
- data/lib/adwords_api/v201705/shared_set_service_registry.rb +0 -0
- data/lib/adwords_api/v201705/targeting_idea_service.rb +0 -0
- data/lib/adwords_api/v201705/targeting_idea_service_registry.rb +0 -0
- data/lib/adwords_api/v201705/traffic_estimator_service.rb +0 -0
- data/lib/adwords_api/v201705/traffic_estimator_service_registry.rb +0 -0
- data/lib/adwords_api/v201705/trial_async_error_service.rb +0 -0
- data/lib/adwords_api/v201705/trial_async_error_service_registry.rb +0 -0
- data/lib/adwords_api/v201705/trial_service.rb +0 -0
- data/lib/adwords_api/v201705/trial_service_registry.rb +0 -0
- data/lib/adwords_api/v201708/account_label_service.rb +0 -0
- data/lib/adwords_api/v201708/account_label_service_registry.rb +0 -0
- data/lib/adwords_api/v201708/ad_customizer_feed_service.rb +0 -0
- data/lib/adwords_api/v201708/ad_customizer_feed_service_registry.rb +0 -0
- data/lib/adwords_api/v201708/ad_group_ad_service.rb +0 -0
- data/lib/adwords_api/v201708/ad_group_ad_service_registry.rb +0 -0
- data/lib/adwords_api/v201708/ad_group_bid_modifier_service.rb +0 -0
- data/lib/adwords_api/v201708/ad_group_bid_modifier_service_registry.rb +0 -0
- data/lib/adwords_api/v201708/ad_group_criterion_service.rb +0 -0
- data/lib/adwords_api/v201708/ad_group_criterion_service_registry.rb +0 -0
- data/lib/adwords_api/v201708/ad_group_extension_setting_service.rb +0 -0
- data/lib/adwords_api/v201708/ad_group_extension_setting_service_registry.rb +0 -0
- data/lib/adwords_api/v201708/ad_group_feed_service.rb +0 -0
- data/lib/adwords_api/v201708/ad_group_feed_service_registry.rb +0 -0
- data/lib/adwords_api/v201708/ad_group_service.rb +0 -0
- data/lib/adwords_api/v201708/ad_group_service_registry.rb +0 -0
- data/lib/adwords_api/v201708/ad_param_service.rb +0 -0
- data/lib/adwords_api/v201708/ad_param_service_registry.rb +0 -0
- data/lib/adwords_api/v201708/adwords_user_list_service.rb +0 -0
- data/lib/adwords_api/v201708/adwords_user_list_service_registry.rb +0 -0
- data/lib/adwords_api/v201708/batch_job_service.rb +0 -0
- data/lib/adwords_api/v201708/batch_job_service_registry.rb +0 -0
- data/lib/adwords_api/v201708/bidding_strategy_service.rb +0 -0
- data/lib/adwords_api/v201708/bidding_strategy_service_registry.rb +0 -0
- data/lib/adwords_api/v201708/budget_order_service.rb +0 -0
- data/lib/adwords_api/v201708/budget_order_service_registry.rb +0 -0
- data/lib/adwords_api/v201708/budget_service.rb +0 -0
- data/lib/adwords_api/v201708/budget_service_registry.rb +0 -0
- data/lib/adwords_api/v201708/campaign_bid_modifier_service.rb +0 -0
- data/lib/adwords_api/v201708/campaign_bid_modifier_service_registry.rb +0 -0
- data/lib/adwords_api/v201708/campaign_criterion_service.rb +0 -0
- data/lib/adwords_api/v201708/campaign_criterion_service_registry.rb +0 -0
- data/lib/adwords_api/v201708/campaign_extension_setting_service.rb +0 -0
- data/lib/adwords_api/v201708/campaign_extension_setting_service_registry.rb +0 -0
- data/lib/adwords_api/v201708/campaign_feed_service.rb +0 -0
- data/lib/adwords_api/v201708/campaign_feed_service_registry.rb +0 -0
- data/lib/adwords_api/v201708/campaign_group_performance_target_service.rb +0 -0
- data/lib/adwords_api/v201708/campaign_group_performance_target_service_registry.rb +0 -0
- data/lib/adwords_api/v201708/campaign_group_service.rb +0 -0
- data/lib/adwords_api/v201708/campaign_group_service_registry.rb +0 -0
- data/lib/adwords_api/v201708/campaign_service.rb +0 -0
- data/lib/adwords_api/v201708/campaign_service_registry.rb +0 -0
- data/lib/adwords_api/v201708/campaign_shared_set_service.rb +0 -0
- data/lib/adwords_api/v201708/campaign_shared_set_service_registry.rb +0 -0
- data/lib/adwords_api/v201708/constant_data_service.rb +0 -0
- data/lib/adwords_api/v201708/constant_data_service_registry.rb +0 -0
- data/lib/adwords_api/v201708/conversion_tracker_service.rb +0 -0
- data/lib/adwords_api/v201708/conversion_tracker_service_registry.rb +0 -0
- data/lib/adwords_api/v201708/customer_extension_setting_service.rb +0 -0
- data/lib/adwords_api/v201708/customer_extension_setting_service_registry.rb +0 -0
- data/lib/adwords_api/v201708/customer_feed_service.rb +0 -0
- data/lib/adwords_api/v201708/customer_feed_service_registry.rb +0 -0
- data/lib/adwords_api/v201708/customer_service.rb +0 -0
- data/lib/adwords_api/v201708/customer_service_registry.rb +0 -0
- data/lib/adwords_api/v201708/customer_sync_service.rb +0 -0
- data/lib/adwords_api/v201708/customer_sync_service_registry.rb +0 -0
- data/lib/adwords_api/v201708/data_service.rb +0 -0
- data/lib/adwords_api/v201708/data_service_registry.rb +0 -0
- data/lib/adwords_api/v201708/draft_async_error_service.rb +0 -0
- data/lib/adwords_api/v201708/draft_async_error_service_registry.rb +0 -0
- data/lib/adwords_api/v201708/draft_service.rb +0 -0
- data/lib/adwords_api/v201708/draft_service_registry.rb +0 -0
- data/lib/adwords_api/v201708/feed_item_service.rb +0 -0
- data/lib/adwords_api/v201708/feed_item_service_registry.rb +0 -0
- data/lib/adwords_api/v201708/feed_mapping_service.rb +0 -0
- data/lib/adwords_api/v201708/feed_mapping_service_registry.rb +0 -0
- data/lib/adwords_api/v201708/feed_service.rb +0 -0
- data/lib/adwords_api/v201708/feed_service_registry.rb +0 -0
- data/lib/adwords_api/v201708/label_service.rb +0 -0
- data/lib/adwords_api/v201708/label_service_registry.rb +0 -0
- data/lib/adwords_api/v201708/location_criterion_service.rb +0 -0
- data/lib/adwords_api/v201708/location_criterion_service_registry.rb +0 -0
- data/lib/adwords_api/v201708/managed_customer_service.rb +0 -0
- data/lib/adwords_api/v201708/managed_customer_service_registry.rb +0 -0
- data/lib/adwords_api/v201708/media_service.rb +0 -0
- data/lib/adwords_api/v201708/media_service_registry.rb +0 -0
- data/lib/adwords_api/v201708/offline_call_conversion_feed_service.rb +0 -0
- data/lib/adwords_api/v201708/offline_call_conversion_feed_service_registry.rb +0 -0
- data/lib/adwords_api/v201708/offline_conversion_feed_service.rb +0 -0
- data/lib/adwords_api/v201708/offline_conversion_feed_service_registry.rb +0 -0
- data/lib/adwords_api/v201708/offline_data_upload_service.rb +0 -0
- data/lib/adwords_api/v201708/offline_data_upload_service_registry.rb +0 -0
- data/lib/adwords_api/v201708/report_definition_service.rb +0 -0
- data/lib/adwords_api/v201708/report_definition_service_registry.rb +0 -0
- data/lib/adwords_api/v201708/shared_criterion_service.rb +0 -0
- data/lib/adwords_api/v201708/shared_criterion_service_registry.rb +0 -0
- data/lib/adwords_api/v201708/shared_set_service.rb +0 -0
- data/lib/adwords_api/v201708/shared_set_service_registry.rb +0 -0
- data/lib/adwords_api/v201708/targeting_idea_service.rb +0 -0
- data/lib/adwords_api/v201708/targeting_idea_service_registry.rb +0 -0
- data/lib/adwords_api/v201708/traffic_estimator_service.rb +0 -0
- data/lib/adwords_api/v201708/traffic_estimator_service_registry.rb +0 -0
- data/lib/adwords_api/v201708/trial_async_error_service.rb +0 -0
- data/lib/adwords_api/v201708/trial_async_error_service_registry.rb +0 -0
- data/lib/adwords_api/v201708/trial_service.rb +0 -0
- data/lib/adwords_api/v201708/trial_service_registry.rb +0 -0
- data/lib/adwords_api/v201710/account_label_service.rb +0 -0
- data/lib/adwords_api/v201710/account_label_service_registry.rb +0 -0
- data/lib/adwords_api/v201710/ad_customizer_feed_service.rb +0 -0
- data/lib/adwords_api/v201710/ad_customizer_feed_service_registry.rb +0 -0
- data/lib/adwords_api/v201710/ad_group_ad_service.rb +0 -0
- data/lib/adwords_api/v201710/ad_group_ad_service_registry.rb +0 -0
- data/lib/adwords_api/v201710/ad_group_bid_modifier_service.rb +0 -0
- data/lib/adwords_api/v201710/ad_group_bid_modifier_service_registry.rb +0 -0
- data/lib/adwords_api/v201710/ad_group_criterion_service.rb +0 -0
- data/lib/adwords_api/v201710/ad_group_criterion_service_registry.rb +0 -0
- data/lib/adwords_api/v201710/ad_group_extension_setting_service.rb +0 -0
- data/lib/adwords_api/v201710/ad_group_extension_setting_service_registry.rb +0 -0
- data/lib/adwords_api/v201710/ad_group_feed_service.rb +0 -0
- data/lib/adwords_api/v201710/ad_group_feed_service_registry.rb +0 -0
- data/lib/adwords_api/v201710/ad_group_service.rb +0 -0
- data/lib/adwords_api/v201710/ad_group_service_registry.rb +0 -0
- data/lib/adwords_api/v201710/ad_param_service.rb +0 -0
- data/lib/adwords_api/v201710/ad_param_service_registry.rb +0 -0
- data/lib/adwords_api/v201710/adwords_user_list_service.rb +0 -0
- data/lib/adwords_api/v201710/adwords_user_list_service_registry.rb +0 -0
- data/lib/adwords_api/v201710/batch_job_service.rb +0 -0
- data/lib/adwords_api/v201710/batch_job_service_registry.rb +0 -0
- data/lib/adwords_api/v201710/bidding_strategy_service.rb +0 -0
- data/lib/adwords_api/v201710/bidding_strategy_service_registry.rb +0 -0
- data/lib/adwords_api/v201710/budget_order_service.rb +0 -0
- data/lib/adwords_api/v201710/budget_order_service_registry.rb +0 -0
- data/lib/adwords_api/v201710/budget_service.rb +0 -0
- data/lib/adwords_api/v201710/budget_service_registry.rb +0 -0
- data/lib/adwords_api/v201710/campaign_bid_modifier_service.rb +0 -0
- data/lib/adwords_api/v201710/campaign_bid_modifier_service_registry.rb +0 -0
- data/lib/adwords_api/v201710/campaign_criterion_service.rb +0 -0
- data/lib/adwords_api/v201710/campaign_criterion_service_registry.rb +0 -0
- data/lib/adwords_api/v201710/campaign_extension_setting_service.rb +0 -0
- data/lib/adwords_api/v201710/campaign_extension_setting_service_registry.rb +0 -0
- data/lib/adwords_api/v201710/campaign_feed_service.rb +0 -0
- data/lib/adwords_api/v201710/campaign_feed_service_registry.rb +0 -0
- data/lib/adwords_api/v201710/campaign_group_performance_target_service.rb +0 -0
- data/lib/adwords_api/v201710/campaign_group_performance_target_service_registry.rb +0 -0
- data/lib/adwords_api/v201710/campaign_group_service.rb +0 -0
- data/lib/adwords_api/v201710/campaign_group_service_registry.rb +0 -0
- data/lib/adwords_api/v201710/campaign_service.rb +0 -0
- data/lib/adwords_api/v201710/campaign_service_registry.rb +0 -0
- data/lib/adwords_api/v201710/campaign_shared_set_service.rb +0 -0
- data/lib/adwords_api/v201710/campaign_shared_set_service_registry.rb +0 -0
- data/lib/adwords_api/v201710/constant_data_service.rb +0 -0
- data/lib/adwords_api/v201710/constant_data_service_registry.rb +0 -0
- data/lib/adwords_api/v201710/conversion_tracker_service.rb +0 -0
- data/lib/adwords_api/v201710/conversion_tracker_service_registry.rb +0 -0
- data/lib/adwords_api/v201710/customer_extension_setting_service.rb +0 -0
- data/lib/adwords_api/v201710/customer_extension_setting_service_registry.rb +0 -0
- data/lib/adwords_api/v201710/customer_feed_service.rb +0 -0
- data/lib/adwords_api/v201710/customer_feed_service_registry.rb +0 -0
- data/lib/adwords_api/v201710/customer_negative_criterion_service.rb +0 -0
- data/lib/adwords_api/v201710/customer_negative_criterion_service_registry.rb +0 -0
- data/lib/adwords_api/v201710/customer_service.rb +0 -0
- data/lib/adwords_api/v201710/customer_service_registry.rb +0 -0
- data/lib/adwords_api/v201710/customer_sync_service.rb +0 -0
- data/lib/adwords_api/v201710/customer_sync_service_registry.rb +0 -0
- data/lib/adwords_api/v201710/data_service.rb +0 -0
- data/lib/adwords_api/v201710/data_service_registry.rb +0 -0
- data/lib/adwords_api/v201710/draft_async_error_service.rb +0 -0
- data/lib/adwords_api/v201710/draft_async_error_service_registry.rb +0 -0
- data/lib/adwords_api/v201710/draft_service.rb +0 -0
- data/lib/adwords_api/v201710/draft_service_registry.rb +0 -0
- data/lib/adwords_api/v201710/feed_item_service.rb +0 -0
- data/lib/adwords_api/v201710/feed_item_service_registry.rb +0 -0
- data/lib/adwords_api/v201710/feed_mapping_service.rb +0 -0
- data/lib/adwords_api/v201710/feed_mapping_service_registry.rb +0 -0
- data/lib/adwords_api/v201710/feed_service.rb +0 -0
- data/lib/adwords_api/v201710/feed_service_registry.rb +0 -0
- data/lib/adwords_api/v201710/label_service.rb +0 -0
- data/lib/adwords_api/v201710/label_service_registry.rb +0 -0
- data/lib/adwords_api/v201710/location_criterion_service.rb +0 -0
- data/lib/adwords_api/v201710/location_criterion_service_registry.rb +0 -0
- data/lib/adwords_api/v201710/managed_customer_service.rb +0 -0
- data/lib/adwords_api/v201710/managed_customer_service_registry.rb +0 -0
- data/lib/adwords_api/v201710/media_service.rb +0 -0
- data/lib/adwords_api/v201710/media_service_registry.rb +0 -0
- data/lib/adwords_api/v201710/offline_call_conversion_feed_service.rb +0 -0
- data/lib/adwords_api/v201710/offline_call_conversion_feed_service_registry.rb +0 -0
- data/lib/adwords_api/v201710/offline_conversion_feed_service.rb +0 -0
- data/lib/adwords_api/v201710/offline_conversion_feed_service_registry.rb +0 -0
- data/lib/adwords_api/v201710/offline_data_upload_service.rb +0 -0
- data/lib/adwords_api/v201710/offline_data_upload_service_registry.rb +0 -0
- data/lib/adwords_api/v201710/report_definition_service.rb +0 -0
- data/lib/adwords_api/v201710/report_definition_service_registry.rb +0 -0
- data/lib/adwords_api/v201710/shared_criterion_service.rb +0 -0
- data/lib/adwords_api/v201710/shared_criterion_service_registry.rb +0 -0
- data/lib/adwords_api/v201710/shared_set_service.rb +0 -0
- data/lib/adwords_api/v201710/shared_set_service_registry.rb +0 -0
- data/lib/adwords_api/v201710/targeting_idea_service.rb +0 -0
- data/lib/adwords_api/v201710/targeting_idea_service_registry.rb +0 -0
- data/lib/adwords_api/v201710/traffic_estimator_service.rb +0 -0
- data/lib/adwords_api/v201710/traffic_estimator_service_registry.rb +0 -0
- data/lib/adwords_api/v201710/trial_async_error_service.rb +0 -0
- data/lib/adwords_api/v201710/trial_async_error_service_registry.rb +0 -0
- data/lib/adwords_api/v201710/trial_service.rb +0 -0
- data/lib/adwords_api/v201710/trial_service_registry.rb +0 -0
- data/lib/adwords_api/version.rb +1 -1
- metadata +8 -96
- data/lib/adwords_api/v201702/account_label_service.rb +0 -46
- data/lib/adwords_api/v201702/account_label_service_registry.rb +0 -46
- data/lib/adwords_api/v201702/ad_customizer_feed_service.rb +0 -46
- data/lib/adwords_api/v201702/ad_customizer_feed_service_registry.rb +0 -46
- data/lib/adwords_api/v201702/ad_group_ad_service.rb +0 -70
- data/lib/adwords_api/v201702/ad_group_ad_service_registry.rb +0 -46
- data/lib/adwords_api/v201702/ad_group_bid_modifier_service.rb +0 -54
- data/lib/adwords_api/v201702/ad_group_bid_modifier_service_registry.rb +0 -46
- data/lib/adwords_api/v201702/ad_group_criterion_service.rb +0 -62
- data/lib/adwords_api/v201702/ad_group_criterion_service_registry.rb +0 -46
- data/lib/adwords_api/v201702/ad_group_extension_setting_service.rb +0 -54
- data/lib/adwords_api/v201702/ad_group_extension_setting_service_registry.rb +0 -46
- data/lib/adwords_api/v201702/ad_group_feed_service.rb +0 -54
- data/lib/adwords_api/v201702/ad_group_feed_service_registry.rb +0 -46
- data/lib/adwords_api/v201702/ad_group_service.rb +0 -62
- data/lib/adwords_api/v201702/ad_group_service_registry.rb +0 -46
- data/lib/adwords_api/v201702/ad_param_service.rb +0 -46
- data/lib/adwords_api/v201702/ad_param_service_registry.rb +0 -46
- data/lib/adwords_api/v201702/adwords_user_list_service.rb +0 -62
- data/lib/adwords_api/v201702/adwords_user_list_service_registry.rb +0 -46
- data/lib/adwords_api/v201702/batch_job_service.rb +0 -54
- data/lib/adwords_api/v201702/batch_job_service_registry.rb +0 -46
- data/lib/adwords_api/v201702/bidding_strategy_service.rb +0 -54
- data/lib/adwords_api/v201702/bidding_strategy_service_registry.rb +0 -46
- data/lib/adwords_api/v201702/budget_order_service.rb +0 -54
- data/lib/adwords_api/v201702/budget_order_service_registry.rb +0 -46
- data/lib/adwords_api/v201702/budget_service.rb +0 -54
- data/lib/adwords_api/v201702/budget_service_registry.rb +0 -46
- data/lib/adwords_api/v201702/campaign_criterion_service.rb +0 -54
- data/lib/adwords_api/v201702/campaign_criterion_service_registry.rb +0 -46
- data/lib/adwords_api/v201702/campaign_extension_setting_service.rb +0 -54
- data/lib/adwords_api/v201702/campaign_extension_setting_service_registry.rb +0 -46
- data/lib/adwords_api/v201702/campaign_feed_service.rb +0 -54
- data/lib/adwords_api/v201702/campaign_feed_service_registry.rb +0 -46
- data/lib/adwords_api/v201702/campaign_service.rb +0 -62
- data/lib/adwords_api/v201702/campaign_service_registry.rb +0 -46
- data/lib/adwords_api/v201702/campaign_shared_set_service.rb +0 -54
- data/lib/adwords_api/v201702/campaign_shared_set_service_registry.rb +0 -46
- data/lib/adwords_api/v201702/constant_data_service.rb +0 -110
- data/lib/adwords_api/v201702/constant_data_service_registry.rb +0 -46
- data/lib/adwords_api/v201702/conversion_tracker_service.rb +0 -54
- data/lib/adwords_api/v201702/conversion_tracker_service_registry.rb +0 -46
- data/lib/adwords_api/v201702/customer_extension_setting_service.rb +0 -54
- data/lib/adwords_api/v201702/customer_extension_setting_service_registry.rb +0 -46
- data/lib/adwords_api/v201702/customer_feed_service.rb +0 -54
- data/lib/adwords_api/v201702/customer_feed_service_registry.rb +0 -46
- data/lib/adwords_api/v201702/customer_service.rb +0 -62
- data/lib/adwords_api/v201702/customer_service_registry.rb +0 -46
- data/lib/adwords_api/v201702/customer_sync_service.rb +0 -38
- data/lib/adwords_api/v201702/customer_sync_service_registry.rb +0 -47
- data/lib/adwords_api/v201702/data_service.rb +0 -94
- data/lib/adwords_api/v201702/data_service_registry.rb +0 -46
- data/lib/adwords_api/v201702/draft_async_error_service.rb +0 -46
- data/lib/adwords_api/v201702/draft_async_error_service_registry.rb +0 -46
- data/lib/adwords_api/v201702/draft_service.rb +0 -54
- data/lib/adwords_api/v201702/draft_service_registry.rb +0 -46
- data/lib/adwords_api/v201702/feed_item_service.rb +0 -54
- data/lib/adwords_api/v201702/feed_item_service_registry.rb +0 -46
- data/lib/adwords_api/v201702/feed_mapping_service.rb +0 -54
- data/lib/adwords_api/v201702/feed_mapping_service_registry.rb +0 -46
- data/lib/adwords_api/v201702/feed_service.rb +0 -54
- data/lib/adwords_api/v201702/feed_service_registry.rb +0 -46
- data/lib/adwords_api/v201702/label_service.rb +0 -54
- data/lib/adwords_api/v201702/label_service_registry.rb +0 -46
- data/lib/adwords_api/v201702/location_criterion_service.rb +0 -46
- data/lib/adwords_api/v201702/location_criterion_service_registry.rb +0 -46
- data/lib/adwords_api/v201702/managed_customer_service.rb +0 -78
- data/lib/adwords_api/v201702/managed_customer_service_registry.rb +0 -46
- data/lib/adwords_api/v201702/media_service.rb +0 -54
- data/lib/adwords_api/v201702/media_service_registry.rb +0 -46
- data/lib/adwords_api/v201702/offline_call_conversion_feed_service.rb +0 -38
- data/lib/adwords_api/v201702/offline_call_conversion_feed_service_registry.rb +0 -46
- data/lib/adwords_api/v201702/offline_conversion_feed_service.rb +0 -38
- data/lib/adwords_api/v201702/offline_conversion_feed_service_registry.rb +0 -46
- data/lib/adwords_api/v201702/report_definition_service.rb +0 -38
- data/lib/adwords_api/v201702/report_definition_service_registry.rb +0 -46
- data/lib/adwords_api/v201702/shared_criterion_service.rb +0 -54
- data/lib/adwords_api/v201702/shared_criterion_service_registry.rb +0 -46
- data/lib/adwords_api/v201702/shared_set_service.rb +0 -54
- data/lib/adwords_api/v201702/shared_set_service_registry.rb +0 -46
- data/lib/adwords_api/v201702/targeting_idea_service.rb +0 -38
- data/lib/adwords_api/v201702/targeting_idea_service_registry.rb +0 -46
- data/lib/adwords_api/v201702/traffic_estimator_service.rb +0 -38
- data/lib/adwords_api/v201702/traffic_estimator_service_registry.rb +0 -46
- data/lib/adwords_api/v201702/trial_async_error_service.rb +0 -46
- data/lib/adwords_api/v201702/trial_async_error_service_registry.rb +0 -46
- data/lib/adwords_api/v201702/trial_service.rb +0 -54
- data/lib/adwords_api/v201702/trial_service_registry.rb +0 -46
@@ -1,46 +0,0 @@
|
|
1
|
-
# Encoding: utf-8
|
2
|
-
#
|
3
|
-
# This is auto-generated code, changes will be overwritten.
|
4
|
-
#
|
5
|
-
# Copyright:: Copyright 2017, Google Inc. All Rights Reserved.
|
6
|
-
# License:: Licensed under the Apache License, Version 2.0.
|
7
|
-
#
|
8
|
-
# Code generated by AdsCommon library 0.12.6 on 2017-02-28 08:24:24.
|
9
|
-
|
10
|
-
require 'adwords_api/errors'
|
11
|
-
|
12
|
-
module AdwordsApi; module V201702; module LabelService
|
13
|
-
class LabelServiceRegistry
|
14
|
-
LABELSERVICE_METHODS = {:get=>{:input=>[{:name=>:service_selector, :type=>"Selector", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_response", :fields=>[{:name=>:rval, :type=>"LabelPage", :min_occurs=>0, :max_occurs=>1}]}}, :mutate=>{:input=>[{:name=>:operations, :type=>"LabelOperation", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"mutate_response", :fields=>[{:name=>:rval, :type=>"LabelReturnValue", :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=>"LabelPage", :min_occurs=>0, :max_occurs=>1}]}}}
|
15
|
-
LABELSERVICE_TYPES = {: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"}, :TextLabel=>{:fields=>[], :base=>"Label"}, :DisplayAttribute=>{:fields=>[{:name=>:background_color, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:description, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"LabelAttribute"}, :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"}, :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"}, :LabelError=>{:fields=>[{:name=>:reason, :type=>"LabelError.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"}, :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}]}, :PagingError=>{:fields=>[{:name=>:reason, :type=>"PagingError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :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}]}, :QueryError=>{:fields=>[{:name=>:reason, :type=>"QueryError.Reason", :min_occurs=>0, :max_occurs=>1}, {:name=>:message, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :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=>: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"}, :DatabaseError=>{:fields=>[{:name=>:reason, :type=>"DatabaseError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :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}]}, :LabelAttribute=>{:fields=>[{:name=>:label_attribute_type, :original_name=>"LabelAttribute.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :Label=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"Label.Status", :min_occurs=>0, :max_occurs=>1}, {:name=>:attribute, :type=>"LabelAttribute", :min_occurs=>0, :max_occurs=>1}, {:name=>:label_type, :original_name=>"Label.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :LabelOperation=>{:fields=>[{:name=>:operand, :type=>"Label", :min_occurs=>0, :max_occurs=>1}], :base=>"Operation"}, :LabelPage=>{:fields=>[{:name=>:entries, :type=>"Label", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"NoStatsPage"}, :LabelReturnValue=>{:fields=>[{:name=>:value, :type=>"Label", :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}, :NoStatsPage=>{:fields=>[], :abstract=>true, :base=>"Page"}, :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}, :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}, :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}]}, :"AuthenticationError.Reason"=>{:fields=>[]}, :"AuthorizationError.Reason"=>{:fields=>[]}, :"ClientTermsError.Reason"=>{:fields=>[]}, :"DatabaseError.Reason"=>{:fields=>[]}, :"DateError.Reason"=>{:fields=>[]}, :"DistinctError.Reason"=>{:fields=>[]}, :"EntityCountLimitExceeded.Reason"=>{:fields=>[]}, :"EntityNotFound.Reason"=>{:fields=>[]}, :"IdError.Reason"=>{:fields=>[]}, :"InternalApiError.Reason"=>{:fields=>[]}, :"Label.Status"=>{:fields=>[]}, :"LabelError.Reason"=>{:fields=>[]}, :"NewEntityCreationError.Reason"=>{:fields=>[]}, :"NotEmptyError.Reason"=>{:fields=>[]}, :"NullError.Reason"=>{:fields=>[]}, :"OperationAccessDenied.Reason"=>{:fields=>[]}, :Operator=>{:fields=>[]}, :"OperatorError.Reason"=>{:fields=>[]}, :"PagingError.Reason"=>{:fields=>[]}, :"Predicate.Operator"=>{:fields=>[]}, :"QueryError.Reason"=>{: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=>[]}}
|
16
|
-
LABELSERVICE_NAMESPACES = []
|
17
|
-
|
18
|
-
def self.get_method_signature(method_name)
|
19
|
-
return LABELSERVICE_METHODS[method_name.to_sym]
|
20
|
-
end
|
21
|
-
|
22
|
-
def self.get_type_signature(type_name)
|
23
|
-
return LABELSERVICE_TYPES[type_name.to_sym]
|
24
|
-
end
|
25
|
-
|
26
|
-
def self.get_namespace(index)
|
27
|
-
return LABELSERVICE_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, LabelServiceRegistry)
|
44
|
-
end
|
45
|
-
end
|
46
|
-
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 2017, Google Inc. All Rights Reserved.
|
6
|
-
# License:: Licensed under the Apache License, Version 2.0.
|
7
|
-
#
|
8
|
-
# Code generated by AdsCommon library 0.12.6 on 2017-02-28 08:24:25.
|
9
|
-
|
10
|
-
require 'ads_common/savon_service'
|
11
|
-
require 'adwords_api/v201702/location_criterion_service_registry'
|
12
|
-
|
13
|
-
module AdwordsApi; module V201702; module LocationCriterionService
|
14
|
-
class LocationCriterionService < AdsCommon::SavonService
|
15
|
-
def initialize(config, endpoint)
|
16
|
-
namespace = 'https://adwords.google.com/api/adwords/cm/v201702'
|
17
|
-
super(config, endpoint, namespace, :v201702)
|
18
|
-
end
|
19
|
-
|
20
|
-
def get(*args, &block)
|
21
|
-
return execute_action('get', args, &block)
|
22
|
-
end
|
23
|
-
|
24
|
-
def get_to_xml(*args)
|
25
|
-
return get_soap_xml('get', args)
|
26
|
-
end
|
27
|
-
|
28
|
-
def query(*args, &block)
|
29
|
-
return execute_action('query', args, &block)
|
30
|
-
end
|
31
|
-
|
32
|
-
def query_to_xml(*args)
|
33
|
-
return get_soap_xml('query', args)
|
34
|
-
end
|
35
|
-
|
36
|
-
private
|
37
|
-
|
38
|
-
def get_service_registry()
|
39
|
-
return LocationCriterionServiceRegistry
|
40
|
-
end
|
41
|
-
|
42
|
-
def get_module()
|
43
|
-
return AdwordsApi::V201702::LocationCriterionService
|
44
|
-
end
|
45
|
-
end
|
46
|
-
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 2017, Google Inc. All Rights Reserved.
|
6
|
-
# License:: Licensed under the Apache License, Version 2.0.
|
7
|
-
#
|
8
|
-
# Code generated by AdsCommon library 0.12.6 on 2017-02-28 08:24:25.
|
9
|
-
|
10
|
-
require 'adwords_api/errors'
|
11
|
-
|
12
|
-
module AdwordsApi; module V201702; module LocationCriterionService
|
13
|
-
class LocationCriterionServiceRegistry
|
14
|
-
LOCATIONCRITERIONSERVICE_METHODS = {:get=>{:input=>[{:name=>:selector, :type=>"Selector", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_response", :fields=>[{:name=>:rval, :type=>"LocationCriterion", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :query=>{:input=>[{:name=>:query, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"query_response", :fields=>[{:name=>:rval, :type=>"LocationCriterion", :min_occurs=>0, :max_occurs=>:unbounded}]}}}
|
15
|
-
LOCATIONCRITERIONSERVICE_TYPES = {:AdxError=>{:fields=>[{:name=>:reason, :type=>"AdxError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :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"}, :ClientTermsError=>{:fields=>[{:name=>:reason, :type=>"ClientTermsError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :Criterion=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:type, :type=>"Criterion.Type", :min_occurs=>0, :max_occurs=>1}, {:name=>:criterion_type, :original_name=>"Criterion.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :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}]}, :DistinctError=>{:fields=>[{:name=>:reason, :type=>"DistinctError.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"}, :Keyword=>{:fields=>[{:name=>:text, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:match_type, :type=>"KeywordMatchType", :min_occurs=>0, :max_occurs=>1}], :base=>"Criterion"}, :Location=>{:fields=>[{:name=>:location_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:display_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:targeting_status, :type=>"LocationTargetingStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:parent_locations, :type=>"Location", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Criterion"}, :LocationCriterion=>{:fields=>[{:name=>:location, :type=>"Location", :min_occurs=>0, :max_occurs=>1}, {:name=>:canonical_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:reach, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:locale, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:search_term, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:country_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :LocationCriterionServiceError=>{:fields=>[{:name=>:reason, :type=>"LocationCriterionServiceError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :MobileAppCategory=>{:fields=>[{:name=>:mobile_app_category_id, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:display_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Criterion"}, :MobileApplication=>{:fields=>[{:name=>:app_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:display_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Criterion"}, :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"}, :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}]}, :Placement=>{:fields=>[{:name=>:url, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Criterion"}, :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}]}, :QueryError=>{:fields=>[{:name=>:reason, :type=>"QueryError.Reason", :min_occurs=>0, :max_occurs=>1}, {:name=>:message, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :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"}, :CriterionUserInterest=>{:fields=>[{:name=>:user_interest_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_interest_parent_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_interest_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Criterion"}, :CriterionUserList=>{:fields=>[{:name=>:user_list_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_list_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_list_membership_status, :type=>"CriterionUserList.MembershipStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_list_eligible_for_search, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_list_eligible_for_display, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Criterion"}, :Vertical=>{:fields=>[{:name=>:vertical_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:vertical_parent_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:path, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Criterion"}, :"AdxError.Reason"=>{:fields=>[]}, :"AuthenticationError.Reason"=>{:fields=>[]}, :"AuthorizationError.Reason"=>{:fields=>[]}, :"ClientTermsError.Reason"=>{:fields=>[]}, :"Criterion.Type"=>{:fields=>[]}, :"DatabaseError.Reason"=>{:fields=>[]}, :"DateError.Reason"=>{:fields=>[]}, :"DistinctError.Reason"=>{:fields=>[]}, :"IdError.Reason"=>{:fields=>[]}, :"InternalApiError.Reason"=>{:fields=>[]}, :KeywordMatchType=>{:fields=>[]}, :"LocationCriterionServiceError.Reason"=>{:fields=>[]}, :LocationTargetingStatus=>{:fields=>[]}, :"NotEmptyError.Reason"=>{:fields=>[]}, :"NullError.Reason"=>{:fields=>[]}, :"OperationAccessDenied.Reason"=>{:fields=>[]}, :"OperatorError.Reason"=>{:fields=>[]}, :"Predicate.Operator"=>{:fields=>[]}, :"QueryError.Reason"=>{: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=>[]}, :"CriterionUserList.MembershipStatus"=>{:fields=>[]}}
|
16
|
-
LOCATIONCRITERIONSERVICE_NAMESPACES = []
|
17
|
-
|
18
|
-
def self.get_method_signature(method_name)
|
19
|
-
return LOCATIONCRITERIONSERVICE_METHODS[method_name.to_sym]
|
20
|
-
end
|
21
|
-
|
22
|
-
def self.get_type_signature(type_name)
|
23
|
-
return LOCATIONCRITERIONSERVICE_TYPES[type_name.to_sym]
|
24
|
-
end
|
25
|
-
|
26
|
-
def self.get_namespace(index)
|
27
|
-
return LOCATIONCRITERIONSERVICE_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, LocationCriterionServiceRegistry)
|
44
|
-
end
|
45
|
-
end
|
46
|
-
end; end; end
|
@@ -1,78 +0,0 @@
|
|
1
|
-
# Encoding: utf-8
|
2
|
-
#
|
3
|
-
# This is auto-generated code, changes will be overwritten.
|
4
|
-
#
|
5
|
-
# Copyright:: Copyright 2017, Google Inc. All Rights Reserved.
|
6
|
-
# License:: Licensed under the Apache License, Version 2.0.
|
7
|
-
#
|
8
|
-
# Code generated by AdsCommon library 0.12.6 on 2017-02-28 08:24:26.
|
9
|
-
|
10
|
-
require 'ads_common/savon_service'
|
11
|
-
require 'adwords_api/v201702/managed_customer_service_registry'
|
12
|
-
|
13
|
-
module AdwordsApi; module V201702; module ManagedCustomerService
|
14
|
-
class ManagedCustomerService < AdsCommon::SavonService
|
15
|
-
def initialize(config, endpoint)
|
16
|
-
namespace = 'https://adwords.google.com/api/adwords/mcm/v201702'
|
17
|
-
super(config, endpoint, namespace, :v201702)
|
18
|
-
end
|
19
|
-
|
20
|
-
def get(*args, &block)
|
21
|
-
return execute_action('get', args, &block)
|
22
|
-
end
|
23
|
-
|
24
|
-
def get_to_xml(*args)
|
25
|
-
return get_soap_xml('get', args)
|
26
|
-
end
|
27
|
-
|
28
|
-
def get_pending_invitations(*args, &block)
|
29
|
-
return execute_action('get_pending_invitations', args, &block)
|
30
|
-
end
|
31
|
-
|
32
|
-
def get_pending_invitations_to_xml(*args)
|
33
|
-
return get_soap_xml('get_pending_invitations', args)
|
34
|
-
end
|
35
|
-
|
36
|
-
def mutate(*args, &block)
|
37
|
-
return execute_action('mutate', args, &block)
|
38
|
-
end
|
39
|
-
|
40
|
-
def mutate_to_xml(*args)
|
41
|
-
return get_soap_xml('mutate', args)
|
42
|
-
end
|
43
|
-
|
44
|
-
def mutate_label(*args, &block)
|
45
|
-
return execute_action('mutate_label', args, &block)
|
46
|
-
end
|
47
|
-
|
48
|
-
def mutate_label_to_xml(*args)
|
49
|
-
return get_soap_xml('mutate_label', args)
|
50
|
-
end
|
51
|
-
|
52
|
-
def mutate_link(*args, &block)
|
53
|
-
return execute_action('mutate_link', args, &block)
|
54
|
-
end
|
55
|
-
|
56
|
-
def mutate_link_to_xml(*args)
|
57
|
-
return get_soap_xml('mutate_link', args)
|
58
|
-
end
|
59
|
-
|
60
|
-
def mutate_manager(*args, &block)
|
61
|
-
return execute_action('mutate_manager', args, &block)
|
62
|
-
end
|
63
|
-
|
64
|
-
def mutate_manager_to_xml(*args)
|
65
|
-
return get_soap_xml('mutate_manager', args)
|
66
|
-
end
|
67
|
-
|
68
|
-
private
|
69
|
-
|
70
|
-
def get_service_registry()
|
71
|
-
return ManagedCustomerServiceRegistry
|
72
|
-
end
|
73
|
-
|
74
|
-
def get_module()
|
75
|
-
return AdwordsApi::V201702::ManagedCustomerService
|
76
|
-
end
|
77
|
-
end
|
78
|
-
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 2017, Google Inc. All Rights Reserved.
|
6
|
-
# License:: Licensed under the Apache License, Version 2.0.
|
7
|
-
#
|
8
|
-
# Code generated by AdsCommon library 0.12.6 on 2017-02-28 08:24:26.
|
9
|
-
|
10
|
-
require 'adwords_api/errors'
|
11
|
-
|
12
|
-
module AdwordsApi; module V201702; module ManagedCustomerService
|
13
|
-
class ManagedCustomerServiceRegistry
|
14
|
-
MANAGEDCUSTOMERSERVICE_METHODS = {:get=>{:input=>[{:name=>:service_selector, :type=>"Selector", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_response", :fields=>[{:name=>:rval, :type=>"ManagedCustomerPage", :min_occurs=>0, :max_occurs=>1}]}}, :get_pending_invitations=>{:input=>[{:name=>:selector, :type=>"PendingInvitationSelector", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_pending_invitations_response", :fields=>[{:name=>:rval, :type=>"PendingInvitation", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :mutate=>{:input=>[{:name=>:operations, :type=>"ManagedCustomerOperation", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"mutate_response", :fields=>[{:name=>:rval, :type=>"ManagedCustomerReturnValue", :min_occurs=>0, :max_occurs=>1}]}}, :mutate_label=>{:input=>[{:name=>:operations, :type=>"ManagedCustomerLabelOperation", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"mutate_label_response", :fields=>[{:name=>:rval, :type=>"ManagedCustomerLabelReturnValue", :min_occurs=>0, :max_occurs=>1}]}}, :mutate_link=>{:input=>[{:name=>:operations, :type=>"LinkOperation", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"mutate_link_response", :fields=>[{:name=>:rval, :type=>"MutateLinkResults", :min_occurs=>0, :max_occurs=>1}]}}, :mutate_manager=>{:input=>[{:name=>:operations, :type=>"MoveOperation", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"mutate_manager_response", :fields=>[{:name=>:rval, :type=>"MutateManagerResults", :min_occurs=>0, :max_occurs=>1}]}}}
|
15
|
-
MANAGEDCUSTOMERSERVICE_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}, :DateRange=>{: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}, :FieldPathElement=>{:fields=>[{:name=>:field, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:index, :type=>"int", :min_occurs=>0, :max_occurs=>1}], :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}, :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}, :OrderBy=>{:fields=>[{:name=>:field, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:sort_order, :type=>"SortOrder", :min_occurs=>0, :max_occurs=>1}], :ns=>0}, :Paging=>{:fields=>[{:name=>:start_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:number_results, :type=>"int", :min_occurs=>0, :max_occurs=>1}], :ns=>0}, :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}], :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}, :RejectedError=>{:fields=>[{:name=>:reason, :type=>"RejectedError.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}, :SelectorError=>{:fields=>[{:name=>:reason, :type=>"SelectorError.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=>: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}], :ns=>0}, :StringFormatError=>{:fields=>[{:name=>:reason, :type=>"StringFormatError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :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=>: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, :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}, :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}], :ns=>0}, :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, :ns=>0}, :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, :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}, :"NullError.Reason"=>{:fields=>[], :ns=>0}, :"OperationAccessDenied.Reason"=>{:fields=>[], :ns=>0}, :Operator=>{:fields=>[], :ns=>0}, :"OperatorError.Reason"=>{:fields=>[], :ns=>0}, :"Predicate.Operator"=>{:fields=>[], :ns=>0}, :"QuotaCheckError.Reason"=>{:fields=>[], :ns=>0}, :"RangeError.Reason"=>{:fields=>[], :ns=>0}, :"RateExceededError.Reason"=>{:fields=>[], :ns=>0}, :"ReadOnlyError.Reason"=>{:fields=>[], :ns=>0}, :"RejectedError.Reason"=>{:fields=>[], :ns=>0}, :"RequestError.Reason"=>{:fields=>[], :ns=>0}, :"RequiredError.Reason"=>{:fields=>[], :ns=>0}, :"SelectorError.Reason"=>{:fields=>[], :ns=>0}, :"SizeLimitError.Reason"=>{:fields=>[], :ns=>0}, :SortOrder=>{:fields=>[], :ns=>0}, :"StringFormatError.Reason"=>{:fields=>[], :ns=>0}, :"StringLengthError.Reason"=>{:fields=>[], :ns=>0}, :ManagedCustomerLabel=>{:fields=>[{:name=>:label_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:customer_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :ManagedCustomerLabelOperation=>{:fields=>[{:name=>:operand, :type=>"ManagedCustomerLabel", :min_occurs=>0, :max_occurs=>1}], :base=>"Operation"}, :ManagedCustomerLabelReturnValue=>{:fields=>[{:name=>:value, :type=>"ManagedCustomerLabel", :min_occurs=>0, :max_occurs=>:unbounded}]}, :ManagedCustomerServiceError=>{:fields=>[{:name=>:reason, :type=>"ManagedCustomerServiceError.Reason", :min_occurs=>0, :max_occurs=>1}, {:name=>:customer_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ApiError"}, :PendingInvitationSelector=>{:fields=>[{:name=>:manager_customer_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:client_customer_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}]}, :AccountLabel=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :ManagedCustomerLink=>{:fields=>[{:name=>:manager_customer_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:client_customer_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:link_status, :type=>"LinkStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:pending_descriptive_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_hidden, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :LinkOperation=>{:fields=>[{:name=>:operand, :type=>"ManagedCustomerLink", :min_occurs=>0, :max_occurs=>1}], :base=>"Operation"}, :MoveOperation=>{:fields=>[{:name=>:operand, :type=>"ManagedCustomerLink", :min_occurs=>0, :max_occurs=>1}, {:name=>:old_manager_customer_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :base=>"Operation"}, :MutateLinkResults=>{:fields=>[{:name=>:links, :type=>"ManagedCustomerLink", :min_occurs=>0, :max_occurs=>:unbounded}]}, :MutateManagerResults=>{:fields=>[{:name=>:links, :type=>"ManagedCustomerLink", :min_occurs=>0, :max_occurs=>:unbounded}]}, :ManagedCustomer=>{:fields=>[{:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:customer_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:can_manage_clients, :type=>"boolean", :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=>:test_account, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:account_labels, :type=>"AccountLabel", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:exclude_hidden_accounts, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :ManagedCustomerOperation=>{:fields=>[{:name=>:operand, :type=>"ManagedCustomer", :min_occurs=>0, :max_occurs=>1}], :base=>"Operation"}, :ManagedCustomerPage=>{:fields=>[{:name=>:entries, :type=>"ManagedCustomer", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:links, :type=>"ManagedCustomerLink", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Page"}, :ManagedCustomerReturnValue=>{:fields=>[{:name=>:value, :type=>"ManagedCustomer", :min_occurs=>0, :max_occurs=>:unbounded}]}, :PendingInvitation=>{:fields=>[{:name=>:manager, :type=>"ManagedCustomer", :min_occurs=>0, :max_occurs=>1}, {:name=>:client, :type=>"ManagedCustomer", :min_occurs=>0, :max_occurs=>1}, {:name=>:creation_date, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:expiration_date, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :LinkStatus=>{:fields=>[]}, :"ManagedCustomerServiceError.Reason"=>{:fields=>[]}}
|
16
|
-
MANAGEDCUSTOMERSERVICE_NAMESPACES = ["https://adwords.google.com/api/adwords/cm/v201702"]
|
17
|
-
|
18
|
-
def self.get_method_signature(method_name)
|
19
|
-
return MANAGEDCUSTOMERSERVICE_METHODS[method_name.to_sym]
|
20
|
-
end
|
21
|
-
|
22
|
-
def self.get_type_signature(type_name)
|
23
|
-
return MANAGEDCUSTOMERSERVICE_TYPES[type_name.to_sym]
|
24
|
-
end
|
25
|
-
|
26
|
-
def self.get_namespace(index)
|
27
|
-
return MANAGEDCUSTOMERSERVICE_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, ManagedCustomerServiceRegistry)
|
44
|
-
end
|
45
|
-
end
|
46
|
-
end; end; end
|
@@ -1,54 +0,0 @@
|
|
1
|
-
# Encoding: utf-8
|
2
|
-
#
|
3
|
-
# This is auto-generated code, changes will be overwritten.
|
4
|
-
#
|
5
|
-
# Copyright:: Copyright 2017, Google Inc. All Rights Reserved.
|
6
|
-
# License:: Licensed under the Apache License, Version 2.0.
|
7
|
-
#
|
8
|
-
# Code generated by AdsCommon library 0.12.6 on 2017-02-28 08:24:27.
|
9
|
-
|
10
|
-
require 'ads_common/savon_service'
|
11
|
-
require 'adwords_api/v201702/media_service_registry'
|
12
|
-
|
13
|
-
module AdwordsApi; module V201702; module MediaService
|
14
|
-
class MediaService < AdsCommon::SavonService
|
15
|
-
def initialize(config, endpoint)
|
16
|
-
namespace = 'https://adwords.google.com/api/adwords/cm/v201702'
|
17
|
-
super(config, endpoint, namespace, :v201702)
|
18
|
-
end
|
19
|
-
|
20
|
-
def get(*args, &block)
|
21
|
-
return execute_action('get', args, &block)
|
22
|
-
end
|
23
|
-
|
24
|
-
def get_to_xml(*args)
|
25
|
-
return get_soap_xml('get', args)
|
26
|
-
end
|
27
|
-
|
28
|
-
def query(*args, &block)
|
29
|
-
return execute_action('query', args, &block)
|
30
|
-
end
|
31
|
-
|
32
|
-
def query_to_xml(*args)
|
33
|
-
return get_soap_xml('query', args)
|
34
|
-
end
|
35
|
-
|
36
|
-
def upload(*args, &block)
|
37
|
-
return execute_action('upload', args, &block)
|
38
|
-
end
|
39
|
-
|
40
|
-
def upload_to_xml(*args)
|
41
|
-
return get_soap_xml('upload', args)
|
42
|
-
end
|
43
|
-
|
44
|
-
private
|
45
|
-
|
46
|
-
def get_service_registry()
|
47
|
-
return MediaServiceRegistry
|
48
|
-
end
|
49
|
-
|
50
|
-
def get_module()
|
51
|
-
return AdwordsApi::V201702::MediaService
|
52
|
-
end
|
53
|
-
end
|
54
|
-
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 2017, Google Inc. All Rights Reserved.
|
6
|
-
# License:: Licensed under the Apache License, Version 2.0.
|
7
|
-
#
|
8
|
-
# Code generated by AdsCommon library 0.12.6 on 2017-02-28 08:24:27.
|
9
|
-
|
10
|
-
require 'adwords_api/errors'
|
11
|
-
|
12
|
-
module AdwordsApi; module V201702; module MediaService
|
13
|
-
class MediaServiceRegistry
|
14
|
-
MEDIASERVICE_METHODS = {:get=>{:input=>[{:name=>:service_selector, :type=>"Selector", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_response", :fields=>[{:name=>:rval, :type=>"MediaPage", :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=>"MediaPage", :min_occurs=>0, :max_occurs=>1}]}}, :upload=>{:input=>[{:name=>:media, :type=>"Media", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"upload_response", :fields=>[{:name=>:rval, :type=>"Media", :min_occurs=>0, :max_occurs=>:unbounded}]}}}
|
15
|
-
MEDIASERVICE_TYPES = {:Audio=>{:fields=>[{:name=>:duration_millis, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:streaming_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:ready_to_play_on_the_web, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Media"}, :AudioError=>{:fields=>[{:name=>:reason, :type=>"AudioError.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"}, :ClientTermsError=>{:fields=>[{:name=>:reason, :type=>"ClientTermsError.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}]}, :Dimensions=>{:fields=>[{:name=>:width, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:height, :type=>"int", :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"}, :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"}, :Image=>{:fields=>[{:name=>:data, :type=>"base64Binary", :min_occurs=>0, :max_occurs=>1}], :base=>"Media"}, :ImageError=>{:fields=>[{:name=>:reason, :type=>"ImageError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :InternalApiError=>{:fields=>[{:name=>:reason, :type=>"InternalApiError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :MediaBundle=>{:fields=>[{:name=>:data, :type=>"base64Binary", :min_occurs=>0, :max_occurs=>1}, {:name=>:media_bundle_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:entry_point, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Media"}, :MediaBundleError=>{:fields=>[{:name=>:reason, :type=>"MediaBundleError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :MediaError=>{:fields=>[{:name=>:reason, :type=>"MediaError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :Media_Size_DimensionsMapEntry=>{:fields=>[{:name=>:key, :type=>"Media.Size", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"Dimensions", :min_occurs=>0, :max_occurs=>1}]}, :Media_Size_StringMapEntry=>{:fields=>[{:name=>:key, :type=>"Media.Size", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :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"}, :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}]}, :QueryError=>{:fields=>[{:name=>:reason, :type=>"QueryError.Reason", :min_occurs=>0, :max_occurs=>1}, {:name=>:message, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :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=>: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"}, :Video=>{:fields=>[{:name=>:duration_millis, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:streaming_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:ready_to_play_on_the_web, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:industry_standard_commercial_identifier, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:advertising_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:you_tube_video_id_string, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Media"}, :VideoError=>{:fields=>[{:name=>:reason, :type=>"VideoError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :DatabaseError=>{:fields=>[{:name=>:reason, :type=>"DatabaseError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :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}]}, :Media=>{:fields=>[{:name=>:media_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:type, :type=>"Media.MediaType", :min_occurs=>0, :max_occurs=>1}, {:name=>:reference_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:dimensions, :type=>"Media_Size_DimensionsMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:urls, :type=>"Media_Size_StringMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:mime_type, :type=>"Media.MimeType", :min_occurs=>0, :max_occurs=>1}, {:name=>:source_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:file_size, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:creation_time, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:media_type, :original_name=>"Media.Type", :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :MediaPage=>{:fields=>[{:name=>:entries, :type=>"Media", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:total_num_entries, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :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}]}, :"AudioError.Reason"=>{:fields=>[]}, :"AuthenticationError.Reason"=>{:fields=>[]}, :"AuthorizationError.Reason"=>{:fields=>[]}, :"ClientTermsError.Reason"=>{:fields=>[]}, :"DatabaseError.Reason"=>{:fields=>[]}, :"DistinctError.Reason"=>{:fields=>[]}, :"EntityNotFound.Reason"=>{:fields=>[]}, :"IdError.Reason"=>{:fields=>[]}, :"ImageError.Reason"=>{:fields=>[]}, :"InternalApiError.Reason"=>{:fields=>[]}, :"Media.MediaType"=>{:fields=>[]}, :"Media.MimeType"=>{:fields=>[]}, :"Media.Size"=>{:fields=>[]}, :"MediaBundleError.Reason"=>{:fields=>[]}, :"MediaError.Reason"=>{:fields=>[]}, :"NewEntityCreationError.Reason"=>{:fields=>[]}, :"NotEmptyError.Reason"=>{:fields=>[]}, :"NullError.Reason"=>{:fields=>[]}, :"OperationAccessDenied.Reason"=>{:fields=>[]}, :"OperatorError.Reason"=>{:fields=>[]}, :"Predicate.Operator"=>{:fields=>[]}, :"QueryError.Reason"=>{: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=>[]}, :"VideoError.Reason"=>{:fields=>[]}}
|
16
|
-
MEDIASERVICE_NAMESPACES = []
|
17
|
-
|
18
|
-
def self.get_method_signature(method_name)
|
19
|
-
return MEDIASERVICE_METHODS[method_name.to_sym]
|
20
|
-
end
|
21
|
-
|
22
|
-
def self.get_type_signature(type_name)
|
23
|
-
return MEDIASERVICE_TYPES[type_name.to_sym]
|
24
|
-
end
|
25
|
-
|
26
|
-
def self.get_namespace(index)
|
27
|
-
return MEDIASERVICE_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, MediaServiceRegistry)
|
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 2017, Google Inc. All Rights Reserved.
|
6
|
-
# License:: Licensed under the Apache License, Version 2.0.
|
7
|
-
#
|
8
|
-
# Code generated by AdsCommon library 0.12.6 on 2017-02-28 08:24:29.
|
9
|
-
|
10
|
-
require 'ads_common/savon_service'
|
11
|
-
require 'adwords_api/v201702/offline_call_conversion_feed_service_registry'
|
12
|
-
|
13
|
-
module AdwordsApi; module V201702; module OfflineCallConversionFeedService
|
14
|
-
class OfflineCallConversionFeedService < AdsCommon::SavonService
|
15
|
-
def initialize(config, endpoint)
|
16
|
-
namespace = 'https://adwords.google.com/api/adwords/cm/v201702'
|
17
|
-
super(config, endpoint, namespace, :v201702)
|
18
|
-
end
|
19
|
-
|
20
|
-
def mutate(*args, &block)
|
21
|
-
return execute_action('mutate', args, &block)
|
22
|
-
end
|
23
|
-
|
24
|
-
def mutate_to_xml(*args)
|
25
|
-
return get_soap_xml('mutate', args)
|
26
|
-
end
|
27
|
-
|
28
|
-
private
|
29
|
-
|
30
|
-
def get_service_registry()
|
31
|
-
return OfflineCallConversionFeedServiceRegistry
|
32
|
-
end
|
33
|
-
|
34
|
-
def get_module()
|
35
|
-
return AdwordsApi::V201702::OfflineCallConversionFeedService
|
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 2017, Google Inc. All Rights Reserved.
|
6
|
-
# License:: Licensed under the Apache License, Version 2.0.
|
7
|
-
#
|
8
|
-
# Code generated by AdsCommon library 0.12.6 on 2017-02-28 08:24:29.
|
9
|
-
|
10
|
-
require 'adwords_api/errors'
|
11
|
-
|
12
|
-
module AdwordsApi; module V201702; module OfflineCallConversionFeedService
|
13
|
-
class OfflineCallConversionFeedServiceRegistry
|
14
|
-
OFFLINECALLCONVERSIONFEEDSERVICE_METHODS = {:mutate=>{:input=>[{:name=>:operations, :type=>"OfflineCallConversionFeedOperation", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"mutate_response", :fields=>[{:name=>:rval, :type=>"OfflineCallConversionFeedReturnValue", :min_occurs=>0, :max_occurs=>1}]}}}
|
15
|
-
OFFLINECALLCONVERSIONFEEDSERVICE_TYPES = {: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"}, :CollectionSizeError=>{:fields=>[{:name=>:reason, :type=>"CollectionSizeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CurrencyCodeError=>{:fields=>[{:name=>:reason, :type=>"CurrencyCodeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :DateError=>{:fields=>[{:name=>:reason, :type=>"DateError.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"}, :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"}, :OfflineCallConversionError=>{:fields=>[{:name=>:reason, :type=>"OfflineCallConversionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :OfflineCallConversionFeed=>{:fields=>[{:name=>:caller_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:call_start_time, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:conversion_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:conversion_time, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:conversion_value, :type=>"double", :min_occurs=>0, :max_occurs=>1}, {:name=>:conversion_currency_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :OfflineCallConversionFeedOperation=>{:fields=>[{:name=>:operand, :type=>"OfflineCallConversionFeed", :min_occurs=>0, :max_occurs=>1}], :base=>"Operation"}, :OfflineConversionError=>{:fields=>[{:name=>:reason, :type=>"OfflineConversionError.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"}, :PagingError=>{:fields=>[{:name=>:reason, :type=>"PagingError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :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"}, :RegionCodeError=>{:fields=>[{:name=>:reason, :type=>"RegionCodeError.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"}, :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"}, :DatabaseError=>{:fields=>[{:name=>:reason, :type=>"DatabaseError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :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}]}, :OfflineCallConversionFeedReturnValue=>{:fields=>[{:name=>:value, :type=>"OfflineCallConversionFeed", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:partial_failure_errors, :type=>"ApiError", :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}, :"AuthenticationError.Reason"=>{:fields=>[]}, :"AuthorizationError.Reason"=>{:fields=>[]}, :"ClientTermsError.Reason"=>{:fields=>[]}, :"CollectionSizeError.Reason"=>{:fields=>[]}, :"CurrencyCodeError.Reason"=>{:fields=>[]}, :"DatabaseError.Reason"=>{:fields=>[]}, :"DateError.Reason"=>{:fields=>[]}, :"DistinctError.Reason"=>{:fields=>[]}, :"EntityCountLimitExceeded.Reason"=>{:fields=>[]}, :"EntityNotFound.Reason"=>{:fields=>[]}, :"IdError.Reason"=>{:fields=>[]}, :"InternalApiError.Reason"=>{:fields=>[]}, :"NotEmptyError.Reason"=>{:fields=>[]}, :"NullError.Reason"=>{:fields=>[]}, :"OfflineCallConversionError.Reason"=>{:fields=>[]}, :"OfflineConversionError.Reason"=>{:fields=>[]}, :"OperationAccessDenied.Reason"=>{:fields=>[]}, :Operator=>{:fields=>[]}, :"OperatorError.Reason"=>{:fields=>[]}, :"PagingError.Reason"=>{:fields=>[]}, :"QuotaCheckError.Reason"=>{:fields=>[]}, :"RangeError.Reason"=>{:fields=>[]}, :"RateExceededError.Reason"=>{:fields=>[]}, :"ReadOnlyError.Reason"=>{:fields=>[]}, :"RegionCodeError.Reason"=>{:fields=>[]}, :"RejectedError.Reason"=>{:fields=>[]}, :"RequestError.Reason"=>{:fields=>[]}, :"RequiredError.Reason"=>{:fields=>[]}, :"SizeLimitError.Reason"=>{:fields=>[]}, :"StringFormatError.Reason"=>{:fields=>[]}, :"StringLengthError.Reason"=>{:fields=>[]}}
|
16
|
-
OFFLINECALLCONVERSIONFEEDSERVICE_NAMESPACES = []
|
17
|
-
|
18
|
-
def self.get_method_signature(method_name)
|
19
|
-
return OFFLINECALLCONVERSIONFEEDSERVICE_METHODS[method_name.to_sym]
|
20
|
-
end
|
21
|
-
|
22
|
-
def self.get_type_signature(type_name)
|
23
|
-
return OFFLINECALLCONVERSIONFEEDSERVICE_TYPES[type_name.to_sym]
|
24
|
-
end
|
25
|
-
|
26
|
-
def self.get_namespace(index)
|
27
|
-
return OFFLINECALLCONVERSIONFEEDSERVICE_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, OfflineCallConversionFeedServiceRegistry)
|
44
|
-
end
|
45
|
-
end
|
46
|
-
end; end; end
|