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
@@ -0,0 +1,97 @@
|
|
1
|
+
# Encoding: utf-8
|
2
|
+
#
|
3
|
+
# Copyright:: Copyright 2018, Google Inc. All Rights Reserved.
|
4
|
+
#
|
5
|
+
# License:: Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
14
|
+
# implied.
|
15
|
+
# See the License for the specific language governing permissions and
|
16
|
+
# limitations under the License.
|
17
|
+
#
|
18
|
+
# Class to aid in constructing where clauses for reporting and service queries.
|
19
|
+
|
20
|
+
module AdwordsApi
|
21
|
+
class WhereBuilder
|
22
|
+
attr_reader :awql
|
23
|
+
|
24
|
+
def initialize(field)
|
25
|
+
@field = field
|
26
|
+
@awql = nil
|
27
|
+
end
|
28
|
+
|
29
|
+
def equal_to(value)
|
30
|
+
@awql = sprintf("%s = %s", @field, value)
|
31
|
+
end
|
32
|
+
|
33
|
+
def not_equal_to(value)
|
34
|
+
@awql = sprintf("%s != $s", @field, value)
|
35
|
+
end
|
36
|
+
|
37
|
+
def greater_than(value)
|
38
|
+
@awql = sprintf("%s > %s", @field, value)
|
39
|
+
end
|
40
|
+
|
41
|
+
def greater_than_or_equal_to(value)
|
42
|
+
@awql = sprintf("%s >= %s", @field, value)
|
43
|
+
end
|
44
|
+
|
45
|
+
def less_than(value)
|
46
|
+
@awql = sprintf("%s < %s", @field, value)
|
47
|
+
end
|
48
|
+
|
49
|
+
def less_than_or_equal_to(value)
|
50
|
+
@awql = sprintf("%s <= %s", @field, value)
|
51
|
+
end
|
52
|
+
|
53
|
+
def starts_with(value)
|
54
|
+
@awql = sprintf("%s STARTS_WITH %s", @field, value)
|
55
|
+
end
|
56
|
+
|
57
|
+
def starts_with_ignore_case(value)
|
58
|
+
@awql = sprintf("%s STARTS_WITH_IGNORE_CASE %s", @field, value)
|
59
|
+
end
|
60
|
+
|
61
|
+
def contains(value)
|
62
|
+
@awql = sprintf("%s CONTAINS %s", @field, value)
|
63
|
+
end
|
64
|
+
|
65
|
+
def contains_ignore_case(value)
|
66
|
+
@awql = sprintf("%s CONTAINS_IGNORE_CASE %s", @field, value)
|
67
|
+
end
|
68
|
+
|
69
|
+
def does_not_contain(value)
|
70
|
+
@awql = sprintf("%s DOES_NOT_CONTAIN %s", @field, value)
|
71
|
+
end
|
72
|
+
|
73
|
+
def does_not_contain_ignore_case(value)
|
74
|
+
@awql = sprintf("%s DOES_NOT_CONTAIN_IGNORE_CASE %s", @field, value)
|
75
|
+
end
|
76
|
+
|
77
|
+
def in(*values)
|
78
|
+
@awql = sprintf("%s IN [%s]", @field, values.join(','))
|
79
|
+
end
|
80
|
+
|
81
|
+
def not_in(*values)
|
82
|
+
@awql = sprintf("%s NOT_IN [%s]", @field, values.join(','))
|
83
|
+
end
|
84
|
+
|
85
|
+
def contains_any(*values)
|
86
|
+
@awql = sprintf("%s CONTAINS_ANY [%s]", @field, values.join(','))
|
87
|
+
end
|
88
|
+
|
89
|
+
def contains_none(*values)
|
90
|
+
@awql = sprintf("%s CONTAINS_NONE [%s]", @field, values.join(','))
|
91
|
+
end
|
92
|
+
|
93
|
+
def contains_all(*values)
|
94
|
+
@awql = sprintf("%s CONTAINS_ALL [%s]", @field, values.join(','))
|
95
|
+
end
|
96
|
+
end
|
97
|
+
end
|
File without changes
|
File without changes
|
File without changes
|
data/lib/adwords_api/utils.rb
CHANGED
File without changes
|
@@ -42,5 +42,17 @@ module AdwordsApi
|
|
42
42
|
def batch_job_utils_used()
|
43
43
|
@credential_handler.include_in_user_agent("BatchJobHelper")
|
44
44
|
end
|
45
|
+
|
46
|
+
# A callback method from report query builder to indicate that it has been
|
47
|
+
# used, and that its usage should be recorded in the next user agent string.
|
48
|
+
def report_query_builder_used()
|
49
|
+
@credential_handler.include_in_user_agent("ReportQueryBuilder")
|
50
|
+
end
|
51
|
+
|
52
|
+
# A callback method from service query builder to indicate that it has been
|
53
|
+
# used, and that its usage should be recorded in the next user agent string.
|
54
|
+
def service_query_builder_used()
|
55
|
+
@credential_handler.include_in_user_agent("ServiceQueryBuilder")
|
56
|
+
end
|
45
57
|
end
|
46
58
|
end
|
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
|
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
|