google-adwords-api 0.25.1 → 1.0.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 +10 -0
- data/README.md +0 -0
- data/adwords_api.yml +0 -3
- data/lib/adwords_api.rb +0 -0
- data/lib/adwords_api/api_config.rb +11 -112
- 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/report_header_handler.rb +0 -0
- data/lib/adwords_api/report_stream.rb +7 -1
- data/lib/adwords_api/report_utils.rb +1 -2
- data/lib/adwords_api/utils.rb +0 -0
- data/lib/adwords_api/utils_reporter.rb +0 -0
- data/lib/adwords_api/v201702/account_label_service.rb +0 -0
- data/lib/adwords_api/v201702/account_label_service_registry.rb +0 -0
- data/lib/adwords_api/v201702/ad_customizer_feed_service.rb +0 -0
- data/lib/adwords_api/v201702/ad_customizer_feed_service_registry.rb +0 -0
- data/lib/adwords_api/v201702/ad_group_ad_service.rb +0 -0
- data/lib/adwords_api/v201702/ad_group_ad_service_registry.rb +0 -0
- data/lib/adwords_api/v201702/ad_group_bid_modifier_service.rb +0 -0
- data/lib/adwords_api/v201702/ad_group_bid_modifier_service_registry.rb +0 -0
- data/lib/adwords_api/v201702/ad_group_criterion_service.rb +0 -0
- data/lib/adwords_api/v201702/ad_group_criterion_service_registry.rb +0 -0
- data/lib/adwords_api/v201702/ad_group_extension_setting_service.rb +0 -0
- data/lib/adwords_api/v201702/ad_group_extension_setting_service_registry.rb +0 -0
- data/lib/adwords_api/v201702/ad_group_feed_service.rb +0 -0
- data/lib/adwords_api/v201702/ad_group_feed_service_registry.rb +0 -0
- data/lib/adwords_api/v201702/ad_group_service.rb +0 -0
- data/lib/adwords_api/v201702/ad_group_service_registry.rb +0 -0
- data/lib/adwords_api/v201702/ad_param_service.rb +0 -0
- data/lib/adwords_api/v201702/ad_param_service_registry.rb +0 -0
- data/lib/adwords_api/v201702/adwords_user_list_service.rb +0 -0
- data/lib/adwords_api/v201702/adwords_user_list_service_registry.rb +0 -0
- data/lib/adwords_api/v201702/batch_job_service.rb +0 -0
- data/lib/adwords_api/v201702/batch_job_service_registry.rb +0 -0
- data/lib/adwords_api/v201702/bidding_strategy_service.rb +0 -0
- data/lib/adwords_api/v201702/bidding_strategy_service_registry.rb +0 -0
- data/lib/adwords_api/v201702/budget_order_service.rb +0 -0
- data/lib/adwords_api/v201702/budget_order_service_registry.rb +0 -0
- data/lib/adwords_api/v201702/budget_service.rb +0 -0
- data/lib/adwords_api/v201702/budget_service_registry.rb +0 -0
- data/lib/adwords_api/v201702/campaign_criterion_service.rb +0 -0
- data/lib/adwords_api/v201702/campaign_criterion_service_registry.rb +0 -0
- data/lib/adwords_api/v201702/campaign_extension_setting_service.rb +0 -0
- data/lib/adwords_api/v201702/campaign_extension_setting_service_registry.rb +0 -0
- data/lib/adwords_api/v201702/campaign_feed_service.rb +0 -0
- data/lib/adwords_api/v201702/campaign_feed_service_registry.rb +0 -0
- data/lib/adwords_api/v201702/campaign_service.rb +0 -0
- data/lib/adwords_api/v201702/campaign_service_registry.rb +0 -0
- data/lib/adwords_api/v201702/campaign_shared_set_service.rb +0 -0
- data/lib/adwords_api/v201702/campaign_shared_set_service_registry.rb +0 -0
- data/lib/adwords_api/v201702/constant_data_service.rb +0 -0
- data/lib/adwords_api/v201702/constant_data_service_registry.rb +0 -0
- data/lib/adwords_api/v201702/conversion_tracker_service.rb +0 -0
- data/lib/adwords_api/v201702/conversion_tracker_service_registry.rb +0 -0
- data/lib/adwords_api/v201702/customer_extension_setting_service.rb +0 -0
- data/lib/adwords_api/v201702/customer_extension_setting_service_registry.rb +0 -0
- data/lib/adwords_api/v201702/customer_feed_service.rb +0 -0
- data/lib/adwords_api/v201702/customer_feed_service_registry.rb +0 -0
- data/lib/adwords_api/v201702/customer_service.rb +0 -0
- data/lib/adwords_api/v201702/customer_service_registry.rb +0 -0
- data/lib/adwords_api/v201702/customer_sync_service.rb +0 -0
- data/lib/adwords_api/v201702/customer_sync_service_registry.rb +0 -0
- data/lib/adwords_api/v201702/data_service.rb +0 -0
- data/lib/adwords_api/v201702/data_service_registry.rb +0 -0
- data/lib/adwords_api/v201702/draft_async_error_service.rb +0 -0
- data/lib/adwords_api/v201702/draft_async_error_service_registry.rb +0 -0
- data/lib/adwords_api/v201702/draft_service.rb +0 -0
- data/lib/adwords_api/v201702/draft_service_registry.rb +0 -0
- data/lib/adwords_api/v201702/feed_item_service.rb +0 -0
- data/lib/adwords_api/v201702/feed_item_service_registry.rb +0 -0
- data/lib/adwords_api/v201702/feed_mapping_service.rb +0 -0
- data/lib/adwords_api/v201702/feed_mapping_service_registry.rb +0 -0
- data/lib/adwords_api/v201702/feed_service.rb +0 -0
- data/lib/adwords_api/v201702/feed_service_registry.rb +0 -0
- data/lib/adwords_api/v201702/label_service.rb +0 -0
- data/lib/adwords_api/v201702/label_service_registry.rb +0 -0
- data/lib/adwords_api/v201702/location_criterion_service.rb +0 -0
- data/lib/adwords_api/v201702/location_criterion_service_registry.rb +0 -0
- data/lib/adwords_api/v201702/managed_customer_service.rb +0 -0
- data/lib/adwords_api/v201702/managed_customer_service_registry.rb +0 -0
- data/lib/adwords_api/v201702/media_service.rb +0 -0
- data/lib/adwords_api/v201702/media_service_registry.rb +0 -0
- data/lib/adwords_api/v201702/offline_call_conversion_feed_service.rb +0 -0
- data/lib/adwords_api/v201702/offline_call_conversion_feed_service_registry.rb +0 -0
- data/lib/adwords_api/v201702/offline_conversion_feed_service.rb +0 -0
- data/lib/adwords_api/v201702/offline_conversion_feed_service_registry.rb +0 -0
- data/lib/adwords_api/v201702/report_definition_service.rb +0 -0
- data/lib/adwords_api/v201702/report_definition_service_registry.rb +0 -0
- data/lib/adwords_api/v201702/shared_criterion_service.rb +0 -0
- data/lib/adwords_api/v201702/shared_criterion_service_registry.rb +0 -0
- data/lib/adwords_api/v201702/shared_set_service.rb +0 -0
- data/lib/adwords_api/v201702/shared_set_service_registry.rb +0 -0
- data/lib/adwords_api/v201702/targeting_idea_service.rb +0 -0
- data/lib/adwords_api/v201702/targeting_idea_service_registry.rb +0 -0
- data/lib/adwords_api/v201702/traffic_estimator_service.rb +0 -0
- data/lib/adwords_api/v201702/traffic_estimator_service_registry.rb +0 -0
- data/lib/adwords_api/v201702/trial_async_error_service.rb +0 -0
- data/lib/adwords_api/v201702/trial_async_error_service_registry.rb +0 -0
- data/lib/adwords_api/v201702/trial_service.rb +0 -0
- data/lib/adwords_api/v201702/trial_service_registry.rb +0 -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/version.rb +1 -1
- metadata +6 -96
- data/lib/adwords_api/v201609/account_label_service.rb +0 -46
- data/lib/adwords_api/v201609/account_label_service_registry.rb +0 -46
- data/lib/adwords_api/v201609/ad_customizer_feed_service.rb +0 -46
- data/lib/adwords_api/v201609/ad_customizer_feed_service_registry.rb +0 -46
- data/lib/adwords_api/v201609/ad_group_ad_service.rb +0 -70
- data/lib/adwords_api/v201609/ad_group_ad_service_registry.rb +0 -46
- data/lib/adwords_api/v201609/ad_group_bid_modifier_service.rb +0 -54
- data/lib/adwords_api/v201609/ad_group_bid_modifier_service_registry.rb +0 -46
- data/lib/adwords_api/v201609/ad_group_criterion_service.rb +0 -62
- data/lib/adwords_api/v201609/ad_group_criterion_service_registry.rb +0 -46
- data/lib/adwords_api/v201609/ad_group_extension_setting_service.rb +0 -54
- data/lib/adwords_api/v201609/ad_group_extension_setting_service_registry.rb +0 -46
- data/lib/adwords_api/v201609/ad_group_feed_service.rb +0 -54
- data/lib/adwords_api/v201609/ad_group_feed_service_registry.rb +0 -46
- data/lib/adwords_api/v201609/ad_group_service.rb +0 -62
- data/lib/adwords_api/v201609/ad_group_service_registry.rb +0 -46
- data/lib/adwords_api/v201609/ad_param_service.rb +0 -46
- data/lib/adwords_api/v201609/ad_param_service_registry.rb +0 -46
- data/lib/adwords_api/v201609/adwords_user_list_service.rb +0 -62
- data/lib/adwords_api/v201609/adwords_user_list_service_registry.rb +0 -46
- data/lib/adwords_api/v201609/batch_job_service.rb +0 -54
- data/lib/adwords_api/v201609/batch_job_service_registry.rb +0 -46
- data/lib/adwords_api/v201609/bidding_strategy_service.rb +0 -54
- data/lib/adwords_api/v201609/bidding_strategy_service_registry.rb +0 -46
- data/lib/adwords_api/v201609/budget_order_service.rb +0 -54
- data/lib/adwords_api/v201609/budget_order_service_registry.rb +0 -46
- data/lib/adwords_api/v201609/budget_service.rb +0 -54
- data/lib/adwords_api/v201609/budget_service_registry.rb +0 -46
- data/lib/adwords_api/v201609/campaign_criterion_service.rb +0 -54
- data/lib/adwords_api/v201609/campaign_criterion_service_registry.rb +0 -46
- data/lib/adwords_api/v201609/campaign_extension_setting_service.rb +0 -54
- data/lib/adwords_api/v201609/campaign_extension_setting_service_registry.rb +0 -46
- data/lib/adwords_api/v201609/campaign_feed_service.rb +0 -54
- data/lib/adwords_api/v201609/campaign_feed_service_registry.rb +0 -46
- data/lib/adwords_api/v201609/campaign_service.rb +0 -62
- data/lib/adwords_api/v201609/campaign_service_registry.rb +0 -46
- data/lib/adwords_api/v201609/campaign_shared_set_service.rb +0 -54
- data/lib/adwords_api/v201609/campaign_shared_set_service_registry.rb +0 -46
- data/lib/adwords_api/v201609/constant_data_service.rb +0 -110
- data/lib/adwords_api/v201609/constant_data_service_registry.rb +0 -46
- data/lib/adwords_api/v201609/conversion_tracker_service.rb +0 -54
- data/lib/adwords_api/v201609/conversion_tracker_service_registry.rb +0 -46
- data/lib/adwords_api/v201609/customer_extension_setting_service.rb +0 -54
- data/lib/adwords_api/v201609/customer_extension_setting_service_registry.rb +0 -46
- data/lib/adwords_api/v201609/customer_feed_service.rb +0 -54
- data/lib/adwords_api/v201609/customer_feed_service_registry.rb +0 -46
- data/lib/adwords_api/v201609/customer_service.rb +0 -62
- data/lib/adwords_api/v201609/customer_service_registry.rb +0 -46
- data/lib/adwords_api/v201609/customer_sync_service.rb +0 -38
- data/lib/adwords_api/v201609/customer_sync_service_registry.rb +0 -47
- data/lib/adwords_api/v201609/data_service.rb +0 -94
- data/lib/adwords_api/v201609/data_service_registry.rb +0 -46
- data/lib/adwords_api/v201609/draft_async_error_service.rb +0 -46
- data/lib/adwords_api/v201609/draft_async_error_service_registry.rb +0 -46
- data/lib/adwords_api/v201609/draft_service.rb +0 -54
- data/lib/adwords_api/v201609/draft_service_registry.rb +0 -46
- data/lib/adwords_api/v201609/feed_item_service.rb +0 -54
- data/lib/adwords_api/v201609/feed_item_service_registry.rb +0 -46
- data/lib/adwords_api/v201609/feed_mapping_service.rb +0 -54
- data/lib/adwords_api/v201609/feed_mapping_service_registry.rb +0 -46
- data/lib/adwords_api/v201609/feed_service.rb +0 -54
- data/lib/adwords_api/v201609/feed_service_registry.rb +0 -46
- data/lib/adwords_api/v201609/label_service.rb +0 -54
- data/lib/adwords_api/v201609/label_service_registry.rb +0 -46
- data/lib/adwords_api/v201609/location_criterion_service.rb +0 -46
- data/lib/adwords_api/v201609/location_criterion_service_registry.rb +0 -46
- data/lib/adwords_api/v201609/managed_customer_service.rb +0 -78
- data/lib/adwords_api/v201609/managed_customer_service_registry.rb +0 -46
- data/lib/adwords_api/v201609/media_service.rb +0 -54
- data/lib/adwords_api/v201609/media_service_registry.rb +0 -46
- data/lib/adwords_api/v201609/offline_call_conversion_feed_service.rb +0 -38
- data/lib/adwords_api/v201609/offline_call_conversion_feed_service_registry.rb +0 -46
- data/lib/adwords_api/v201609/offline_conversion_feed_service.rb +0 -38
- data/lib/adwords_api/v201609/offline_conversion_feed_service_registry.rb +0 -46
- data/lib/adwords_api/v201609/report_definition_service.rb +0 -38
- data/lib/adwords_api/v201609/report_definition_service_registry.rb +0 -46
- data/lib/adwords_api/v201609/shared_criterion_service.rb +0 -54
- data/lib/adwords_api/v201609/shared_criterion_service_registry.rb +0 -46
- data/lib/adwords_api/v201609/shared_set_service.rb +0 -54
- data/lib/adwords_api/v201609/shared_set_service_registry.rb +0 -46
- data/lib/adwords_api/v201609/targeting_idea_service.rb +0 -38
- data/lib/adwords_api/v201609/targeting_idea_service_registry.rb +0 -46
- data/lib/adwords_api/v201609/traffic_estimator_service.rb +0 -38
- data/lib/adwords_api/v201609/traffic_estimator_service_registry.rb +0 -46
- data/lib/adwords_api/v201609/trial_async_error_service.rb +0 -46
- data/lib/adwords_api/v201609/trial_async_error_service_registry.rb +0 -46
- data/lib/adwords_api/v201609/trial_service.rb +0 -54
- data/lib/adwords_api/v201609/trial_service_registry.rb +0 -46
- data/test/suite_unittests.rb +0 -32
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f83d7759744e0257f1128ff6c29c4b3c5a0581ee
|
4
|
+
data.tar.gz: 24382283437b1625adf05008029ead94f9516ef5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2a5a291c1709cd7e5b7e87da501a36414d336fe34acd1ce6009e57c949b9f86898d1097d2994a650903099d393afbb238ef1fc7f235ded35643d393d3673282
|
7
|
+
data.tar.gz: e6ef2f1ac91de2409449e5a57f59ebd2219cb2c412eb7600e90e1d9f2e279b1427566fd71aa90ce4b527c2869f1fe8f8b93cf20138aabf94b0ee067c0445c99b
|
data/COPYING
CHANGED
File without changes
|
data/ChangeLog
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
1.0.0:
|
2
|
+
- Major version bump. The library has been stable and feature complete for
|
3
|
+
some time, and this is more accurately reflected by this version number.
|
4
|
+
- Remove deprecated API version v201609.
|
5
|
+
- No longer include test files in the built gem.
|
6
|
+
- Fixed potential issue where ReportStream could not split sometimes when a
|
7
|
+
unicode character was returned across separate batches.
|
8
|
+
- Removing support for multiple environments.
|
9
|
+
- Require google-ads-common 1.0.0 or later from now on.
|
10
|
+
|
1
11
|
0.25.1:
|
2
12
|
- Support and examples for v201708.
|
3
13
|
|
data/README.md
CHANGED
File without changes
|
data/adwords_api.yml
CHANGED
@@ -36,9 +36,6 @@
|
|
36
36
|
:developer_token: INSERT_YOUR_DEVELOPER_TOKEN_HERE
|
37
37
|
:client_customer_id: INSERT_YOUR_CLIENT_CUSTOMER_ID_HERE
|
38
38
|
:user_agent: INSERT_YOUR_USER_AGENT_HERE
|
39
|
-
:service:
|
40
|
-
# Only production environment is available now, see: http://goo.gl/Plu3o
|
41
|
-
:environment: PRODUCTION
|
42
39
|
:connection:
|
43
40
|
# Enable to request all responses to be compressed.
|
44
41
|
:enable_gzip: false
|
data/lib/adwords_api.rb
CHANGED
File without changes
|
@@ -34,7 +34,6 @@ module AdwordsApi
|
|
34
34
|
|
35
35
|
# Set defaults
|
36
36
|
DEFAULT_VERSION = :v201708
|
37
|
-
DEFAULT_ENVIRONMENT = :PRODUCTION
|
38
37
|
LATEST_VERSION = :v201708
|
39
38
|
|
40
39
|
# Set other constants
|
@@ -43,52 +42,6 @@ module AdwordsApi
|
|
43
42
|
|
44
43
|
# Configure the services available to each version
|
45
44
|
@@service_config = {
|
46
|
-
:v201609 => [
|
47
|
-
:AccountLabelService,
|
48
|
-
:AdCustomizerFeedService,
|
49
|
-
:AdGroupAdService,
|
50
|
-
:AdGroupBidModifierService,
|
51
|
-
:AdGroupCriterionService,
|
52
|
-
:AdGroupExtensionSettingService,
|
53
|
-
:AdGroupFeedService,
|
54
|
-
:AdGroupService,
|
55
|
-
:AdParamService,
|
56
|
-
:AdwordsUserListService,
|
57
|
-
:BatchJobService,
|
58
|
-
:BiddingStrategyService,
|
59
|
-
:BudgetOrderService,
|
60
|
-
:BudgetService,
|
61
|
-
:CampaignCriterionService,
|
62
|
-
:CampaignExtensionSettingService,
|
63
|
-
:CampaignFeedService,
|
64
|
-
:CampaignService,
|
65
|
-
:CampaignSharedSetService,
|
66
|
-
:ConstantDataService,
|
67
|
-
:ConversionTrackerService,
|
68
|
-
:CustomerExtensionSettingService,
|
69
|
-
:CustomerFeedService,
|
70
|
-
:CustomerService,
|
71
|
-
:CustomerSyncService,
|
72
|
-
:DataService,
|
73
|
-
:DraftService,
|
74
|
-
:DraftAsyncErrorService,
|
75
|
-
:FeedItemService,
|
76
|
-
:FeedMappingService,
|
77
|
-
:FeedService,
|
78
|
-
:LabelService,
|
79
|
-
:LocationCriterionService,
|
80
|
-
:ManagedCustomerService,
|
81
|
-
:MediaService,
|
82
|
-
:OfflineCallConversionFeedService,
|
83
|
-
:OfflineConversionFeedService,
|
84
|
-
:ReportDefinitionService,
|
85
|
-
:SharedCriterionService,
|
86
|
-
:SharedSetService,
|
87
|
-
:TargetingIdeaService,
|
88
|
-
:TrafficEstimatorService,
|
89
|
-
:TrialService,
|
90
|
-
:TrialAsyncErrorService
|
91
|
-
],
|
92
45
|
:v201702 => [
|
93
46
|
:AccountLabelService,
|
94
47
|
:AdCustomizerFeedService,
|
@@ -236,66 +189,18 @@ module AdwordsApi
|
|
236
189
|
]
|
237
190
|
}
|
238
191
|
|
239
|
-
# Configure the
|
240
|
-
@@
|
241
|
-
:
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
:v201705 => 'https://adwords.google.com/api/adwords/',
|
247
|
-
:v201708 => 'https://adwords.google.com/api/adwords/'
|
248
|
-
}
|
192
|
+
# Configure the base URL for each version and scope.
|
193
|
+
@@config = {
|
194
|
+
:oauth_scope => 'https://www.googleapis.com/auth/adwords',
|
195
|
+
:header_ns => 'https://adwords.google.com/api/adwords/cm/',
|
196
|
+
:v201702 => 'https://adwords.google.com/api/adwords/',
|
197
|
+
:v201705 => 'https://adwords.google.com/api/adwords/',
|
198
|
+
:v201708 => 'https://adwords.google.com/api/adwords/'
|
249
199
|
}
|
250
200
|
|
251
201
|
# Configure the subdirectories for each version / service pair.
|
252
202
|
# A missing pair means that only the base URL is used.
|
253
203
|
@@subdir_config = {
|
254
|
-
# v201609
|
255
|
-
[:v201609, :AccountLabelService] => 'mcm/',
|
256
|
-
[:v201609, :AdCustomizerFeedService] => 'cm/',
|
257
|
-
[:v201609, :AdGroupAdService] => 'cm/',
|
258
|
-
[:v201609, :AdGroupBidModifierService] => 'cm/',
|
259
|
-
[:v201609, :AdGroupCriterionService] => 'cm/',
|
260
|
-
[:v201609, :AdGroupExtensionSettingService] => 'cm/',
|
261
|
-
[:v201609, :AdGroupFeedService] => 'cm/',
|
262
|
-
[:v201609, :AdGroupService] => 'cm/',
|
263
|
-
[:v201609, :AdParamService] => 'cm/',
|
264
|
-
[:v201609, :BatchJobService] => 'cm/',
|
265
|
-
[:v201609, :BudgetOrderService] => 'billing/',
|
266
|
-
[:v201609, :CampaignCriterionService] => 'cm/',
|
267
|
-
[:v201609, :CampaignExtensionSettingService] => 'cm/',
|
268
|
-
[:v201609, :CampaignFeedService] => 'cm/',
|
269
|
-
[:v201609, :CampaignService] => 'cm/',
|
270
|
-
[:v201609, :CampaignSharedSetService] => 'cm/',
|
271
|
-
[:v201609, :ConstantDataService] => 'cm/',
|
272
|
-
[:v201609, :ConversionTrackerService] => 'cm/',
|
273
|
-
[:v201609, :CustomerExtensionSettingService] => 'cm/',
|
274
|
-
[:v201609, :CustomerSyncService] => 'ch/',
|
275
|
-
[:v201609, :DataService] => 'cm/',
|
276
|
-
[:v201609, :FeedItemService] => 'cm/',
|
277
|
-
[:v201609, :FeedMappingService] => 'cm/',
|
278
|
-
[:v201609, :FeedService] => 'cm/',
|
279
|
-
[:v201609, :LocationCriterionService] => 'cm/',
|
280
|
-
[:v201609, :MediaService] => 'cm/',
|
281
|
-
[:v201609, :OfflineCallConversionFeedService] => 'cm/',
|
282
|
-
[:v201609, :OfflineConversionFeedService] => 'cm/',
|
283
|
-
[:v201609, :ReportDefinitionService] => 'cm/',
|
284
|
-
[:v201609, :SharedCriterionService] => 'cm/',
|
285
|
-
[:v201609, :SharedSetService] => 'cm/',
|
286
|
-
[:v201609, :TargetingIdeaService] => 'o/',
|
287
|
-
[:v201609, :TrafficEstimatorService] => 'o/',
|
288
|
-
[:v201609, :ManagedCustomerService] => 'mcm/',
|
289
|
-
[:v201609, :CustomerService] => 'mcm/',
|
290
|
-
[:v201609, :CustomerFeedService] => 'cm/',
|
291
|
-
[:v201609, :BudgetService] => 'cm/',
|
292
|
-
[:v201609, :BiddingStrategyService] => 'cm/',
|
293
|
-
[:v201609, :AdwordsUserListService] => 'rm/',
|
294
|
-
[:v201609, :LabelService] => 'cm/',
|
295
|
-
[:v201609, :DraftService] => 'cm/',
|
296
|
-
[:v201609, :DraftAsyncErrorService] => 'cm/',
|
297
|
-
[:v201609, :TrialService] => 'cm/',
|
298
|
-
[:v201609, :TrialAsyncErrorService] => 'cm/',
|
299
204
|
# v201702
|
300
205
|
[:v201702, :AccountLabelService] => 'mcm/',
|
301
206
|
[:v201702, :AdCustomizerFeedService] => 'cm/',
|
@@ -447,10 +352,6 @@ module AdwordsApi
|
|
447
352
|
DEFAULT_VERSION
|
448
353
|
end
|
449
354
|
|
450
|
-
def self.default_environment
|
451
|
-
DEFAULT_ENVIRONMENT
|
452
|
-
end
|
453
|
-
|
454
355
|
def self.latest_version
|
455
356
|
LATEST_VERSION
|
456
357
|
end
|
@@ -463,9 +364,8 @@ module AdwordsApi
|
|
463
364
|
@@service_config
|
464
365
|
end
|
465
366
|
|
466
|
-
def self.
|
467
|
-
|
468
|
-
@@environment_config[environment][key] : nil
|
367
|
+
def self.config(key)
|
368
|
+
@@config[key]
|
469
369
|
end
|
470
370
|
|
471
371
|
def self.subdir_config
|
@@ -483,14 +383,13 @@ module AdwordsApi
|
|
483
383
|
# Get the download URL for Ad Hoc reports.
|
484
384
|
#
|
485
385
|
# Args:
|
486
|
-
# - environment: the service environment to be used
|
487
386
|
# - version: the API version (as a symbol)
|
488
387
|
#
|
489
388
|
# Returns:
|
490
389
|
# - The endpoint URL (as a string)
|
491
390
|
#
|
492
|
-
def self.adhoc_report_download_url(
|
493
|
-
base = get_wsdl_base(
|
391
|
+
def self.adhoc_report_download_url(version)
|
392
|
+
base = get_wsdl_base(version)
|
494
393
|
if base
|
495
394
|
base += 'reportdownload/%s' % version.to_s
|
496
395
|
end
|
File without changes
|
File without changes
|
data/lib/adwords_api/errors.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
@@ -51,8 +51,14 @@ module AdwordsApi
|
|
51
51
|
leftover_data = ''
|
52
52
|
@report_utils.send(method, *args) do |batch|
|
53
53
|
data_to_process = leftover_data + batch
|
54
|
+
leftover_data = ''
|
55
|
+
while !data_to_process.valid_encoding?
|
56
|
+
leftover_data = data_to_process[-1] + leftover_data
|
57
|
+
data_to_process = data_to_process[0, data_to_process.length - 1]
|
58
|
+
end
|
54
59
|
lines = data_to_process.each_line.map {|line| line}
|
55
|
-
|
60
|
+
remainder = lines.pop
|
61
|
+
leftover_data = remainder + leftover_data unless remainder.nil?
|
56
62
|
lines.each do |line|
|
57
63
|
yield line.chomp
|
58
64
|
end
|
@@ -219,8 +219,7 @@ module AdwordsApi
|
|
219
219
|
# Makes request and AdHoc service and returns response.
|
220
220
|
def make_adhoc_request(data, cid, &block)
|
221
221
|
@api.utils_reporter.report_utils_used()
|
222
|
-
url = @api.api_config.adhoc_report_download_url(
|
223
|
-
@api.config.read('service.environment'), @version)
|
222
|
+
url = @api.api_config.adhoc_report_download_url(@version)
|
224
223
|
headers = get_report_request_headers(url, cid)
|
225
224
|
log_request(url, headers, data)
|
226
225
|
# A given block indicates that we should make a stream request and yield
|
data/lib/adwords_api/utils.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|