google-adwords-api 0.2.1 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +4 -0
- data/README +3 -14
- data/Rakefile +58 -89
- data/examples/v200909/add_ad_extension_override.rb +9 -18
- data/examples/v200909/add_ad_group.rb +9 -18
- data/examples/v200909/add_ad_group_criteria.rb +9 -18
- data/examples/v200909/add_ads.rb +9 -18
- data/examples/v200909/add_campaign.rb +9 -18
- data/examples/v200909/add_campaign_ad_extension.rb +9 -18
- data/examples/v200909/add_negative_campaign_criterion.rb +9 -18
- data/examples/v200909/check_campaigns.rb +9 -18
- data/examples/v200909/delete_ad.rb +9 -18
- data/examples/v200909/delete_ad_group.rb +9 -18
- data/examples/v200909/delete_ad_group_criterion.rb +9 -18
- data/examples/v200909/delete_campaign.rb +9 -18
- data/examples/v200909/get_all_active_ad_group_criteria.rb +9 -18
- data/examples/v200909/get_all_ad_extension_overrides.rb +9 -18
- data/examples/v200909/get_all_ad_group_criteria.rb +9 -18
- data/examples/v200909/get_all_ad_groups.rb +9 -18
- data/examples/v200909/get_all_ad_params.rb +9 -18
- data/examples/v200909/get_all_ads.rb +9 -18
- data/examples/v200909/get_all_campaign_ad_extensions.rb +9 -18
- data/examples/v200909/get_all_campaign_targets.rb +9 -18
- data/examples/v200909/get_all_campaigns.rb +9 -18
- data/examples/v200909/get_all_disapproved_ads.rb +9 -18
- data/examples/v200909/get_all_paused_campaigns.rb +9 -18
- data/examples/v200909/get_conversion_optimizer_eligibility.rb +9 -18
- data/examples/v200909/get_geo_location_info.rb +9 -18
- data/examples/v200909/get_method_cost.rb +9 -18
- data/examples/v200909/get_operation_count.rb +9 -18
- data/examples/v200909/get_related_keywords.rb +10 -18
- data/examples/v200909/get_related_placements.rb +10 -18
- data/examples/v200909/get_total_usage_units_per_month.rb +9 -18
- data/examples/v200909/get_unit_count.rb +9 -18
- data/examples/v200909/perform_bulk_mutate_job.rb +9 -18
- data/examples/v200909/set_ad_params.rb +9 -18
- data/examples/v200909/set_campaign_targets.rb +9 -18
- data/examples/v200909/update_ad.rb +9 -18
- data/examples/v200909/update_ad_group.rb +9 -18
- data/examples/v200909/update_ad_group_criterion.rb +9 -18
- data/examples/v200909/update_campaign.rb +9 -18
- data/examples/v201003/add_ad_extension_override.rb +9 -18
- data/examples/v201003/add_ad_group.rb +9 -18
- data/examples/v201003/add_ad_group_criteria.rb +9 -18
- data/examples/v201003/add_ads.rb +9 -18
- data/examples/v201003/add_campaign.rb +9 -18
- data/examples/v201003/add_campaign_ad_extension.rb +9 -18
- data/examples/v201003/add_keywords_performance_report_definition.rb +9 -18
- data/examples/v201003/add_negative_campaign_criterion.rb +9 -18
- data/examples/v201003/check_campaigns.rb +9 -18
- data/examples/v201003/delete_ad.rb +9 -18
- data/examples/v201003/delete_ad_group.rb +9 -18
- data/examples/v201003/delete_ad_group_criterion.rb +9 -18
- data/examples/v201003/delete_campaign.rb +9 -18
- data/examples/v201003/download_report.rb +9 -18
- data/examples/v201003/get_all_active_ad_group_criteria.rb +9 -18
- data/examples/v201003/get_all_ad_extension_overrides.rb +9 -18
- data/examples/v201003/get_all_ad_group_criteria.rb +9 -18
- data/examples/v201003/get_all_ad_groups.rb +9 -18
- data/examples/v201003/get_all_ad_params.rb +9 -18
- data/examples/v201003/get_all_ads.rb +9 -18
- data/examples/v201003/get_all_campaign_ad_extensions.rb +9 -18
- data/examples/v201003/get_all_campaign_targets.rb +9 -18
- data/examples/v201003/get_all_campaigns.rb +9 -18
- data/examples/v201003/get_all_disapproved_ads.rb +9 -18
- data/examples/v201003/get_all_images.rb +10 -18
- data/examples/v201003/get_all_paused_campaigns.rb +9 -18
- data/examples/v201003/get_all_report_definitions.rb +9 -18
- data/examples/v201003/get_all_videos.rb +9 -18
- data/examples/v201003/get_conversion_optimizer_eligibility.rb +9 -18
- data/examples/v201003/get_criterion_bid_landscape.rb +9 -18
- data/examples/v201003/get_geo_location_info.rb +9 -18
- data/examples/v201003/get_method_cost.rb +9 -18
- data/examples/v201003/get_operation_count.rb +9 -18
- data/examples/v201003/get_related_keywords.rb +10 -18
- data/examples/v201003/get_related_placements.rb +10 -18
- data/examples/v201003/get_report_fields.rb +9 -18
- data/examples/v201003/get_total_usage_units_per_month.rb +9 -18
- data/examples/v201003/get_unit_count.rb +9 -18
- data/examples/v201003/perform_bulk_mutate_job.rb +9 -18
- data/examples/v201003/set_ad_params.rb +9 -18
- data/examples/v201003/set_campaign_targets.rb +9 -18
- data/examples/v201003/update_ad.rb +9 -18
- data/examples/v201003/update_ad_group.rb +9 -18
- data/examples/v201003/update_ad_group_criterion.rb +9 -18
- data/examples/v201003/update_campaign.rb +9 -18
- data/examples/v201003/upload_image.rb +10 -18
- data/examples/v201008/add_ad_extension_override.rb +9 -18
- data/examples/v201008/add_ad_group.rb +9 -18
- data/examples/v201008/add_ad_group_criteria.rb +9 -18
- data/examples/v201008/add_ads.rb +9 -18
- data/examples/v201008/add_campaign.rb +9 -18
- data/examples/v201008/add_campaign_ad_extension.rb +9 -18
- data/examples/v201008/add_experiment.rb +9 -18
- data/examples/v201008/add_keywords_performance_report_definition.rb +9 -18
- data/examples/v201008/add_negative_campaign_criterion.rb +9 -18
- data/examples/v201008/add_user_list.rb +9 -18
- data/examples/v201008/check_campaigns.rb +9 -18
- data/examples/v201008/delete_ad.rb +9 -18
- data/examples/v201008/delete_ad_group.rb +9 -18
- data/examples/v201008/delete_ad_group_criterion.rb +9 -18
- data/examples/v201008/delete_bulk_mutate_job.rb +9 -18
- data/examples/v201008/delete_campaign.rb +9 -18
- data/examples/v201008/delete_experiment.rb +9 -18
- data/examples/v201008/delete_user_list.rb +9 -18
- data/examples/v201008/download_report.rb +9 -18
- data/examples/v201008/get_account_hierarchy.rb +10 -18
- data/examples/v201008/get_all_account_changes.rb +9 -18
- data/examples/v201008/get_all_active_ad_group_criteria.rb +9 -18
- data/examples/v201008/get_all_ad_extension_overrides.rb +9 -18
- data/examples/v201008/get_all_ad_group_criteria.rb +9 -18
- data/examples/v201008/get_all_ad_groups.rb +9 -18
- data/examples/v201008/get_all_ad_params.rb +9 -18
- data/examples/v201008/get_all_ads.rb +9 -18
- data/examples/v201008/get_all_campaign_ad_extensions.rb +9 -18
- data/examples/v201008/get_all_campaign_targets.rb +9 -18
- data/examples/v201008/get_all_campaigns.rb +9 -18
- data/examples/v201008/get_all_disapproved_ads.rb +9 -18
- data/examples/v201008/get_all_experiments.rb +9 -18
- data/examples/v201008/get_all_images.rb +10 -18
- data/examples/v201008/get_all_paused_campaigns.rb +9 -18
- data/examples/v201008/get_all_report_definitions.rb +9 -18
- data/examples/v201008/get_all_user_lists.rb +9 -18
- data/examples/v201008/get_all_videos.rb +9 -18
- data/examples/v201008/get_bulk_mutate_job.rb +9 -18
- data/examples/v201008/get_campaign_alerts.rb +10 -18
- data/examples/v201008/get_conversion_optimizer_eligibility.rb +9 -18
- data/examples/v201008/get_criterion_bid_landscape.rb +9 -18
- data/examples/v201008/get_geo_location_info.rb +9 -18
- data/examples/v201008/get_method_cost.rb +9 -18
- data/examples/v201008/get_operation_count.rb +9 -18
- data/examples/v201008/get_related_keywords.rb +10 -18
- data/examples/v201008/get_related_placements.rb +10 -18
- data/examples/v201008/get_report_fields.rb +9 -18
- data/examples/v201008/get_total_usage_units_per_month.rb +9 -18
- data/examples/v201008/get_traffic_estimates.rb +9 -18
- data/examples/v201008/get_unit_count.rb +9 -18
- data/examples/v201008/handle_partial_failures.rb +10 -18
- data/examples/v201008/handle_policy_violation_error.rb +10 -18
- data/examples/v201008/perform_bulk_mutate_job.rb +9 -18
- data/examples/v201008/promote_experiment.rb +9 -18
- data/examples/v201008/set_ad_params.rb +9 -18
- data/examples/v201008/set_campaign_targets.rb +9 -18
- data/examples/v201008/update_ad.rb +9 -18
- data/examples/v201008/update_ad_group.rb +9 -18
- data/examples/v201008/update_ad_group_criterion.rb +9 -18
- data/examples/v201008/update_campaign.rb +9 -18
- data/examples/v201008/update_user_list.rb +9 -18
- data/examples/v201008/upload_image.rb +10 -18
- data/examples/v201101/add_ad_extension_override.rb +9 -18
- data/examples/v201101/add_ad_group.rb +9 -18
- data/examples/v201101/add_ad_group_criteria.rb +9 -18
- data/examples/v201101/add_ads.rb +9 -18
- data/examples/v201101/add_campaign.rb +9 -18
- data/examples/v201101/add_campaign_ad_extension.rb +9 -18
- data/examples/v201101/add_conversion.rb +9 -18
- data/examples/v201101/add_experiment.rb +9 -18
- data/examples/v201101/add_keywords_performance_report_definition.rb +9 -18
- data/examples/v201101/add_mcc_report_definition.rb +9 -18
- data/examples/v201101/add_negative_campaign_criterion.rb +9 -18
- data/examples/v201101/add_user_list.rb +9 -18
- data/examples/v201101/check_campaigns.rb +9 -18
- data/examples/v201101/delete_ad.rb +9 -18
- data/examples/v201101/delete_ad_group.rb +9 -18
- data/examples/v201101/delete_ad_group_criterion.rb +9 -18
- data/examples/v201101/delete_bulk_mutate_job.rb +9 -18
- data/examples/v201101/delete_campaign.rb +9 -18
- data/examples/v201101/delete_experiment.rb +9 -18
- data/examples/v201101/delete_user_list.rb +9 -18
- data/examples/v201101/download_mcc_report.rb +9 -18
- data/examples/v201101/download_mcc_report_as_file.rb +9 -18
- data/examples/v201101/download_report.rb +9 -18
- data/examples/v201101/get_account_hierarchy.rb +10 -18
- data/examples/v201101/get_ad_group_bid_landscape.rb +9 -18
- data/examples/v201101/get_all_account_changes.rb +9 -18
- data/examples/v201101/get_all_active_ad_group_criteria.rb +9 -18
- data/examples/v201101/get_all_ad_extension_overrides.rb +9 -18
- data/examples/v201101/get_all_ad_group_criteria.rb +9 -18
- data/examples/v201101/get_all_ad_groups.rb +9 -18
- data/examples/v201101/get_all_ad_params.rb +9 -18
- data/examples/v201101/get_all_ads.rb +9 -18
- data/examples/v201101/get_all_campaign_ad_extensions.rb +9 -18
- data/examples/v201101/get_all_campaign_targets.rb +9 -18
- data/examples/v201101/get_all_campaigns.rb +9 -18
- data/examples/v201101/get_all_conversions.rb +9 -18
- data/examples/v201101/get_all_disapproved_ads.rb +9 -18
- data/examples/v201101/get_all_experiments.rb +9 -18
- data/examples/v201101/get_all_images.rb +10 -18
- data/examples/v201101/get_all_paused_campaigns.rb +9 -18
- data/examples/v201101/get_all_report_definitions.rb +9 -18
- data/examples/v201101/get_all_user_lists.rb +9 -18
- data/examples/v201101/get_all_videos.rb +9 -18
- data/examples/v201101/get_bulk_mutate_job.rb +9 -18
- data/examples/v201101/get_campaign_alerts.rb +10 -18
- data/examples/v201101/get_conversion_optimizer_eligibility.rb +9 -18
- data/examples/v201101/get_criterion_bid_landscape.rb +9 -18
- data/examples/v201101/get_geo_location_info.rb +9 -18
- data/examples/v201101/get_keyword_opportunities.rb +10 -18
- data/examples/v201101/get_method_cost.rb +9 -18
- data/examples/v201101/get_operation_count.rb +9 -18
- data/examples/v201101/get_related_keywords.rb +10 -18
- data/examples/v201101/get_related_placements.rb +10 -18
- data/examples/v201101/get_report_fields.rb +9 -18
- data/examples/v201101/get_total_usage_units_per_month.rb +9 -18
- data/examples/v201101/get_traffic_estimates.rb +9 -18
- data/examples/v201101/get_unit_count.rb +9 -18
- data/examples/v201101/handle_partial_failures.rb +10 -18
- data/examples/v201101/handle_policy_violation_error.rb +10 -18
- data/examples/v201101/handle_second_factor.rb +9 -18
- data/examples/v201101/oauth_handling.rb +9 -18
- data/examples/v201101/perform_bulk_mutate_job.rb +9 -18
- data/examples/v201101/promote_experiment.rb +9 -18
- data/examples/v201101/set_ad_params.rb +9 -18
- data/examples/v201101/set_campaign_targets.rb +9 -18
- data/examples/v201101/update_ad.rb +9 -18
- data/examples/v201101/update_ad_group.rb +9 -18
- data/examples/v201101/update_ad_group_criterion.rb +9 -18
- data/examples/v201101/update_campaign.rb +9 -18
- data/examples/v201101/update_conversion.rb +9 -18
- data/examples/v201101/update_user_list.rb +9 -18
- data/examples/v201101/upload_image.rb +10 -18
- data/lib/adwords_api.rb +53 -112
- data/lib/adwords_api/api_config.rb +11 -3
- data/lib/adwords_api/client_login_header_handler.rb +76 -0
- data/lib/adwords_api/errors.rb +22 -51
- data/lib/adwords_api/extensions.rb +16 -19
- data/lib/adwords_api/utils.rb +2 -9
- data/lib/adwords_api/v13/account_service.rb +48 -0
- data/lib/adwords_api/v13/account_service_registry.rb +39 -0
- data/lib/adwords_api/v13/report_service.rb +65 -0
- data/lib/adwords_api/v13/report_service_registry.rb +39 -0
- data/lib/adwords_api/v13/traffic_estimator_service.rb +44 -0
- data/lib/adwords_api/v13/traffic_estimator_service_registry.rb +39 -0
- data/lib/adwords_api/{auth/v13_login_handler.rb → v13_login_handler.rb} +4 -6
- data/lib/adwords_api/v200909/ad_extension_override_service.rb +36 -0
- data/lib/adwords_api/v200909/ad_extension_override_service_registry.rb +42 -0
- data/lib/adwords_api/v200909/ad_group_ad_service.rb +36 -0
- data/lib/adwords_api/v200909/ad_group_ad_service_registry.rb +42 -0
- data/lib/adwords_api/v200909/ad_group_criterion_service.rb +36 -0
- data/lib/adwords_api/v200909/ad_group_criterion_service_registry.rb +42 -0
- data/lib/adwords_api/v200909/ad_group_service.rb +36 -0
- data/lib/adwords_api/v200909/ad_group_service_registry.rb +42 -0
- data/lib/adwords_api/v200909/ad_param_service.rb +36 -0
- data/lib/adwords_api/v200909/ad_param_service_registry.rb +42 -0
- data/lib/adwords_api/v200909/bulk_mutate_job_service.rb +36 -0
- data/lib/adwords_api/v200909/bulk_mutate_job_service_registry.rb +42 -0
- data/lib/adwords_api/v200909/campaign_ad_extension_service.rb +36 -0
- data/lib/adwords_api/v200909/campaign_ad_extension_service_registry.rb +42 -0
- data/lib/adwords_api/v200909/campaign_criterion_service.rb +36 -0
- data/lib/adwords_api/v200909/campaign_criterion_service_registry.rb +42 -0
- data/lib/adwords_api/v200909/campaign_service.rb +36 -0
- data/lib/adwords_api/v200909/campaign_service_registry.rb +42 -0
- data/lib/adwords_api/v200909/campaign_target_service.rb +36 -0
- data/lib/adwords_api/v200909/campaign_target_service_registry.rb +42 -0
- data/lib/adwords_api/v200909/geo_location_service.rb +32 -0
- data/lib/adwords_api/v200909/geo_location_service_registry.rb +42 -0
- data/lib/adwords_api/v200909/info_service.rb +32 -0
- data/lib/adwords_api/v200909/info_service_registry.rb +42 -0
- data/lib/adwords_api/v200909/targeting_idea_service.rb +36 -0
- data/lib/adwords_api/v200909/targeting_idea_service_registry.rb +42 -0
- data/lib/adwords_api/v201003/ad_extension_override_service.rb +36 -0
- data/lib/adwords_api/v201003/ad_extension_override_service_registry.rb +42 -0
- data/lib/adwords_api/v201003/ad_group_ad_service.rb +36 -0
- data/lib/adwords_api/v201003/ad_group_ad_service_registry.rb +42 -0
- data/lib/adwords_api/v201003/ad_group_criterion_service.rb +36 -0
- data/lib/adwords_api/v201003/ad_group_criterion_service_registry.rb +42 -0
- data/lib/adwords_api/v201003/ad_group_service.rb +36 -0
- data/lib/adwords_api/v201003/ad_group_service_registry.rb +42 -0
- data/lib/adwords_api/v201003/ad_param_service.rb +36 -0
- data/lib/adwords_api/v201003/ad_param_service_registry.rb +42 -0
- data/lib/adwords_api/v201003/bid_landscape_service.rb +32 -0
- data/lib/adwords_api/v201003/bid_landscape_service_registry.rb +42 -0
- data/lib/adwords_api/v201003/bulk_mutate_job_service.rb +36 -0
- data/lib/adwords_api/v201003/bulk_mutate_job_service_registry.rb +42 -0
- data/lib/adwords_api/v201003/campaign_ad_extension_service.rb +36 -0
- data/lib/adwords_api/v201003/campaign_ad_extension_service_registry.rb +42 -0
- data/lib/adwords_api/v201003/campaign_criterion_service.rb +36 -0
- data/lib/adwords_api/v201003/campaign_criterion_service_registry.rb +42 -0
- data/lib/adwords_api/v201003/campaign_service.rb +36 -0
- data/lib/adwords_api/v201003/campaign_service_registry.rb +42 -0
- data/lib/adwords_api/v201003/campaign_target_service.rb +36 -0
- data/lib/adwords_api/v201003/campaign_target_service_registry.rb +42 -0
- data/lib/adwords_api/v201003/geo_location_service.rb +32 -0
- data/lib/adwords_api/v201003/geo_location_service_registry.rb +42 -0
- data/lib/adwords_api/v201003/info_service.rb +32 -0
- data/lib/adwords_api/v201003/info_service_registry.rb +42 -0
- data/lib/adwords_api/v201003/media_service.rb +36 -0
- data/lib/adwords_api/v201003/media_service_registry.rb +42 -0
- data/lib/adwords_api/v201003/report_definition_service.rb +49 -0
- data/lib/adwords_api/v201003/report_definition_service_registry.rb +42 -0
- data/lib/adwords_api/v201003/targeting_idea_service.rb +36 -0
- data/lib/adwords_api/v201003/targeting_idea_service_registry.rb +42 -0
- data/lib/adwords_api/v201008/ad_extension_override_service.rb +36 -0
- data/lib/adwords_api/v201008/ad_extension_override_service_registry.rb +42 -0
- data/lib/adwords_api/v201008/ad_group_ad_service.rb +36 -0
- data/lib/adwords_api/v201008/ad_group_ad_service_registry.rb +42 -0
- data/lib/adwords_api/v201008/ad_group_criterion_service.rb +36 -0
- data/lib/adwords_api/v201008/ad_group_criterion_service_registry.rb +42 -0
- data/lib/adwords_api/v201008/ad_group_service.rb +36 -0
- data/lib/adwords_api/v201008/ad_group_service_registry.rb +42 -0
- data/lib/adwords_api/v201008/ad_param_service.rb +36 -0
- data/lib/adwords_api/v201008/ad_param_service_registry.rb +42 -0
- data/lib/adwords_api/v201008/alert_service.rb +32 -0
- data/lib/adwords_api/v201008/alert_service_registry.rb +42 -0
- data/lib/adwords_api/v201008/bid_landscape_service.rb +32 -0
- data/lib/adwords_api/v201008/bid_landscape_service_registry.rb +42 -0
- data/lib/adwords_api/v201008/bulk_mutate_job_service.rb +36 -0
- data/lib/adwords_api/v201008/bulk_mutate_job_service_registry.rb +42 -0
- data/lib/adwords_api/v201008/campaign_ad_extension_service.rb +36 -0
- data/lib/adwords_api/v201008/campaign_ad_extension_service_registry.rb +42 -0
- data/lib/adwords_api/v201008/campaign_criterion_service.rb +36 -0
- data/lib/adwords_api/v201008/campaign_criterion_service_registry.rb +42 -0
- data/lib/adwords_api/v201008/campaign_service.rb +36 -0
- data/lib/adwords_api/v201008/campaign_service_registry.rb +42 -0
- data/lib/adwords_api/v201008/campaign_target_service.rb +36 -0
- data/lib/adwords_api/v201008/campaign_target_service_registry.rb +42 -0
- data/lib/adwords_api/v201008/customer_sync_service.rb +32 -0
- data/lib/adwords_api/v201008/customer_sync_service_registry.rb +43 -0
- data/lib/adwords_api/v201008/experiment_service.rb +36 -0
- data/lib/adwords_api/v201008/experiment_service_registry.rb +42 -0
- data/lib/adwords_api/v201008/geo_location_service.rb +32 -0
- data/lib/adwords_api/v201008/geo_location_service_registry.rb +42 -0
- data/lib/adwords_api/v201008/info_service.rb +32 -0
- data/lib/adwords_api/v201008/info_service_registry.rb +42 -0
- data/lib/adwords_api/v201008/media_service.rb +36 -0
- data/lib/adwords_api/v201008/media_service_registry.rb +42 -0
- data/lib/adwords_api/v201008/report_definition_service.rb +49 -0
- data/lib/adwords_api/v201008/report_definition_service_registry.rb +42 -0
- data/lib/adwords_api/v201008/serviced_account_service.rb +32 -0
- data/lib/adwords_api/v201008/serviced_account_service_registry.rb +42 -0
- data/lib/adwords_api/v201008/targeting_idea_service.rb +36 -0
- data/lib/adwords_api/v201008/targeting_idea_service_registry.rb +42 -0
- data/lib/adwords_api/v201008/traffic_estimator_service.rb +32 -0
- data/lib/adwords_api/v201008/traffic_estimator_service_registry.rb +42 -0
- data/lib/adwords_api/v201008/user_list_service.rb +36 -0
- data/lib/adwords_api/v201008/user_list_service_registry.rb +42 -0
- data/lib/adwords_api/v201101/ad_extension_override_service.rb +36 -0
- data/lib/adwords_api/v201101/ad_extension_override_service_registry.rb +42 -0
- data/lib/adwords_api/v201101/ad_group_ad_service.rb +36 -0
- data/lib/adwords_api/v201101/ad_group_ad_service_registry.rb +42 -0
- data/lib/adwords_api/v201101/ad_group_criterion_service.rb +36 -0
- data/lib/adwords_api/v201101/ad_group_criterion_service_registry.rb +42 -0
- data/lib/adwords_api/v201101/ad_group_service.rb +36 -0
- data/lib/adwords_api/v201101/ad_group_service_registry.rb +42 -0
- data/lib/adwords_api/v201101/ad_param_service.rb +36 -0
- data/lib/adwords_api/v201101/ad_param_service_registry.rb +42 -0
- data/lib/adwords_api/v201101/alert_service.rb +32 -0
- data/lib/adwords_api/v201101/alert_service_registry.rb +42 -0
- data/lib/adwords_api/v201101/bulk_mutate_job_service.rb +36 -0
- data/lib/adwords_api/v201101/bulk_mutate_job_service_registry.rb +42 -0
- data/lib/adwords_api/v201101/bulk_opportunity_service.rb +32 -0
- data/lib/adwords_api/v201101/bulk_opportunity_service_registry.rb +42 -0
- data/lib/adwords_api/v201101/campaign_ad_extension_service.rb +36 -0
- data/lib/adwords_api/v201101/campaign_ad_extension_service_registry.rb +42 -0
- data/lib/adwords_api/v201101/campaign_criterion_service.rb +36 -0
- data/lib/adwords_api/v201101/campaign_criterion_service_registry.rb +42 -0
- data/lib/adwords_api/v201101/campaign_service.rb +36 -0
- data/lib/adwords_api/v201101/campaign_service_registry.rb +42 -0
- data/lib/adwords_api/v201101/campaign_target_service.rb +36 -0
- data/lib/adwords_api/v201101/campaign_target_service_registry.rb +42 -0
- data/lib/adwords_api/v201101/conversion_tracker_service.rb +36 -0
- data/lib/adwords_api/v201101/conversion_tracker_service_registry.rb +42 -0
- data/lib/adwords_api/v201101/customer_sync_service.rb +32 -0
- data/lib/adwords_api/v201101/customer_sync_service_registry.rb +43 -0
- data/lib/adwords_api/v201101/data_service.rb +36 -0
- data/lib/adwords_api/v201101/data_service_registry.rb +42 -0
- data/lib/adwords_api/v201101/experiment_service.rb +36 -0
- data/lib/adwords_api/v201101/experiment_service_registry.rb +42 -0
- data/lib/adwords_api/v201101/geo_location_service.rb +32 -0
- data/lib/adwords_api/v201101/geo_location_service_registry.rb +42 -0
- data/lib/adwords_api/v201101/info_service.rb +32 -0
- data/lib/adwords_api/v201101/info_service_registry.rb +42 -0
- data/lib/adwords_api/v201101/media_service.rb +36 -0
- data/lib/adwords_api/v201101/media_service_registry.rb +42 -0
- data/lib/adwords_api/v201101/report_definition_service.rb +57 -0
- data/lib/adwords_api/v201101/report_definition_service_registry.rb +42 -0
- data/lib/adwords_api/v201101/serviced_account_service.rb +32 -0
- data/lib/adwords_api/v201101/serviced_account_service_registry.rb +42 -0
- data/lib/adwords_api/v201101/targeting_idea_service.rb +36 -0
- data/lib/adwords_api/v201101/targeting_idea_service_registry.rb +42 -0
- data/lib/adwords_api/v201101/traffic_estimator_service.rb +32 -0
- data/lib/adwords_api/v201101/traffic_estimator_service_registry.rb +42 -0
- data/lib/adwords_api/v201101/user_list_service.rb +36 -0
- data/lib/adwords_api/v201101/user_list_service_registry.rb +42 -0
- metadata +185 -374
- data/adwords_api.yml +0 -39
- data/lib/adwords_api/nested_header_handler.rb +0 -47
- data/lib/adwords_api/single_header_handler.rb +0 -41
- data/lib/adwords_api/soap4r/rake_common.rb +0 -345
- data/lib/adwords_api/soap4r/soap4r_generator.rb +0 -564
- data/lib/adwords_api/soap4r/soap4r_logger.rb +0 -44
- data/lib/adwords_api/soap4r/soap4r_patches.rb +0 -210
- data/lib/adwords_api/soap4r/soap4r_response_handler.rb +0 -148
- data/lib/adwords_api/v13/AccountService.rb +0 -321
- data/lib/adwords_api/v13/AccountServiceDriver.rb +0 -87
- data/lib/adwords_api/v13/AccountServiceMappingRegistry.rb +0 -337
- data/lib/adwords_api/v13/AccountServiceWrapper.rb +0 -407
- data/lib/adwords_api/v13/ReportService.rb +0 -328
- data/lib/adwords_api/v13/ReportServiceDriver.rb +0 -103
- data/lib/adwords_api/v13/ReportServiceMappingRegistry.rb +0 -298
- data/lib/adwords_api/v13/ReportServiceWrapper.rb +0 -500
- data/lib/adwords_api/v13/TrafficEstimatorService.rb +0 -414
- data/lib/adwords_api/v13/TrafficEstimatorServiceDriver.rb +0 -79
- data/lib/adwords_api/v13/TrafficEstimatorServiceMappingRegistry.rb +0 -491
- data/lib/adwords_api/v13/TrafficEstimatorServiceWrapper.rb +0 -402
- data/lib/adwords_api/v200909/AdExtensionOverrideService.rb +0 -1105
- data/lib/adwords_api/v200909/AdExtensionOverrideServiceDriver.rb +0 -63
- data/lib/adwords_api/v200909/AdExtensionOverrideServiceMappingRegistry.rb +0 -1265
- data/lib/adwords_api/v200909/AdExtensionOverrideServiceWrapper.rb +0 -332
- data/lib/adwords_api/v200909/AdGroupAdService.rb +0 -2603
- data/lib/adwords_api/v200909/AdGroupAdServiceDriver.rb +0 -63
- data/lib/adwords_api/v200909/AdGroupAdServiceMappingRegistry.rb +0 -2755
- data/lib/adwords_api/v200909/AdGroupAdServiceWrapper.rb +0 -332
- data/lib/adwords_api/v200909/AdGroupCriterionService.rb +0 -1577
- data/lib/adwords_api/v200909/AdGroupCriterionServiceDriver.rb +0 -63
- data/lib/adwords_api/v200909/AdGroupCriterionServiceMappingRegistry.rb +0 -1821
- data/lib/adwords_api/v200909/AdGroupCriterionServiceWrapper.rb +0 -332
- data/lib/adwords_api/v200909/AdGroupService.rb +0 -1251
- data/lib/adwords_api/v200909/AdGroupServiceDriver.rb +0 -63
- data/lib/adwords_api/v200909/AdGroupServiceMappingRegistry.rb +0 -1395
- data/lib/adwords_api/v200909/AdGroupServiceWrapper.rb +0 -332
- data/lib/adwords_api/v200909/AdParamService.rb +0 -765
- data/lib/adwords_api/v200909/AdParamServiceDriver.rb +0 -63
- data/lib/adwords_api/v200909/AdParamServiceMappingRegistry.rb +0 -927
- data/lib/adwords_api/v200909/AdParamServiceWrapper.rb +0 -332
- data/lib/adwords_api/v200909/BulkMutateJobService.rb +0 -4778
- data/lib/adwords_api/v200909/BulkMutateJobServiceDriver.rb +0 -63
- data/lib/adwords_api/v200909/BulkMutateJobServiceMappingRegistry.rb +0 -5077
- data/lib/adwords_api/v200909/BulkMutateJobServiceWrapper.rb +0 -332
- data/lib/adwords_api/v200909/CampaignAdExtensionService.rb +0 -1065
- data/lib/adwords_api/v200909/CampaignAdExtensionServiceDriver.rb +0 -63
- data/lib/adwords_api/v200909/CampaignAdExtensionServiceMappingRegistry.rb +0 -1273
- data/lib/adwords_api/v200909/CampaignAdExtensionServiceWrapper.rb +0 -332
- data/lib/adwords_api/v200909/CampaignCriterionService.rb +0 -1019
- data/lib/adwords_api/v200909/CampaignCriterionServiceDriver.rb +0 -63
- data/lib/adwords_api/v200909/CampaignCriterionServiceMappingRegistry.rb +0 -1237
- data/lib/adwords_api/v200909/CampaignCriterionServiceWrapper.rb +0 -332
- data/lib/adwords_api/v200909/CampaignService.rb +0 -1633
- data/lib/adwords_api/v200909/CampaignServiceDriver.rb +0 -63
- data/lib/adwords_api/v200909/CampaignServiceMappingRegistry.rb +0 -1785
- data/lib/adwords_api/v200909/CampaignServiceWrapper.rb +0 -332
- data/lib/adwords_api/v200909/CampaignTargetService.rb +0 -1435
- data/lib/adwords_api/v200909/CampaignTargetServiceDriver.rb +0 -63
- data/lib/adwords_api/v200909/CampaignTargetServiceMappingRegistry.rb +0 -1569
- data/lib/adwords_api/v200909/CampaignTargetServiceWrapper.rb +0 -332
- data/lib/adwords_api/v200909/GeoLocationService.rb +0 -611
- data/lib/adwords_api/v200909/GeoLocationServiceDriver.rb +0 -55
- data/lib/adwords_api/v200909/GeoLocationServiceMappingRegistry.rb +0 -771
- data/lib/adwords_api/v200909/GeoLocationServiceWrapper.rb +0 -303
- data/lib/adwords_api/v200909/InfoService.rb +0 -605
- data/lib/adwords_api/v200909/InfoServiceDriver.rb +0 -55
- data/lib/adwords_api/v200909/InfoServiceMappingRegistry.rb +0 -764
- data/lib/adwords_api/v200909/InfoServiceWrapper.rb +0 -303
- data/lib/adwords_api/v200909/TargetingIdeaService.rb +0 -2253
- data/lib/adwords_api/v200909/TargetingIdeaServiceDriver.rb +0 -63
- data/lib/adwords_api/v200909/TargetingIdeaServiceMappingRegistry.rb +0 -2688
- data/lib/adwords_api/v200909/TargetingIdeaServiceWrapper.rb +0 -335
- data/lib/adwords_api/v201003/AdExtensionOverrideService.rb +0 -1301
- data/lib/adwords_api/v201003/AdExtensionOverrideServiceDriver.rb +0 -63
- data/lib/adwords_api/v201003/AdExtensionOverrideServiceMappingRegistry.rb +0 -1468
- data/lib/adwords_api/v201003/AdExtensionOverrideServiceWrapper.rb +0 -332
- data/lib/adwords_api/v201003/AdGroupAdService.rb +0 -2909
- data/lib/adwords_api/v201003/AdGroupAdServiceDriver.rb +0 -63
- data/lib/adwords_api/v201003/AdGroupAdServiceMappingRegistry.rb +0 -2970
- data/lib/adwords_api/v201003/AdGroupAdServiceWrapper.rb +0 -332
- data/lib/adwords_api/v201003/AdGroupCriterionService.rb +0 -1762
- data/lib/adwords_api/v201003/AdGroupCriterionServiceDriver.rb +0 -63
- data/lib/adwords_api/v201003/AdGroupCriterionServiceMappingRegistry.rb +0 -1978
- data/lib/adwords_api/v201003/AdGroupCriterionServiceWrapper.rb +0 -332
- data/lib/adwords_api/v201003/AdGroupService.rb +0 -1421
- data/lib/adwords_api/v201003/AdGroupServiceDriver.rb +0 -63
- data/lib/adwords_api/v201003/AdGroupServiceMappingRegistry.rb +0 -1546
- data/lib/adwords_api/v201003/AdGroupServiceWrapper.rb +0 -332
- data/lib/adwords_api/v201003/AdParamService.rb +0 -859
- data/lib/adwords_api/v201003/AdParamServiceDriver.rb +0 -63
- data/lib/adwords_api/v201003/AdParamServiceMappingRegistry.rb +0 -1002
- data/lib/adwords_api/v201003/AdParamServiceWrapper.rb +0 -332
- data/lib/adwords_api/v201003/BidLandscapeService.rb +0 -847
- data/lib/adwords_api/v201003/BidLandscapeServiceDriver.rb +0 -55
- data/lib/adwords_api/v201003/BidLandscapeServiceMappingRegistry.rb +0 -958
- data/lib/adwords_api/v201003/BidLandscapeServiceWrapper.rb +0 -306
- data/lib/adwords_api/v201003/BulkMutateJobService.rb +0 -5401
- data/lib/adwords_api/v201003/BulkMutateJobServiceDriver.rb +0 -63
- data/lib/adwords_api/v201003/BulkMutateJobServiceMappingRegistry.rb +0 -5600
- data/lib/adwords_api/v201003/BulkMutateJobServiceWrapper.rb +0 -332
- data/lib/adwords_api/v201003/CampaignAdExtensionService.rb +0 -1255
- data/lib/adwords_api/v201003/CampaignAdExtensionServiceDriver.rb +0 -63
- data/lib/adwords_api/v201003/CampaignAdExtensionServiceMappingRegistry.rb +0 -1452
- data/lib/adwords_api/v201003/CampaignAdExtensionServiceWrapper.rb +0 -332
- data/lib/adwords_api/v201003/CampaignCriterionService.rb +0 -1145
- data/lib/adwords_api/v201003/CampaignCriterionServiceDriver.rb +0 -63
- data/lib/adwords_api/v201003/CampaignCriterionServiceMappingRegistry.rb +0 -1344
- data/lib/adwords_api/v201003/CampaignCriterionServiceWrapper.rb +0 -332
- data/lib/adwords_api/v201003/CampaignService.rb +0 -1901
- data/lib/adwords_api/v201003/CampaignServiceDriver.rb +0 -63
- data/lib/adwords_api/v201003/CampaignServiceMappingRegistry.rb +0 -2010
- data/lib/adwords_api/v201003/CampaignServiceWrapper.rb +0 -332
- data/lib/adwords_api/v201003/CampaignTargetService.rb +0 -1642
- data/lib/adwords_api/v201003/CampaignTargetServiceDriver.rb +0 -63
- data/lib/adwords_api/v201003/CampaignTargetServiceMappingRegistry.rb +0 -1754
- data/lib/adwords_api/v201003/CampaignTargetServiceWrapper.rb +0 -332
- data/lib/adwords_api/v201003/GeoLocationService.rb +0 -692
- data/lib/adwords_api/v201003/GeoLocationServiceDriver.rb +0 -55
- data/lib/adwords_api/v201003/GeoLocationServiceMappingRegistry.rb +0 -840
- data/lib/adwords_api/v201003/GeoLocationServiceWrapper.rb +0 -303
- data/lib/adwords_api/v201003/InfoService.rb +0 -687
- data/lib/adwords_api/v201003/InfoServiceDriver.rb +0 -55
- data/lib/adwords_api/v201003/InfoServiceMappingRegistry.rb +0 -833
- data/lib/adwords_api/v201003/InfoServiceWrapper.rb +0 -303
- data/lib/adwords_api/v201003/MediaService.rb +0 -1192
- data/lib/adwords_api/v201003/MediaServiceDriver.rb +0 -63
- data/lib/adwords_api/v201003/MediaServiceMappingRegistry.rb +0 -1290
- data/lib/adwords_api/v201003/MediaServiceWrapper.rb +0 -332
- data/lib/adwords_api/v201003/ReportDefinitionService.rb +0 -905
- data/lib/adwords_api/v201003/ReportDefinitionServiceDriver.rb +0 -71
- data/lib/adwords_api/v201003/ReportDefinitionServiceMappingRegistry.rb +0 -1036
- data/lib/adwords_api/v201003/ReportDefinitionServiceWrapper.rb +0 -378
- data/lib/adwords_api/v201003/TargetingIdeaService.rb +0 -2517
- data/lib/adwords_api/v201003/TargetingIdeaServiceDriver.rb +0 -63
- data/lib/adwords_api/v201003/TargetingIdeaServiceMappingRegistry.rb +0 -2925
- data/lib/adwords_api/v201003/TargetingIdeaServiceWrapper.rb +0 -335
- data/lib/adwords_api/v201008/AdExtensionOverrideService.rb +0 -1383
- data/lib/adwords_api/v201008/AdExtensionOverrideServiceDriver.rb +0 -63
- data/lib/adwords_api/v201008/AdExtensionOverrideServiceMappingRegistry.rb +0 -1563
- data/lib/adwords_api/v201008/AdExtensionOverrideServiceWrapper.rb +0 -332
- data/lib/adwords_api/v201008/AdGroupAdService.rb +0 -2928
- data/lib/adwords_api/v201008/AdGroupAdServiceDriver.rb +0 -63
- data/lib/adwords_api/v201008/AdGroupAdServiceMappingRegistry.rb +0 -2969
- data/lib/adwords_api/v201008/AdGroupAdServiceWrapper.rb +0 -332
- data/lib/adwords_api/v201008/AdGroupCriterionService.rb +0 -1981
- data/lib/adwords_api/v201008/AdGroupCriterionServiceDriver.rb +0 -63
- data/lib/adwords_api/v201008/AdGroupCriterionServiceMappingRegistry.rb +0 -2229
- data/lib/adwords_api/v201008/AdGroupCriterionServiceWrapper.rb +0 -332
- data/lib/adwords_api/v201008/AdGroupService.rb +0 -1548
- data/lib/adwords_api/v201008/AdGroupServiceDriver.rb +0 -63
- data/lib/adwords_api/v201008/AdGroupServiceMappingRegistry.rb +0 -1687
- data/lib/adwords_api/v201008/AdGroupServiceWrapper.rb +0 -332
- data/lib/adwords_api/v201008/AdParamService.rb +0 -889
- data/lib/adwords_api/v201008/AdParamServiceDriver.rb +0 -63
- data/lib/adwords_api/v201008/AdParamServiceMappingRegistry.rb +0 -1041
- data/lib/adwords_api/v201008/AdParamServiceWrapper.rb +0 -332
- data/lib/adwords_api/v201008/AlertService.rb +0 -743
- data/lib/adwords_api/v201008/AlertServiceDriver.rb +0 -55
- data/lib/adwords_api/v201008/AlertServiceMappingRegistry.rb +0 -836
- data/lib/adwords_api/v201008/AlertServiceWrapper.rb +0 -303
- data/lib/adwords_api/v201008/BidLandscapeService.rb +0 -928
- data/lib/adwords_api/v201008/BidLandscapeServiceDriver.rb +0 -55
- data/lib/adwords_api/v201008/BidLandscapeServiceMappingRegistry.rb +0 -1059
- data/lib/adwords_api/v201008/BidLandscapeServiceWrapper.rb +0 -306
- data/lib/adwords_api/v201008/BulkMutateJobService.rb +0 -6063
- data/lib/adwords_api/v201008/BulkMutateJobServiceDriver.rb +0 -63
- data/lib/adwords_api/v201008/BulkMutateJobServiceMappingRegistry.rb +0 -6265
- data/lib/adwords_api/v201008/BulkMutateJobServiceWrapper.rb +0 -332
- data/lib/adwords_api/v201008/CampaignAdExtensionService.rb +0 -1594
- data/lib/adwords_api/v201008/CampaignAdExtensionServiceDriver.rb +0 -63
- data/lib/adwords_api/v201008/CampaignAdExtensionServiceMappingRegistry.rb +0 -1789
- data/lib/adwords_api/v201008/CampaignAdExtensionServiceWrapper.rb +0 -332
- data/lib/adwords_api/v201008/CampaignCriterionService.rb +0 -1243
- data/lib/adwords_api/v201008/CampaignCriterionServiceDriver.rb +0 -63
- data/lib/adwords_api/v201008/CampaignCriterionServiceMappingRegistry.rb +0 -1467
- data/lib/adwords_api/v201008/CampaignCriterionServiceWrapper.rb +0 -332
- data/lib/adwords_api/v201008/CampaignService.rb +0 -1979
- data/lib/adwords_api/v201008/CampaignServiceDriver.rb +0 -63
- data/lib/adwords_api/v201008/CampaignServiceMappingRegistry.rb +0 -2089
- data/lib/adwords_api/v201008/CampaignServiceWrapper.rb +0 -332
- data/lib/adwords_api/v201008/CampaignTargetService.rb +0 -1651
- data/lib/adwords_api/v201008/CampaignTargetServiceDriver.rb +0 -63
- data/lib/adwords_api/v201008/CampaignTargetServiceMappingRegistry.rb +0 -1757
- data/lib/adwords_api/v201008/CampaignTargetServiceWrapper.rb +0 -332
- data/lib/adwords_api/v201008/CustomerSyncService.rb +0 -693
- data/lib/adwords_api/v201008/CustomerSyncServiceDriver.rb +0 -55
- data/lib/adwords_api/v201008/CustomerSyncServiceMappingRegistry.rb +0 -820
- data/lib/adwords_api/v201008/CustomerSyncServiceWrapper.rb +0 -303
- data/lib/adwords_api/v201008/ExperimentService.rb +0 -1124
- data/lib/adwords_api/v201008/ExperimentServiceDriver.rb +0 -63
- data/lib/adwords_api/v201008/ExperimentServiceMappingRegistry.rb +0 -1281
- data/lib/adwords_api/v201008/ExperimentServiceWrapper.rb +0 -332
- data/lib/adwords_api/v201008/GeoLocationService.rb +0 -695
- data/lib/adwords_api/v201008/GeoLocationServiceDriver.rb +0 -55
- data/lib/adwords_api/v201008/GeoLocationServiceMappingRegistry.rb +0 -843
- data/lib/adwords_api/v201008/GeoLocationServiceWrapper.rb +0 -303
- data/lib/adwords_api/v201008/InfoService.rb +0 -690
- data/lib/adwords_api/v201008/InfoServiceDriver.rb +0 -55
- data/lib/adwords_api/v201008/InfoServiceMappingRegistry.rb +0 -836
- data/lib/adwords_api/v201008/InfoServiceWrapper.rb +0 -303
- data/lib/adwords_api/v201008/MediaService.rb +0 -1144
- data/lib/adwords_api/v201008/MediaServiceDriver.rb +0 -63
- data/lib/adwords_api/v201008/MediaServiceMappingRegistry.rb +0 -1241
- data/lib/adwords_api/v201008/MediaServiceWrapper.rb +0 -332
- data/lib/adwords_api/v201008/ReportDefinitionService.rb +0 -976
- data/lib/adwords_api/v201008/ReportDefinitionServiceDriver.rb +0 -71
- data/lib/adwords_api/v201008/ReportDefinitionServiceMappingRegistry.rb +0 -1115
- data/lib/adwords_api/v201008/ReportDefinitionServiceWrapper.rb +0 -378
- data/lib/adwords_api/v201008/ServicedAccountService.rb +0 -630
- data/lib/adwords_api/v201008/ServicedAccountServiceDriver.rb +0 -55
- data/lib/adwords_api/v201008/ServicedAccountServiceMappingRegistry.rb +0 -752
- data/lib/adwords_api/v201008/ServicedAccountServiceWrapper.rb +0 -303
- data/lib/adwords_api/v201008/TargetingIdeaService.rb +0 -2645
- data/lib/adwords_api/v201008/TargetingIdeaServiceDriver.rb +0 -63
- data/lib/adwords_api/v201008/TargetingIdeaServiceMappingRegistry.rb +0 -3080
- data/lib/adwords_api/v201008/TargetingIdeaServiceWrapper.rb +0 -335
- data/lib/adwords_api/v201008/TrafficEstimatorService.rb +0 -1833
- data/lib/adwords_api/v201008/TrafficEstimatorServiceDriver.rb +0 -55
- data/lib/adwords_api/v201008/TrafficEstimatorServiceMappingRegistry.rb +0 -2124
- data/lib/adwords_api/v201008/TrafficEstimatorServiceWrapper.rb +0 -303
- data/lib/adwords_api/v201008/UserListService.rb +0 -846
- data/lib/adwords_api/v201008/UserListServiceDriver.rb +0 -63
- data/lib/adwords_api/v201008/UserListServiceMappingRegistry.rb +0 -915
- data/lib/adwords_api/v201008/UserListServiceWrapper.rb +0 -332
- data/lib/adwords_api/v201101/AdExtensionOverrideService.rb +0 -1399
- data/lib/adwords_api/v201101/AdExtensionOverrideServiceDriver.rb +0 -63
- data/lib/adwords_api/v201101/AdExtensionOverrideServiceMappingRegistry.rb +0 -1573
- data/lib/adwords_api/v201101/AdExtensionOverrideServiceWrapper.rb +0 -332
- data/lib/adwords_api/v201101/AdGroupAdService.rb +0 -2587
- data/lib/adwords_api/v201101/AdGroupAdServiceDriver.rb +0 -63
- data/lib/adwords_api/v201101/AdGroupAdServiceMappingRegistry.rb +0 -2583
- data/lib/adwords_api/v201101/AdGroupAdServiceWrapper.rb +0 -332
- data/lib/adwords_api/v201101/AdGroupCriterionService.rb +0 -2099
- data/lib/adwords_api/v201101/AdGroupCriterionServiceDriver.rb +0 -63
- data/lib/adwords_api/v201101/AdGroupCriterionServiceMappingRegistry.rb +0 -2327
- data/lib/adwords_api/v201101/AdGroupCriterionServiceWrapper.rb +0 -332
- data/lib/adwords_api/v201101/AdGroupService.rb +0 -1610
- data/lib/adwords_api/v201101/AdGroupServiceDriver.rb +0 -63
- data/lib/adwords_api/v201101/AdGroupServiceMappingRegistry.rb +0 -1765
- data/lib/adwords_api/v201101/AdGroupServiceWrapper.rb +0 -332
- data/lib/adwords_api/v201101/AdParamService.rb +0 -922
- data/lib/adwords_api/v201101/AdParamServiceDriver.rb +0 -63
- data/lib/adwords_api/v201101/AdParamServiceMappingRegistry.rb +0 -1077
- data/lib/adwords_api/v201101/AdParamServiceWrapper.rb +0 -332
- data/lib/adwords_api/v201101/AlertService.rb +0 -747
- data/lib/adwords_api/v201101/AlertServiceDriver.rb +0 -55
- data/lib/adwords_api/v201101/AlertServiceMappingRegistry.rb +0 -838
- data/lib/adwords_api/v201101/AlertServiceWrapper.rb +0 -303
- data/lib/adwords_api/v201101/BulkMutateJobService.rb +0 -6197
- data/lib/adwords_api/v201101/BulkMutateJobServiceDriver.rb +0 -63
- data/lib/adwords_api/v201101/BulkMutateJobServiceMappingRegistry.rb +0 -6413
- data/lib/adwords_api/v201101/BulkMutateJobServiceWrapper.rb +0 -332
- data/lib/adwords_api/v201101/BulkOpportunityService.rb +0 -1367
- data/lib/adwords_api/v201101/BulkOpportunityServiceDriver.rb +0 -55
- data/lib/adwords_api/v201101/BulkOpportunityServiceMappingRegistry.rb +0 -1668
- data/lib/adwords_api/v201101/BulkOpportunityServiceWrapper.rb +0 -303
- data/lib/adwords_api/v201101/CampaignAdExtensionService.rb +0 -1677
- data/lib/adwords_api/v201101/CampaignAdExtensionServiceDriver.rb +0 -63
- data/lib/adwords_api/v201101/CampaignAdExtensionServiceMappingRegistry.rb +0 -1855
- data/lib/adwords_api/v201101/CampaignAdExtensionServiceWrapper.rb +0 -332
- data/lib/adwords_api/v201101/CampaignCriterionService.rb +0 -1388
- data/lib/adwords_api/v201101/CampaignCriterionServiceDriver.rb +0 -63
- data/lib/adwords_api/v201101/CampaignCriterionServiceMappingRegistry.rb +0 -1601
- data/lib/adwords_api/v201101/CampaignCriterionServiceWrapper.rb +0 -332
- data/lib/adwords_api/v201101/CampaignService.rb +0 -2188
- data/lib/adwords_api/v201101/CampaignServiceDriver.rb +0 -63
- data/lib/adwords_api/v201101/CampaignServiceMappingRegistry.rb +0 -2301
- data/lib/adwords_api/v201101/CampaignServiceWrapper.rb +0 -332
- data/lib/adwords_api/v201101/CampaignTargetService.rb +0 -1616
- data/lib/adwords_api/v201101/CampaignTargetServiceDriver.rb +0 -63
- data/lib/adwords_api/v201101/CampaignTargetServiceMappingRegistry.rb +0 -1705
- data/lib/adwords_api/v201101/CampaignTargetServiceWrapper.rb +0 -332
- data/lib/adwords_api/v201101/ConversionTrackerService.rb +0 -1132
- data/lib/adwords_api/v201101/ConversionTrackerServiceDriver.rb +0 -63
- data/lib/adwords_api/v201101/ConversionTrackerServiceMappingRegistry.rb +0 -1197
- data/lib/adwords_api/v201101/ConversionTrackerServiceWrapper.rb +0 -332
- data/lib/adwords_api/v201101/CustomerSyncService.rb +0 -694
- data/lib/adwords_api/v201101/CustomerSyncServiceDriver.rb +0 -55
- data/lib/adwords_api/v201101/CustomerSyncServiceMappingRegistry.rb +0 -820
- data/lib/adwords_api/v201101/CustomerSyncServiceWrapper.rb +0 -303
- data/lib/adwords_api/v201101/DataService.rb +0 -1079
- data/lib/adwords_api/v201101/DataServiceDriver.rb +0 -63
- data/lib/adwords_api/v201101/DataServiceMappingRegistry.rb +0 -1177
- data/lib/adwords_api/v201101/DataServiceWrapper.rb +0 -338
- data/lib/adwords_api/v201101/ExperimentService.rb +0 -1256
- data/lib/adwords_api/v201101/ExperimentServiceDriver.rb +0 -63
- data/lib/adwords_api/v201101/ExperimentServiceMappingRegistry.rb +0 -1417
- data/lib/adwords_api/v201101/ExperimentServiceWrapper.rb +0 -332
- data/lib/adwords_api/v201101/GeoLocationService.rb +0 -695
- data/lib/adwords_api/v201101/GeoLocationServiceDriver.rb +0 -55
- data/lib/adwords_api/v201101/GeoLocationServiceMappingRegistry.rb +0 -843
- data/lib/adwords_api/v201101/GeoLocationServiceWrapper.rb +0 -303
- data/lib/adwords_api/v201101/InfoService.rb +0 -690
- data/lib/adwords_api/v201101/InfoServiceDriver.rb +0 -55
- data/lib/adwords_api/v201101/InfoServiceMappingRegistry.rb +0 -836
- data/lib/adwords_api/v201101/InfoServiceWrapper.rb +0 -303
- data/lib/adwords_api/v201101/MediaService.rb +0 -1247
- data/lib/adwords_api/v201101/MediaServiceDriver.rb +0 -63
- data/lib/adwords_api/v201101/MediaServiceMappingRegistry.rb +0 -1357
- data/lib/adwords_api/v201101/MediaServiceWrapper.rb +0 -332
- data/lib/adwords_api/v201101/ReportDefinitionService.rb +0 -1121
- data/lib/adwords_api/v201101/ReportDefinitionServiceDriver.rb +0 -71
- data/lib/adwords_api/v201101/ReportDefinitionServiceMappingRegistry.rb +0 -1263
- data/lib/adwords_api/v201101/ReportDefinitionServiceWrapper.rb +0 -392
- data/lib/adwords_api/v201101/ServicedAccountService.rb +0 -636
- data/lib/adwords_api/v201101/ServicedAccountServiceDriver.rb +0 -55
- data/lib/adwords_api/v201101/ServicedAccountServiceMappingRegistry.rb +0 -756
- data/lib/adwords_api/v201101/ServicedAccountServiceWrapper.rb +0 -303
- data/lib/adwords_api/v201101/TargetingIdeaService.rb +0 -2827
- data/lib/adwords_api/v201101/TargetingIdeaServiceDriver.rb +0 -63
- data/lib/adwords_api/v201101/TargetingIdeaServiceMappingRegistry.rb +0 -3262
- data/lib/adwords_api/v201101/TargetingIdeaServiceWrapper.rb +0 -335
- data/lib/adwords_api/v201101/TrafficEstimatorService.rb +0 -1839
- data/lib/adwords_api/v201101/TrafficEstimatorServiceDriver.rb +0 -55
- data/lib/adwords_api/v201101/TrafficEstimatorServiceMappingRegistry.rb +0 -2128
- data/lib/adwords_api/v201101/TrafficEstimatorServiceWrapper.rb +0 -303
- data/lib/adwords_api/v201101/UserListService.rb +0 -1206
- data/lib/adwords_api/v201101/UserListServiceDriver.rb +0 -63
- data/lib/adwords_api/v201101/UserListServiceMappingRegistry.rb +0 -1323
- data/lib/adwords_api/v201101/UserListServiceWrapper.rb +0 -332
@@ -1,402 +0,0 @@
|
|
1
|
-
# This file was automatically generated during the "rake generate" step of
|
2
|
-
# library setup.
|
3
|
-
require 'adwords_api/v13/TrafficEstimatorServiceDriver.rb'
|
4
|
-
|
5
|
-
module AdwordsApi
|
6
|
-
module V13
|
7
|
-
module TrafficEstimatorService
|
8
|
-
|
9
|
-
# Wrapper class for the v13 TrafficEstimatorService service.
|
10
|
-
# This class is automatically generated.
|
11
|
-
class TrafficEstimatorServiceWrapper
|
12
|
-
|
13
|
-
# Holds the API object to which the wrapper belongs.
|
14
|
-
attr_reader :api
|
15
|
-
|
16
|
-
# Version and service utility fields.
|
17
|
-
attr_reader :version, :service
|
18
|
-
|
19
|
-
REGISTRY = AdwordsApi::V13::TrafficEstimatorService::DefaultMappingRegistry::LiteralRegistry
|
20
|
-
# This takes advantage of the code generated by soap4r to get the
|
21
|
-
# correct namespace for a given service. It accesses one of the fields
|
22
|
-
# in the description of the service's methods, which indicates the
|
23
|
-
# namespace.
|
24
|
-
# Since we're using a fixed version of soap4r (1.5.8), and this is
|
25
|
-
# automatically generated as part of the stub generation, it will
|
26
|
-
# always point to what we want.
|
27
|
-
NAMESPACE = 'https://adwords.google.com/api/adwords/v13'
|
28
|
-
|
29
|
-
# Holds a shortcut to the parent module.
|
30
|
-
# Use this to avoid typing the full class name when creating classes
|
31
|
-
# belonging to this service, e.g.
|
32
|
-
# service_object.module::ClassName
|
33
|
-
# instead of
|
34
|
-
# AdwordsApi::V13::TrafficEstimatorService::ClassName
|
35
|
-
# This will make it easier to migrate your code between API versions.
|
36
|
-
attr_reader :module
|
37
|
-
|
38
|
-
public
|
39
|
-
|
40
|
-
# Constructor for TrafficEstimatorServiceWrapper.
|
41
|
-
#
|
42
|
-
# Args:
|
43
|
-
# - driver: SOAP::RPC::Driver object with the remote SOAP methods for
|
44
|
-
# this service
|
45
|
-
# - api: the API object to which the wrapper belongs
|
46
|
-
#
|
47
|
-
def initialize(driver, api)
|
48
|
-
@driver = driver
|
49
|
-
@api = api
|
50
|
-
@module = AdwordsApi::V13::TrafficEstimatorService
|
51
|
-
@version = :v13
|
52
|
-
@service = :TrafficEstimatorService
|
53
|
-
end
|
54
|
-
|
55
|
-
# Returns the namespace for this service.
|
56
|
-
def namespace
|
57
|
-
return NAMESPACE
|
58
|
-
end
|
59
|
-
|
60
|
-
private
|
61
|
-
|
62
|
-
# Converts from underscore_separated names to camelCase names.
|
63
|
-
#
|
64
|
-
# Args:
|
65
|
-
# - text: the text to be converted
|
66
|
-
#
|
67
|
-
def camel_case(text)
|
68
|
-
text.gsub(/_\w/) {|match| match[1..-1].upcase}
|
69
|
-
end
|
70
|
-
|
71
|
-
# Converts from camelCase names to underscore_separated names.
|
72
|
-
#
|
73
|
-
# Args:
|
74
|
-
# - text: the text to be converted
|
75
|
-
#
|
76
|
-
def underscore(text)
|
77
|
-
text.gsub(/[a-z0-9][A-Z]/) do |match|
|
78
|
-
match[0,1] + '_' + match[1,1].downcase
|
79
|
-
end
|
80
|
-
end
|
81
|
-
|
82
|
-
# Validates whether an object is of the correct type.
|
83
|
-
# This method is invoked by the hash to object converter during
|
84
|
-
# runtime to check the type validity of every object.
|
85
|
-
#
|
86
|
-
# Args:
|
87
|
-
# - object: the hash "object" being evaluated
|
88
|
-
# - type: the expected type (the class object itself)
|
89
|
-
#
|
90
|
-
# Returns:
|
91
|
-
# nil, upon success
|
92
|
-
#
|
93
|
-
# Raises:
|
94
|
-
# - ArgumentError: in case of an unexpected type
|
95
|
-
#
|
96
|
-
def validate_object(object, type)
|
97
|
-
return nil if object.is_a? type
|
98
|
-
|
99
|
-
wsdl_type_obj = type.new
|
100
|
-
|
101
|
-
if object.is_a? Hash
|
102
|
-
xsi_type = object[:xsi_type] or object['xsi_type']
|
103
|
-
if xsi_type
|
104
|
-
begin
|
105
|
-
subtype = @module.class_eval(xsi_type)
|
106
|
-
user_type_obj = subtype.new
|
107
|
-
rescue
|
108
|
-
raise ArgumentError, "Specified xsi_type '" + xsi_type +
|
109
|
-
"' is unknown"
|
110
|
-
end
|
111
|
-
unless user_type_obj.is_a? type
|
112
|
-
raise ArgumentError, "Specified xsi_type '" + xsi_type +
|
113
|
-
"' is not a subclass of " + type.to_s
|
114
|
-
end
|
115
|
-
else
|
116
|
-
object.each do |key, value|
|
117
|
-
if key.to_s != 'xsi_type'
|
118
|
-
if !wsdl_type_obj.respond_to?(camel_case(key.to_s).to_sym)
|
119
|
-
raise ArgumentError, "Unknown property '" + key.to_s +
|
120
|
-
"' for type " + type.to_s
|
121
|
-
end
|
122
|
-
end
|
123
|
-
end
|
124
|
-
end
|
125
|
-
end
|
126
|
-
return nil
|
127
|
-
end
|
128
|
-
|
129
|
-
# Sets a property on a real (soap4r-generated) object.
|
130
|
-
#
|
131
|
-
# Args:
|
132
|
-
# - object: the object being modified
|
133
|
-
# - property: the property being set
|
134
|
-
# - value: the value it's being set to
|
135
|
-
#
|
136
|
-
def set_object_property(object, property, value)
|
137
|
-
begin
|
138
|
-
object.send(property.to_s + '=', value)
|
139
|
-
rescue
|
140
|
-
object_class = object.class.name.split('::').last
|
141
|
-
error = AdsCommon::Errors::MissingPropertyError.new(
|
142
|
-
property, object_class)
|
143
|
-
message = "'Missing property `" + property.to_s +
|
144
|
-
"' for object class `" + object_class + "'"
|
145
|
-
raise(error, message)
|
146
|
-
end
|
147
|
-
end
|
148
|
-
|
149
|
-
public
|
150
|
-
|
151
|
-
# Converts dynamic objects (property hashes) into real soap4r objects.
|
152
|
-
# This is meant to be called when setting properties on a class, so
|
153
|
-
# the method receives an optional parameter specifying the class and
|
154
|
-
# property. This way, it's possible to determine the default type for
|
155
|
-
# the object if none is provided.
|
156
|
-
#
|
157
|
-
# Args:
|
158
|
-
# - object: the object being converted
|
159
|
-
# - parent_class: the class whose property is being set
|
160
|
-
# - property: the property being set
|
161
|
-
#
|
162
|
-
def convert_to_object(object, parent_class = nil, property = nil)
|
163
|
-
property = camel_case(property.to_s) if property
|
164
|
-
if object.is_a? Hash
|
165
|
-
# Process a hash.
|
166
|
-
specified_class = object[:xsi_type] or object['xsi_type']
|
167
|
-
default_class = nil
|
168
|
-
# Determine default class for this object, given the property
|
169
|
-
# being set.
|
170
|
-
if parent_class and property
|
171
|
-
parent = REGISTRY.schema_definition_from_class(parent_class)
|
172
|
-
element = parent.elements.entries.find do |entry|
|
173
|
-
entry.varname.to_s == property.to_s
|
174
|
-
end
|
175
|
-
default_class = element.mapped_class if element
|
176
|
-
end
|
177
|
-
validate_object(object, default_class)
|
178
|
-
real_class = nil
|
179
|
-
if specified_class
|
180
|
-
real_class = @module.class_eval(specified_class)
|
181
|
-
else
|
182
|
-
real_class = default_class
|
183
|
-
end
|
184
|
-
# Instance real object.
|
185
|
-
real_object = real_class.new
|
186
|
-
# Set each of its properties.
|
187
|
-
object.each do |entry, value|
|
188
|
-
entry = entry.to_s
|
189
|
-
unless entry == 'xsi_type'
|
190
|
-
if @api.config.read('service.use_ruby_names', true)
|
191
|
-
entry = camel_case(entry)
|
192
|
-
end
|
193
|
-
if value.is_a? Hash
|
194
|
-
# Recurse.
|
195
|
-
set_object_property(real_object, entry,
|
196
|
-
convert_to_object(value, real_class, entry))
|
197
|
-
elsif value.is_a? Array
|
198
|
-
set_object_property(real_object, entry,
|
199
|
-
value.map do |item|
|
200
|
-
# Recurse.
|
201
|
-
convert_to_object(item, real_class, entry)
|
202
|
-
end
|
203
|
-
)
|
204
|
-
else
|
205
|
-
set_object_property(real_object, entry, value)
|
206
|
-
end
|
207
|
-
end
|
208
|
-
end
|
209
|
-
return real_object
|
210
|
-
elsif object.is_a? Array
|
211
|
-
# Process an array
|
212
|
-
return object.map do |entry|
|
213
|
-
# Recurse.
|
214
|
-
convert_to_object(entry, parent_class, property)
|
215
|
-
end
|
216
|
-
else
|
217
|
-
return object
|
218
|
-
end
|
219
|
-
end
|
220
|
-
|
221
|
-
# Converts real soap4r objects into dynamic ones (property hashes).
|
222
|
-
# This is meant to be called for return objects of remote calls.
|
223
|
-
#
|
224
|
-
# Args:
|
225
|
-
# - object: the object being converted
|
226
|
-
#
|
227
|
-
def convert_from_object(object)
|
228
|
-
if object.class.name =~
|
229
|
-
/AdwordsApi::V13::\w+::\w+/
|
230
|
-
# Handle soap4r object
|
231
|
-
object_class = REGISTRY.schema_definition_from_class(object.class)
|
232
|
-
if object_class.elements and !object_class.elements.entries.empty?
|
233
|
-
# Process complex object.
|
234
|
-
hash = {}
|
235
|
-
hash[:xsi_type] = object.class.name.split('::').last
|
236
|
-
object_class.elements.entries.each do |entry|
|
237
|
-
property = entry.varname.to_s
|
238
|
-
if object.respond_to? property and !property.include?('_Type')
|
239
|
-
value = object.send(property)
|
240
|
-
property_name = nil
|
241
|
-
if @api.config.read('service.use_ruby_names', true)
|
242
|
-
property_name = underscore(property).to_sym
|
243
|
-
else
|
244
|
-
property_name = property.to_sym
|
245
|
-
end
|
246
|
-
# Recurse.
|
247
|
-
hash[property_name] = convert_from_object(value) if value
|
248
|
-
end
|
249
|
-
end
|
250
|
-
return hash
|
251
|
-
else
|
252
|
-
# Process simple object.
|
253
|
-
parent = object.class.superclass
|
254
|
-
return parent.new(object)
|
255
|
-
end
|
256
|
-
elsif object.is_a? Array
|
257
|
-
# Handle arrays
|
258
|
-
return object.map do |entry|
|
259
|
-
# Recurse.
|
260
|
-
convert_from_object(entry)
|
261
|
-
end
|
262
|
-
else
|
263
|
-
# Handle native objects
|
264
|
-
return object
|
265
|
-
end
|
266
|
-
end
|
267
|
-
|
268
|
-
|
269
|
-
public
|
270
|
-
|
271
|
-
# Calls the {checkKeywordTraffic}[http://code.google.com/apis/adwords/docs/developer/TrafficEstimatorService.html#checkKeywordTraffic] method of the TrafficEstimatorService service.
|
272
|
-
# Check {the online documentation for this method}[http://code.google.com/apis/adwords/docs/developer/TrafficEstimatorService.html#checkKeywordTraffic].
|
273
|
-
#
|
274
|
-
# Args:
|
275
|
-
# - requests: SOAP::SOAPArray of AdwordsApi::V13::TrafficEstimatorService::KeywordTrafficRequest
|
276
|
-
#
|
277
|
-
# Returns:
|
278
|
-
# - checkKeywordTrafficReturn: SOAP::SOAPArray of AdwordsApi::V13::TrafficEstimatorService::KeywordTraffic
|
279
|
-
#
|
280
|
-
# Raises:
|
281
|
-
# Error::ApiError (or a subclass thereof) if a SOAP fault occurs.
|
282
|
-
#
|
283
|
-
def checkKeywordTraffic(requests)
|
284
|
-
begin
|
285
|
-
arg_array = []
|
286
|
-
validate_object(requests, SOAP::SOAPArray)
|
287
|
-
arg_array << convert_to_object(requests, AdwordsApi::V13::TrafficEstimatorService::CheckKeywordTraffic,
|
288
|
-
'requests')
|
289
|
-
# Construct request object and make API call
|
290
|
-
obj = AdwordsApi::V13::TrafficEstimatorService::CheckKeywordTraffic.new(*arg_array)
|
291
|
-
reply = convert_from_object(@driver.checkKeywordTraffic(obj))
|
292
|
-
reply = reply[:rval] if reply.include?(:rval)
|
293
|
-
return reply
|
294
|
-
rescue SOAP::FaultError => fault
|
295
|
-
raise AdwordsApi::Errors.create_api_exception(fault,
|
296
|
-
self)
|
297
|
-
end
|
298
|
-
end
|
299
|
-
|
300
|
-
alias check_keyword_traffic checkKeywordTraffic
|
301
|
-
|
302
|
-
|
303
|
-
# Calls the {estimateAdGroupList}[http://code.google.com/apis/adwords/docs/developer/TrafficEstimatorService.html#estimateAdGroupList] method of the TrafficEstimatorService service.
|
304
|
-
# Check {the online documentation for this method}[http://code.google.com/apis/adwords/docs/developer/TrafficEstimatorService.html#estimateAdGroupList].
|
305
|
-
#
|
306
|
-
# Args:
|
307
|
-
# - adGroupRequests: SOAP::SOAPArray of AdwordsApi::V13::TrafficEstimatorService::AdGroupRequest
|
308
|
-
#
|
309
|
-
# Returns:
|
310
|
-
# - estimateAdGroupListReturn: SOAP::SOAPArray of AdwordsApi::V13::TrafficEstimatorService::AdGroupEstimate
|
311
|
-
#
|
312
|
-
# Raises:
|
313
|
-
# Error::ApiError (or a subclass thereof) if a SOAP fault occurs.
|
314
|
-
#
|
315
|
-
def estimateAdGroupList(adGroupRequests)
|
316
|
-
begin
|
317
|
-
arg_array = []
|
318
|
-
validate_object(adGroupRequests, SOAP::SOAPArray)
|
319
|
-
arg_array << convert_to_object(adGroupRequests, AdwordsApi::V13::TrafficEstimatorService::EstimateAdGroupList,
|
320
|
-
'adGroupRequests')
|
321
|
-
# Construct request object and make API call
|
322
|
-
obj = AdwordsApi::V13::TrafficEstimatorService::EstimateAdGroupList.new(*arg_array)
|
323
|
-
reply = convert_from_object(@driver.estimateAdGroupList(obj))
|
324
|
-
reply = reply[:rval] if reply.include?(:rval)
|
325
|
-
return reply
|
326
|
-
rescue SOAP::FaultError => fault
|
327
|
-
raise AdwordsApi::Errors.create_api_exception(fault,
|
328
|
-
self)
|
329
|
-
end
|
330
|
-
end
|
331
|
-
|
332
|
-
alias estimate_ad_group_list estimateAdGroupList
|
333
|
-
|
334
|
-
|
335
|
-
# Calls the {estimateCampaignList}[http://code.google.com/apis/adwords/docs/developer/TrafficEstimatorService.html#estimateCampaignList] method of the TrafficEstimatorService service.
|
336
|
-
# Check {the online documentation for this method}[http://code.google.com/apis/adwords/docs/developer/TrafficEstimatorService.html#estimateCampaignList].
|
337
|
-
#
|
338
|
-
# Args:
|
339
|
-
# - campaignRequests: SOAP::SOAPArray of AdwordsApi::V13::TrafficEstimatorService::CampaignRequest
|
340
|
-
#
|
341
|
-
# Returns:
|
342
|
-
# - estimateCampaignListReturn: SOAP::SOAPArray of AdwordsApi::V13::TrafficEstimatorService::CampaignEstimate
|
343
|
-
#
|
344
|
-
# Raises:
|
345
|
-
# Error::ApiError (or a subclass thereof) if a SOAP fault occurs.
|
346
|
-
#
|
347
|
-
def estimateCampaignList(campaignRequests)
|
348
|
-
begin
|
349
|
-
arg_array = []
|
350
|
-
validate_object(campaignRequests, SOAP::SOAPArray)
|
351
|
-
arg_array << convert_to_object(campaignRequests, AdwordsApi::V13::TrafficEstimatorService::EstimateCampaignList,
|
352
|
-
'campaignRequests')
|
353
|
-
# Construct request object and make API call
|
354
|
-
obj = AdwordsApi::V13::TrafficEstimatorService::EstimateCampaignList.new(*arg_array)
|
355
|
-
reply = convert_from_object(@driver.estimateCampaignList(obj))
|
356
|
-
reply = reply[:rval] if reply.include?(:rval)
|
357
|
-
return reply
|
358
|
-
rescue SOAP::FaultError => fault
|
359
|
-
raise AdwordsApi::Errors.create_api_exception(fault,
|
360
|
-
self)
|
361
|
-
end
|
362
|
-
end
|
363
|
-
|
364
|
-
alias estimate_campaign_list estimateCampaignList
|
365
|
-
|
366
|
-
|
367
|
-
# Calls the {estimateKeywordList}[http://code.google.com/apis/adwords/docs/developer/TrafficEstimatorService.html#estimateKeywordList] method of the TrafficEstimatorService service.
|
368
|
-
# Check {the online documentation for this method}[http://code.google.com/apis/adwords/docs/developer/TrafficEstimatorService.html#estimateKeywordList].
|
369
|
-
#
|
370
|
-
# Args:
|
371
|
-
# - keywordRequests: SOAP::SOAPArray of AdwordsApi::V13::TrafficEstimatorService::KeywordRequest
|
372
|
-
#
|
373
|
-
# Returns:
|
374
|
-
# - estimateKeywordListReturn: SOAP::SOAPArray of AdwordsApi::V13::TrafficEstimatorService::KeywordEstimate
|
375
|
-
#
|
376
|
-
# Raises:
|
377
|
-
# Error::ApiError (or a subclass thereof) if a SOAP fault occurs.
|
378
|
-
#
|
379
|
-
def estimateKeywordList(keywordRequests)
|
380
|
-
begin
|
381
|
-
arg_array = []
|
382
|
-
validate_object(keywordRequests, SOAP::SOAPArray)
|
383
|
-
arg_array << convert_to_object(keywordRequests, AdwordsApi::V13::TrafficEstimatorService::EstimateKeywordList,
|
384
|
-
'keywordRequests')
|
385
|
-
# Construct request object and make API call
|
386
|
-
obj = AdwordsApi::V13::TrafficEstimatorService::EstimateKeywordList.new(*arg_array)
|
387
|
-
reply = convert_from_object(@driver.estimateKeywordList(obj))
|
388
|
-
reply = reply[:rval] if reply.include?(:rval)
|
389
|
-
return reply
|
390
|
-
rescue SOAP::FaultError => fault
|
391
|
-
raise AdwordsApi::Errors.create_api_exception(fault,
|
392
|
-
self)
|
393
|
-
end
|
394
|
-
end
|
395
|
-
|
396
|
-
alias estimate_keyword_list estimateKeywordList
|
397
|
-
|
398
|
-
|
399
|
-
end
|
400
|
-
end
|
401
|
-
end
|
402
|
-
end
|
@@ -1,1105 +0,0 @@
|
|
1
|
-
require 'xsd/qname'
|
2
|
-
|
3
|
-
module AdwordsApi; module V200909; module AdExtensionOverrideService
|
4
|
-
|
5
|
-
|
6
|
-
# Address
|
7
|
-
# - streetAddress - SOAP::SOAPString
|
8
|
-
# - streetAddress2 - SOAP::SOAPString
|
9
|
-
# - cityName - SOAP::SOAPString
|
10
|
-
# - provinceCode - SOAP::SOAPString
|
11
|
-
# - provinceName - SOAP::SOAPString
|
12
|
-
# - postalCode - SOAP::SOAPString
|
13
|
-
# - countryCode - SOAP::SOAPString
|
14
|
-
class Address
|
15
|
-
attr_accessor :streetAddress
|
16
|
-
attr_accessor :streetAddress2
|
17
|
-
attr_accessor :cityName
|
18
|
-
attr_accessor :provinceCode
|
19
|
-
attr_accessor :provinceName
|
20
|
-
attr_accessor :postalCode
|
21
|
-
attr_accessor :countryCode
|
22
|
-
|
23
|
-
def initialize(streetAddress = nil, streetAddress2 = nil, cityName = nil, provinceCode = nil, provinceName = nil, postalCode = nil, countryCode = nil)
|
24
|
-
@streetAddress = streetAddress
|
25
|
-
@streetAddress2 = streetAddress2
|
26
|
-
@cityName = cityName
|
27
|
-
@provinceCode = provinceCode
|
28
|
-
@provinceName = provinceName
|
29
|
-
@postalCode = postalCode
|
30
|
-
@countryCode = countryCode
|
31
|
-
end
|
32
|
-
end
|
33
|
-
|
34
|
-
# GeoPoint
|
35
|
-
# - latitudeInMicroDegrees - SOAP::SOAPInt
|
36
|
-
# - longitudeInMicroDegrees - SOAP::SOAPInt
|
37
|
-
class GeoPoint
|
38
|
-
attr_accessor :latitudeInMicroDegrees
|
39
|
-
attr_accessor :longitudeInMicroDegrees
|
40
|
-
|
41
|
-
def initialize(latitudeInMicroDegrees = nil, longitudeInMicroDegrees = nil)
|
42
|
-
@latitudeInMicroDegrees = latitudeInMicroDegrees
|
43
|
-
@longitudeInMicroDegrees = longitudeInMicroDegrees
|
44
|
-
end
|
45
|
-
end
|
46
|
-
|
47
|
-
# LocationOverrideInfo
|
48
|
-
# - radius - SOAP::SOAPInt
|
49
|
-
# - radiusUnits - AdwordsApi::V200909::AdExtensionOverrideService::LocationOverrideInfoRadiusUnits
|
50
|
-
class LocationOverrideInfo
|
51
|
-
attr_accessor :radius
|
52
|
-
attr_accessor :radiusUnits
|
53
|
-
|
54
|
-
def initialize(radius = nil, radiusUnits = nil)
|
55
|
-
@radius = radius
|
56
|
-
@radiusUnits = radiusUnits
|
57
|
-
end
|
58
|
-
end
|
59
|
-
|
60
|
-
# OverrideInfo
|
61
|
-
# - locationOverrideInfo - AdwordsApi::V200909::AdExtensionOverrideService::LocationOverrideInfo
|
62
|
-
class OverrideInfo
|
63
|
-
attr_accessor :locationOverrideInfo
|
64
|
-
|
65
|
-
def initialize(locationOverrideInfo = nil)
|
66
|
-
@locationOverrideInfo = locationOverrideInfo
|
67
|
-
end
|
68
|
-
end
|
69
|
-
|
70
|
-
# Paging
|
71
|
-
# - startIndex - SOAP::SOAPInt
|
72
|
-
# - numberResults - SOAP::SOAPInt
|
73
|
-
class Paging
|
74
|
-
attr_accessor :startIndex
|
75
|
-
attr_accessor :numberResults
|
76
|
-
|
77
|
-
def initialize(startIndex = nil, numberResults = nil)
|
78
|
-
@startIndex = startIndex
|
79
|
-
@numberResults = numberResults
|
80
|
-
end
|
81
|
-
end
|
82
|
-
|
83
|
-
# SoapHeader
|
84
|
-
# - applicationToken - SOAP::SOAPString
|
85
|
-
# - authToken - SOAP::SOAPString
|
86
|
-
# - clientCustomerId - SOAP::SOAPString
|
87
|
-
# - clientEmail - SOAP::SOAPString
|
88
|
-
# - developerToken - SOAP::SOAPString
|
89
|
-
# - userAgent - SOAP::SOAPString
|
90
|
-
# - validateOnly - SOAP::SOAPBoolean
|
91
|
-
class SoapHeader
|
92
|
-
attr_accessor :applicationToken
|
93
|
-
attr_accessor :authToken
|
94
|
-
attr_accessor :clientCustomerId
|
95
|
-
attr_accessor :clientEmail
|
96
|
-
attr_accessor :developerToken
|
97
|
-
attr_accessor :userAgent
|
98
|
-
attr_accessor :validateOnly
|
99
|
-
|
100
|
-
def initialize(applicationToken = nil, authToken = nil, clientCustomerId = nil, clientEmail = nil, developerToken = nil, userAgent = nil, validateOnly = nil)
|
101
|
-
@applicationToken = applicationToken
|
102
|
-
@authToken = authToken
|
103
|
-
@clientCustomerId = clientCustomerId
|
104
|
-
@clientEmail = clientEmail
|
105
|
-
@developerToken = developerToken
|
106
|
-
@userAgent = userAgent
|
107
|
-
@validateOnly = validateOnly
|
108
|
-
end
|
109
|
-
end
|
110
|
-
|
111
|
-
# SoapResponseHeader
|
112
|
-
# - requestId - SOAP::SOAPString
|
113
|
-
# - operations - SOAP::SOAPLong
|
114
|
-
# - responseTime - SOAP::SOAPLong
|
115
|
-
# - units - SOAP::SOAPLong
|
116
|
-
class SoapResponseHeader
|
117
|
-
attr_accessor :requestId
|
118
|
-
attr_accessor :operations
|
119
|
-
attr_accessor :responseTime
|
120
|
-
attr_accessor :units
|
121
|
-
|
122
|
-
def initialize(requestId = nil, operations = nil, responseTime = nil, units = nil)
|
123
|
-
@requestId = requestId
|
124
|
-
@operations = operations
|
125
|
-
@responseTime = responseTime
|
126
|
-
@units = units
|
127
|
-
end
|
128
|
-
end
|
129
|
-
|
130
|
-
# AdExtensionOverrideSelector
|
131
|
-
# - campaignIds - SOAP::SOAPLong
|
132
|
-
# - adIds - SOAP::SOAPLong
|
133
|
-
# - adExtensionIds - SOAP::SOAPLong
|
134
|
-
# - statuses - AdwordsApi::V200909::AdExtensionOverrideService::AdExtensionOverrideStatus
|
135
|
-
# - paging - AdwordsApi::V200909::AdExtensionOverrideService::Paging
|
136
|
-
class AdExtensionOverrideSelector
|
137
|
-
attr_accessor :campaignIds
|
138
|
-
attr_accessor :adIds
|
139
|
-
attr_accessor :adExtensionIds
|
140
|
-
attr_accessor :statuses
|
141
|
-
attr_accessor :paging
|
142
|
-
|
143
|
-
def initialize(campaignIds = [], adIds = [], adExtensionIds = [], statuses = [], paging = nil)
|
144
|
-
@campaignIds = campaignIds
|
145
|
-
@adIds = adIds
|
146
|
-
@adExtensionIds = adExtensionIds
|
147
|
-
@statuses = statuses
|
148
|
-
@paging = paging
|
149
|
-
end
|
150
|
-
end
|
151
|
-
|
152
|
-
# ComparableValue
|
153
|
-
# abstract
|
154
|
-
# - comparableValue_Type - SOAP::SOAPString
|
155
|
-
class ComparableValue
|
156
|
-
attr_accessor :comparableValue_Type
|
157
|
-
|
158
|
-
def initialize(comparableValue_Type = nil)
|
159
|
-
@comparableValue_Type = comparableValue_Type
|
160
|
-
end
|
161
|
-
end
|
162
|
-
|
163
|
-
# Money
|
164
|
-
# - comparableValue_Type - SOAP::SOAPString
|
165
|
-
# - microAmount - SOAP::SOAPLong
|
166
|
-
class Money < ComparableValue
|
167
|
-
attr_accessor :comparableValue_Type
|
168
|
-
attr_accessor :microAmount
|
169
|
-
|
170
|
-
def initialize(comparableValue_Type = nil, microAmount = nil)
|
171
|
-
@comparableValue_Type = comparableValue_Type
|
172
|
-
@microAmount = microAmount
|
173
|
-
end
|
174
|
-
end
|
175
|
-
|
176
|
-
# NumberValue
|
177
|
-
# abstract
|
178
|
-
# - comparableValue_Type - SOAP::SOAPString
|
179
|
-
class NumberValue < ComparableValue
|
180
|
-
attr_accessor :comparableValue_Type
|
181
|
-
|
182
|
-
def initialize(comparableValue_Type = nil)
|
183
|
-
@comparableValue_Type = comparableValue_Type
|
184
|
-
end
|
185
|
-
end
|
186
|
-
|
187
|
-
# DoubleValue
|
188
|
-
# - comparableValue_Type - SOAP::SOAPString
|
189
|
-
# - number - SOAP::SOAPDouble
|
190
|
-
class DoubleValue < NumberValue
|
191
|
-
attr_accessor :comparableValue_Type
|
192
|
-
attr_accessor :number
|
193
|
-
|
194
|
-
def initialize(comparableValue_Type = nil, number = nil)
|
195
|
-
@comparableValue_Type = comparableValue_Type
|
196
|
-
@number = number
|
197
|
-
end
|
198
|
-
end
|
199
|
-
|
200
|
-
# LongValue
|
201
|
-
# - comparableValue_Type - SOAP::SOAPString
|
202
|
-
# - number - SOAP::SOAPLong
|
203
|
-
class LongValue < NumberValue
|
204
|
-
attr_accessor :comparableValue_Type
|
205
|
-
attr_accessor :number
|
206
|
-
|
207
|
-
def initialize(comparableValue_Type = nil, number = nil)
|
208
|
-
@comparableValue_Type = comparableValue_Type
|
209
|
-
@number = number
|
210
|
-
end
|
211
|
-
end
|
212
|
-
|
213
|
-
# Stats
|
214
|
-
# - startDate - SOAP::SOAPString
|
215
|
-
# - endDate - SOAP::SOAPString
|
216
|
-
# - network - AdwordsApi::V200909::AdExtensionOverrideService::StatsNetwork
|
217
|
-
# - clicks - SOAP::SOAPLong
|
218
|
-
# - impressions - SOAP::SOAPLong
|
219
|
-
# - cost - AdwordsApi::V200909::AdExtensionOverrideService::Money
|
220
|
-
# - averagePosition - SOAP::SOAPDouble
|
221
|
-
# - averageCpc - AdwordsApi::V200909::AdExtensionOverrideService::Money
|
222
|
-
# - averageCpm - AdwordsApi::V200909::AdExtensionOverrideService::Money
|
223
|
-
# - ctr - SOAP::SOAPDouble
|
224
|
-
# - conversions - SOAP::SOAPLong
|
225
|
-
# - conversionRate - SOAP::SOAPDouble
|
226
|
-
# - costPerConversion - AdwordsApi::V200909::AdExtensionOverrideService::Money
|
227
|
-
# - conversionsManyPerClick - SOAP::SOAPLong
|
228
|
-
# - conversionRateManyPerClick - SOAP::SOAPDouble
|
229
|
-
# - costPerConversionManyPerClick - AdwordsApi::V200909::AdExtensionOverrideService::Money
|
230
|
-
# - stats_Type - SOAP::SOAPString
|
231
|
-
class Stats
|
232
|
-
attr_accessor :startDate
|
233
|
-
attr_accessor :endDate
|
234
|
-
attr_accessor :network
|
235
|
-
attr_accessor :clicks
|
236
|
-
attr_accessor :impressions
|
237
|
-
attr_accessor :cost
|
238
|
-
attr_accessor :averagePosition
|
239
|
-
attr_accessor :averageCpc
|
240
|
-
attr_accessor :averageCpm
|
241
|
-
attr_accessor :ctr
|
242
|
-
attr_accessor :conversions
|
243
|
-
attr_accessor :conversionRate
|
244
|
-
attr_accessor :costPerConversion
|
245
|
-
attr_accessor :conversionsManyPerClick
|
246
|
-
attr_accessor :conversionRateManyPerClick
|
247
|
-
attr_accessor :costPerConversionManyPerClick
|
248
|
-
attr_accessor :stats_Type
|
249
|
-
|
250
|
-
def initialize(startDate = nil, endDate = nil, network = nil, clicks = nil, impressions = nil, cost = nil, averagePosition = nil, averageCpc = nil, averageCpm = nil, ctr = nil, conversions = nil, conversionRate = nil, costPerConversion = nil, conversionsManyPerClick = nil, conversionRateManyPerClick = nil, costPerConversionManyPerClick = nil, stats_Type = nil)
|
251
|
-
@startDate = startDate
|
252
|
-
@endDate = endDate
|
253
|
-
@network = network
|
254
|
-
@clicks = clicks
|
255
|
-
@impressions = impressions
|
256
|
-
@cost = cost
|
257
|
-
@averagePosition = averagePosition
|
258
|
-
@averageCpc = averageCpc
|
259
|
-
@averageCpm = averageCpm
|
260
|
-
@ctr = ctr
|
261
|
-
@conversions = conversions
|
262
|
-
@conversionRate = conversionRate
|
263
|
-
@costPerConversion = costPerConversion
|
264
|
-
@conversionsManyPerClick = conversionsManyPerClick
|
265
|
-
@conversionRateManyPerClick = conversionRateManyPerClick
|
266
|
-
@costPerConversionManyPerClick = costPerConversionManyPerClick
|
267
|
-
@stats_Type = stats_Type
|
268
|
-
end
|
269
|
-
end
|
270
|
-
|
271
|
-
# AdExtensionOverrideStats
|
272
|
-
# - startDate - SOAP::SOAPString
|
273
|
-
# - endDate - SOAP::SOAPString
|
274
|
-
# - network - AdwordsApi::V200909::AdExtensionOverrideService::StatsNetwork
|
275
|
-
# - clicks - SOAP::SOAPLong
|
276
|
-
# - impressions - SOAP::SOAPLong
|
277
|
-
# - cost - AdwordsApi::V200909::AdExtensionOverrideService::Money
|
278
|
-
# - averagePosition - SOAP::SOAPDouble
|
279
|
-
# - averageCpc - AdwordsApi::V200909::AdExtensionOverrideService::Money
|
280
|
-
# - averageCpm - AdwordsApi::V200909::AdExtensionOverrideService::Money
|
281
|
-
# - ctr - SOAP::SOAPDouble
|
282
|
-
# - conversions - SOAP::SOAPLong
|
283
|
-
# - conversionRate - SOAP::SOAPDouble
|
284
|
-
# - costPerConversion - AdwordsApi::V200909::AdExtensionOverrideService::Money
|
285
|
-
# - conversionsManyPerClick - SOAP::SOAPLong
|
286
|
-
# - conversionRateManyPerClick - SOAP::SOAPDouble
|
287
|
-
# - costPerConversionManyPerClick - AdwordsApi::V200909::AdExtensionOverrideService::Money
|
288
|
-
# - stats_Type - SOAP::SOAPString
|
289
|
-
class AdExtensionOverrideStats < Stats
|
290
|
-
attr_accessor :startDate
|
291
|
-
attr_accessor :endDate
|
292
|
-
attr_accessor :network
|
293
|
-
attr_accessor :clicks
|
294
|
-
attr_accessor :impressions
|
295
|
-
attr_accessor :cost
|
296
|
-
attr_accessor :averagePosition
|
297
|
-
attr_accessor :averageCpc
|
298
|
-
attr_accessor :averageCpm
|
299
|
-
attr_accessor :ctr
|
300
|
-
attr_accessor :conversions
|
301
|
-
attr_accessor :conversionRate
|
302
|
-
attr_accessor :costPerConversion
|
303
|
-
attr_accessor :conversionsManyPerClick
|
304
|
-
attr_accessor :conversionRateManyPerClick
|
305
|
-
attr_accessor :costPerConversionManyPerClick
|
306
|
-
attr_accessor :stats_Type
|
307
|
-
|
308
|
-
def initialize(startDate = nil, endDate = nil, network = nil, clicks = nil, impressions = nil, cost = nil, averagePosition = nil, averageCpc = nil, averageCpm = nil, ctr = nil, conversions = nil, conversionRate = nil, costPerConversion = nil, conversionsManyPerClick = nil, conversionRateManyPerClick = nil, costPerConversionManyPerClick = nil, stats_Type = nil)
|
309
|
-
@startDate = startDate
|
310
|
-
@endDate = endDate
|
311
|
-
@network = network
|
312
|
-
@clicks = clicks
|
313
|
-
@impressions = impressions
|
314
|
-
@cost = cost
|
315
|
-
@averagePosition = averagePosition
|
316
|
-
@averageCpc = averageCpc
|
317
|
-
@averageCpm = averageCpm
|
318
|
-
@ctr = ctr
|
319
|
-
@conversions = conversions
|
320
|
-
@conversionRate = conversionRate
|
321
|
-
@costPerConversion = costPerConversion
|
322
|
-
@conversionsManyPerClick = conversionsManyPerClick
|
323
|
-
@conversionRateManyPerClick = conversionRateManyPerClick
|
324
|
-
@costPerConversionManyPerClick = costPerConversionManyPerClick
|
325
|
-
@stats_Type = stats_Type
|
326
|
-
end
|
327
|
-
end
|
328
|
-
|
329
|
-
# ApiError
|
330
|
-
# abstract
|
331
|
-
# - fieldPath - SOAP::SOAPString
|
332
|
-
# - trigger - SOAP::SOAPString
|
333
|
-
# - apiError_Type - SOAP::SOAPString
|
334
|
-
class ApiError
|
335
|
-
attr_accessor :fieldPath
|
336
|
-
attr_accessor :trigger
|
337
|
-
attr_accessor :apiError_Type
|
338
|
-
|
339
|
-
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil)
|
340
|
-
@fieldPath = fieldPath
|
341
|
-
@trigger = trigger
|
342
|
-
@apiError_Type = apiError_Type
|
343
|
-
end
|
344
|
-
end
|
345
|
-
|
346
|
-
# AdExtensionOverrideError
|
347
|
-
# - fieldPath - SOAP::SOAPString
|
348
|
-
# - trigger - SOAP::SOAPString
|
349
|
-
# - apiError_Type - SOAP::SOAPString
|
350
|
-
# - reason - AdwordsApi::V200909::AdExtensionOverrideService::AdExtensionOverrideErrorReason
|
351
|
-
class AdExtensionOverrideError < ApiError
|
352
|
-
attr_accessor :fieldPath
|
353
|
-
attr_accessor :trigger
|
354
|
-
attr_accessor :apiError_Type
|
355
|
-
attr_accessor :reason
|
356
|
-
|
357
|
-
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
358
|
-
@fieldPath = fieldPath
|
359
|
-
@trigger = trigger
|
360
|
-
@apiError_Type = apiError_Type
|
361
|
-
@reason = reason
|
362
|
-
end
|
363
|
-
end
|
364
|
-
|
365
|
-
# AuthenticationError
|
366
|
-
# - fieldPath - SOAP::SOAPString
|
367
|
-
# - trigger - SOAP::SOAPString
|
368
|
-
# - apiError_Type - SOAP::SOAPString
|
369
|
-
# - reason - AdwordsApi::V200909::AdExtensionOverrideService::AuthenticationErrorReason
|
370
|
-
class AuthenticationError < ApiError
|
371
|
-
attr_accessor :fieldPath
|
372
|
-
attr_accessor :trigger
|
373
|
-
attr_accessor :apiError_Type
|
374
|
-
attr_accessor :reason
|
375
|
-
|
376
|
-
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
377
|
-
@fieldPath = fieldPath
|
378
|
-
@trigger = trigger
|
379
|
-
@apiError_Type = apiError_Type
|
380
|
-
@reason = reason
|
381
|
-
end
|
382
|
-
end
|
383
|
-
|
384
|
-
# AuthorizationError
|
385
|
-
# - fieldPath - SOAP::SOAPString
|
386
|
-
# - trigger - SOAP::SOAPString
|
387
|
-
# - apiError_Type - SOAP::SOAPString
|
388
|
-
# - reason - AdwordsApi::V200909::AdExtensionOverrideService::AuthorizationErrorReason
|
389
|
-
class AuthorizationError < ApiError
|
390
|
-
attr_accessor :fieldPath
|
391
|
-
attr_accessor :trigger
|
392
|
-
attr_accessor :apiError_Type
|
393
|
-
attr_accessor :reason
|
394
|
-
|
395
|
-
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
396
|
-
@fieldPath = fieldPath
|
397
|
-
@trigger = trigger
|
398
|
-
@apiError_Type = apiError_Type
|
399
|
-
@reason = reason
|
400
|
-
end
|
401
|
-
end
|
402
|
-
|
403
|
-
# ClientTermsError
|
404
|
-
# - fieldPath - SOAP::SOAPString
|
405
|
-
# - trigger - SOAP::SOAPString
|
406
|
-
# - apiError_Type - SOAP::SOAPString
|
407
|
-
# - reason - AdwordsApi::V200909::AdExtensionOverrideService::ClientTermsErrorReason
|
408
|
-
class ClientTermsError < ApiError
|
409
|
-
attr_accessor :fieldPath
|
410
|
-
attr_accessor :trigger
|
411
|
-
attr_accessor :apiError_Type
|
412
|
-
attr_accessor :reason
|
413
|
-
|
414
|
-
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
415
|
-
@fieldPath = fieldPath
|
416
|
-
@trigger = trigger
|
417
|
-
@apiError_Type = apiError_Type
|
418
|
-
@reason = reason
|
419
|
-
end
|
420
|
-
end
|
421
|
-
|
422
|
-
# DistinctError
|
423
|
-
# - fieldPath - SOAP::SOAPString
|
424
|
-
# - trigger - SOAP::SOAPString
|
425
|
-
# - apiError_Type - SOAP::SOAPString
|
426
|
-
# - reason - AdwordsApi::V200909::AdExtensionOverrideService::DistinctErrorReason
|
427
|
-
class DistinctError < ApiError
|
428
|
-
attr_accessor :fieldPath
|
429
|
-
attr_accessor :trigger
|
430
|
-
attr_accessor :apiError_Type
|
431
|
-
attr_accessor :reason
|
432
|
-
|
433
|
-
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
434
|
-
@fieldPath = fieldPath
|
435
|
-
@trigger = trigger
|
436
|
-
@apiError_Type = apiError_Type
|
437
|
-
@reason = reason
|
438
|
-
end
|
439
|
-
end
|
440
|
-
|
441
|
-
# EntityNotFound
|
442
|
-
# - fieldPath - SOAP::SOAPString
|
443
|
-
# - trigger - SOAP::SOAPString
|
444
|
-
# - apiError_Type - SOAP::SOAPString
|
445
|
-
# - reason - AdwordsApi::V200909::AdExtensionOverrideService::EntityNotFoundReason
|
446
|
-
class EntityNotFound < ApiError
|
447
|
-
attr_accessor :fieldPath
|
448
|
-
attr_accessor :trigger
|
449
|
-
attr_accessor :apiError_Type
|
450
|
-
attr_accessor :reason
|
451
|
-
|
452
|
-
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
453
|
-
@fieldPath = fieldPath
|
454
|
-
@trigger = trigger
|
455
|
-
@apiError_Type = apiError_Type
|
456
|
-
@reason = reason
|
457
|
-
end
|
458
|
-
end
|
459
|
-
|
460
|
-
# InternalApiError
|
461
|
-
# - fieldPath - SOAP::SOAPString
|
462
|
-
# - trigger - SOAP::SOAPString
|
463
|
-
# - apiError_Type - SOAP::SOAPString
|
464
|
-
# - reason - AdwordsApi::V200909::AdExtensionOverrideService::InternalApiErrorReason
|
465
|
-
class InternalApiError < ApiError
|
466
|
-
attr_accessor :fieldPath
|
467
|
-
attr_accessor :trigger
|
468
|
-
attr_accessor :apiError_Type
|
469
|
-
attr_accessor :reason
|
470
|
-
|
471
|
-
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
472
|
-
@fieldPath = fieldPath
|
473
|
-
@trigger = trigger
|
474
|
-
@apiError_Type = apiError_Type
|
475
|
-
@reason = reason
|
476
|
-
end
|
477
|
-
end
|
478
|
-
|
479
|
-
# NotEmptyError
|
480
|
-
# - fieldPath - SOAP::SOAPString
|
481
|
-
# - trigger - SOAP::SOAPString
|
482
|
-
# - apiError_Type - SOAP::SOAPString
|
483
|
-
# - reason - AdwordsApi::V200909::AdExtensionOverrideService::NotEmptyErrorReason
|
484
|
-
class NotEmptyError < ApiError
|
485
|
-
attr_accessor :fieldPath
|
486
|
-
attr_accessor :trigger
|
487
|
-
attr_accessor :apiError_Type
|
488
|
-
attr_accessor :reason
|
489
|
-
|
490
|
-
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
491
|
-
@fieldPath = fieldPath
|
492
|
-
@trigger = trigger
|
493
|
-
@apiError_Type = apiError_Type
|
494
|
-
@reason = reason
|
495
|
-
end
|
496
|
-
end
|
497
|
-
|
498
|
-
# NotWhitelistedError
|
499
|
-
# - fieldPath - SOAP::SOAPString
|
500
|
-
# - trigger - SOAP::SOAPString
|
501
|
-
# - apiError_Type - SOAP::SOAPString
|
502
|
-
# - reason - AdwordsApi::V200909::AdExtensionOverrideService::NotWhitelistedErrorReason
|
503
|
-
class NotWhitelistedError < ApiError
|
504
|
-
attr_accessor :fieldPath
|
505
|
-
attr_accessor :trigger
|
506
|
-
attr_accessor :apiError_Type
|
507
|
-
attr_accessor :reason
|
508
|
-
|
509
|
-
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
510
|
-
@fieldPath = fieldPath
|
511
|
-
@trigger = trigger
|
512
|
-
@apiError_Type = apiError_Type
|
513
|
-
@reason = reason
|
514
|
-
end
|
515
|
-
end
|
516
|
-
|
517
|
-
# NullError
|
518
|
-
# - fieldPath - SOAP::SOAPString
|
519
|
-
# - trigger - SOAP::SOAPString
|
520
|
-
# - apiError_Type - SOAP::SOAPString
|
521
|
-
# - reason - AdwordsApi::V200909::AdExtensionOverrideService::NullErrorReason
|
522
|
-
class NullError < ApiError
|
523
|
-
attr_accessor :fieldPath
|
524
|
-
attr_accessor :trigger
|
525
|
-
attr_accessor :apiError_Type
|
526
|
-
attr_accessor :reason
|
527
|
-
|
528
|
-
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
529
|
-
@fieldPath = fieldPath
|
530
|
-
@trigger = trigger
|
531
|
-
@apiError_Type = apiError_Type
|
532
|
-
@reason = reason
|
533
|
-
end
|
534
|
-
end
|
535
|
-
|
536
|
-
# OperatorError
|
537
|
-
# - fieldPath - SOAP::SOAPString
|
538
|
-
# - trigger - SOAP::SOAPString
|
539
|
-
# - apiError_Type - SOAP::SOAPString
|
540
|
-
# - reason - AdwordsApi::V200909::AdExtensionOverrideService::OperatorErrorReason
|
541
|
-
class OperatorError < ApiError
|
542
|
-
attr_accessor :fieldPath
|
543
|
-
attr_accessor :trigger
|
544
|
-
attr_accessor :apiError_Type
|
545
|
-
attr_accessor :reason
|
546
|
-
|
547
|
-
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
548
|
-
@fieldPath = fieldPath
|
549
|
-
@trigger = trigger
|
550
|
-
@apiError_Type = apiError_Type
|
551
|
-
@reason = reason
|
552
|
-
end
|
553
|
-
end
|
554
|
-
|
555
|
-
# QuotaCheckError
|
556
|
-
# - fieldPath - SOAP::SOAPString
|
557
|
-
# - trigger - SOAP::SOAPString
|
558
|
-
# - apiError_Type - SOAP::SOAPString
|
559
|
-
# - reason - AdwordsApi::V200909::AdExtensionOverrideService::QuotaCheckErrorReason
|
560
|
-
class QuotaCheckError < ApiError
|
561
|
-
attr_accessor :fieldPath
|
562
|
-
attr_accessor :trigger
|
563
|
-
attr_accessor :apiError_Type
|
564
|
-
attr_accessor :reason
|
565
|
-
|
566
|
-
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
567
|
-
@fieldPath = fieldPath
|
568
|
-
@trigger = trigger
|
569
|
-
@apiError_Type = apiError_Type
|
570
|
-
@reason = reason
|
571
|
-
end
|
572
|
-
end
|
573
|
-
|
574
|
-
# QuotaExceededError
|
575
|
-
# - fieldPath - SOAP::SOAPString
|
576
|
-
# - trigger - SOAP::SOAPString
|
577
|
-
# - apiError_Type - SOAP::SOAPString
|
578
|
-
# - reason - AdwordsApi::V200909::AdExtensionOverrideService::QuotaExceededErrorReason
|
579
|
-
class QuotaExceededError < ApiError
|
580
|
-
attr_accessor :fieldPath
|
581
|
-
attr_accessor :trigger
|
582
|
-
attr_accessor :apiError_Type
|
583
|
-
attr_accessor :reason
|
584
|
-
|
585
|
-
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
586
|
-
@fieldPath = fieldPath
|
587
|
-
@trigger = trigger
|
588
|
-
@apiError_Type = apiError_Type
|
589
|
-
@reason = reason
|
590
|
-
end
|
591
|
-
end
|
592
|
-
|
593
|
-
# RangeError
|
594
|
-
# - fieldPath - SOAP::SOAPString
|
595
|
-
# - trigger - SOAP::SOAPString
|
596
|
-
# - apiError_Type - SOAP::SOAPString
|
597
|
-
# - reason - AdwordsApi::V200909::AdExtensionOverrideService::RangeErrorReason
|
598
|
-
class C_RangeError < ApiError
|
599
|
-
attr_accessor :fieldPath
|
600
|
-
attr_accessor :trigger
|
601
|
-
attr_accessor :apiError_Type
|
602
|
-
attr_accessor :reason
|
603
|
-
|
604
|
-
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
605
|
-
@fieldPath = fieldPath
|
606
|
-
@trigger = trigger
|
607
|
-
@apiError_Type = apiError_Type
|
608
|
-
@reason = reason
|
609
|
-
end
|
610
|
-
end
|
611
|
-
|
612
|
-
# ReadOnlyError
|
613
|
-
# - fieldPath - SOAP::SOAPString
|
614
|
-
# - trigger - SOAP::SOAPString
|
615
|
-
# - apiError_Type - SOAP::SOAPString
|
616
|
-
# - reason - AdwordsApi::V200909::AdExtensionOverrideService::ReadOnlyErrorReason
|
617
|
-
class ReadOnlyError < ApiError
|
618
|
-
attr_accessor :fieldPath
|
619
|
-
attr_accessor :trigger
|
620
|
-
attr_accessor :apiError_Type
|
621
|
-
attr_accessor :reason
|
622
|
-
|
623
|
-
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
624
|
-
@fieldPath = fieldPath
|
625
|
-
@trigger = trigger
|
626
|
-
@apiError_Type = apiError_Type
|
627
|
-
@reason = reason
|
628
|
-
end
|
629
|
-
end
|
630
|
-
|
631
|
-
# RequiredError
|
632
|
-
# - fieldPath - SOAP::SOAPString
|
633
|
-
# - trigger - SOAP::SOAPString
|
634
|
-
# - apiError_Type - SOAP::SOAPString
|
635
|
-
# - reason - AdwordsApi::V200909::AdExtensionOverrideService::RequiredErrorReason
|
636
|
-
class RequiredError < ApiError
|
637
|
-
attr_accessor :fieldPath
|
638
|
-
attr_accessor :trigger
|
639
|
-
attr_accessor :apiError_Type
|
640
|
-
attr_accessor :reason
|
641
|
-
|
642
|
-
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
643
|
-
@fieldPath = fieldPath
|
644
|
-
@trigger = trigger
|
645
|
-
@apiError_Type = apiError_Type
|
646
|
-
@reason = reason
|
647
|
-
end
|
648
|
-
end
|
649
|
-
|
650
|
-
# SizeLimitError
|
651
|
-
# - fieldPath - SOAP::SOAPString
|
652
|
-
# - trigger - SOAP::SOAPString
|
653
|
-
# - apiError_Type - SOAP::SOAPString
|
654
|
-
# - reason - AdwordsApi::V200909::AdExtensionOverrideService::SizeLimitErrorReason
|
655
|
-
class SizeLimitError < ApiError
|
656
|
-
attr_accessor :fieldPath
|
657
|
-
attr_accessor :trigger
|
658
|
-
attr_accessor :apiError_Type
|
659
|
-
attr_accessor :reason
|
660
|
-
|
661
|
-
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
662
|
-
@fieldPath = fieldPath
|
663
|
-
@trigger = trigger
|
664
|
-
@apiError_Type = apiError_Type
|
665
|
-
@reason = reason
|
666
|
-
end
|
667
|
-
end
|
668
|
-
|
669
|
-
# StringLengthError
|
670
|
-
# - fieldPath - SOAP::SOAPString
|
671
|
-
# - trigger - SOAP::SOAPString
|
672
|
-
# - apiError_Type - SOAP::SOAPString
|
673
|
-
# - reason - AdwordsApi::V200909::AdExtensionOverrideService::StringLengthErrorReason
|
674
|
-
class StringLengthError < ApiError
|
675
|
-
attr_accessor :fieldPath
|
676
|
-
attr_accessor :trigger
|
677
|
-
attr_accessor :apiError_Type
|
678
|
-
attr_accessor :reason
|
679
|
-
|
680
|
-
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
681
|
-
@fieldPath = fieldPath
|
682
|
-
@trigger = trigger
|
683
|
-
@apiError_Type = apiError_Type
|
684
|
-
@reason = reason
|
685
|
-
end
|
686
|
-
end
|
687
|
-
|
688
|
-
# ApplicationException
|
689
|
-
# - message - SOAP::SOAPString
|
690
|
-
# - applicationException_Type - SOAP::SOAPString
|
691
|
-
class ApplicationException
|
692
|
-
attr_accessor :message
|
693
|
-
attr_accessor :applicationException_Type
|
694
|
-
|
695
|
-
def initialize(message = nil, applicationException_Type = nil)
|
696
|
-
@message = message
|
697
|
-
@applicationException_Type = applicationException_Type
|
698
|
-
end
|
699
|
-
end
|
700
|
-
|
701
|
-
# ApiException
|
702
|
-
# - message - SOAP::SOAPString
|
703
|
-
# - applicationException_Type - SOAP::SOAPString
|
704
|
-
# - errors - AdwordsApi::V200909::AdExtensionOverrideService::ApiError
|
705
|
-
class ApiException < ApplicationException
|
706
|
-
attr_accessor :message
|
707
|
-
attr_accessor :applicationException_Type
|
708
|
-
attr_accessor :errors
|
709
|
-
|
710
|
-
def initialize(message = nil, applicationException_Type = nil, errors = [])
|
711
|
-
@message = message
|
712
|
-
@applicationException_Type = applicationException_Type
|
713
|
-
@errors = errors
|
714
|
-
end
|
715
|
-
end
|
716
|
-
|
717
|
-
# AdExtension
|
718
|
-
# - id - SOAP::SOAPLong
|
719
|
-
# - adExtension_Type - SOAP::SOAPString
|
720
|
-
class AdExtension
|
721
|
-
attr_accessor :id
|
722
|
-
attr_accessor :adExtension_Type
|
723
|
-
|
724
|
-
def initialize(id = nil, adExtension_Type = nil)
|
725
|
-
@id = id
|
726
|
-
@adExtension_Type = adExtension_Type
|
727
|
-
end
|
728
|
-
end
|
729
|
-
|
730
|
-
# LocationExtension
|
731
|
-
# - id - SOAP::SOAPLong
|
732
|
-
# - adExtension_Type - SOAP::SOAPString
|
733
|
-
# - address - AdwordsApi::V200909::AdExtensionOverrideService::Address
|
734
|
-
# - geoPoint - AdwordsApi::V200909::AdExtensionOverrideService::GeoPoint
|
735
|
-
# - encodedLocation - SOAP::SOAPBase64
|
736
|
-
# - companyName - SOAP::SOAPString
|
737
|
-
# - phoneNumber - SOAP::SOAPString
|
738
|
-
# - source - AdwordsApi::V200909::AdExtensionOverrideService::LocationExtensionSource
|
739
|
-
# - iconMediaId - SOAP::SOAPLong
|
740
|
-
# - imageMediaId - SOAP::SOAPLong
|
741
|
-
class LocationExtension < AdExtension
|
742
|
-
attr_accessor :id
|
743
|
-
attr_accessor :adExtension_Type
|
744
|
-
attr_accessor :address
|
745
|
-
attr_accessor :geoPoint
|
746
|
-
attr_accessor :encodedLocation
|
747
|
-
attr_accessor :companyName
|
748
|
-
attr_accessor :phoneNumber
|
749
|
-
attr_accessor :source
|
750
|
-
attr_accessor :iconMediaId
|
751
|
-
attr_accessor :imageMediaId
|
752
|
-
|
753
|
-
def initialize(id = nil, adExtension_Type = nil, address = nil, geoPoint = nil, encodedLocation = nil, companyName = nil, phoneNumber = nil, source = nil, iconMediaId = nil, imageMediaId = nil)
|
754
|
-
@id = id
|
755
|
-
@adExtension_Type = adExtension_Type
|
756
|
-
@address = address
|
757
|
-
@geoPoint = geoPoint
|
758
|
-
@encodedLocation = encodedLocation
|
759
|
-
@companyName = companyName
|
760
|
-
@phoneNumber = phoneNumber
|
761
|
-
@source = source
|
762
|
-
@iconMediaId = iconMediaId
|
763
|
-
@imageMediaId = imageMediaId
|
764
|
-
end
|
765
|
-
end
|
766
|
-
|
767
|
-
# AdExtensionOverride
|
768
|
-
# - adId - SOAP::SOAPLong
|
769
|
-
# - adExtension - AdwordsApi::V200909::AdExtensionOverrideService::AdExtension
|
770
|
-
# - overrideInfo - AdwordsApi::V200909::AdExtensionOverrideService::OverrideInfo
|
771
|
-
# - status - AdwordsApi::V200909::AdExtensionOverrideService::AdExtensionOverrideStatus
|
772
|
-
# - approvalStatus - AdwordsApi::V200909::AdExtensionOverrideService::AdExtensionOverrideApprovalStatus
|
773
|
-
# - stats - AdwordsApi::V200909::AdExtensionOverrideService::AdExtensionOverrideStats
|
774
|
-
class AdExtensionOverride
|
775
|
-
attr_accessor :adId
|
776
|
-
attr_accessor :adExtension
|
777
|
-
attr_accessor :overrideInfo
|
778
|
-
attr_accessor :status
|
779
|
-
attr_accessor :approvalStatus
|
780
|
-
attr_accessor :stats
|
781
|
-
|
782
|
-
def initialize(adId = nil, adExtension = nil, overrideInfo = nil, status = nil, approvalStatus = nil, stats = nil)
|
783
|
-
@adId = adId
|
784
|
-
@adExtension = adExtension
|
785
|
-
@overrideInfo = overrideInfo
|
786
|
-
@status = status
|
787
|
-
@approvalStatus = approvalStatus
|
788
|
-
@stats = stats
|
789
|
-
end
|
790
|
-
end
|
791
|
-
|
792
|
-
# ListReturnValue
|
793
|
-
# abstract
|
794
|
-
# - listReturnValue_Type - SOAP::SOAPString
|
795
|
-
class ListReturnValue
|
796
|
-
attr_accessor :listReturnValue_Type
|
797
|
-
|
798
|
-
def initialize(listReturnValue_Type = nil)
|
799
|
-
@listReturnValue_Type = listReturnValue_Type
|
800
|
-
end
|
801
|
-
end
|
802
|
-
|
803
|
-
# AdExtensionOverrideReturnValue
|
804
|
-
# - listReturnValue_Type - SOAP::SOAPString
|
805
|
-
# - value - AdwordsApi::V200909::AdExtensionOverrideService::AdExtensionOverride
|
806
|
-
class AdExtensionOverrideReturnValue < ListReturnValue
|
807
|
-
attr_accessor :listReturnValue_Type
|
808
|
-
attr_accessor :value
|
809
|
-
|
810
|
-
def initialize(listReturnValue_Type = nil, value = [])
|
811
|
-
@listReturnValue_Type = listReturnValue_Type
|
812
|
-
@value = value
|
813
|
-
end
|
814
|
-
end
|
815
|
-
|
816
|
-
# Operation
|
817
|
-
# abstract
|
818
|
-
# - operator - AdwordsApi::V200909::AdExtensionOverrideService::Operator
|
819
|
-
# - operation_Type - SOAP::SOAPString
|
820
|
-
class Operation
|
821
|
-
attr_accessor :operator
|
822
|
-
attr_accessor :operation_Type
|
823
|
-
|
824
|
-
def initialize(operator = nil, operation_Type = nil)
|
825
|
-
@operator = operator
|
826
|
-
@operation_Type = operation_Type
|
827
|
-
end
|
828
|
-
end
|
829
|
-
|
830
|
-
# AdExtensionOverrideOperation
|
831
|
-
# - operator - AdwordsApi::V200909::AdExtensionOverrideService::Operator
|
832
|
-
# - operation_Type - SOAP::SOAPString
|
833
|
-
# - operand - AdwordsApi::V200909::AdExtensionOverrideService::AdExtensionOverride
|
834
|
-
class AdExtensionOverrideOperation < Operation
|
835
|
-
attr_accessor :operator
|
836
|
-
attr_accessor :operation_Type
|
837
|
-
attr_accessor :operand
|
838
|
-
|
839
|
-
def initialize(operator = nil, operation_Type = nil, operand = nil)
|
840
|
-
@operator = operator
|
841
|
-
@operation_Type = operation_Type
|
842
|
-
@operand = operand
|
843
|
-
end
|
844
|
-
end
|
845
|
-
|
846
|
-
# Page
|
847
|
-
# abstract
|
848
|
-
# - totalNumEntries - SOAP::SOAPInt
|
849
|
-
# - page_Type - SOAP::SOAPString
|
850
|
-
class Page
|
851
|
-
attr_accessor :totalNumEntries
|
852
|
-
attr_accessor :page_Type
|
853
|
-
|
854
|
-
def initialize(totalNumEntries = nil, page_Type = nil)
|
855
|
-
@totalNumEntries = totalNumEntries
|
856
|
-
@page_Type = page_Type
|
857
|
-
end
|
858
|
-
end
|
859
|
-
|
860
|
-
# AdExtensionOverridePage
|
861
|
-
# - totalNumEntries - SOAP::SOAPInt
|
862
|
-
# - page_Type - SOAP::SOAPString
|
863
|
-
# - entries - AdwordsApi::V200909::AdExtensionOverrideService::AdExtensionOverride
|
864
|
-
class AdExtensionOverridePage < Page
|
865
|
-
attr_accessor :totalNumEntries
|
866
|
-
attr_accessor :page_Type
|
867
|
-
attr_accessor :entries
|
868
|
-
|
869
|
-
def initialize(totalNumEntries = nil, page_Type = nil, entries = [])
|
870
|
-
@totalNumEntries = totalNumEntries
|
871
|
-
@page_Type = page_Type
|
872
|
-
@entries = entries
|
873
|
-
end
|
874
|
-
end
|
875
|
-
|
876
|
-
# AdExtensionOverride.ApprovalStatus
|
877
|
-
class AdExtensionOverrideApprovalStatus < ::String
|
878
|
-
APPROVED = AdExtensionOverrideApprovalStatus.new("APPROVED")
|
879
|
-
DISAPPROVED = AdExtensionOverrideApprovalStatus.new("DISAPPROVED")
|
880
|
-
UNCHECKED = AdExtensionOverrideApprovalStatus.new("UNCHECKED")
|
881
|
-
end
|
882
|
-
|
883
|
-
# AdExtensionOverride.Status
|
884
|
-
class AdExtensionOverrideStatus < ::String
|
885
|
-
ACTIVE = AdExtensionOverrideStatus.new("ACTIVE")
|
886
|
-
DELETED = AdExtensionOverrideStatus.new("DELETED")
|
887
|
-
end
|
888
|
-
|
889
|
-
# AdExtensionOverrideError.Reason
|
890
|
-
class AdExtensionOverrideErrorReason < ::String
|
891
|
-
ADEXTENSION_ID_MUST_BE_SPECIFIED = AdExtensionOverrideErrorReason.new("ADEXTENSION_ID_MUST_BE_SPECIFIED")
|
892
|
-
ADEXTENSION_LATITUTE_CANNOT_CHANGE_AFTER_BEING_SET_ONCE = AdExtensionOverrideErrorReason.new("ADEXTENSION_LATITUTE_CANNOT_CHANGE_AFTER_BEING_SET_ONCE")
|
893
|
-
ADEXTENSION_LONGITUDE_CANNOT_CHANGE_AFTER_BEING_SET_ONCE = AdExtensionOverrideErrorReason.new("ADEXTENSION_LONGITUDE_CANNOT_CHANGE_AFTER_BEING_SET_ONCE")
|
894
|
-
ADEXTENSION_NOT_UNDER_CAMPAIGN = AdExtensionOverrideErrorReason.new("ADEXTENSION_NOT_UNDER_CAMPAIGN")
|
895
|
-
AD_ALREADY_HAS_ADEXTENSION_OVERRIDE = AdExtensionOverrideErrorReason.new("AD_ALREADY_HAS_ADEXTENSION_OVERRIDE")
|
896
|
-
CANNOT_OPERATE_ON_DELETED_OVERRIDE = AdExtensionOverrideErrorReason.new("CANNOT_OPERATE_ON_DELETED_OVERRIDE")
|
897
|
-
CANNOT_OVERRIDE_EXTENSIONS_ON_NON_TEXT_AD = AdExtensionOverrideErrorReason.new("CANNOT_OVERRIDE_EXTENSIONS_ON_NON_TEXT_AD")
|
898
|
-
CANNOT_OVERRIDE_USING_NON_LOCATION_EXTENSION = AdExtensionOverrideErrorReason.new("CANNOT_OVERRIDE_USING_NON_LOCATION_EXTENSION")
|
899
|
-
INVALID_ADEXTENSION_ID = AdExtensionOverrideErrorReason.new("INVALID_ADEXTENSION_ID")
|
900
|
-
LOCATION_OVERRIDE_INFO_REQUIRED_FOR_NEW_LOCATION_EXTENSION_OVERRIDE = AdExtensionOverrideErrorReason.new("LOCATION_OVERRIDE_INFO_REQUIRED_FOR_NEW_LOCATION_EXTENSION_OVERRIDE")
|
901
|
-
OVERRIDE_INFO_MUST_BE_NULL_AFTER_BEING_SET_ONCE = AdExtensionOverrideErrorReason.new("OVERRIDE_INFO_MUST_BE_NULL_AFTER_BEING_SET_ONCE")
|
902
|
-
RADIUS_TOO_LARGE = AdExtensionOverrideErrorReason.new("RADIUS_TOO_LARGE")
|
903
|
-
RADIUS_TOO_SMALL = AdExtensionOverrideErrorReason.new("RADIUS_TOO_SMALL")
|
904
|
-
UNKNOWN_ADEXTENSION_OVERRIDE = AdExtensionOverrideErrorReason.new("UNKNOWN_ADEXTENSION_OVERRIDE")
|
905
|
-
end
|
906
|
-
|
907
|
-
# AuthenticationError.Reason
|
908
|
-
class AuthenticationErrorReason < ::String
|
909
|
-
AUTHENTICATION_FAILED = AuthenticationErrorReason.new("AUTHENTICATION_FAILED")
|
910
|
-
CLIENT_CUSTOMER_ID_INVALID = AuthenticationErrorReason.new("CLIENT_CUSTOMER_ID_INVALID")
|
911
|
-
CLIENT_CUSTOMER_ID_IS_REQUIRED = AuthenticationErrorReason.new("CLIENT_CUSTOMER_ID_IS_REQUIRED")
|
912
|
-
CLIENT_EMAIL_FAILED_TO_AUTHENTICATE = AuthenticationErrorReason.new("CLIENT_EMAIL_FAILED_TO_AUTHENTICATE")
|
913
|
-
CLIENT_EMAIL_INVALID = AuthenticationErrorReason.new("CLIENT_EMAIL_INVALID")
|
914
|
-
CLIENT_EMAIL_REQUIRED = AuthenticationErrorReason.new("CLIENT_EMAIL_REQUIRED")
|
915
|
-
CUSTOMER_NOT_FOUND = AuthenticationErrorReason.new("CUSTOMER_NOT_FOUND")
|
916
|
-
FAILED_TO_AUTHENTICATE_GOOGLE_ACCOUNT = AuthenticationErrorReason.new("FAILED_TO_AUTHENTICATE_GOOGLE_ACCOUNT")
|
917
|
-
FAILED_TO_RETRIEVE_LOGIN_COOKIE = AuthenticationErrorReason.new("FAILED_TO_RETRIEVE_LOGIN_COOKIE")
|
918
|
-
GOOGLE_ACCOUNT_COOKIE_INVALID = AuthenticationErrorReason.new("GOOGLE_ACCOUNT_COOKIE_INVALID")
|
919
|
-
GOOGLE_ACCOUNT_DELETED = AuthenticationErrorReason.new("GOOGLE_ACCOUNT_DELETED")
|
920
|
-
GOOGLE_ACCOUNT_USER_AND_ADS_USER_MISMATCH = AuthenticationErrorReason.new("GOOGLE_ACCOUNT_USER_AND_ADS_USER_MISMATCH")
|
921
|
-
LOGIN_COOKIE_INVALID = AuthenticationErrorReason.new("LOGIN_COOKIE_INVALID")
|
922
|
-
LOGIN_COOKIE_REQUIRED = AuthenticationErrorReason.new("LOGIN_COOKIE_REQUIRED")
|
923
|
-
NOT_ADS_USER = AuthenticationErrorReason.new("NOT_ADS_USER")
|
924
|
-
OAUTH_TOKEN_DISABLED = AuthenticationErrorReason.new("OAUTH_TOKEN_DISABLED")
|
925
|
-
OAUTH_TOKEN_EXPIRED = AuthenticationErrorReason.new("OAUTH_TOKEN_EXPIRED")
|
926
|
-
OAUTH_TOKEN_HEADER_INVALID = AuthenticationErrorReason.new("OAUTH_TOKEN_HEADER_INVALID")
|
927
|
-
OAUTH_TOKEN_INVALID = AuthenticationErrorReason.new("OAUTH_TOKEN_INVALID")
|
928
|
-
OAUTH_TOKEN_REVOKED = AuthenticationErrorReason.new("OAUTH_TOKEN_REVOKED")
|
929
|
-
USER_ID_INVALID = AuthenticationErrorReason.new("USER_ID_INVALID")
|
930
|
-
end
|
931
|
-
|
932
|
-
# AuthorizationError.Reason
|
933
|
-
class AuthorizationErrorReason < ::String
|
934
|
-
EFFECTIVE_USER_PERMISSION_DENIED = AuthorizationErrorReason.new("EFFECTIVE_USER_PERMISSION_DENIED")
|
935
|
-
NO_ADWORDS_ACCOUNT_FOR_CUSTOMER = AuthorizationErrorReason.new("NO_ADWORDS_ACCOUNT_FOR_CUSTOMER")
|
936
|
-
NO_CUSTOMER_FOUND = AuthorizationErrorReason.new("NO_CUSTOMER_FOUND")
|
937
|
-
UNABLE_TO_AUTHORIZE = AuthorizationErrorReason.new("UNABLE_TO_AUTHORIZE")
|
938
|
-
USER_HAS_READONLY_PERMISSION = AuthorizationErrorReason.new("USER_HAS_READONLY_PERMISSION")
|
939
|
-
USER_PERMISSION_DENIED = AuthorizationErrorReason.new("USER_PERMISSION_DENIED")
|
940
|
-
end
|
941
|
-
|
942
|
-
# ClientTermsError.Reason
|
943
|
-
class ClientTermsErrorReason < ::String
|
944
|
-
INCOMPLETE_SIGNUP_CURRENT_ADWORDS_TNC_NOT_AGREED = ClientTermsErrorReason.new("INCOMPLETE_SIGNUP_CURRENT_ADWORDS_TNC_NOT_AGREED")
|
945
|
-
end
|
946
|
-
|
947
|
-
# DistinctError.Reason
|
948
|
-
class DistinctErrorReason < ::String
|
949
|
-
DUPLICATE_ELEMENT = DistinctErrorReason.new("DUPLICATE_ELEMENT")
|
950
|
-
end
|
951
|
-
|
952
|
-
# EntityNotFound.Reason
|
953
|
-
class EntityNotFoundReason < ::String
|
954
|
-
INVALID_ID = EntityNotFoundReason.new("INVALID_ID")
|
955
|
-
end
|
956
|
-
|
957
|
-
# InternalApiError.Reason
|
958
|
-
class InternalApiErrorReason < ::String
|
959
|
-
UNEXPECTED_INTERNAL_API_ERROR = InternalApiErrorReason.new("UNEXPECTED_INTERNAL_API_ERROR")
|
960
|
-
end
|
961
|
-
|
962
|
-
# LocationExtension.Source
|
963
|
-
class LocationExtensionSource < ::String
|
964
|
-
ADWORDS_FRONTEND = LocationExtensionSource.new("ADWORDS_FRONTEND")
|
965
|
-
LBC_SYNC = LocationExtensionSource.new("LBC_SYNC")
|
966
|
-
end
|
967
|
-
|
968
|
-
# LocationOverrideInfo.RadiusUnits
|
969
|
-
class LocationOverrideInfoRadiusUnits < ::String
|
970
|
-
KILOMETERS = LocationOverrideInfoRadiusUnits.new("KILOMETERS")
|
971
|
-
MILES = LocationOverrideInfoRadiusUnits.new("MILES")
|
972
|
-
end
|
973
|
-
|
974
|
-
# NotEmptyError.Reason
|
975
|
-
class NotEmptyErrorReason < ::String
|
976
|
-
EMPTY_LIST = NotEmptyErrorReason.new("EMPTY_LIST")
|
977
|
-
end
|
978
|
-
|
979
|
-
# NotWhitelistedError.Reason
|
980
|
-
class NotWhitelistedErrorReason < ::String
|
981
|
-
CUSTOMER_NOT_WHITELISTED_FOR_API = NotWhitelistedErrorReason.new("CUSTOMER_NOT_WHITELISTED_FOR_API")
|
982
|
-
end
|
983
|
-
|
984
|
-
# NullError.Reason
|
985
|
-
class NullErrorReason < ::String
|
986
|
-
NULL_CONTENT = NullErrorReason.new("NULL_CONTENT")
|
987
|
-
end
|
988
|
-
|
989
|
-
# Operator
|
990
|
-
class Operator < ::String
|
991
|
-
ADD = Operator.new("ADD")
|
992
|
-
REMOVE = Operator.new("REMOVE")
|
993
|
-
SET = Operator.new("SET")
|
994
|
-
end
|
995
|
-
|
996
|
-
# OperatorError.Reason
|
997
|
-
class OperatorErrorReason < ::String
|
998
|
-
OPERATOR_NOT_SUPPORTED = OperatorErrorReason.new("OPERATOR_NOT_SUPPORTED")
|
999
|
-
end
|
1000
|
-
|
1001
|
-
# QuotaCheckError.Reason
|
1002
|
-
class QuotaCheckErrorReason < ::String
|
1003
|
-
ACCOUNT_DELINQUENT = QuotaCheckErrorReason.new("ACCOUNT_DELINQUENT")
|
1004
|
-
ACCOUNT_INACCESSIBLE = QuotaCheckErrorReason.new("ACCOUNT_INACCESSIBLE")
|
1005
|
-
ACCOUNT_INACTIVE = QuotaCheckErrorReason.new("ACCOUNT_INACTIVE")
|
1006
|
-
INCOMPLETE_SIGNUP = QuotaCheckErrorReason.new("INCOMPLETE_SIGNUP")
|
1007
|
-
INCOMPLETE_SIGNUP_APP_INFO_MISSING = QuotaCheckErrorReason.new("INCOMPLETE_SIGNUP_APP_INFO_MISSING")
|
1008
|
-
INCOMPLETE_SIGNUP_APP_INFO_PENDING = QuotaCheckErrorReason.new("INCOMPLETE_SIGNUP_APP_INFO_PENDING")
|
1009
|
-
INCOMPLETE_SIGNUP_APP_INFO_REJECTED = QuotaCheckErrorReason.new("INCOMPLETE_SIGNUP_APP_INFO_REJECTED")
|
1010
|
-
INCOMPLETE_SIGNUP_LATEST_NETAPI_TNC_NOT_AGREED = QuotaCheckErrorReason.new("INCOMPLETE_SIGNUP_LATEST_NETAPI_TNC_NOT_AGREED")
|
1011
|
-
INCOMPLETE_SIGNUP_NO_BILLING_INFO = QuotaCheckErrorReason.new("INCOMPLETE_SIGNUP_NO_BILLING_INFO")
|
1012
|
-
INCOMPLETE_SIGNUP_USER_INFO_MISSING = QuotaCheckErrorReason.new("INCOMPLETE_SIGNUP_USER_INFO_MISSING")
|
1013
|
-
INCOMPLETE_SIGNUP_USER_INFO_PENDING = QuotaCheckErrorReason.new("INCOMPLETE_SIGNUP_USER_INFO_PENDING")
|
1014
|
-
INCOMPLETE_SIGNUP_USER_INFO_REJECTED = QuotaCheckErrorReason.new("INCOMPLETE_SIGNUP_USER_INFO_REJECTED")
|
1015
|
-
INVALID_TOKEN_HEADER = QuotaCheckErrorReason.new("INVALID_TOKEN_HEADER")
|
1016
|
-
MONTHLY_BUDGET_REACHED = QuotaCheckErrorReason.new("MONTHLY_BUDGET_REACHED")
|
1017
|
-
QUOTA_EXCEEDED = QuotaCheckErrorReason.new("QUOTA_EXCEEDED")
|
1018
|
-
end
|
1019
|
-
|
1020
|
-
# QuotaExceededError.Reason
|
1021
|
-
class QuotaExceededErrorReason < ::String
|
1022
|
-
QUOTA_EXCEEDED = QuotaExceededErrorReason.new("QUOTA_EXCEEDED")
|
1023
|
-
end
|
1024
|
-
|
1025
|
-
# RangeError.Reason
|
1026
|
-
class RangeErrorReason < ::String
|
1027
|
-
TOO_HIGH = RangeErrorReason.new("TOO_HIGH")
|
1028
|
-
TOO_LOW = RangeErrorReason.new("TOO_LOW")
|
1029
|
-
end
|
1030
|
-
|
1031
|
-
# ReadOnlyError.Reason
|
1032
|
-
class ReadOnlyErrorReason < ::String
|
1033
|
-
READ_ONLY = ReadOnlyErrorReason.new("READ_ONLY")
|
1034
|
-
end
|
1035
|
-
|
1036
|
-
# RequiredError.Reason
|
1037
|
-
class RequiredErrorReason < ::String
|
1038
|
-
REQUIRED = RequiredErrorReason.new("REQUIRED")
|
1039
|
-
end
|
1040
|
-
|
1041
|
-
# SizeLimitError.Reason
|
1042
|
-
class SizeLimitErrorReason < ::String
|
1043
|
-
REQUEST_SIZE_LIMIT_EXCEEDED = SizeLimitErrorReason.new("REQUEST_SIZE_LIMIT_EXCEEDED")
|
1044
|
-
RESPONSE_SIZE_LIMIT_EXCEEDED = SizeLimitErrorReason.new("RESPONSE_SIZE_LIMIT_EXCEEDED")
|
1045
|
-
end
|
1046
|
-
|
1047
|
-
# Stats.Network
|
1048
|
-
class StatsNetwork < ::String
|
1049
|
-
ALL = StatsNetwork.new("ALL")
|
1050
|
-
CONTENT = StatsNetwork.new("CONTENT")
|
1051
|
-
CONTENT_KEYWORD_BID = StatsNetwork.new("CONTENT_KEYWORD_BID")
|
1052
|
-
CONTENT_PLACEMENT_BID = StatsNetwork.new("CONTENT_PLACEMENT_BID")
|
1053
|
-
GOOGLE_SEARCH = StatsNetwork.new("GOOGLE_SEARCH")
|
1054
|
-
SEARCH = StatsNetwork.new("SEARCH")
|
1055
|
-
SEARCH_NETWORK = StatsNetwork.new("SEARCH_NETWORK")
|
1056
|
-
end
|
1057
|
-
|
1058
|
-
# StringLengthError.Reason
|
1059
|
-
class StringLengthErrorReason < ::String
|
1060
|
-
TOO_LONG = StringLengthErrorReason.new("TOO_LONG")
|
1061
|
-
TOO_SHORT = StringLengthErrorReason.new("TOO_SHORT")
|
1062
|
-
end
|
1063
|
-
|
1064
|
-
# get
|
1065
|
-
# - selector - AdwordsApi::V200909::AdExtensionOverrideService::AdExtensionOverrideSelector
|
1066
|
-
class Get #:nodoc: all
|
1067
|
-
attr_accessor :selector
|
1068
|
-
|
1069
|
-
def initialize(selector = nil)
|
1070
|
-
@selector = selector
|
1071
|
-
end
|
1072
|
-
end
|
1073
|
-
|
1074
|
-
# getResponse
|
1075
|
-
# - rval - AdwordsApi::V200909::AdExtensionOverrideService::AdExtensionOverridePage
|
1076
|
-
class GetResponse #:nodoc: all
|
1077
|
-
attr_accessor :rval
|
1078
|
-
|
1079
|
-
def initialize(rval = nil)
|
1080
|
-
@rval = rval
|
1081
|
-
end
|
1082
|
-
end
|
1083
|
-
|
1084
|
-
# mutate
|
1085
|
-
# - operations - AdwordsApi::V200909::AdExtensionOverrideService::AdExtensionOverrideOperation
|
1086
|
-
class Mutate #:nodoc: all
|
1087
|
-
attr_accessor :operations
|
1088
|
-
|
1089
|
-
def initialize(operations = [])
|
1090
|
-
@operations = operations
|
1091
|
-
end
|
1092
|
-
end
|
1093
|
-
|
1094
|
-
# mutateResponse
|
1095
|
-
# - rval - AdwordsApi::V200909::AdExtensionOverrideService::AdExtensionOverrideReturnValue
|
1096
|
-
class MutateResponse #:nodoc: all
|
1097
|
-
attr_accessor :rval
|
1098
|
-
|
1099
|
-
def initialize(rval = nil)
|
1100
|
-
@rval = rval
|
1101
|
-
end
|
1102
|
-
end
|
1103
|
-
|
1104
|
-
|
1105
|
-
end; end; end
|