google-adwords-api 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +9 -0
- data/README +26 -10
- data/Rakefile +1 -1
- data/examples/v200909/add_ad_group.rb +2 -2
- data/examples/v200909/add_ads.rb +4 -4
- data/examples/v200909/add_campaign.rb +2 -2
- data/examples/v200909/check_campaigns.rb +4 -4
- data/examples/v201003/add_ad_group.rb +2 -2
- data/examples/v201003/add_ads.rb +6 -6
- data/examples/v201003/add_campaign.rb +2 -2
- data/examples/v201003/add_keywords_performance_report_definition.rb +2 -2
- data/examples/v201003/check_campaigns.rb +4 -4
- data/examples/v201008/add_ad_group.rb +2 -2
- data/examples/v201008/add_ads.rb +7 -7
- data/examples/v201008/add_campaign.rb +2 -2
- data/examples/v201008/add_experiment.rb +5 -5
- data/examples/v201008/add_keywords_performance_report_definition.rb +2 -2
- data/examples/v201008/add_user_list.rb +2 -2
- data/examples/v201008/check_campaigns.rb +4 -4
- data/examples/v201008/get_account_hierarchy.rb +8 -11
- data/examples/v201101/add_ad_group.rb +2 -2
- data/examples/v201101/add_ads.rb +6 -6
- data/examples/v201101/add_campaign.rb +2 -2
- data/examples/v201101/add_conversion.rb +4 -4
- data/examples/v201101/add_experiment.rb +5 -5
- data/examples/v201101/add_keywords_performance_report_definition.rb +2 -2
- data/examples/v201101/add_user_list.rb +3 -3
- data/examples/v201101/check_campaigns.rb +4 -4
- data/examples/v201101/get_account_hierarchy.rb +7 -9
- data/examples/v201109/add_ad_extension_override.rb +82 -0
- data/examples/v201109/add_ad_group.rb +89 -0
- data/examples/v201109/add_ad_group_criteria.rb +109 -0
- data/examples/v201109/add_ads.rb +174 -0
- data/examples/v201109/add_campaign.rb +99 -0
- data/examples/v201109/add_campaign_ad_extension.rb +121 -0
- data/examples/v201109/add_campaign_targeting_criteria.rb +102 -0
- data/examples/{v201101/add_mcc_report_definition.rb → v201109/add_conversion.rb} +26 -28
- data/examples/v201109/add_experiment.rb +153 -0
- data/examples/v201109/add_negative_campaign_criterion.rb +87 -0
- data/examples/v201109/add_user_list.rb +113 -0
- data/examples/v201109/check_campaigns.rb +123 -0
- data/examples/v201109/delete_ad.rb +85 -0
- data/examples/v201109/delete_ad_group.rb +77 -0
- data/examples/v201109/delete_ad_group_criterion.rb +86 -0
- data/examples/v201109/delete_bulk_mutate_job.rb +87 -0
- data/examples/v201109/delete_campaign.rb +78 -0
- data/examples/v201109/delete_experiment.rb +78 -0
- data/examples/v201109/delete_user_list.rb +78 -0
- data/examples/v201109/download_adhoc_report.rb +79 -0
- data/examples/v201109/download_report.rb +67 -0
- data/examples/v201109/get_account_hierarchy.rb +93 -0
- data/examples/v201109/get_ad_group_bid_landscape.rb +94 -0
- data/examples/v201109/get_all_account_changes.rb +137 -0
- data/examples/v201109/get_all_active_ad_group_criteria.rb +98 -0
- data/examples/v201109/get_all_ad_extension_overrides.rb +82 -0
- data/examples/v201109/get_all_ad_group_criteria.rb +90 -0
- data/examples/v201109/get_all_ad_groups.rb +85 -0
- data/examples/v201109/get_all_ad_params.rb +86 -0
- data/examples/v201109/get_all_ads.rb +90 -0
- data/examples/v201109/get_all_campaign_ad_extensions.rb +87 -0
- data/examples/v201109/get_all_campaign_targets.rb +74 -0
- data/examples/v201109/get_all_campaigns.rb +77 -0
- data/examples/v201109/get_all_carriers.rb +72 -0
- data/examples/v201109/get_all_conversions.rb +79 -0
- data/examples/v201109/get_all_disapproved_ads.rb +93 -0
- data/examples/v201109/get_all_experiments.rb +89 -0
- data/examples/v201109/get_all_images.rb +82 -0
- data/examples/v201109/get_all_languages.rb +73 -0
- data/examples/v201109/get_all_paused_campaigns.rb +83 -0
- data/examples/v201109/get_all_report_definitions.rb +75 -0
- data/examples/v201109/get_all_user_lists.rb +78 -0
- data/examples/v201109/get_all_videos.rb +78 -0
- data/examples/v201109/get_bulk_mutate_job.rb +97 -0
- data/examples/v201109/get_campaign_alerts.rb +95 -0
- data/examples/v201109/get_client_customer_id.rb +87 -0
- data/examples/v201109/get_conversion_optimizer_eligibility.rb +93 -0
- data/examples/v201109/get_criterion_bid_landscape.rb +93 -0
- data/examples/v201109/get_geo_location_info.rb +99 -0
- data/examples/v201109/get_keyword_opportunities.rb +95 -0
- data/examples/v201109/get_location_criteria.rb +103 -0
- data/examples/v201109/get_method_cost.rb +87 -0
- data/examples/v201109/get_operation_count.rb +79 -0
- data/examples/v201109/get_related_keywords.rb +108 -0
- data/examples/v201109/get_related_placements.rb +107 -0
- data/examples/v201109/get_report_fields.rb +72 -0
- data/examples/v201109/get_total_usage_units_per_month.rb +74 -0
- data/examples/v201109/get_traffic_estimates.rb +129 -0
- data/examples/v201109/get_unit_count.rb +81 -0
- data/examples/v201109/handle_partial_failures.rb +127 -0
- data/examples/v201109/handle_policy_violation_error.rb +138 -0
- data/examples/v201109/handle_second_factor.rb +87 -0
- data/examples/v201109/oauth_handling.rb +95 -0
- data/examples/v201109/perform_bulk_mutate_job.rb +212 -0
- data/examples/v201109/perform_mutate_job.rb +177 -0
- data/examples/v201109/promote_experiment.rb +79 -0
- data/examples/v201109/set_ad_params.rb +115 -0
- data/examples/v201109/update_ad.rb +86 -0
- data/examples/v201109/update_ad_group.rb +81 -0
- data/examples/v201109/update_ad_group_criterion.rb +99 -0
- data/examples/v201109/update_campaign.rb +84 -0
- data/examples/v201109/update_conversion.rb +87 -0
- data/examples/v201109/update_user_list.rb +82 -0
- data/examples/v201109/upload_image.rb +90 -0
- data/lib/adwords_api.rb +54 -50
- data/lib/adwords_api/api_config.rb +70 -14
- data/lib/adwords_api/credential_handler.rb +32 -13
- data/lib/adwords_api/errors.rb +12 -0
- data/lib/adwords_api/extensions.rb +8 -118
- data/lib/adwords_api/report_utils.rb +198 -0
- data/lib/adwords_api/utils.rb +5 -2
- data/lib/adwords_api/v13/account_service.rb +11 -11
- data/lib/adwords_api/v13/account_service_registry.rb +5 -3
- data/lib/adwords_api/v13/report_service.rb +15 -15
- data/lib/adwords_api/v13/report_service_registry.rb +5 -3
- data/lib/adwords_api/v200909/ad_extension_override_service.rb +5 -5
- data/lib/adwords_api/v200909/ad_extension_override_service_registry.rb +5 -3
- data/lib/adwords_api/v200909/ad_group_ad_service.rb +5 -5
- data/lib/adwords_api/v200909/ad_group_ad_service_registry.rb +5 -3
- data/lib/adwords_api/v200909/ad_group_criterion_service.rb +5 -5
- data/lib/adwords_api/v200909/ad_group_criterion_service_registry.rb +5 -3
- data/lib/adwords_api/v200909/ad_group_service.rb +5 -5
- data/lib/adwords_api/v200909/ad_group_service_registry.rb +5 -3
- data/lib/adwords_api/v200909/ad_param_service.rb +5 -5
- data/lib/adwords_api/v200909/ad_param_service_registry.rb +5 -3
- data/lib/adwords_api/v200909/bulk_mutate_job_service.rb +5 -5
- data/lib/adwords_api/v200909/bulk_mutate_job_service_registry.rb +5 -3
- data/lib/adwords_api/v200909/campaign_ad_extension_service.rb +5 -5
- data/lib/adwords_api/v200909/campaign_ad_extension_service_registry.rb +5 -3
- data/lib/adwords_api/v200909/campaign_criterion_service.rb +5 -5
- data/lib/adwords_api/v200909/campaign_criterion_service_registry.rb +5 -3
- data/lib/adwords_api/v200909/campaign_service.rb +5 -5
- data/lib/adwords_api/v200909/campaign_service_registry.rb +5 -3
- data/lib/adwords_api/v200909/campaign_target_service.rb +5 -5
- data/lib/adwords_api/v200909/campaign_target_service_registry.rb +5 -3
- data/lib/adwords_api/v200909/geo_location_service.rb +3 -3
- data/lib/adwords_api/v200909/geo_location_service_registry.rb +5 -3
- data/lib/adwords_api/v200909/info_service.rb +3 -3
- data/lib/adwords_api/v200909/info_service_registry.rb +5 -3
- data/lib/adwords_api/v200909/targeting_idea_service.rb +5 -5
- data/lib/adwords_api/v200909/targeting_idea_service_registry.rb +5 -3
- data/lib/adwords_api/v201003/ad_extension_override_service.rb +5 -5
- data/lib/adwords_api/v201003/ad_extension_override_service_registry.rb +5 -3
- data/lib/adwords_api/v201003/ad_group_ad_service.rb +5 -5
- data/lib/adwords_api/v201003/ad_group_ad_service_registry.rb +5 -3
- data/lib/adwords_api/v201003/ad_group_criterion_service.rb +5 -5
- data/lib/adwords_api/v201003/ad_group_criterion_service_registry.rb +5 -3
- data/lib/adwords_api/v201003/ad_group_service.rb +5 -5
- data/lib/adwords_api/v201003/ad_group_service_registry.rb +5 -3
- data/lib/adwords_api/v201003/ad_param_service.rb +5 -5
- data/lib/adwords_api/v201003/ad_param_service_registry.rb +5 -3
- data/lib/adwords_api/v201003/bid_landscape_service.rb +3 -3
- data/lib/adwords_api/v201003/bid_landscape_service_registry.rb +5 -3
- data/lib/adwords_api/v201003/bulk_mutate_job_service.rb +5 -5
- data/lib/adwords_api/v201003/bulk_mutate_job_service_registry.rb +5 -3
- data/lib/adwords_api/v201003/campaign_ad_extension_service.rb +5 -5
- data/lib/adwords_api/v201003/campaign_ad_extension_service_registry.rb +5 -3
- data/lib/adwords_api/v201003/campaign_criterion_service.rb +5 -5
- data/lib/adwords_api/v201003/campaign_criterion_service_registry.rb +5 -3
- data/lib/adwords_api/v201003/campaign_service.rb +5 -5
- data/lib/adwords_api/v201003/campaign_service_registry.rb +5 -3
- data/lib/adwords_api/v201003/campaign_target_service.rb +5 -5
- data/lib/adwords_api/v201003/campaign_target_service_registry.rb +5 -3
- data/lib/adwords_api/v201003/geo_location_service.rb +3 -3
- data/lib/adwords_api/v201003/geo_location_service_registry.rb +5 -3
- data/lib/adwords_api/v201003/info_service.rb +3 -3
- data/lib/adwords_api/v201003/info_service_registry.rb +5 -3
- data/lib/adwords_api/v201003/media_service.rb +5 -5
- data/lib/adwords_api/v201003/media_service_registry.rb +5 -3
- data/lib/adwords_api/v201003/report_definition_service.rb +7 -7
- data/lib/adwords_api/v201003/report_definition_service_registry.rb +5 -3
- data/lib/adwords_api/v201003/targeting_idea_service.rb +5 -5
- data/lib/adwords_api/v201003/targeting_idea_service_registry.rb +5 -3
- data/lib/adwords_api/v201008/ad_extension_override_service.rb +5 -5
- data/lib/adwords_api/v201008/ad_extension_override_service_registry.rb +5 -3
- data/lib/adwords_api/v201008/ad_group_ad_service.rb +5 -5
- data/lib/adwords_api/v201008/ad_group_ad_service_registry.rb +5 -3
- data/lib/adwords_api/v201008/ad_group_criterion_service.rb +5 -5
- data/lib/adwords_api/v201008/ad_group_criterion_service_registry.rb +5 -3
- data/lib/adwords_api/v201008/ad_group_service.rb +5 -5
- data/lib/adwords_api/v201008/ad_group_service_registry.rb +5 -3
- data/lib/adwords_api/v201008/ad_param_service.rb +5 -5
- data/lib/adwords_api/v201008/ad_param_service_registry.rb +5 -3
- data/lib/adwords_api/v201008/alert_service.rb +3 -3
- data/lib/adwords_api/v201008/alert_service_registry.rb +5 -3
- data/lib/adwords_api/v201008/bid_landscape_service.rb +3 -3
- data/lib/adwords_api/v201008/bid_landscape_service_registry.rb +5 -3
- data/lib/adwords_api/v201008/bulk_mutate_job_service.rb +5 -5
- data/lib/adwords_api/v201008/bulk_mutate_job_service_registry.rb +5 -3
- data/lib/adwords_api/v201008/campaign_ad_extension_service.rb +5 -5
- data/lib/adwords_api/v201008/campaign_ad_extension_service_registry.rb +5 -3
- data/lib/adwords_api/v201008/campaign_criterion_service.rb +5 -5
- data/lib/adwords_api/v201008/campaign_criterion_service_registry.rb +5 -3
- data/lib/adwords_api/v201008/campaign_service.rb +5 -5
- data/lib/adwords_api/v201008/campaign_service_registry.rb +5 -3
- data/lib/adwords_api/v201008/campaign_target_service.rb +5 -5
- data/lib/adwords_api/v201008/campaign_target_service_registry.rb +5 -3
- data/lib/adwords_api/v201008/customer_sync_service.rb +3 -3
- data/lib/adwords_api/v201008/customer_sync_service_registry.rb +5 -3
- data/lib/adwords_api/v201008/experiment_service.rb +5 -5
- data/lib/adwords_api/v201008/experiment_service_registry.rb +5 -3
- data/lib/adwords_api/v201008/geo_location_service.rb +3 -3
- data/lib/adwords_api/v201008/geo_location_service_registry.rb +5 -3
- data/lib/adwords_api/v201008/info_service.rb +3 -3
- data/lib/adwords_api/v201008/info_service_registry.rb +5 -3
- data/lib/adwords_api/v201008/media_service.rb +5 -5
- data/lib/adwords_api/v201008/media_service_registry.rb +5 -3
- data/lib/adwords_api/v201008/report_definition_service.rb +7 -7
- data/lib/adwords_api/v201008/report_definition_service_registry.rb +5 -3
- data/lib/adwords_api/v201008/serviced_account_service.rb +3 -3
- data/lib/adwords_api/v201008/serviced_account_service_registry.rb +5 -3
- data/lib/adwords_api/v201008/targeting_idea_service.rb +5 -5
- data/lib/adwords_api/v201008/targeting_idea_service_registry.rb +5 -3
- data/lib/adwords_api/v201008/traffic_estimator_service.rb +3 -3
- data/lib/adwords_api/v201008/traffic_estimator_service_registry.rb +5 -3
- data/lib/adwords_api/v201008/user_list_service.rb +5 -5
- data/lib/adwords_api/v201008/user_list_service_registry.rb +5 -3
- data/lib/adwords_api/v201101/ad_extension_override_service.rb +5 -5
- data/lib/adwords_api/v201101/ad_extension_override_service_registry.rb +5 -3
- data/lib/adwords_api/v201101/ad_group_ad_service.rb +5 -5
- data/lib/adwords_api/v201101/ad_group_ad_service_registry.rb +5 -3
- data/lib/adwords_api/v201101/ad_group_criterion_service.rb +5 -5
- data/lib/adwords_api/v201101/ad_group_criterion_service_registry.rb +5 -3
- data/lib/adwords_api/v201101/ad_group_service.rb +5 -5
- data/lib/adwords_api/v201101/ad_group_service_registry.rb +5 -3
- data/lib/adwords_api/v201101/ad_param_service.rb +5 -5
- data/lib/adwords_api/v201101/ad_param_service_registry.rb +5 -3
- data/lib/adwords_api/v201101/alert_service.rb +3 -3
- data/lib/adwords_api/v201101/alert_service_registry.rb +5 -3
- data/lib/adwords_api/v201101/bulk_mutate_job_service.rb +5 -5
- data/lib/adwords_api/v201101/bulk_mutate_job_service_registry.rb +5 -3
- data/lib/adwords_api/v201101/bulk_opportunity_service.rb +3 -3
- data/lib/adwords_api/v201101/bulk_opportunity_service_registry.rb +5 -3
- data/lib/adwords_api/v201101/campaign_ad_extension_service.rb +5 -5
- data/lib/adwords_api/v201101/campaign_ad_extension_service_registry.rb +5 -3
- data/lib/adwords_api/v201101/campaign_criterion_service.rb +5 -5
- data/lib/adwords_api/v201101/campaign_criterion_service_registry.rb +5 -3
- data/lib/adwords_api/v201101/campaign_service.rb +5 -5
- data/lib/adwords_api/v201101/campaign_service_registry.rb +5 -3
- data/lib/adwords_api/v201101/campaign_target_service.rb +5 -5
- data/lib/adwords_api/v201101/campaign_target_service_registry.rb +5 -3
- data/lib/adwords_api/v201101/conversion_tracker_service.rb +5 -5
- data/lib/adwords_api/v201101/conversion_tracker_service_registry.rb +5 -3
- data/lib/adwords_api/v201101/customer_sync_service.rb +3 -3
- data/lib/adwords_api/v201101/customer_sync_service_registry.rb +5 -3
- data/lib/adwords_api/v201101/data_service.rb +5 -5
- data/lib/adwords_api/v201101/data_service_registry.rb +5 -3
- data/lib/adwords_api/v201101/experiment_service.rb +5 -5
- data/lib/adwords_api/v201101/experiment_service_registry.rb +5 -3
- data/lib/adwords_api/v201101/geo_location_service.rb +3 -3
- data/lib/adwords_api/v201101/geo_location_service_registry.rb +5 -3
- data/lib/adwords_api/v201101/info_service.rb +3 -3
- data/lib/adwords_api/v201101/info_service_registry.rb +5 -3
- data/lib/adwords_api/v201101/media_service.rb +5 -5
- data/lib/adwords_api/v201101/media_service_registry.rb +5 -3
- data/lib/adwords_api/v201101/report_definition_service.rb +7 -15
- data/lib/adwords_api/v201101/report_definition_service_registry.rb +5 -3
- data/lib/adwords_api/v201101/serviced_account_service.rb +3 -3
- data/lib/adwords_api/v201101/serviced_account_service_registry.rb +5 -3
- data/lib/adwords_api/v201101/targeting_idea_service.rb +5 -5
- data/lib/adwords_api/v201101/targeting_idea_service_registry.rb +5 -3
- data/lib/adwords_api/v201101/traffic_estimator_service.rb +3 -3
- data/lib/adwords_api/v201101/traffic_estimator_service_registry.rb +5 -3
- data/lib/adwords_api/v201101/user_list_service.rb +5 -5
- data/lib/adwords_api/v201101/user_list_service_registry.rb +5 -3
- data/lib/adwords_api/v201109/ad_extension_override_service.rb +36 -0
- data/lib/adwords_api/v201109/ad_extension_override_service_registry.rb +44 -0
- data/lib/adwords_api/v201109/ad_group_ad_service.rb +36 -0
- data/lib/adwords_api/v201109/ad_group_ad_service_registry.rb +44 -0
- data/lib/adwords_api/v201109/ad_group_criterion_service.rb +36 -0
- data/lib/adwords_api/v201109/ad_group_criterion_service_registry.rb +44 -0
- data/lib/adwords_api/v201109/ad_group_service.rb +36 -0
- data/lib/adwords_api/v201109/ad_group_service_registry.rb +44 -0
- data/lib/adwords_api/v201109/ad_param_service.rb +36 -0
- data/lib/adwords_api/v201109/ad_param_service_registry.rb +44 -0
- data/lib/adwords_api/v201109/alert_service.rb +32 -0
- data/lib/adwords_api/v201109/alert_service_registry.rb +44 -0
- data/lib/adwords_api/v201109/bulk_mutate_job_service.rb +36 -0
- data/lib/adwords_api/v201109/bulk_mutate_job_service_registry.rb +44 -0
- data/lib/adwords_api/v201109/bulk_opportunity_service.rb +32 -0
- data/lib/adwords_api/v201109/bulk_opportunity_service_registry.rb +44 -0
- data/lib/adwords_api/v201109/campaign_ad_extension_service.rb +36 -0
- data/lib/adwords_api/v201109/campaign_ad_extension_service_registry.rb +44 -0
- data/lib/adwords_api/v201109/campaign_criterion_service.rb +36 -0
- data/lib/adwords_api/v201109/campaign_criterion_service_registry.rb +44 -0
- data/lib/adwords_api/v201109/campaign_service.rb +36 -0
- data/lib/adwords_api/v201109/campaign_service_registry.rb +44 -0
- data/lib/adwords_api/v201109/campaign_target_service.rb +36 -0
- data/lib/adwords_api/v201109/campaign_target_service_registry.rb +44 -0
- data/lib/adwords_api/v201109/constant_data_service.rb +36 -0
- data/lib/adwords_api/v201109/constant_data_service_registry.rb +44 -0
- data/lib/adwords_api/v201109/conversion_tracker_service.rb +36 -0
- data/lib/adwords_api/v201109/conversion_tracker_service_registry.rb +44 -0
- data/lib/adwords_api/v201109/customer_sync_service.rb +32 -0
- data/lib/adwords_api/v201109/customer_sync_service_registry.rb +45 -0
- data/lib/adwords_api/v201109/data_service.rb +36 -0
- data/lib/adwords_api/v201109/data_service_registry.rb +44 -0
- data/lib/adwords_api/v201109/experiment_service.rb +36 -0
- data/lib/adwords_api/v201109/experiment_service_registry.rb +44 -0
- data/lib/adwords_api/v201109/geo_location_service.rb +32 -0
- data/lib/adwords_api/v201109/geo_location_service_registry.rb +44 -0
- data/lib/adwords_api/v201109/info_service.rb +32 -0
- data/lib/adwords_api/v201109/info_service_registry.rb +44 -0
- data/lib/adwords_api/v201109/location_criterion_service.rb +32 -0
- data/lib/adwords_api/v201109/location_criterion_service_registry.rb +44 -0
- data/lib/adwords_api/v201109/media_service.rb +36 -0
- data/lib/adwords_api/v201109/media_service_registry.rb +44 -0
- data/lib/adwords_api/v201109/mutate_job_service.rb +40 -0
- data/lib/adwords_api/v201109/mutate_job_service_registry.rb +44 -0
- data/lib/adwords_api/v201109/report_definition_service.rb +45 -0
- data/lib/adwords_api/v201109/report_definition_service_registry.rb +44 -0
- data/lib/adwords_api/v201109/serviced_account_service.rb +32 -0
- data/lib/adwords_api/v201109/serviced_account_service_registry.rb +44 -0
- data/lib/adwords_api/v201109/targeting_idea_service.rb +36 -0
- data/lib/adwords_api/v201109/targeting_idea_service_registry.rb +44 -0
- data/lib/adwords_api/v201109/traffic_estimator_service.rb +32 -0
- data/lib/adwords_api/v201109/traffic_estimator_service_registry.rb +44 -0
- data/lib/adwords_api/v201109/user_list_service.rb +36 -0
- data/lib/adwords_api/v201109/user_list_service_registry.rb +44 -0
- data/test/bugs/test_issue_00000031.rb +78 -0
- metadata +467 -342
- data/examples/v201101/download_mcc_report.rb +0 -113
- data/examples/v201101/download_mcc_report_as_file.rb +0 -114
- data/lib/adwords_api/v13/traffic_estimator_service.rb +0 -44
- data/lib/adwords_api/v13/traffic_estimator_service_registry.rb +0 -39
@@ -3,7 +3,7 @@
|
|
3
3
|
# Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
|
4
4
|
# License:: Licensed under the Apache License,Version 2.0 (the "License").
|
5
5
|
#
|
6
|
-
# Code generated by AdsCommon library 0.5.
|
6
|
+
# Code generated by AdsCommon library 0.5.2 on 2011-10-20 20:35:55.
|
7
7
|
|
8
8
|
require 'ads_common/savon_service'
|
9
9
|
require 'adwords_api/v201101/customer_sync_service_registry'
|
@@ -15,8 +15,8 @@ module AdwordsApi; module V201101; module CustomerSyncService
|
|
15
15
|
super(api, endpoint, namespace, :v201101)
|
16
16
|
end
|
17
17
|
|
18
|
-
def get(*args)
|
19
|
-
return execute_action('get', args)
|
18
|
+
def get(*args, &block)
|
19
|
+
return execute_action('get', args, &block)
|
20
20
|
end
|
21
21
|
|
22
22
|
private
|
@@ -3,12 +3,14 @@
|
|
3
3
|
# Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
|
4
4
|
# License:: Licensed under the Apache License,Version 2.0 (the "License").
|
5
5
|
#
|
6
|
-
# Code generated by AdsCommon library 0.5.
|
6
|
+
# Code generated by AdsCommon library 0.5.2 on 2011-10-20 20:35:55.
|
7
|
+
|
8
|
+
require 'adwords_api/errors'
|
7
9
|
|
8
10
|
module AdwordsApi; module V201101; module CustomerSyncService
|
9
11
|
class CustomerSyncServiceRegistry
|
10
|
-
CUSTOMERSYNCSERVICE_METHODS = {:get=>{:input=>[{:type=>"CustomerSyncSelector", :max_occurs=>1, :name=>:selector
|
11
|
-
CUSTOMERSYNCSERVICE_TYPES = {:
|
12
|
+
CUSTOMERSYNCSERVICE_METHODS = {:get=>{:input=>[{:type=>"CustomerSyncSelector", :max_occurs=>1, :min_occurs=>0, :name=>:selector}], :output=>{:fields=>[{:type=>"CustomerChangeData", :max_occurs=>1, :min_occurs=>0, :name=>:rval}], :name=>"get_response"}}}
|
13
|
+
CUSTOMERSYNCSERVICE_TYPES = {:CustomerChangeData=>{:fields=>[{:type=>"CampaignChangeData", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:changed_campaigns}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:last_change_timestamp}]}, :CustomerSyncSelector=>{:fields=>[{:type=>"DateTimeRange", :max_occurs=>1, :min_occurs=>0, :name=>:date_time_range}, {:type=>"long", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:campaign_ids}]}, :SoapHeader=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:auth_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:client_customer_id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:client_email}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:developer_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:user_agent}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:validate_only}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:partial_failure}], :ns=>0}, :DateTimeRange=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:min}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:max}], :ns=>0}, :SoapResponseHeader=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:request_id}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:operations}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:response_time}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:units}], :ns=>0}, :AdGroupChangeData=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:ad_group_id}, {:type=>"ChangeStatus", :max_occurs=>1, :min_occurs=>0, :name=>:ad_group_change_status}, {:type=>"long", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:changed_ads}, {:type=>"long", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:changed_criteria}, {:type=>"long", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:deleted_criteria}]}, :CampaignChangeData=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:campaign_id}, {:type=>"ChangeStatus", :max_occurs=>1, :min_occurs=>0, :name=>:campaign_change_status}, {:type=>"AdGroupChangeData", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:changed_ad_groups}, {:type=>"long", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:added_campaign_criteria}, {:type=>"long", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:deleted_campaign_criteria}, {:type=>"long", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:added_ad_extensions}, {:type=>"long", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:deleted_ad_extensions}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:campaign_targeting_changed}]}}
|
12
14
|
CUSTOMERSYNCSERVICE_NAMESPACES = ["https://adwords.google.com/api/adwords/cm/v201101"]
|
13
15
|
|
14
16
|
def self.get_method_signature(method_name)
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
|
4
4
|
# License:: Licensed under the Apache License,Version 2.0 (the "License").
|
5
5
|
#
|
6
|
-
# Code generated by AdsCommon library 0.5.
|
6
|
+
# Code generated by AdsCommon library 0.5.2 on 2011-10-20 20:35:20.
|
7
7
|
|
8
8
|
require 'ads_common/savon_service'
|
9
9
|
require 'adwords_api/v201101/data_service_registry'
|
@@ -15,12 +15,12 @@ module AdwordsApi; module V201101; module DataService
|
|
15
15
|
super(api, endpoint, namespace, :v201101)
|
16
16
|
end
|
17
17
|
|
18
|
-
def
|
19
|
-
return execute_action('
|
18
|
+
def get_ad_group_bid_landscape(*args, &block)
|
19
|
+
return execute_action('get_ad_group_bid_landscape', args, &block)
|
20
20
|
end
|
21
21
|
|
22
|
-
def
|
23
|
-
return execute_action('
|
22
|
+
def get_criterion_bid_landscape(*args, &block)
|
23
|
+
return execute_action('get_criterion_bid_landscape', args, &block)
|
24
24
|
end
|
25
25
|
|
26
26
|
private
|
@@ -3,12 +3,14 @@
|
|
3
3
|
# Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
|
4
4
|
# License:: Licensed under the Apache License,Version 2.0 (the "License").
|
5
5
|
#
|
6
|
-
# Code generated by AdsCommon library 0.5.
|
6
|
+
# Code generated by AdsCommon library 0.5.2 on 2011-10-20 20:35:20.
|
7
|
+
|
8
|
+
require 'adwords_api/errors'
|
7
9
|
|
8
10
|
module AdwordsApi; module V201101; module DataService
|
9
11
|
class DataServiceRegistry
|
10
|
-
DATASERVICE_METHODS = {:
|
11
|
-
DATASERVICE_TYPES = {:
|
12
|
+
DATASERVICE_METHODS = {:get_ad_group_bid_landscape=>{:input=>[{:type=>"Selector", :max_occurs=>1, :min_occurs=>0, :name=>:service_selector}], :output=>{:fields=>[{:type=>"AdGroupBidLandscapePage", :max_occurs=>1, :min_occurs=>0, :name=>:rval}], :name=>"get_ad_group_bid_landscape_response"}}, :get_criterion_bid_landscape=>{:input=>[{:type=>"Selector", :max_occurs=>1, :min_occurs=>0, :name=>:service_selector}], :output=>{:fields=>[{:type=>"CriterionBidLandscapePage", :max_occurs=>1, :min_occurs=>0, :name=>:rval}], :name=>"get_criterion_bid_landscape_response"}}}
|
13
|
+
DATASERVICE_TYPES = {:Selector=>{:fields=>[{:type=>"string", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:fields}, {:type=>"Predicate", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:predicates}, {:type=>"DateRange", :max_occurs=>1, :min_occurs=>0, :name=>:date_range}, {:type=>"OrderBy", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:ordering}, {:type=>"Paging", :max_occurs=>1, :min_occurs=>0, :name=>:paging}]}, :DateRange=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:min}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:max}]}, :AdGroupBidLandscapePage=>{:fields=>[{:type=>"AdGroupBidLandscape", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:entries}], :base=>"NoStatsPage"}, :DataEntry=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:data_entry_type}], :abstract=>true}, :DoubleValue=>{:fields=>[{:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:number}], :base=>"NumberValue"}, :AdGroupBidLandscape=>{:fields=>[{:type=>"AdGroupBidLandscape.Type", :max_occurs=>1, :min_occurs=>0, :name=>:type}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:landscape_current}], :base=>"BidLandscape"}, :CriterionBidLandscapePage=>{:fields=>[{:type=>"CriterionBidLandscape", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:entries}], :base=>"NoStatsPage"}, :NumberValue=>{:fields=>[], :abstract=>true, :base=>"ComparableValue"}, :SoapHeader=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:auth_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:client_customer_id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:client_email}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:developer_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:user_agent}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:validate_only}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:partial_failure}]}, :OrderBy=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:field}, {:type=>"SortOrder", :max_occurs=>1, :min_occurs=>0, :name=>:sort_order}]}, :BidLandscape=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:campaign_id}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:ad_group_id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:start_date}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:end_date}, {:type=>"BidLandscape.LandscapePoint", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:landscape_points}], :abstract=>true, :base=>"DataEntry"}, :SoapResponseHeader=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:request_id}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:operations}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:response_time}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:units}]}, :Page=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:total_num_entries}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:page_type}], :abstract=>true}, :Paging=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:start_index}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:number_results}]}, :CriterionBidLandscape=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:criterion_id}], :base=>"BidLandscape"}, :"BidLandscape.LandscapePoint"=>{:fields=>[{:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:bid}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:clicks}, {:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:cost}, {:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:marginal_cpc}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:impressions}]}, :ComparableValue=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:comparable_value_type}], :abstract=>true}, :Predicate=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:field}, {:type=>"Predicate.Operator", :max_occurs=>1, :min_occurs=>0, :name=>:operator}, {:type=>"string", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:values}]}, :NoStatsPage=>{:fields=>[], :abstract=>true, :base=>"Page"}, :Money=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:micro_amount}], :base=>"ComparableValue"}, :LongValue=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:number}], :base=>"NumberValue"}}
|
12
14
|
DATASERVICE_NAMESPACES = []
|
13
15
|
|
14
16
|
def self.get_method_signature(method_name)
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
|
4
4
|
# License:: Licensed under the Apache License,Version 2.0 (the "License").
|
5
5
|
#
|
6
|
-
# Code generated by AdsCommon library 0.5.
|
6
|
+
# Code generated by AdsCommon library 0.5.2 on 2011-10-20 20:34:58.
|
7
7
|
|
8
8
|
require 'ads_common/savon_service'
|
9
9
|
require 'adwords_api/v201101/experiment_service_registry'
|
@@ -15,12 +15,12 @@ module AdwordsApi; module V201101; module ExperimentService
|
|
15
15
|
super(api, endpoint, namespace, :v201101)
|
16
16
|
end
|
17
17
|
|
18
|
-
def get(*args)
|
19
|
-
return execute_action('get', args)
|
18
|
+
def get(*args, &block)
|
19
|
+
return execute_action('get', args, &block)
|
20
20
|
end
|
21
21
|
|
22
|
-
def mutate(*args)
|
23
|
-
return execute_action('mutate', args)
|
22
|
+
def mutate(*args, &block)
|
23
|
+
return execute_action('mutate', args, &block)
|
24
24
|
end
|
25
25
|
|
26
26
|
private
|
@@ -3,12 +3,14 @@
|
|
3
3
|
# Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
|
4
4
|
# License:: Licensed under the Apache License,Version 2.0 (the "License").
|
5
5
|
#
|
6
|
-
# Code generated by AdsCommon library 0.5.
|
6
|
+
# Code generated by AdsCommon library 0.5.2 on 2011-10-20 20:34:58.
|
7
|
+
|
8
|
+
require 'adwords_api/errors'
|
7
9
|
|
8
10
|
module AdwordsApi; module V201101; module ExperimentService
|
9
11
|
class ExperimentServiceRegistry
|
10
|
-
EXPERIMENTSERVICE_METHODS = {:get=>{:input=>[{:type=>"Selector", :max_occurs=>1, :name=>:service_selector
|
11
|
-
EXPERIMENTSERVICE_TYPES = {:
|
12
|
+
EXPERIMENTSERVICE_METHODS = {:get=>{:input=>[{:type=>"Selector", :max_occurs=>1, :min_occurs=>0, :name=>:service_selector}], :output=>{:fields=>[{:type=>"ExperimentPage", :max_occurs=>1, :min_occurs=>0, :name=>:rval}], :name=>"get_response"}}, :mutate=>{:input=>[{:type=>"ExperimentOperation", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:operations}], :output=>{:fields=>[{:type=>"ExperimentReturnValue", :max_occurs=>1, :min_occurs=>0, :name=>:rval}], :name=>"mutate_response"}}}
|
13
|
+
EXPERIMENTSERVICE_TYPES = {:Selector=>{:fields=>[{:type=>"string", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:fields}, {:type=>"Predicate", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:predicates}, {:type=>"DateRange", :max_occurs=>1, :min_occurs=>0, :name=>:date_range}, {:type=>"OrderBy", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:ordering}, {:type=>"Paging", :max_occurs=>1, :min_occurs=>0, :name=>:paging}]}, :ExperimentReturnValue=>{:fields=>[{:type=>"Experiment", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:value}], :base=>"ListReturnValue"}, :DateRange=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:min}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:max}]}, :ListReturnValue=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:list_return_value_type}], :abstract=>true}, :ExperimentPage=>{:fields=>[{:type=>"Experiment", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:entries}], :base=>"Page"}, :SoapHeader=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:auth_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:client_customer_id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:client_email}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:developer_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:user_agent}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:validate_only}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:partial_failure}]}, :OrderBy=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:field}, {:type=>"SortOrder", :max_occurs=>1, :min_occurs=>0, :name=>:sort_order}]}, :EntityNotFound=>{:fields=>[{:type=>"EntityNotFound.Reason", :max_occurs=>1, :min_occurs=>0, :name=>:reason}], :base=>"ApiError"}, :Operation=>{:fields=>[{:type=>"Operator", :max_occurs=>1, :min_occurs=>0, :name=>:operator}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:operation_type}], :abstract=>true}, :OperationAccessDenied=>{:fields=>[{:type=>"OperationAccessDenied.Reason", :max_occurs=>1, :min_occurs=>0, :name=>:reason}], :base=>"ApiError"}, :ExperimentSummaryStats=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:ad_groups_count}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:ad_group_criteria_count}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:ad_group_ads_count}]}, :SoapResponseHeader=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:request_id}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:operations}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:response_time}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:units}]}, :Page=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:total_num_entries}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:page_type}], :abstract=>true}, :Experiment=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:id}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:control_id}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:campaign_id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:name}, {:type=>"ExperimentStatus", :max_occurs=>1, :min_occurs=>0, :name=>:status}, {:type=>"ExperimentServingStatus", :max_occurs=>1, :min_occurs=>0, :name=>:serving_status}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:query_percentage}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:start_date_time}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:end_date_time}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:last_modified_date_time}, {:type=>"ExperimentSummaryStats", :max_occurs=>1, :min_occurs=>0, :name=>:experiment_summary_stats}]}, :Paging=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:start_index}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:number_results}]}, :ExperimentOperation=>{:fields=>[{:type=>"Experiment", :max_occurs=>1, :min_occurs=>0, :name=>:operand}], :base=>"Operation"}, :Predicate=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:field}, {:type=>"Predicate.Operator", :max_occurs=>1, :min_occurs=>0, :name=>:operator}, {:type=>"string", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:values}]}}
|
12
14
|
EXPERIMENTSERVICE_NAMESPACES = []
|
13
15
|
|
14
16
|
def self.get_method_signature(method_name)
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
|
4
4
|
# License:: Licensed under the Apache License,Version 2.0 (the "License").
|
5
5
|
#
|
6
|
-
# Code generated by AdsCommon library 0.5.
|
6
|
+
# Code generated by AdsCommon library 0.5.2 on 2011-10-20 20:36:03.
|
7
7
|
|
8
8
|
require 'ads_common/savon_service'
|
9
9
|
require 'adwords_api/v201101/geo_location_service_registry'
|
@@ -15,8 +15,8 @@ module AdwordsApi; module V201101; module GeoLocationService
|
|
15
15
|
super(api, endpoint, namespace, :v201101)
|
16
16
|
end
|
17
17
|
|
18
|
-
def get(*args)
|
19
|
-
return execute_action('get', args)
|
18
|
+
def get(*args, &block)
|
19
|
+
return execute_action('get', args, &block)
|
20
20
|
end
|
21
21
|
|
22
22
|
private
|
@@ -3,12 +3,14 @@
|
|
3
3
|
# Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
|
4
4
|
# License:: Licensed under the Apache License,Version 2.0 (the "License").
|
5
5
|
#
|
6
|
-
# Code generated by AdsCommon library 0.5.
|
6
|
+
# Code generated by AdsCommon library 0.5.2 on 2011-10-20 20:36:03.
|
7
|
+
|
8
|
+
require 'adwords_api/errors'
|
7
9
|
|
8
10
|
module AdwordsApi; module V201101; module GeoLocationService
|
9
11
|
class GeoLocationServiceRegistry
|
10
|
-
GEOLOCATIONSERVICE_METHODS = {:get=>{:input=>[{:type=>"GeoLocationSelector", :max_occurs=>1, :name=>:selector
|
11
|
-
GEOLOCATIONSERVICE_TYPES = {:
|
12
|
+
GEOLOCATIONSERVICE_METHODS = {:get=>{:input=>[{:type=>"GeoLocationSelector", :max_occurs=>1, :min_occurs=>0, :name=>:selector}], :output=>{:fields=>[{:type=>"GeoLocation", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:rval}], :name=>"get_response"}}}
|
13
|
+
GEOLOCATIONSERVICE_TYPES = {:GeoLocationSelector=>{:fields=>[{:type=>"Address", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:addresses}]}, :SoapHeader=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:auth_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:client_customer_id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:client_email}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:developer_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:user_agent}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:validate_only}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:partial_failure}]}, :InvalidGeoLocation=>{:fields=>[], :base=>"GeoLocation"}, :Address=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:street_address}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:street_address2}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:city_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:province_code}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:province_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:postal_code}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:country_code}]}, :SoapResponseHeader=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:request_id}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:operations}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:response_time}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:units}]}, :GeoPoint=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:latitude_in_micro_degrees}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:longitude_in_micro_degrees}]}, :GeoLocation=>{:fields=>[{:type=>"GeoPoint", :max_occurs=>1, :min_occurs=>0, :name=>:geo_point}, {:type=>"Address", :max_occurs=>1, :min_occurs=>0, :name=>:address}, {:type=>"base64Binary", :max_occurs=>1, :min_occurs=>0, :name=>:encoded_location}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:geo_location_type}]}}
|
12
14
|
GEOLOCATIONSERVICE_NAMESPACES = []
|
13
15
|
|
14
16
|
def self.get_method_signature(method_name)
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
|
4
4
|
# License:: Licensed under the Apache License,Version 2.0 (the "License").
|
5
5
|
#
|
6
|
-
# Code generated by AdsCommon library 0.5.
|
6
|
+
# Code generated by AdsCommon library 0.5.2 on 2011-10-20 20:36:08.
|
7
7
|
|
8
8
|
require 'ads_common/savon_service'
|
9
9
|
require 'adwords_api/v201101/info_service_registry'
|
@@ -15,8 +15,8 @@ module AdwordsApi; module V201101; module InfoService
|
|
15
15
|
super(api, endpoint, namespace, :v201101)
|
16
16
|
end
|
17
17
|
|
18
|
-
def get(*args)
|
19
|
-
return execute_action('get', args)
|
18
|
+
def get(*args, &block)
|
19
|
+
return execute_action('get', args, &block)
|
20
20
|
end
|
21
21
|
|
22
22
|
private
|
@@ -3,12 +3,14 @@
|
|
3
3
|
# Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
|
4
4
|
# License:: Licensed under the Apache License,Version 2.0 (the "License").
|
5
5
|
#
|
6
|
-
# Code generated by AdsCommon library 0.5.
|
6
|
+
# Code generated by AdsCommon library 0.5.2 on 2011-10-20 20:36:08.
|
7
|
+
|
8
|
+
require 'adwords_api/errors'
|
7
9
|
|
8
10
|
module AdwordsApi; module V201101; module InfoService
|
9
11
|
class InfoServiceRegistry
|
10
|
-
INFOSERVICE_METHODS = {:get=>{:input=>[{:type=>"InfoSelector", :max_occurs=>1, :name=>:selector
|
11
|
-
INFOSERVICE_TYPES = {:
|
12
|
+
INFOSERVICE_METHODS = {:get=>{:input=>[{:type=>"InfoSelector", :max_occurs=>1, :min_occurs=>0, :name=>:selector}], :output=>{:fields=>[{:type=>"ApiUsageInfo", :max_occurs=>1, :min_occurs=>0, :name=>:rval}], :name=>"get_response"}}}
|
13
|
+
INFOSERVICE_TYPES = {:DateRange=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:min}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:max}], :ns=>0}, :InfoSelector=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:service_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:method_name}, {:type=>"Operator", :max_occurs=>1, :min_occurs=>0, :name=>:operator}, {:type=>"DateRange", :max_occurs=>1, :min_occurs=>0, :name=>:date_range}, {:type=>"string", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:client_emails}, {:type=>"ApiUsageType", :max_occurs=>1, :min_occurs=>0, :name=>:api_usage_type}]}, :ApiUsageInfo=>{:fields=>[{:type=>"ApiUsageRecord", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:api_usage_records}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:cost}]}, :SoapHeader=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:auth_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:client_customer_id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:client_email}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:developer_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:user_agent}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:validate_only}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:partial_failure}], :ns=>0}, :EntityNotFound=>{:fields=>[{:type=>"EntityNotFound.Reason", :max_occurs=>1, :min_occurs=>0, :name=>:reason}], :ns=>0, :base=>"ApiError"}, :SoapResponseHeader=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:request_id}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:operations}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:response_time}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:units}], :ns=>0}, :ApiUsageRecord=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:client_email}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:cost}]}}
|
12
14
|
INFOSERVICE_NAMESPACES = ["https://adwords.google.com/api/adwords/cm/v201101"]
|
13
15
|
|
14
16
|
def self.get_method_signature(method_name)
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
|
4
4
|
# License:: Licensed under the Apache License,Version 2.0 (the "License").
|
5
5
|
#
|
6
|
-
# Code generated by AdsCommon library 0.5.
|
6
|
+
# Code generated by AdsCommon library 0.5.2 on 2011-10-20 20:35:52.
|
7
7
|
|
8
8
|
require 'ads_common/savon_service'
|
9
9
|
require 'adwords_api/v201101/media_service_registry'
|
@@ -15,12 +15,12 @@ module AdwordsApi; module V201101; module MediaService
|
|
15
15
|
super(api, endpoint, namespace, :v201101)
|
16
16
|
end
|
17
17
|
|
18
|
-
def
|
19
|
-
return execute_action('
|
18
|
+
def upload(*args, &block)
|
19
|
+
return execute_action('upload', args, &block)
|
20
20
|
end
|
21
21
|
|
22
|
-
def
|
23
|
-
return execute_action('
|
22
|
+
def get(*args, &block)
|
23
|
+
return execute_action('get', args, &block)
|
24
24
|
end
|
25
25
|
|
26
26
|
private
|
@@ -3,12 +3,14 @@
|
|
3
3
|
# Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
|
4
4
|
# License:: Licensed under the Apache License,Version 2.0 (the "License").
|
5
5
|
#
|
6
|
-
# Code generated by AdsCommon library 0.5.
|
6
|
+
# Code generated by AdsCommon library 0.5.2 on 2011-10-20 20:35:52.
|
7
|
+
|
8
|
+
require 'adwords_api/errors'
|
7
9
|
|
8
10
|
module AdwordsApi; module V201101; module MediaService
|
9
11
|
class MediaServiceRegistry
|
10
|
-
MEDIASERVICE_METHODS = {:
|
11
|
-
MEDIASERVICE_TYPES = {:
|
12
|
+
MEDIASERVICE_METHODS = {:upload=>{:input=>[{:type=>"Media", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:media}], :output=>{:fields=>[{:type=>"Media", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:rval}], :name=>"upload_response"}}, :get=>{:input=>[{:type=>"Selector", :max_occurs=>1, :min_occurs=>0, :name=>:service_selector}], :output=>{:fields=>[{:type=>"MediaPage", :max_occurs=>1, :min_occurs=>0, :name=>:rval}], :name=>"get_response"}}}
|
13
|
+
MEDIASERVICE_TYPES = {:Selector=>{:fields=>[{:type=>"string", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:fields}, {:type=>"Predicate", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:predicates}, {:type=>"DateRange", :max_occurs=>1, :min_occurs=>0, :name=>:date_range}, {:type=>"OrderBy", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:ordering}, {:type=>"Paging", :max_occurs=>1, :min_occurs=>0, :name=>:paging}]}, :DateRange=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:min}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:max}]}, :Dimensions=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:width}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:height}]}, :Media=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:media_id}, {:type=>"Media.MediaType", :max_occurs=>1, :min_occurs=>0, :name=>:type}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:reference_id}, {:type=>"Media_Size_DimensionsMapEntry", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:dimensions}, {:type=>"Media_Size_StringMapEntry", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:urls}, {:type=>"Media.MimeType", :max_occurs=>1, :min_occurs=>0, :name=>:mime_type}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:source_url}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:name}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:file_size}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:creation_time}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:media_type}]}, :Image=>{:fields=>[{:type=>"base64Binary", :max_occurs=>1, :min_occurs=>0, :name=>:data}], :base=>"Media"}, :SoapHeader=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:auth_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:client_customer_id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:client_email}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:developer_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:user_agent}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:validate_only}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:partial_failure}]}, :OrderBy=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:field}, {:type=>"SortOrder", :max_occurs=>1, :min_occurs=>0, :name=>:sort_order}]}, :EntityNotFound=>{:fields=>[{:type=>"EntityNotFound.Reason", :max_occurs=>1, :min_occurs=>0, :name=>:reason}], :base=>"ApiError"}, :OperationAccessDenied=>{:fields=>[{:type=>"OperationAccessDenied.Reason", :max_occurs=>1, :min_occurs=>0, :name=>:reason}], :base=>"ApiError"}, :Media_Size_DimensionsMapEntry=>{:fields=>[{:type=>"Media.Size", :max_occurs=>1, :min_occurs=>0, :name=>:key}, {:type=>"Dimensions", :max_occurs=>1, :min_occurs=>0, :name=>:value}]}, :SoapResponseHeader=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:request_id}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:operations}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:response_time}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:units}]}, :Paging=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:start_index}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:number_results}]}, :Media_Size_StringMapEntry=>{:fields=>[{:type=>"Media.Size", :max_occurs=>1, :min_occurs=>0, :name=>:key}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:value}]}, :MediaPage=>{:fields=>[{:type=>"Media", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:entries}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:total_num_entries}]}, :Video=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:duration_millis}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:streaming_url}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:ready_to_play_on_the_web}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:industry_standard_commercial_identifier}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:advertising_id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:you_tube_video_id_string}], :base=>"Media"}, :Audio=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:duration_millis}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:streaming_url}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:ready_to_play_on_the_web}], :base=>"Media"}, :Predicate=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:field}, {:type=>"Predicate.Operator", :max_occurs=>1, :min_occurs=>0, :name=>:operator}, {:type=>"string", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:values}]}}
|
12
14
|
MEDIASERVICE_NAMESPACES = []
|
13
15
|
|
14
16
|
def self.get_method_signature(method_name)
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
|
4
4
|
# License:: Licensed under the Apache License,Version 2.0 (the "License").
|
5
5
|
#
|
6
|
-
# Code generated by AdsCommon library 0.5.
|
6
|
+
# Code generated by AdsCommon library 0.5.2 on 2011-10-20 20:35:05.
|
7
7
|
|
8
8
|
require 'ads_common/savon_service'
|
9
9
|
require 'adwords_api/v201101/report_definition_service_registry'
|
@@ -16,16 +16,16 @@ module AdwordsApi; module V201101; module ReportDefinitionService
|
|
16
16
|
super(api, endpoint, namespace, :v201101)
|
17
17
|
end
|
18
18
|
|
19
|
-
def get(*args)
|
20
|
-
return execute_action('get', args)
|
19
|
+
def get(*args, &block)
|
20
|
+
return execute_action('get', args, &block)
|
21
21
|
end
|
22
22
|
|
23
|
-
def
|
24
|
-
return execute_action('
|
23
|
+
def get_report_fields(*args, &block)
|
24
|
+
return execute_action('get_report_fields', args, &block)
|
25
25
|
end
|
26
26
|
|
27
|
-
def
|
28
|
-
return execute_action('
|
27
|
+
def mutate(*args, &block)
|
28
|
+
return execute_action('mutate', args, &block)
|
29
29
|
end
|
30
30
|
|
31
31
|
def download_report(*args)
|
@@ -36,14 +36,6 @@ module AdwordsApi; module V201101; module ReportDefinitionService
|
|
36
36
|
return AdwordsApi::Extensions.download_report_as_file(self, args)
|
37
37
|
end
|
38
38
|
|
39
|
-
def download_mcc_report(*args)
|
40
|
-
return AdwordsApi::Extensions.download_mcc_report(self, args)
|
41
|
-
end
|
42
|
-
|
43
|
-
def download_mcc_report_as_file(*args)
|
44
|
-
return AdwordsApi::Extensions.download_mcc_report_as_file(self, args)
|
45
|
-
end
|
46
|
-
|
47
39
|
private
|
48
40
|
|
49
41
|
def get_service_registry()
|
@@ -3,12 +3,14 @@
|
|
3
3
|
# Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
|
4
4
|
# License:: Licensed under the Apache License,Version 2.0 (the "License").
|
5
5
|
#
|
6
|
-
# Code generated by AdsCommon library 0.5.
|
6
|
+
# Code generated by AdsCommon library 0.5.2 on 2011-10-20 20:35:05.
|
7
|
+
|
8
|
+
require 'adwords_api/errors'
|
7
9
|
|
8
10
|
module AdwordsApi; module V201101; module ReportDefinitionService
|
9
11
|
class ReportDefinitionServiceRegistry
|
10
|
-
REPORTDEFINITIONSERVICE_METHODS = {:get=>{:input=>[{:type=>"ReportDefinitionSelector", :max_occurs=>1, :name=>:selector
|
11
|
-
REPORTDEFINITIONSERVICE_TYPES = {:
|
12
|
+
REPORTDEFINITIONSERVICE_METHODS = {:get=>{:input=>[{:type=>"ReportDefinitionSelector", :max_occurs=>1, :min_occurs=>0, :name=>:selector}], :output=>{:fields=>[{:type=>"ReportDefinitionPage", :max_occurs=>1, :min_occurs=>0, :name=>:rval}], :name=>"get_response"}}, :get_report_fields=>{:input=>[{:type=>"ReportDefinition.ReportType", :max_occurs=>1, :min_occurs=>0, :name=>:report_type}], :output=>{:fields=>[{:type=>"ReportDefinitionField", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:rval}], :name=>"get_report_fields_response"}}, :mutate=>{:input=>[{:type=>"ReportDefinitionOperation", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:operations}], :output=>{:fields=>[{:type=>"ReportDefinition", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:rval}], :name=>"mutate_response"}}}
|
13
|
+
REPORTDEFINITIONSERVICE_TYPES = {:Selector=>{:fields=>[{:type=>"string", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:fields}, {:type=>"Predicate", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:predicates}, {:type=>"DateRange", :max_occurs=>1, :min_occurs=>0, :name=>:date_range}, {:type=>"OrderBy", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:ordering}, {:type=>"Paging", :max_occurs=>1, :min_occurs=>0, :name=>:paging}]}, :EnumValuePair=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:enum_value}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:enum_display_value}]}, :DateRange=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:min}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:max}]}, :ReportDefinitionSelector=>{:fields=>[{:type=>"long", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:definition_ids}, {:type=>"Paging", :max_occurs=>1, :min_occurs=>0, :name=>:paging}]}, :ClientSelector=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:login}, {:type=>"Predicate", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:predicates}]}, :ReportDefinition=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:id}, {:type=>"Selector", :max_occurs=>1, :min_occurs=>0, :name=>:selector}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:report_name}, {:type=>"ReportDefinition.ReportType", :max_occurs=>1, :min_occurs=>0, :name=>:report_type}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:has_attachment}, {:type=>"ReportDefinition.DateRangeType", :max_occurs=>1, :min_occurs=>0, :name=>:date_range_type}, {:type=>"DownloadFormat", :max_occurs=>1, :min_occurs=>0, :name=>:download_format}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:creation_time}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:cross_client}, {:type=>"ClientSelector", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:client_selectors}]}, :SoapHeader=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:auth_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:client_customer_id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:client_email}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:developer_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:user_agent}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:validate_only}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:partial_failure}]}, :OrderBy=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:field}, {:type=>"SortOrder", :max_occurs=>1, :min_occurs=>0, :name=>:sort_order}]}, :Operation=>{:fields=>[{:type=>"Operator", :max_occurs=>1, :min_occurs=>0, :name=>:operator}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:operation_type}], :abstract=>true}, :ReportDefinitionOperation=>{:fields=>[{:type=>"ReportDefinition", :max_occurs=>1, :min_occurs=>0, :name=>:operand}], :base=>"Operation"}, :SoapResponseHeader=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:request_id}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:operations}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:response_time}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:units}]}, :Paging=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:start_index}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:number_results}]}, :ReportDefinitionPage=>{:fields=>[{:type=>"ReportDefinition", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:entries}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:total_num_entries}]}, :ReportDefinitionField=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:field_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:display_field_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:xml_attribute_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:field_type}, {:type=>"string", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:enum_values}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:can_select}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:can_filter}, {:type=>"EnumValuePair", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:enum_value_pairs}]}, :Predicate=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:field}, {:type=>"Predicate.Operator", :max_occurs=>1, :min_occurs=>0, :name=>:operator}, {:type=>"string", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:values}]}}
|
12
14
|
REPORTDEFINITIONSERVICE_NAMESPACES = []
|
13
15
|
|
14
16
|
def self.get_method_signature(method_name)
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
|
4
4
|
# License:: Licensed under the Apache License,Version 2.0 (the "License").
|
5
5
|
#
|
6
|
-
# Code generated by AdsCommon library 0.5.
|
6
|
+
# Code generated by AdsCommon library 0.5.2 on 2011-10-20 20:35:03.
|
7
7
|
|
8
8
|
require 'ads_common/savon_service'
|
9
9
|
require 'adwords_api/v201101/serviced_account_service_registry'
|
@@ -15,8 +15,8 @@ module AdwordsApi; module V201101; module ServicedAccountService
|
|
15
15
|
super(api, endpoint, namespace, :v201101)
|
16
16
|
end
|
17
17
|
|
18
|
-
def get(*args)
|
19
|
-
return execute_action('get', args)
|
18
|
+
def get(*args, &block)
|
19
|
+
return execute_action('get', args, &block)
|
20
20
|
end
|
21
21
|
|
22
22
|
private
|
@@ -3,12 +3,14 @@
|
|
3
3
|
# Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
|
4
4
|
# License:: Licensed under the Apache License,Version 2.0 (the "License").
|
5
5
|
#
|
6
|
-
# Code generated by AdsCommon library 0.5.
|
6
|
+
# Code generated by AdsCommon library 0.5.2 on 2011-10-20 20:35:03.
|
7
|
+
|
8
|
+
require 'adwords_api/errors'
|
7
9
|
|
8
10
|
module AdwordsApi; module V201101; module ServicedAccountService
|
9
11
|
class ServicedAccountServiceRegistry
|
10
|
-
SERVICEDACCOUNTSERVICE_METHODS = {:get=>{:input=>[{:type=>"ServicedAccountSelector", :max_occurs=>1, :name=>:selector
|
11
|
-
SERVICEDACCOUNTSERVICE_TYPES = {:
|
12
|
+
SERVICEDACCOUNTSERVICE_METHODS = {:get=>{:input=>[{:type=>"ServicedAccountSelector", :max_occurs=>1, :min_occurs=>0, :name=>:selector}], :output=>{:fields=>[{:type=>"ServicedAccountGraph", :max_occurs=>1, :min_occurs=>0, :name=>:rval}], :name=>"get_response"}}}
|
13
|
+
SERVICEDACCOUNTSERVICE_TYPES = {:ServicedAccountSelector=>{:fields=>[{:type=>"long", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:customer_ids}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:enable_paging}, {:type=>"ServiceType", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:service_types}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:submanagers_only}]}, :ServicedAccountGraph=>{:fields=>[{:type=>"Account", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:accounts}, {:type=>"Link", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:links}]}, :SoapHeader=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:auth_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:client_customer_id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:client_email}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:developer_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:user_agent}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:validate_only}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:partial_failure}], :ns=>0}, :Account=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:customer_id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:login}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:company_name}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:can_manage_clients}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:currency_code}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:date_time_zone}]}, :SoapResponseHeader=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:request_id}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:operations}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:response_time}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:units}], :ns=>0}, :CustomerId=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:id}]}, :Link=>{:fields=>[{:type=>"CustomerId", :max_occurs=>1, :min_occurs=>0, :name=>:manager_id}, {:type=>"CustomerId", :max_occurs=>1, :min_occurs=>0, :name=>:client_id}, {:type=>"ServiceType", :max_occurs=>1, :min_occurs=>0, :name=>:service_type}, {:type=>"LinkType", :max_occurs=>1, :min_occurs=>0, :name=>:type_of_link}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:descriptive_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:link_type}]}}
|
12
14
|
SERVICEDACCOUNTSERVICE_NAMESPACES = ["https://adwords.google.com/api/adwords/cm/v201101"]
|
13
15
|
|
14
16
|
def self.get_method_signature(method_name)
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
|
4
4
|
# License:: Licensed under the Apache License,Version 2.0 (the "License").
|
5
5
|
#
|
6
|
-
# Code generated by AdsCommon library 0.5.
|
6
|
+
# Code generated by AdsCommon library 0.5.2 on 2011-10-20 20:35:13.
|
7
7
|
|
8
8
|
require 'ads_common/savon_service'
|
9
9
|
require 'adwords_api/v201101/targeting_idea_service_registry'
|
@@ -15,12 +15,12 @@ module AdwordsApi; module V201101; module TargetingIdeaService
|
|
15
15
|
super(api, endpoint, namespace, :v201101)
|
16
16
|
end
|
17
17
|
|
18
|
-
def
|
19
|
-
return execute_action('
|
18
|
+
def get_bulk_keyword_ideas(*args, &block)
|
19
|
+
return execute_action('get_bulk_keyword_ideas', args, &block)
|
20
20
|
end
|
21
21
|
|
22
|
-
def
|
23
|
-
return execute_action('
|
22
|
+
def get(*args, &block)
|
23
|
+
return execute_action('get', args, &block)
|
24
24
|
end
|
25
25
|
|
26
26
|
private
|
@@ -3,12 +3,14 @@
|
|
3
3
|
# Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
|
4
4
|
# License:: Licensed under the Apache License,Version 2.0 (the "License").
|
5
5
|
#
|
6
|
-
# Code generated by AdsCommon library 0.5.
|
6
|
+
# Code generated by AdsCommon library 0.5.2 on 2011-10-20 20:35:13.
|
7
|
+
|
8
|
+
require 'adwords_api/errors'
|
7
9
|
|
8
10
|
module AdwordsApi; module V201101; module TargetingIdeaService
|
9
11
|
class TargetingIdeaServiceRegistry
|
10
|
-
TARGETINGIDEASERVICE_METHODS = {:
|
11
|
-
TARGETINGIDEASERVICE_TYPES = {:SearchParameter=>{:fields=>[{:type=>"string", :max_occurs=>1, :name=>:search_parameter_type, :min_occurs=>0}], :abstract=>true}, :ProductConditionOperand=>{:fields=>[{:type=>"string", :max_occurs=>1, :name=>:operand, :min_occurs=>0}], :ns=>0}, :BidLandscapeAttribute=>{:fields=>[{:type=>"BidLandscape", :max_occurs=>1, :name=>:value, :min_occurs=>0}], :base=>"Attribute"}, :Target=>{:fields=>[{:type=>"string", :max_occurs=>1, :name=>:target_type, :min_occurs=>0}], :abstract=>true, :ns=>0}, :MoneyAttribute=>{:fields=>[{:type=>"Money", :max_occurs=>1, :name=>:value, :min_occurs=>0}], :base=>"Attribute"}, :LanguageTargetSearchParameter=>{:fields=>[{:type=>"LanguageTarget", :max_occurs=>:unbounded, :name=>:language_targets, :min_occurs=>0}], :base=>"SearchParameter"}, :CriterionUserInterest=>{:fields=>[{:type=>"long", :max_occurs=>1, :name=>:user_interest_id, :min_occurs=>0}, {:type=>"string", :max_occurs=>1, :name=>:user_interest_name, :min_occurs=>0}], :base=>"Criterion", :ns=>0}, :MobileTarget=>{:fields=>[], :abstract=>true, :base=>"Target", :ns=>0}, :Money=>{:fields=>[{:type=>"long", :max_occurs=>1, :name=>:micro_amount, :min_occurs=>0}], :base=>"ComparableValue", :ns=>0}, :IntegerAttribute=>{:fields=>[{:type=>"int", :max_occurs=>1, :name=>:value, :min_occurs=>0}], :base=>"Attribute"}, :GlobalMonthlySearchesSearchParameter=>{:fields=>[{:type=>"LongComparisonOperation", :max_occurs=>1, :name=>:operation, :min_occurs=>0}], :base=>"SearchParameter"}, :CriterionBidLandscape=>{:fields=>[{:type=>"long", :max_occurs=>1, :name=>:criterion_id, :min_occurs=>0}], :base=>"BidLandscape", :ns=>0}, :GeoTarget=>{:fields=>[{:type=>"boolean", :max_occurs=>1, :name=>:excluded, :min_occurs=>0}], :abstract=>true, :base=>"Target", :ns=>0}, :EntityNotFound=>{:fields=>[{:type=>"EntityNotFound.Reason", :max_occurs=>1, :name=>:reason, :min_occurs=>0}], :base=>"ApiError", :ns=>0}, :TargetingIdeaPage=>{:fields=>[{:type=>"int", :max_occurs=>1, :name=>:total_num_entries, :min_occurs=>0}, {:type=>"TargetingIdea", :max_occurs=>:unbounded, :name=>:entries, :min_occurs=>0}]}, :StringAttribute=>{:fields=>[{:type=>"string", :max_occurs=>1, :name=>:value, :min_occurs=>0}], :base=>"Attribute"}, :CompetitionSearchParameter=>{:fields=>[{:type=>"CompetitionSearchParameter.Level", :max_occurs=>:unbounded, :name=>:levels, :min_occurs=>0}], :base=>"SearchParameter"}, :EntityCountLimitExceeded=>{:fields=>[{:type=>"EntityCountLimitExceeded.Reason", :max_occurs=>1, :name=>:reason, :min_occurs=>0}, {:type=>"string", :max_occurs=>1, :name=>:enclosing_id, :min_occurs=>0}, {:type=>"int", :max_occurs=>1, :name=>:limit, :min_occurs=>0}], :base=>"ApiError", :ns=>0}, :SoapResponseHeader=>{:fields=>[{:type=>"string", :max_occurs=>1, :name=>:request_id, :min_occurs=>0}, {:type=>"long", :max_occurs=>1, :name=>:operations, :min_occurs=>0}, {:type=>"long", :max_occurs=>1, :name=>:response_time, :min_occurs=>0}, {:type=>"long", :max_occurs=>1, :name=>:units, :min_occurs=>0}], :ns=>0}, :AgeTarget=>{:fields=>[{:type=>"AgeTarget.Age", :max_occurs=>1, :name=>:age, :min_occurs=>0}], :base=>"DemographicTarget", :ns=>0}, :CriterionAttribute=>{:fields=>[{:type=>"Criterion", :max_occurs=>1, :name=>:value, :min_occurs=>0}], :base=>"Attribute"}, :RelatedToUrlSearchParameter=>{:fields=>[{:type=>"string", :max_occurs=>:unbounded, :name=>:urls, :min_occurs=>0}, {:type=>"boolean", :max_occurs=>1, :name=>:include_sub_urls, :min_occurs=>0}], :base=>"SearchParameter"}, :Paging=>{:fields=>[{:type=>"int", :max_occurs=>1, :name=>:start_index, :min_occurs=>0}, {:type=>"int", :max_occurs=>1, :name=>:number_results, :min_occurs=>0}], :ns=>0}, :AdFormatSpecListAttribute=>{:fields=>[{:type=>"AdFormatSpec", :max_occurs=>:unbounded, :name=>:value, :min_occurs=>0}], :base=>"Attribute"}, :ProximityTarget=>{:fields=>[{:type=>"GeoPoint", :max_occurs=>1, :name=>:geo_point, :min_occurs=>0}, {:type=>"ProximityTarget.DistanceUnits", :max_occurs=>1, :name=>:radius_distance_units, :min_occurs=>0}, {:type=>"double", :max_occurs=>1, :name=>:radius_in_units, :min_occurs=>0}, {:type=>"Address", :max_occurs=>1, :name=>:address, :min_occurs=>0}, {:type=>"boolean", :max_occurs=>1, :name=>:allow_service_of_address, :min_occurs=>0}], :base=>"GeoTarget", :ns=>0}, :LongRangeAttribute=>{:fields=>[{:type=>"Range", :max_occurs=>1, :name=>:value, :min_occurs=>0}], :base=>"Attribute"}, :KeywordMatchTypeSearchParameter=>{:fields=>[{:type=>"KeywordMatchType", :max_occurs=>:unbounded, :name=>:keyword_match_types, :min_occurs=>0}], :base=>"SearchParameter"}, :Attribute=>{:fields=>[{:type=>"string", :max_occurs=>1, :name=>:attribute_type, :min_occurs=>0}], :abstract=>true}, :DataEntry=>{:fields=>[{:type=>"string", :max_occurs=>1, :name=>:data_entry_type, :min_occurs=>0}], :abstract=>true, :ns=>0}, :MobilePlatformTarget=>{:fields=>[{:type=>"string", :max_occurs=>1, :name=>:platform_name, :min_occurs=>0}], :base=>"MobileTarget", :ns=>0}, :DoubleValue=>{:fields=>[{:type=>"double", :max_occurs=>1, :name=>:number, :min_occurs=>0}], :base=>"NumberValue", :ns=>0}, :InStreamAdInfoAttribute=>{:fields=>[{:type=>"InStreamAdInfo", :max_occurs=>1, :name=>:value, :min_occurs=>0}], :base=>"Attribute"}, :ExcludedKeywordSearchParameter=>{:fields=>[{:type=>"Keyword", :max_occurs=>:unbounded, :name=>:keywords, :min_occurs=>0}], :base=>"SearchParameter"}, :Criterion=>{:fields=>[{:type=>"long", :max_occurs=>1, :name=>:id, :min_occurs=>0}, {:type=>"string", :max_occurs=>1, :name=>:criterion_type, :min_occurs=>0}], :ns=>0}, :GenderTarget=>{:fields=>[{:type=>"GenderTarget.Gender", :max_occurs=>1, :name=>:gender, :min_occurs=>0}], :base=>"DemographicTarget", :ns=>0}, :TargetingIdea=>{:fields=>[{:type=>"Type_AttributeMapEntry", :max_occurs=>:unbounded, :name=>:data, :min_occurs=>0}]}, :PlacementTypeAttribute=>{:fields=>[{:type=>"SiteConstants.PlacementType", :max_occurs=>1, :name=>:value, :min_occurs=>0}], :base=>"Attribute"}, :AverageTargetedMonthlySearchesSearchParameter=>{:fields=>[{:type=>"LongComparisonOperation", :max_occurs=>1, :name=>:operation, :min_occurs=>0}], :base=>"SearchParameter"}, :SoapHeader=>{:fields=>[{:type=>"string", :max_occurs=>1, :name=>:auth_token, :min_occurs=>0}, {:type=>"string", :max_occurs=>1, :name=>:client_customer_id, :min_occurs=>0}, {:type=>"string", :max_occurs=>1, :name=>:client_email, :min_occurs=>0}, {:type=>"string", :max_occurs=>1, :name=>:developer_token, :min_occurs=>0}, {:type=>"string", :max_occurs=>1, :name=>:user_agent, :min_occurs=>0}, {:type=>"boolean", :max_occurs=>1, :name=>:validate_only, :min_occurs=>0}, {:type=>"boolean", :max_occurs=>1, :name=>:partial_failure, :min_occurs=>0}], :ns=>0}, :AdScheduleTarget=>{:fields=>[{:type=>"DayOfWeek", :max_occurs=>1, :name=>:day_of_week, :min_occurs=>0}, {:type=>"int", :max_occurs=>1, :name=>:start_hour, :min_occurs=>0}, {:type=>"MinuteOfHour", :max_occurs=>1, :name=>:start_minute, :min_occurs=>0}, {:type=>"int", :max_occurs=>1, :name=>:end_hour, :min_occurs=>0}, {:type=>"MinuteOfHour", :max_occurs=>1, :name=>:end_minute, :min_occurs=>0}, {:type=>"double", :max_occurs=>1, :name=>:bid_multiplier, :min_occurs=>0}], :base=>"Target", :ns=>0}, :RelatedToKeywordSearchParameter=>{:fields=>[{:type=>"Keyword", :max_occurs=>:unbounded, :name=>:keywords, :min_occurs=>0}], :base=>"SearchParameter"}, :AdFormatSpec=>{:fields=>[{:type=>"SiteConstants.AdFormat", :max_occurs=>1, :name=>:format, :min_occurs=>0}]}, :ProvinceTarget=>{:fields=>[{:type=>"string", :max_occurs=>1, :name=>:province_code, :min_occurs=>0}], :base=>"GeoTarget", :ns=>0}, :LongAttribute=>{:fields=>[{:type=>"long", :max_occurs=>1, :name=>:value, :min_occurs=>0}], :base=>"Attribute"}, :KeywordCategoryIdSearchParameter=>{:fields=>[{:type=>"int", :max_occurs=>1, :name=>:category_id, :min_occurs=>0}], :base=>"SearchParameter"}, :MobileCarrierTarget=>{:fields=>[{:type=>"string", :max_occurs=>1, :name=>:carrier_name, :min_occurs=>0}, {:type=>"string", :max_occurs=>1, :name=>:country_code, :min_occurs=>0}], :base=>"MobileTarget", :ns=>0}, :AdGroupCriterionLimitExceeded=>{:fields=>[{:type=>"AdGroupCriterionLimitExceeded.CriteriaLimitType", :max_occurs=>1, :name=>:limit_type, :min_occurs=>0}], :base=>"EntityCountLimitExceeded", :ns=>0}, :"BidLandscape.LandscapePoint"=>{:fields=>[{:type=>"Money", :max_occurs=>1, :name=>:bid, :min_occurs=>0}, {:type=>"long", :max_occurs=>1, :name=>:clicks, :min_occurs=>0}, {:type=>"Money", :max_occurs=>1, :name=>:cost, :min_occurs=>0}, {:type=>"Money", :max_occurs=>1, :name=>:marginal_cpc, :min_occurs=>0}, {:type=>"long", :max_occurs=>1, :name=>:impressions, :min_occurs=>0}], :ns=>0}, :LongValue=>{:fields=>[{:type=>"long", :max_occurs=>1, :name=>:number, :min_occurs=>0}], :base=>"NumberValue", :ns=>0}, :PolicyViolationKey=>{:fields=>[{:type=>"string", :max_occurs=>1, :name=>:policy_name, :min_occurs=>0}, {:type=>"string", :max_occurs=>1, :name=>:violating_text, :min_occurs=>0}], :ns=>0}, :Product=>{:fields=>[{:type=>"ProductCondition", :max_occurs=>:unbounded, :name=>:conditions, :min_occurs=>0}, {:type=>"string", :max_occurs=>1, :name=>:text, :min_occurs=>0}], :base=>"Criterion", :ns=>0}, :InStreamAdInfo=>{:fields=>[{:type=>"int", :max_occurs=>1, :name=>:max_ad_duration, :min_occurs=>0}, {:type=>"int", :max_occurs=>1, :name=>:min_ad_duration, :min_occurs=>0}, {:type=>"int", :max_occurs=>1, :name=>:median_ad_duration, :min_occurs=>0}, {:type=>"double", :max_occurs=>1, :name=>:pre_roll_percent, :min_occurs=>0}, {:type=>"double", :max_occurs=>1, :name=>:mid_roll_percent, :min_occurs=>0}, {:type=>"double", :max_occurs=>1, :name=>:post_roll_percent, :min_occurs=>0}]}, :DoubleComparisonOperation=>{:fields=>[{:type=>"double", :max_occurs=>1, :name=>:minimum, :min_occurs=>0}, {:type=>"double", :max_occurs=>1, :name=>:maximum, :min_occurs=>0}]}, :DemographicTarget=>{:fields=>[{:type=>"int", :max_occurs=>1, :name=>:bid_modifier, :min_occurs=>0}], :abstract=>true, :base=>"Target", :ns=>0}, :SeedAdGroupIdSearchParameter=>{:fields=>[{:type=>"long", :max_occurs=>1, :name=>:ad_group_id, :min_occurs=>0}], :base=>"SearchParameter"}, :PlacementAttribute=>{:fields=>[{:type=>"Placement", :max_occurs=>1, :name=>:value, :min_occurs=>0}], :base=>"Attribute"}, :AdTypeSearchParameter=>{:fields=>[{:type=>"SiteConstants.AdType", :max_occurs=>:unbounded, :name=>:ad_types, :min_occurs=>0}], :base=>"SearchParameter"}, :PlacementTypeSearchParameter=>{:fields=>[{:type=>"SiteConstants.PlacementType", :max_occurs=>:unbounded, :name=>:placement_types, :min_occurs=>0}], :base=>"SearchParameter"}, :MonthlySearchVolumeAttribute=>{:fields=>[{:type=>"MonthlySearchVolume", :max_occurs=>:unbounded, :name=>:value, :min_occurs=>0}], :base=>"Attribute"}, :Vertical=>{:fields=>[{:type=>"string", :max_occurs=>:unbounded, :name=>:path, :min_occurs=>0}], :base=>"Criterion", :ns=>0}, :"PolicyViolationError.Part"=>{:fields=>[{:type=>"int", :max_occurs=>1, :name=>:index, :min_occurs=>0}, {:type=>"int", :max_occurs=>1, :name=>:length, :min_occurs=>0}], :ns=>0}, :PolygonTarget=>{:fields=>[{:type=>"GeoPoint", :max_occurs=>:unbounded, :name=>:vertices, :min_occurs=>0}], :base=>"GeoTarget", :ns=>0}, :KeywordAttribute=>{:fields=>[{:type=>"Keyword", :max_occurs=>1, :name=>:value, :min_occurs=>0}], :base=>"Attribute"}, :IncludeAdultContentSearchParameter=>{:fields=>[], :base=>"SearchParameter"}, :Placement=>{:fields=>[{:type=>"string", :max_occurs=>1, :name=>:url, :min_occurs=>0}], :base=>"Criterion", :ns=>0}, :MetroTarget=>{:fields=>[{:type=>"string", :max_occurs=>1, :name=>:metro_code, :min_occurs=>0}], :base=>"GeoTarget", :ns=>0}, :WebpageDescriptorAttribute=>{:fields=>[{:type=>"WebpageDescriptor", :max_occurs=>1, :name=>:value, :min_occurs=>0}], :base=>"Attribute"}, :Type_AttributeMapEntry=>{:fields=>[{:type=>"AttributeType", :max_occurs=>1, :name=>:key, :min_occurs=>0}, {:type=>"Attribute", :max_occurs=>1, :name=>:value, :min_occurs=>0}]}, :BidLandscape=>{:fields=>[{:type=>"long", :max_occurs=>1, :name=>:campaign_id, :min_occurs=>0}, {:type=>"long", :max_occurs=>1, :name=>:ad_group_id, :min_occurs=>0}, {:type=>"string", :max_occurs=>1, :name=>:start_date, :min_occurs=>0}, {:type=>"string", :max_occurs=>1, :name=>:end_date, :min_occurs=>0}, {:type=>"BidLandscape.LandscapePoint", :max_occurs=>:unbounded, :name=>:landscape_points, :min_occurs=>0}], :abstract=>true, :base=>"DataEntry", :ns=>0}, :CountryTarget=>{:fields=>[{:type=>"string", :max_occurs=>1, :name=>:country_code, :min_occurs=>0}], :base=>"GeoTarget", :ns=>0}, :IdeaTypeAttribute=>{:fields=>[{:type=>"IdeaType", :max_occurs=>1, :name=>:value, :min_occurs=>0}], :base=>"Attribute"}, :DeviceTypeSearchParameter=>{:fields=>[{:type=>"DeviceType", :max_occurs=>1, :name=>:device_type, :min_occurs=>0}], :base=>"SearchParameter"}, :ProductCondition=>{:fields=>[{:type=>"string", :max_occurs=>1, :name=>:argument, :min_occurs=>0}, {:type=>"ProductConditionOperand", :max_occurs=>1, :name=>:operand, :min_occurs=>0}], :ns=>0}, :SearchShareSearchParameter=>{:fields=>[{:type=>"DoubleComparisonOperation", :max_occurs=>1, :name=>:operation, :min_occurs=>0}], :base=>"SearchParameter"}, :OpportunityIdeaTypeAttribute=>{:fields=>[{:type=>"OpportunityIdeaType", :max_occurs=>1, :name=>:value, :min_occurs=>0}], :base=>"Attribute"}, :BooleanAttribute=>{:fields=>[{:type=>"boolean", :max_occurs=>1, :name=>:value, :min_occurs=>0}], :base=>"Attribute"}, :AdShareSearchParameter=>{:fields=>[{:type=>"DoubleComparisonOperation", :max_occurs=>1, :name=>:operation, :min_occurs=>0}], :base=>"SearchParameter"}, :MonthlySearchVolume=>{:fields=>[{:type=>"int", :max_occurs=>1, :name=>:year, :min_occurs=>0}, {:type=>"int", :max_occurs=>1, :name=>:month, :min_occurs=>0}, {:type=>"long", :max_occurs=>1, :name=>:count, :min_occurs=>0}]}, :LongComparisonOperation=>{:fields=>[{:type=>"long", :max_occurs=>1, :name=>:minimum, :min_occurs=>0}, {:type=>"long", :max_occurs=>1, :name=>:maximum, :min_occurs=>0}]}, :CriterionUserList=>{:fields=>[{:type=>"long", :max_occurs=>1, :name=>:user_list_id, :min_occurs=>0}, {:type=>"string", :max_occurs=>1, :name=>:user_list_name, :min_occurs=>0}, {:type=>"CriterionUserList.MembershipStatus", :max_occurs=>1, :name=>:user_list_membership_status, :min_occurs=>0}], :base=>"Criterion", :ns=>0}, :PlatformTarget=>{:fields=>[{:type=>"PlatformType", :max_occurs=>1, :name=>:platform_type, :min_occurs=>0}], :base=>"Target", :ns=>0}, :NumberValue=>{:fields=>[], :abstract=>true, :base=>"ComparableValue", :ns=>0}, :Range=>{:fields=>[{:type=>"ComparableValue", :max_occurs=>1, :name=>:min, :min_occurs=>0}, {:type=>"ComparableValue", :max_occurs=>1, :name=>:max, :min_occurs=>0}]}, :IntegerSetAttribute=>{:fields=>[{:type=>"int", :max_occurs=>:unbounded, :name=>:value, :min_occurs=>0}], :base=>"Attribute"}, :Keyword=>{:fields=>[{:type=>"string", :max_occurs=>1, :name=>:text, :min_occurs=>0}, {:type=>"KeywordMatchType", :max_occurs=>1, :name=>:match_type, :min_occurs=>0}], :base=>"Criterion", :ns=>0}, :LanguageTarget=>{:fields=>[{:type=>"string", :max_occurs=>1, :name=>:language_code, :min_occurs=>0}], :base=>"Target", :ns=>0}, :GeoPoint=>{:fields=>[{:type=>"int", :max_occurs=>1, :name=>:latitude_in_micro_degrees, :min_occurs=>0}, {:type=>"int", :max_occurs=>1, :name=>:longitude_in_micro_degrees, :min_occurs=>0}], :ns=>0}, :IdeaTextMatchesSearchParameter=>{:fields=>[{:type=>"string", :max_occurs=>:unbounded, :name=>:included, :min_occurs=>0}, {:type=>"string", :max_occurs=>:unbounded, :name=>:excluded, :min_occurs=>0}, {:type=>"MatchAction", :max_occurs=>1, :name=>:priority_action, :min_occurs=>0}], :base=>"SearchParameter"}, :WebpageDescriptor=>{:fields=>[{:type=>"string", :max_occurs=>1, :name=>:url, :min_occurs=>0}, {:type=>"string", :max_occurs=>1, :name=>:title, :min_occurs=>0}]}, :TargetingIdeaSelector=>{:fields=>[{:type=>"SearchParameter", :max_occurs=>:unbounded, :name=>:search_parameters, :min_occurs=>0}, {:type=>"IdeaType", :max_occurs=>1, :name=>:idea_type, :min_occurs=>0}, {:type=>"RequestType", :max_occurs=>1, :name=>:request_type, :min_occurs=>0}, {:type=>"AttributeType", :max_occurs=>:unbounded, :name=>:requested_attribute_types, :min_occurs=>0}, {:type=>"Paging", :max_occurs=>1, :name=>:paging, :min_occurs=>0}, {:type=>"string", :max_occurs=>1, :name=>:locale_code, :min_occurs=>0}, {:type=>"string", :max_occurs=>1, :name=>:currency_code, :min_occurs=>0}]}, :ComparableValue=>{:fields=>[{:type=>"string", :max_occurs=>1, :name=>:comparable_value_type, :min_occurs=>0}], :abstract=>true, :ns=>0}, :AdGroupBidLandscape=>{:fields=>[{:type=>"AdGroupBidLandscape.Type", :max_occurs=>1, :name=>:type, :min_occurs=>0}, {:type=>"boolean", :max_occurs=>1, :name=>:landscape_current, :min_occurs=>0}], :base=>"BidLandscape", :ns=>0}, :CityTarget=>{:fields=>[{:type=>"string", :max_occurs=>1, :name=>:city_name, :min_occurs=>0}, {:type=>"string", :max_occurs=>1, :name=>:province_code, :min_occurs=>0}, {:type=>"string", :max_occurs=>1, :name=>:country_code, :min_occurs=>0}], :base=>"GeoTarget", :ns=>0}, :Address=>{:fields=>[{:type=>"string", :max_occurs=>1, :name=>:street_address, :min_occurs=>0}, {:type=>"string", :max_occurs=>1, :name=>:street_address2, :min_occurs=>0}, {:type=>"string", :max_occurs=>1, :name=>:city_name, :min_occurs=>0}, {:type=>"string", :max_occurs=>1, :name=>:province_code, :min_occurs=>0}, {:type=>"string", :max_occurs=>1, :name=>:province_name, :min_occurs=>0}, {:type=>"string", :max_occurs=>1, :name=>:postal_code, :min_occurs=>0}, {:type=>"string", :max_occurs=>1, :name=>:country_code, :min_occurs=>0}], :ns=>0}, :DoubleAttribute=>{:fields=>[{:type=>"double", :max_occurs=>1, :name=>:value, :min_occurs=>0}], :base=>"Attribute"}, :CountryTargetSearchParameter=>{:fields=>[{:type=>"CountryTarget", :max_occurs=>:unbounded, :name=>:country_targets, :min_occurs=>0}], :base=>"SearchParameter"}}
|
12
|
+
TARGETINGIDEASERVICE_METHODS = {:get_bulk_keyword_ideas=>{:input=>[{:type=>"TargetingIdeaSelector", :max_occurs=>1, :min_occurs=>0, :name=>:selector}], :output=>{:fields=>[{:type=>"TargetingIdeaPage", :max_occurs=>1, :min_occurs=>0, :name=>:rval}], :name=>"get_bulk_keyword_ideas_response"}}, :get=>{:input=>[{:type=>"TargetingIdeaSelector", :max_occurs=>1, :min_occurs=>0, :name=>:selector}], :output=>{:fields=>[{:type=>"TargetingIdeaPage", :max_occurs=>1, :min_occurs=>0, :name=>:rval}], :name=>"get_response"}}}
|
13
|
+
TARGETINGIDEASERVICE_TYPES = {:WebpageDescriptor=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:url}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:title}]}, :LongComparisonOperation=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:minimum}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:maximum}]}, :DemographicTarget=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:bid_modifier}], :ns=>0, :abstract=>true, :base=>"Target"}, :EntityCountLimitExceeded=>{:fields=>[{:type=>"EntityCountLimitExceeded.Reason", :max_occurs=>1, :min_occurs=>0, :name=>:reason}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:enclosing_id}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:limit}], :ns=>0, :base=>"ApiError"}, :BooleanAttribute=>{:fields=>[{:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:value}], :base=>"Attribute"}, :StringAttribute=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:value}], :base=>"Attribute"}, :OpportunityIdeaTypeAttribute=>{:fields=>[{:type=>"OpportunityIdeaType", :max_occurs=>1, :min_occurs=>0, :name=>:value}], :base=>"Attribute"}, :KeywordAttribute=>{:fields=>[{:type=>"Keyword", :max_occurs=>1, :min_occurs=>0, :name=>:value}], :base=>"Attribute"}, :NumberValue=>{:fields=>[], :ns=>0, :abstract=>true, :base=>"ComparableValue"}, :AdFormatSpec=>{:fields=>[{:type=>"SiteConstants.AdFormat", :max_occurs=>1, :min_occurs=>0, :name=>:format}]}, :RelatedToKeywordSearchParameter=>{:fields=>[{:type=>"Keyword", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:keywords}], :base=>"SearchParameter"}, :ComparableValue=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:comparable_value_type}], :ns=>0, :abstract=>true}, :CriterionUserList=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:user_list_id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:user_list_name}, {:type=>"CriterionUserList.MembershipStatus", :max_occurs=>1, :min_occurs=>0, :name=>:user_list_membership_status}], :ns=>0, :base=>"Criterion"}, :InStreamAdInfo=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:max_ad_duration}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:min_ad_duration}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:median_ad_duration}, {:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:pre_roll_percent}, {:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:mid_roll_percent}, {:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:post_roll_percent}]}, :EntityNotFound=>{:fields=>[{:type=>"EntityNotFound.Reason", :max_occurs=>1, :min_occurs=>0, :name=>:reason}], :ns=>0, :base=>"ApiError"}, :PlatformTarget=>{:fields=>[{:type=>"PlatformType", :max_occurs=>1, :min_occurs=>0, :name=>:platform_type}], :ns=>0, :base=>"Target"}, :MonthlySearchVolume=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:year}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:month}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:count}]}, :Money=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:micro_amount}], :ns=>0, :base=>"ComparableValue"}, :Placement=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:url}], :ns=>0, :base=>"Criterion"}, :DoubleComparisonOperation=>{:fields=>[{:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:minimum}, {:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:maximum}]}, :Address=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:street_address}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:street_address2}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:city_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:province_code}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:province_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:postal_code}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:country_code}], :ns=>0}, :MetroTarget=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:metro_code}], :ns=>0, :base=>"GeoTarget"}, :Type_AttributeMapEntry=>{:fields=>[{:type=>"AttributeType", :max_occurs=>1, :min_occurs=>0, :name=>:key}, {:type=>"Attribute", :max_occurs=>1, :min_occurs=>0, :name=>:value}]}, :LongAttribute=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:value}], :base=>"Attribute"}, :AverageTargetedMonthlySearchesSearchParameter=>{:fields=>[{:type=>"LongComparisonOperation", :max_occurs=>1, :min_occurs=>0, :name=>:operation}], :base=>"SearchParameter"}, :CountryTarget=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:country_code}], :ns=>0, :base=>"GeoTarget"}, :Product=>{:fields=>[{:type=>"ProductCondition", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:conditions}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:text}], :ns=>0, :base=>"Criterion"}, :SeedAdGroupIdSearchParameter=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:ad_group_id}], :base=>"SearchParameter"}, :IntegerSetAttribute=>{:fields=>[{:type=>"int", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:value}], :base=>"Attribute"}, :Target=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:target_type}], :ns=>0, :abstract=>true}, :PlacementTypeSearchParameter=>{:fields=>[{:type=>"SiteConstants.PlacementType", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:placement_types}], :base=>"SearchParameter"}, :CriterionBidLandscape=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:criterion_id}], :ns=>0, :base=>"BidLandscape"}, :CriterionUserInterest=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:user_interest_id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:user_interest_name}], :ns=>0, :base=>"Criterion"}, :IdeaTypeAttribute=>{:fields=>[{:type=>"IdeaType", :max_occurs=>1, :min_occurs=>0, :name=>:value}], :base=>"Attribute"}, :Attribute=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:attribute_type}], :abstract=>true}, :DoubleValue=>{:fields=>[{:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:number}], :ns=>0, :base=>"NumberValue"}, :MoneyAttribute=>{:fields=>[{:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:value}], :base=>"Attribute"}, :DoubleAttribute=>{:fields=>[{:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:value}], :base=>"Attribute"}, :LanguageTarget=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:language_code}], :ns=>0, :base=>"Target"}, :TargetingIdeaSelector=>{:fields=>[{:type=>"SearchParameter", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:search_parameters}, {:type=>"IdeaType", :max_occurs=>1, :min_occurs=>0, :name=>:idea_type}, {:type=>"RequestType", :max_occurs=>1, :min_occurs=>0, :name=>:request_type}, {:type=>"AttributeType", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:requested_attribute_types}, {:type=>"Paging", :max_occurs=>1, :min_occurs=>0, :name=>:paging}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:locale_code}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:currency_code}]}, :LanguageTargetSearchParameter=>{:fields=>[{:type=>"LanguageTarget", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:language_targets}], :base=>"SearchParameter"}, :ProductConditionOperand=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:operand}], :ns=>0}, :AdTypeSearchParameter=>{:fields=>[{:type=>"SiteConstants.AdType", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:ad_types}], :base=>"SearchParameter"}, :CityTarget=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:city_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:province_code}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:country_code}], :ns=>0, :base=>"GeoTarget"}, :SearchShareSearchParameter=>{:fields=>[{:type=>"DoubleComparisonOperation", :max_occurs=>1, :min_occurs=>0, :name=>:operation}], :base=>"SearchParameter"}, :IntegerAttribute=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:value}], :base=>"Attribute"}, :LongValue=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:number}], :ns=>0, :base=>"NumberValue"}, :ProximityTarget=>{:fields=>[{:type=>"GeoPoint", :max_occurs=>1, :min_occurs=>0, :name=>:geo_point}, {:type=>"ProximityTarget.DistanceUnits", :max_occurs=>1, :min_occurs=>0, :name=>:radius_distance_units}, {:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:radius_in_units}, {:type=>"Address", :max_occurs=>1, :min_occurs=>0, :name=>:address}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:allow_service_of_address}], :ns=>0, :base=>"GeoTarget"}, :BidLandscape=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:campaign_id}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:ad_group_id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:start_date}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:end_date}, {:type=>"BidLandscape.LandscapePoint", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:landscape_points}], :ns=>0, :abstract=>true, :base=>"DataEntry"}, :PlacementTypeAttribute=>{:fields=>[{:type=>"SiteConstants.PlacementType", :max_occurs=>1, :min_occurs=>0, :name=>:value}], :base=>"Attribute"}, :MobileTarget=>{:fields=>[], :ns=>0, :abstract=>true, :base=>"Target"}, :BidLandscapeAttribute=>{:fields=>[{:type=>"BidLandscape", :max_occurs=>1, :min_occurs=>0, :name=>:value}], :base=>"Attribute"}, :IdeaTextMatchesSearchParameter=>{:fields=>[{:type=>"string", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:included}, {:type=>"string", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:excluded}, {:type=>"MatchAction", :max_occurs=>1, :min_occurs=>0, :name=>:priority_action}], :base=>"SearchParameter"}, :GeoTarget=>{:fields=>[{:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:excluded}], :ns=>0, :abstract=>true, :base=>"Target"}, :Criterion=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:criterion_type}], :ns=>0}, :SoapResponseHeader=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:request_id}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:operations}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:response_time}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:units}], :ns=>0}, :CountryTargetSearchParameter=>{:fields=>[{:type=>"CountryTarget", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:country_targets}], :base=>"SearchParameter"}, :TargetingIdeaPage=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:total_num_entries}, {:type=>"TargetingIdea", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:entries}]}, :KeywordMatchTypeSearchParameter=>{:fields=>[{:type=>"KeywordMatchType", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:keyword_match_types}], :base=>"SearchParameter"}, :"BidLandscape.LandscapePoint"=>{:fields=>[{:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:bid}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:clicks}, {:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:cost}, {:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:marginal_cpc}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:impressions}], :ns=>0}, :Paging=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:start_index}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:number_results}], :ns=>0}, :AdGroupCriterionLimitExceeded=>{:fields=>[{:type=>"AdGroupCriterionLimitExceeded.CriteriaLimitType", :max_occurs=>1, :min_occurs=>0, :name=>:limit_type}], :ns=>0, :base=>"EntityCountLimitExceeded"}, :AdShareSearchParameter=>{:fields=>[{:type=>"DoubleComparisonOperation", :max_occurs=>1, :min_occurs=>0, :name=>:operation}], :base=>"SearchParameter"}, :AgeTarget=>{:fields=>[{:type=>"AgeTarget.Age", :max_occurs=>1, :min_occurs=>0, :name=>:age}], :ns=>0, :base=>"DemographicTarget"}, :SearchParameter=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:search_parameter_type}], :abstract=>true}, :IncludeAdultContentSearchParameter=>{:fields=>[], :base=>"SearchParameter"}, :ProvinceTarget=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:province_code}], :ns=>0, :base=>"GeoTarget"}, :PlacementAttribute=>{:fields=>[{:type=>"Placement", :max_occurs=>1, :min_occurs=>0, :name=>:value}], :base=>"Attribute"}, :MobilePlatformTarget=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:platform_name}], :ns=>0, :base=>"MobileTarget"}, :DeviceTypeSearchParameter=>{:fields=>[{:type=>"DeviceType", :max_occurs=>1, :min_occurs=>0, :name=>:device_type}], :base=>"SearchParameter"}, :PolicyViolationKey=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:policy_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:violating_text}], :ns=>0}, :DataEntry=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:data_entry_type}], :ns=>0, :abstract=>true}, :GlobalMonthlySearchesSearchParameter=>{:fields=>[{:type=>"LongComparisonOperation", :max_occurs=>1, :min_occurs=>0, :name=>:operation}], :base=>"SearchParameter"}, :WebpageDescriptorAttribute=>{:fields=>[{:type=>"WebpageDescriptor", :max_occurs=>1, :min_occurs=>0, :name=>:value}], :base=>"Attribute"}, :LongRangeAttribute=>{:fields=>[{:type=>"Range", :max_occurs=>1, :min_occurs=>0, :name=>:value}], :base=>"Attribute"}, :GenderTarget=>{:fields=>[{:type=>"GenderTarget.Gender", :max_occurs=>1, :min_occurs=>0, :name=>:gender}], :ns=>0, :base=>"DemographicTarget"}, :SoapHeader=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:auth_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:client_customer_id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:client_email}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:developer_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:user_agent}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:validate_only}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:partial_failure}], :ns=>0}, :Keyword=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:text}, {:type=>"KeywordMatchType", :max_occurs=>1, :min_occurs=>0, :name=>:match_type}], :ns=>0, :base=>"Criterion"}, :CompetitionSearchParameter=>{:fields=>[{:type=>"CompetitionSearchParameter.Level", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:levels}], :base=>"SearchParameter"}, :TargetingIdea=>{:fields=>[{:type=>"Type_AttributeMapEntry", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:data}]}, :KeywordCategoryIdSearchParameter=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:category_id}], :base=>"SearchParameter"}, :AdScheduleTarget=>{:fields=>[{:type=>"DayOfWeek", :max_occurs=>1, :min_occurs=>0, :name=>:day_of_week}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:start_hour}, {:type=>"MinuteOfHour", :max_occurs=>1, :min_occurs=>0, :name=>:start_minute}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:end_hour}, {:type=>"MinuteOfHour", :max_occurs=>1, :min_occurs=>0, :name=>:end_minute}, {:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:bid_multiplier}], :ns=>0, :base=>"Target"}, :AdFormatSpecListAttribute=>{:fields=>[{:type=>"AdFormatSpec", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:value}], :base=>"Attribute"}, :RelatedToUrlSearchParameter=>{:fields=>[{:type=>"string", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:urls}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:include_sub_urls}], :base=>"SearchParameter"}, :Range=>{:fields=>[{:type=>"ComparableValue", :max_occurs=>1, :min_occurs=>0, :name=>:min}, {:type=>"ComparableValue", :max_occurs=>1, :min_occurs=>0, :name=>:max}]}, :Vertical=>{:fields=>[{:type=>"string", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:path}], :ns=>0, :base=>"Criterion"}, :CriterionAttribute=>{:fields=>[{:type=>"Criterion", :max_occurs=>1, :min_occurs=>0, :name=>:value}], :base=>"Attribute"}, :InStreamAdInfoAttribute=>{:fields=>[{:type=>"InStreamAdInfo", :max_occurs=>1, :min_occurs=>0, :name=>:value}], :base=>"Attribute"}, :GeoPoint=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:latitude_in_micro_degrees}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:longitude_in_micro_degrees}], :ns=>0}, :"PolicyViolationError.Part"=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:index}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:length}], :ns=>0}, :PolygonTarget=>{:fields=>[{:type=>"GeoPoint", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:vertices}], :ns=>0, :base=>"GeoTarget"}, :MonthlySearchVolumeAttribute=>{:fields=>[{:type=>"MonthlySearchVolume", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:value}], :base=>"Attribute"}, :ExcludedKeywordSearchParameter=>{:fields=>[{:type=>"Keyword", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:keywords}], :base=>"SearchParameter"}, :MobileCarrierTarget=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:carrier_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:country_code}], :ns=>0, :base=>"MobileTarget"}, :AdGroupBidLandscape=>{:fields=>[{:type=>"AdGroupBidLandscape.Type", :max_occurs=>1, :min_occurs=>0, :name=>:type}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:landscape_current}], :ns=>0, :base=>"BidLandscape"}, :ProductCondition=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:argument}, {:type=>"ProductConditionOperand", :max_occurs=>1, :min_occurs=>0, :name=>:operand}], :ns=>0}}
|
12
14
|
TARGETINGIDEASERVICE_NAMESPACES = ["https://adwords.google.com/api/adwords/cm/v201101"]
|
13
15
|
|
14
16
|
def self.get_method_signature(method_name)
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
|
4
4
|
# License:: Licensed under the Apache License,Version 2.0 (the "License").
|
5
5
|
#
|
6
|
-
# Code generated by AdsCommon library 0.5.
|
6
|
+
# Code generated by AdsCommon library 0.5.2 on 2011-10-20 20:36:00.
|
7
7
|
|
8
8
|
require 'ads_common/savon_service'
|
9
9
|
require 'adwords_api/v201101/traffic_estimator_service_registry'
|
@@ -15,8 +15,8 @@ module AdwordsApi; module V201101; module TrafficEstimatorService
|
|
15
15
|
super(api, endpoint, namespace, :v201101)
|
16
16
|
end
|
17
17
|
|
18
|
-
def get(*args)
|
19
|
-
return execute_action('get', args)
|
18
|
+
def get(*args, &block)
|
19
|
+
return execute_action('get', args, &block)
|
20
20
|
end
|
21
21
|
|
22
22
|
private
|
@@ -3,12 +3,14 @@
|
|
3
3
|
# Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
|
4
4
|
# License:: Licensed under the Apache License,Version 2.0 (the "License").
|
5
5
|
#
|
6
|
-
# Code generated by AdsCommon library 0.5.
|
6
|
+
# Code generated by AdsCommon library 0.5.2 on 2011-10-20 20:36:00.
|
7
|
+
|
8
|
+
require 'adwords_api/errors'
|
7
9
|
|
8
10
|
module AdwordsApi; module V201101; module TrafficEstimatorService
|
9
11
|
class TrafficEstimatorServiceRegistry
|
10
|
-
TRAFFICESTIMATORSERVICE_METHODS = {:get=>{:input=>[{:type=>"TrafficEstimatorSelector", :max_occurs=>1, :name=>:selector
|
11
|
-
TRAFFICESTIMATORSERVICE_TYPES = {:
|
12
|
+
TRAFFICESTIMATORSERVICE_METHODS = {:get=>{:input=>[{:type=>"TrafficEstimatorSelector", :max_occurs=>1, :min_occurs=>0, :name=>:selector}], :output=>{:fields=>[{:type=>"TrafficEstimatorResult", :max_occurs=>1, :min_occurs=>0, :name=>:rval}], :name=>"get_response"}}}
|
13
|
+
TRAFFICESTIMATORSERVICE_TYPES = {:KeywordEstimate=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:criterion_id}, {:type=>"StatsEstimate", :max_occurs=>1, :min_occurs=>0, :name=>:min}, {:type=>"StatsEstimate", :max_occurs=>1, :min_occurs=>0, :name=>:max}], :base=>"Estimate"}, :AgeTarget=>{:fields=>[{:type=>"AgeTarget.Age", :max_occurs=>1, :min_occurs=>0, :name=>:age}], :ns=>0, :base=>"DemographicTarget"}, :AdGroupEstimateRequest=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:ad_group_id}, {:type=>"KeywordEstimateRequest", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:keyword_estimate_requests}, {:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:max_cpc}], :base=>"EstimateRequest"}, :ProductCondition=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:argument}, {:type=>"ProductConditionOperand", :max_occurs=>1, :min_occurs=>0, :name=>:operand}], :ns=>0}, :LanguageTarget=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:language_code}], :ns=>0, :base=>"Target"}, :KeywordEstimateRequest=>{:fields=>[{:type=>"Keyword", :max_occurs=>1, :min_occurs=>0, :name=>:keyword}, {:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:max_cpc}], :base=>"EstimateRequest"}, :PlatformTarget=>{:fields=>[{:type=>"PlatformType", :max_occurs=>1, :min_occurs=>0, :name=>:platform_type}], :ns=>0, :base=>"Target"}, :Keyword=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:text}, {:type=>"KeywordMatchType", :max_occurs=>1, :min_occurs=>0, :name=>:match_type}], :ns=>0, :base=>"Criterion"}, :DoubleValue=>{:fields=>[{:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:number}], :ns=>0, :base=>"NumberValue"}, :CityTarget=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:city_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:province_code}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:country_code}], :ns=>0, :base=>"GeoTarget"}, :CampaignEstimate=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:campaign_id}, {:type=>"AdGroupEstimate", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:ad_group_estimates}], :base=>"Estimate"}, :Product=>{:fields=>[{:type=>"ProductCondition", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:conditions}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:text}], :ns=>0, :base=>"Criterion"}, :NumberValue=>{:fields=>[], :ns=>0, :abstract=>true, :base=>"ComparableValue"}, :MetroTarget=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:metro_code}], :ns=>0, :base=>"GeoTarget"}, :StatsEstimate=>{:fields=>[{:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:average_cpc}, {:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:average_position}, {:type=>"float", :max_occurs=>1, :min_occurs=>0, :name=>:clicks_per_day}, {:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:total_cost}]}, :SoapHeader=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:auth_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:client_customer_id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:client_email}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:developer_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:user_agent}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:validate_only}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:partial_failure}], :ns=>0}, :PolygonTarget=>{:fields=>[{:type=>"GeoPoint", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:vertices}], :ns=>0, :base=>"GeoTarget"}, :EntityNotFound=>{:fields=>[{:type=>"EntityNotFound.Reason", :max_occurs=>1, :min_occurs=>0, :name=>:reason}], :ns=>0, :base=>"ApiError"}, :CountryTarget=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:country_code}], :ns=>0, :base=>"GeoTarget"}, :CampaignEstimateRequest=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:campaign_id}, {:type=>"AdGroupEstimateRequest", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:ad_group_estimate_requests}, {:type=>"Target", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:targets}], :base=>"EstimateRequest"}, :CriterionUserInterest=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:user_interest_id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:user_interest_name}], :ns=>0, :base=>"Criterion"}, :OperationAccessDenied=>{:fields=>[{:type=>"OperationAccessDenied.Reason", :max_occurs=>1, :min_occurs=>0, :name=>:reason}], :ns=>0, :base=>"ApiError"}, :MobileCarrierTarget=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:carrier_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:country_code}], :ns=>0, :base=>"MobileTarget"}, :Address=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:street_address}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:street_address2}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:city_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:province_code}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:province_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:postal_code}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:country_code}], :ns=>0}, :TrafficEstimatorResult=>{:fields=>[{:type=>"CampaignEstimate", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:campaign_estimates}]}, :SoapResponseHeader=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:request_id}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:operations}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:response_time}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:units}], :ns=>0}, :ProvinceTarget=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:province_code}], :ns=>0, :base=>"GeoTarget"}, :GeoPoint=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:latitude_in_micro_degrees}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:longitude_in_micro_degrees}], :ns=>0}, :DemographicTarget=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:bid_modifier}], :ns=>0, :abstract=>true, :base=>"Target"}, :Estimate=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:estimate_type}]}, :CriterionUserList=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:user_list_id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:user_list_name}, {:type=>"CriterionUserList.MembershipStatus", :max_occurs=>1, :min_occurs=>0, :name=>:user_list_membership_status}], :ns=>0, :base=>"Criterion"}, :MobilePlatformTarget=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:platform_name}], :ns=>0, :base=>"MobileTarget"}, :TrafficEstimatorSelector=>{:fields=>[{:type=>"CampaignEstimateRequest", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:campaign_estimate_requests}]}, :ProximityTarget=>{:fields=>[{:type=>"GeoPoint", :max_occurs=>1, :min_occurs=>0, :name=>:geo_point}, {:type=>"ProximityTarget.DistanceUnits", :max_occurs=>1, :min_occurs=>0, :name=>:radius_distance_units}, {:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:radius_in_units}, {:type=>"Address", :max_occurs=>1, :min_occurs=>0, :name=>:address}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:allow_service_of_address}], :ns=>0, :base=>"GeoTarget"}, :Placement=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:url}], :ns=>0, :base=>"Criterion"}, :GenderTarget=>{:fields=>[{:type=>"GenderTarget.Gender", :max_occurs=>1, :min_occurs=>0, :name=>:gender}], :ns=>0, :base=>"DemographicTarget"}, :EstimateRequest=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:estimate_request_type}], :abstract=>true}, :Vertical=>{:fields=>[{:type=>"string", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:path}], :ns=>0, :base=>"Criterion"}, :ProductConditionOperand=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:operand}], :ns=>0}, :MobileTarget=>{:fields=>[], :ns=>0, :abstract=>true, :base=>"Target"}, :EntityAccessDenied=>{:fields=>[{:type=>"EntityAccessDenied.Reason", :max_occurs=>1, :min_occurs=>0, :name=>:reason}], :ns=>0, :base=>"ApiError"}, :Criterion=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:criterion_type}], :ns=>0}, :ComparableValue=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:comparable_value_type}], :ns=>0, :abstract=>true}, :AdScheduleTarget=>{:fields=>[{:type=>"DayOfWeek", :max_occurs=>1, :min_occurs=>0, :name=>:day_of_week}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:start_hour}, {:type=>"MinuteOfHour", :max_occurs=>1, :min_occurs=>0, :name=>:start_minute}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:end_hour}, {:type=>"MinuteOfHour", :max_occurs=>1, :min_occurs=>0, :name=>:end_minute}, {:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:bid_multiplier}], :ns=>0, :base=>"Target"}, :AdGroupEstimate=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:ad_group_id}, {:type=>"KeywordEstimate", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:keyword_estimates}], :base=>"Estimate"}, :Target=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:target_type}], :ns=>0, :abstract=>true}, :Money=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:micro_amount}], :ns=>0, :base=>"ComparableValue"}, :LongValue=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:number}], :ns=>0, :base=>"NumberValue"}, :GeoTarget=>{:fields=>[{:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:excluded}], :ns=>0, :abstract=>true, :base=>"Target"}}
|
12
14
|
TRAFFICESTIMATORSERVICE_NAMESPACES = ["https://adwords.google.com/api/adwords/cm/v201101"]
|
13
15
|
|
14
16
|
def self.get_method_signature(method_name)
|