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,303 +0,0 @@
|
|
1
|
-
# This file was automatically generated during the "rake generate" step of
|
2
|
-
# library setup.
|
3
|
-
require 'adwords_api/v201101/InfoServiceDriver.rb'
|
4
|
-
|
5
|
-
module AdwordsApi
|
6
|
-
module V201101
|
7
|
-
module InfoService
|
8
|
-
|
9
|
-
# Wrapper class for the v201101 InfoService service.
|
10
|
-
# This class is automatically generated.
|
11
|
-
class InfoServiceWrapper
|
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::V201101::InfoService::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/info/v201101'
|
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::V201101::InfoService::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 InfoServiceWrapper.
|
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::V201101::InfoService
|
51
|
-
@version = :v201101
|
52
|
-
@service = :InfoService
|
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::V201101::\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 {get}[http://code.google.com/apis/adwords/docs/reference/v201101/InfoService.html#get] method of the InfoService service.
|
272
|
-
# Check {the online documentation for this method}[http://code.google.com/apis/adwords/docs/reference/v201101/InfoService.html#get].
|
273
|
-
#
|
274
|
-
# Args:
|
275
|
-
# - selector: AdwordsApi::V201101::InfoService::InfoSelector
|
276
|
-
#
|
277
|
-
# Returns:
|
278
|
-
# - rval: AdwordsApi::V201101::InfoService::ApiUsageInfo
|
279
|
-
#
|
280
|
-
# Raises:
|
281
|
-
# Error::ApiError (or a subclass thereof) if a SOAP fault occurs.
|
282
|
-
#
|
283
|
-
def get(selector)
|
284
|
-
begin
|
285
|
-
arg_array = []
|
286
|
-
validate_object(selector, AdwordsApi::V201101::InfoService::InfoSelector)
|
287
|
-
arg_array << convert_to_object(selector, AdwordsApi::V201101::InfoService::Get,
|
288
|
-
'selector')
|
289
|
-
# Construct request object and make API call
|
290
|
-
obj = AdwordsApi::V201101::InfoService::Get.new(*arg_array)
|
291
|
-
reply = convert_from_object(@driver.get(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
|
-
end
|
301
|
-
end
|
302
|
-
end
|
303
|
-
end
|
@@ -1,1247 +0,0 @@
|
|
1
|
-
require 'xsd/qname'
|
2
|
-
|
3
|
-
module AdwordsApi; module V201101; module MediaService
|
4
|
-
|
5
|
-
|
6
|
-
# DateRange
|
7
|
-
# - min - SOAP::SOAPString
|
8
|
-
# - max - SOAP::SOAPString
|
9
|
-
class DateRange
|
10
|
-
attr_accessor :min
|
11
|
-
attr_accessor :max
|
12
|
-
|
13
|
-
def initialize(min = nil, max = nil)
|
14
|
-
@min = min
|
15
|
-
@max = max
|
16
|
-
end
|
17
|
-
end
|
18
|
-
|
19
|
-
# Dimensions
|
20
|
-
# - width - SOAP::SOAPInt
|
21
|
-
# - height - SOAP::SOAPInt
|
22
|
-
class Dimensions
|
23
|
-
attr_accessor :width
|
24
|
-
attr_accessor :height
|
25
|
-
|
26
|
-
def initialize(width = nil, height = nil)
|
27
|
-
@width = width
|
28
|
-
@height = height
|
29
|
-
end
|
30
|
-
end
|
31
|
-
|
32
|
-
# Media_Size_DimensionsMapEntry
|
33
|
-
# - key - AdwordsApi::V201101::MediaService::MediaSize
|
34
|
-
# - value - AdwordsApi::V201101::MediaService::Dimensions
|
35
|
-
class Media_Size_DimensionsMapEntry
|
36
|
-
attr_accessor :key
|
37
|
-
attr_accessor :value
|
38
|
-
|
39
|
-
def initialize(key = nil, value = nil)
|
40
|
-
@key = key
|
41
|
-
@value = value
|
42
|
-
end
|
43
|
-
end
|
44
|
-
|
45
|
-
# Media_Size_StringMapEntry
|
46
|
-
# - key - AdwordsApi::V201101::MediaService::MediaSize
|
47
|
-
# - value - SOAP::SOAPString
|
48
|
-
class Media_Size_StringMapEntry
|
49
|
-
attr_accessor :key
|
50
|
-
attr_accessor :value
|
51
|
-
|
52
|
-
def initialize(key = nil, value = nil)
|
53
|
-
@key = key
|
54
|
-
@value = value
|
55
|
-
end
|
56
|
-
end
|
57
|
-
|
58
|
-
# OrderBy
|
59
|
-
# - field - SOAP::SOAPString
|
60
|
-
# - sortOrder - AdwordsApi::V201101::MediaService::SortOrder
|
61
|
-
class OrderBy
|
62
|
-
attr_accessor :field
|
63
|
-
attr_accessor :sortOrder
|
64
|
-
|
65
|
-
def initialize(field = nil, sortOrder = nil)
|
66
|
-
@field = field
|
67
|
-
@sortOrder = sortOrder
|
68
|
-
end
|
69
|
-
end
|
70
|
-
|
71
|
-
# Paging
|
72
|
-
# - startIndex - SOAP::SOAPInt
|
73
|
-
# - numberResults - SOAP::SOAPInt
|
74
|
-
class Paging
|
75
|
-
attr_accessor :startIndex
|
76
|
-
attr_accessor :numberResults
|
77
|
-
|
78
|
-
def initialize(startIndex = nil, numberResults = nil)
|
79
|
-
@startIndex = startIndex
|
80
|
-
@numberResults = numberResults
|
81
|
-
end
|
82
|
-
end
|
83
|
-
|
84
|
-
# Predicate
|
85
|
-
# - field - SOAP::SOAPString
|
86
|
-
# - operator - AdwordsApi::V201101::MediaService::PredicateOperator
|
87
|
-
# - values - SOAP::SOAPString
|
88
|
-
class Predicate
|
89
|
-
attr_accessor :field
|
90
|
-
attr_accessor :operator
|
91
|
-
attr_accessor :values
|
92
|
-
|
93
|
-
def initialize(field = nil, operator = nil, values = [])
|
94
|
-
@field = field
|
95
|
-
@operator = operator
|
96
|
-
@values = values
|
97
|
-
end
|
98
|
-
end
|
99
|
-
|
100
|
-
# SoapHeader
|
101
|
-
# - authToken - SOAP::SOAPString
|
102
|
-
# - clientCustomerId - SOAP::SOAPString
|
103
|
-
# - clientEmail - SOAP::SOAPString
|
104
|
-
# - developerToken - SOAP::SOAPString
|
105
|
-
# - userAgent - SOAP::SOAPString
|
106
|
-
# - validateOnly - SOAP::SOAPBoolean
|
107
|
-
# - partialFailure - SOAP::SOAPBoolean
|
108
|
-
class SoapHeader
|
109
|
-
attr_accessor :authToken
|
110
|
-
attr_accessor :clientCustomerId
|
111
|
-
attr_accessor :clientEmail
|
112
|
-
attr_accessor :developerToken
|
113
|
-
attr_accessor :userAgent
|
114
|
-
attr_accessor :validateOnly
|
115
|
-
attr_accessor :partialFailure
|
116
|
-
|
117
|
-
def initialize(authToken = nil, clientCustomerId = nil, clientEmail = nil, developerToken = nil, userAgent = nil, validateOnly = nil, partialFailure = nil)
|
118
|
-
@authToken = authToken
|
119
|
-
@clientCustomerId = clientCustomerId
|
120
|
-
@clientEmail = clientEmail
|
121
|
-
@developerToken = developerToken
|
122
|
-
@userAgent = userAgent
|
123
|
-
@validateOnly = validateOnly
|
124
|
-
@partialFailure = partialFailure
|
125
|
-
end
|
126
|
-
end
|
127
|
-
|
128
|
-
# SoapResponseHeader
|
129
|
-
# - requestId - SOAP::SOAPString
|
130
|
-
# - operations - SOAP::SOAPLong
|
131
|
-
# - responseTime - SOAP::SOAPLong
|
132
|
-
# - units - SOAP::SOAPLong
|
133
|
-
class SoapResponseHeader
|
134
|
-
attr_accessor :requestId
|
135
|
-
attr_accessor :operations
|
136
|
-
attr_accessor :responseTime
|
137
|
-
attr_accessor :units
|
138
|
-
|
139
|
-
def initialize(requestId = nil, operations = nil, responseTime = nil, units = nil)
|
140
|
-
@requestId = requestId
|
141
|
-
@operations = operations
|
142
|
-
@responseTime = responseTime
|
143
|
-
@units = units
|
144
|
-
end
|
145
|
-
end
|
146
|
-
|
147
|
-
# Selector
|
148
|
-
# - fields - SOAP::SOAPString
|
149
|
-
# - predicates - AdwordsApi::V201101::MediaService::Predicate
|
150
|
-
# - dateRange - AdwordsApi::V201101::MediaService::DateRange
|
151
|
-
# - ordering - AdwordsApi::V201101::MediaService::OrderBy
|
152
|
-
# - paging - AdwordsApi::V201101::MediaService::Paging
|
153
|
-
class Selector
|
154
|
-
attr_accessor :fields
|
155
|
-
attr_accessor :predicates
|
156
|
-
attr_accessor :dateRange
|
157
|
-
attr_accessor :ordering
|
158
|
-
attr_accessor :paging
|
159
|
-
|
160
|
-
def initialize(fields = [], predicates = [], dateRange = nil, ordering = [], paging = nil)
|
161
|
-
@fields = fields
|
162
|
-
@predicates = predicates
|
163
|
-
@dateRange = dateRange
|
164
|
-
@ordering = ordering
|
165
|
-
@paging = paging
|
166
|
-
end
|
167
|
-
end
|
168
|
-
|
169
|
-
# ApiError
|
170
|
-
# abstract
|
171
|
-
# - fieldPath - SOAP::SOAPString
|
172
|
-
# - trigger - SOAP::SOAPString
|
173
|
-
# - errorString - SOAP::SOAPString
|
174
|
-
# - apiError_Type - SOAP::SOAPString
|
175
|
-
class ApiError
|
176
|
-
attr_accessor :fieldPath
|
177
|
-
attr_accessor :trigger
|
178
|
-
attr_accessor :errorString
|
179
|
-
attr_accessor :apiError_Type
|
180
|
-
|
181
|
-
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil)
|
182
|
-
@fieldPath = fieldPath
|
183
|
-
@trigger = trigger
|
184
|
-
@errorString = errorString
|
185
|
-
@apiError_Type = apiError_Type
|
186
|
-
end
|
187
|
-
end
|
188
|
-
|
189
|
-
# AudioError
|
190
|
-
# - fieldPath - SOAP::SOAPString
|
191
|
-
# - trigger - SOAP::SOAPString
|
192
|
-
# - errorString - SOAP::SOAPString
|
193
|
-
# - apiError_Type - SOAP::SOAPString
|
194
|
-
# - reason - AdwordsApi::V201101::MediaService::AudioErrorReason
|
195
|
-
class AudioError < ApiError
|
196
|
-
attr_accessor :fieldPath
|
197
|
-
attr_accessor :trigger
|
198
|
-
attr_accessor :errorString
|
199
|
-
attr_accessor :apiError_Type
|
200
|
-
attr_accessor :reason
|
201
|
-
|
202
|
-
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
203
|
-
@fieldPath = fieldPath
|
204
|
-
@trigger = trigger
|
205
|
-
@errorString = errorString
|
206
|
-
@apiError_Type = apiError_Type
|
207
|
-
@reason = reason
|
208
|
-
end
|
209
|
-
end
|
210
|
-
|
211
|
-
# AuthenticationError
|
212
|
-
# - fieldPath - SOAP::SOAPString
|
213
|
-
# - trigger - SOAP::SOAPString
|
214
|
-
# - errorString - SOAP::SOAPString
|
215
|
-
# - apiError_Type - SOAP::SOAPString
|
216
|
-
# - reason - AdwordsApi::V201101::MediaService::AuthenticationErrorReason
|
217
|
-
class AuthenticationError < ApiError
|
218
|
-
attr_accessor :fieldPath
|
219
|
-
attr_accessor :trigger
|
220
|
-
attr_accessor :errorString
|
221
|
-
attr_accessor :apiError_Type
|
222
|
-
attr_accessor :reason
|
223
|
-
|
224
|
-
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
225
|
-
@fieldPath = fieldPath
|
226
|
-
@trigger = trigger
|
227
|
-
@errorString = errorString
|
228
|
-
@apiError_Type = apiError_Type
|
229
|
-
@reason = reason
|
230
|
-
end
|
231
|
-
end
|
232
|
-
|
233
|
-
# AuthorizationError
|
234
|
-
# - fieldPath - SOAP::SOAPString
|
235
|
-
# - trigger - SOAP::SOAPString
|
236
|
-
# - errorString - SOAP::SOAPString
|
237
|
-
# - apiError_Type - SOAP::SOAPString
|
238
|
-
# - reason - AdwordsApi::V201101::MediaService::AuthorizationErrorReason
|
239
|
-
class AuthorizationError < ApiError
|
240
|
-
attr_accessor :fieldPath
|
241
|
-
attr_accessor :trigger
|
242
|
-
attr_accessor :errorString
|
243
|
-
attr_accessor :apiError_Type
|
244
|
-
attr_accessor :reason
|
245
|
-
|
246
|
-
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
247
|
-
@fieldPath = fieldPath
|
248
|
-
@trigger = trigger
|
249
|
-
@errorString = errorString
|
250
|
-
@apiError_Type = apiError_Type
|
251
|
-
@reason = reason
|
252
|
-
end
|
253
|
-
end
|
254
|
-
|
255
|
-
# ClientTermsError
|
256
|
-
# - fieldPath - SOAP::SOAPString
|
257
|
-
# - trigger - SOAP::SOAPString
|
258
|
-
# - errorString - SOAP::SOAPString
|
259
|
-
# - apiError_Type - SOAP::SOAPString
|
260
|
-
# - reason - AdwordsApi::V201101::MediaService::ClientTermsErrorReason
|
261
|
-
class ClientTermsError < ApiError
|
262
|
-
attr_accessor :fieldPath
|
263
|
-
attr_accessor :trigger
|
264
|
-
attr_accessor :errorString
|
265
|
-
attr_accessor :apiError_Type
|
266
|
-
attr_accessor :reason
|
267
|
-
|
268
|
-
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
269
|
-
@fieldPath = fieldPath
|
270
|
-
@trigger = trigger
|
271
|
-
@errorString = errorString
|
272
|
-
@apiError_Type = apiError_Type
|
273
|
-
@reason = reason
|
274
|
-
end
|
275
|
-
end
|
276
|
-
|
277
|
-
# EntityNotFound
|
278
|
-
# - fieldPath - SOAP::SOAPString
|
279
|
-
# - trigger - SOAP::SOAPString
|
280
|
-
# - errorString - SOAP::SOAPString
|
281
|
-
# - apiError_Type - SOAP::SOAPString
|
282
|
-
# - reason - AdwordsApi::V201101::MediaService::EntityNotFoundReason
|
283
|
-
class EntityNotFound < ApiError
|
284
|
-
attr_accessor :fieldPath
|
285
|
-
attr_accessor :trigger
|
286
|
-
attr_accessor :errorString
|
287
|
-
attr_accessor :apiError_Type
|
288
|
-
attr_accessor :reason
|
289
|
-
|
290
|
-
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
291
|
-
@fieldPath = fieldPath
|
292
|
-
@trigger = trigger
|
293
|
-
@errorString = errorString
|
294
|
-
@apiError_Type = apiError_Type
|
295
|
-
@reason = reason
|
296
|
-
end
|
297
|
-
end
|
298
|
-
|
299
|
-
# ImageError
|
300
|
-
# - fieldPath - SOAP::SOAPString
|
301
|
-
# - trigger - SOAP::SOAPString
|
302
|
-
# - errorString - SOAP::SOAPString
|
303
|
-
# - apiError_Type - SOAP::SOAPString
|
304
|
-
# - reason - AdwordsApi::V201101::MediaService::ImageErrorReason
|
305
|
-
class ImageError < ApiError
|
306
|
-
attr_accessor :fieldPath
|
307
|
-
attr_accessor :trigger
|
308
|
-
attr_accessor :errorString
|
309
|
-
attr_accessor :apiError_Type
|
310
|
-
attr_accessor :reason
|
311
|
-
|
312
|
-
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
313
|
-
@fieldPath = fieldPath
|
314
|
-
@trigger = trigger
|
315
|
-
@errorString = errorString
|
316
|
-
@apiError_Type = apiError_Type
|
317
|
-
@reason = reason
|
318
|
-
end
|
319
|
-
end
|
320
|
-
|
321
|
-
# InternalApiError
|
322
|
-
# - fieldPath - SOAP::SOAPString
|
323
|
-
# - trigger - SOAP::SOAPString
|
324
|
-
# - errorString - SOAP::SOAPString
|
325
|
-
# - apiError_Type - SOAP::SOAPString
|
326
|
-
# - reason - AdwordsApi::V201101::MediaService::InternalApiErrorReason
|
327
|
-
class InternalApiError < ApiError
|
328
|
-
attr_accessor :fieldPath
|
329
|
-
attr_accessor :trigger
|
330
|
-
attr_accessor :errorString
|
331
|
-
attr_accessor :apiError_Type
|
332
|
-
attr_accessor :reason
|
333
|
-
|
334
|
-
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
335
|
-
@fieldPath = fieldPath
|
336
|
-
@trigger = trigger
|
337
|
-
@errorString = errorString
|
338
|
-
@apiError_Type = apiError_Type
|
339
|
-
@reason = reason
|
340
|
-
end
|
341
|
-
end
|
342
|
-
|
343
|
-
# MediaError
|
344
|
-
# - fieldPath - SOAP::SOAPString
|
345
|
-
# - trigger - SOAP::SOAPString
|
346
|
-
# - errorString - SOAP::SOAPString
|
347
|
-
# - apiError_Type - SOAP::SOAPString
|
348
|
-
# - reason - AdwordsApi::V201101::MediaService::MediaErrorReason
|
349
|
-
class MediaError < ApiError
|
350
|
-
attr_accessor :fieldPath
|
351
|
-
attr_accessor :trigger
|
352
|
-
attr_accessor :errorString
|
353
|
-
attr_accessor :apiError_Type
|
354
|
-
attr_accessor :reason
|
355
|
-
|
356
|
-
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
357
|
-
@fieldPath = fieldPath
|
358
|
-
@trigger = trigger
|
359
|
-
@errorString = errorString
|
360
|
-
@apiError_Type = apiError_Type
|
361
|
-
@reason = reason
|
362
|
-
end
|
363
|
-
end
|
364
|
-
|
365
|
-
# NewEntityCreationError
|
366
|
-
# - fieldPath - SOAP::SOAPString
|
367
|
-
# - trigger - SOAP::SOAPString
|
368
|
-
# - errorString - SOAP::SOAPString
|
369
|
-
# - apiError_Type - SOAP::SOAPString
|
370
|
-
# - reason - AdwordsApi::V201101::MediaService::NewEntityCreationErrorReason
|
371
|
-
class NewEntityCreationError < ApiError
|
372
|
-
attr_accessor :fieldPath
|
373
|
-
attr_accessor :trigger
|
374
|
-
attr_accessor :errorString
|
375
|
-
attr_accessor :apiError_Type
|
376
|
-
attr_accessor :reason
|
377
|
-
|
378
|
-
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
379
|
-
@fieldPath = fieldPath
|
380
|
-
@trigger = trigger
|
381
|
-
@errorString = errorString
|
382
|
-
@apiError_Type = apiError_Type
|
383
|
-
@reason = reason
|
384
|
-
end
|
385
|
-
end
|
386
|
-
|
387
|
-
# NotWhitelistedError
|
388
|
-
# - fieldPath - SOAP::SOAPString
|
389
|
-
# - trigger - SOAP::SOAPString
|
390
|
-
# - errorString - SOAP::SOAPString
|
391
|
-
# - apiError_Type - SOAP::SOAPString
|
392
|
-
# - reason - AdwordsApi::V201101::MediaService::NotWhitelistedErrorReason
|
393
|
-
class NotWhitelistedError < ApiError
|
394
|
-
attr_accessor :fieldPath
|
395
|
-
attr_accessor :trigger
|
396
|
-
attr_accessor :errorString
|
397
|
-
attr_accessor :apiError_Type
|
398
|
-
attr_accessor :reason
|
399
|
-
|
400
|
-
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
401
|
-
@fieldPath = fieldPath
|
402
|
-
@trigger = trigger
|
403
|
-
@errorString = errorString
|
404
|
-
@apiError_Type = apiError_Type
|
405
|
-
@reason = reason
|
406
|
-
end
|
407
|
-
end
|
408
|
-
|
409
|
-
# NullError
|
410
|
-
# - fieldPath - SOAP::SOAPString
|
411
|
-
# - trigger - SOAP::SOAPString
|
412
|
-
# - errorString - SOAP::SOAPString
|
413
|
-
# - apiError_Type - SOAP::SOAPString
|
414
|
-
# - reason - AdwordsApi::V201101::MediaService::NullErrorReason
|
415
|
-
class NullError < ApiError
|
416
|
-
attr_accessor :fieldPath
|
417
|
-
attr_accessor :trigger
|
418
|
-
attr_accessor :errorString
|
419
|
-
attr_accessor :apiError_Type
|
420
|
-
attr_accessor :reason
|
421
|
-
|
422
|
-
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
423
|
-
@fieldPath = fieldPath
|
424
|
-
@trigger = trigger
|
425
|
-
@errorString = errorString
|
426
|
-
@apiError_Type = apiError_Type
|
427
|
-
@reason = reason
|
428
|
-
end
|
429
|
-
end
|
430
|
-
|
431
|
-
# OperationAccessDenied
|
432
|
-
# - fieldPath - SOAP::SOAPString
|
433
|
-
# - trigger - SOAP::SOAPString
|
434
|
-
# - errorString - SOAP::SOAPString
|
435
|
-
# - apiError_Type - SOAP::SOAPString
|
436
|
-
# - reason - AdwordsApi::V201101::MediaService::OperationAccessDeniedReason
|
437
|
-
class OperationAccessDenied < ApiError
|
438
|
-
attr_accessor :fieldPath
|
439
|
-
attr_accessor :trigger
|
440
|
-
attr_accessor :errorString
|
441
|
-
attr_accessor :apiError_Type
|
442
|
-
attr_accessor :reason
|
443
|
-
|
444
|
-
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
445
|
-
@fieldPath = fieldPath
|
446
|
-
@trigger = trigger
|
447
|
-
@errorString = errorString
|
448
|
-
@apiError_Type = apiError_Type
|
449
|
-
@reason = reason
|
450
|
-
end
|
451
|
-
end
|
452
|
-
|
453
|
-
# QuotaCheckError
|
454
|
-
# - fieldPath - SOAP::SOAPString
|
455
|
-
# - trigger - SOAP::SOAPString
|
456
|
-
# - errorString - SOAP::SOAPString
|
457
|
-
# - apiError_Type - SOAP::SOAPString
|
458
|
-
# - reason - AdwordsApi::V201101::MediaService::QuotaCheckErrorReason
|
459
|
-
class QuotaCheckError < ApiError
|
460
|
-
attr_accessor :fieldPath
|
461
|
-
attr_accessor :trigger
|
462
|
-
attr_accessor :errorString
|
463
|
-
attr_accessor :apiError_Type
|
464
|
-
attr_accessor :reason
|
465
|
-
|
466
|
-
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
467
|
-
@fieldPath = fieldPath
|
468
|
-
@trigger = trigger
|
469
|
-
@errorString = errorString
|
470
|
-
@apiError_Type = apiError_Type
|
471
|
-
@reason = reason
|
472
|
-
end
|
473
|
-
end
|
474
|
-
|
475
|
-
# RangeError
|
476
|
-
# - fieldPath - SOAP::SOAPString
|
477
|
-
# - trigger - SOAP::SOAPString
|
478
|
-
# - errorString - SOAP::SOAPString
|
479
|
-
# - apiError_Type - SOAP::SOAPString
|
480
|
-
# - reason - AdwordsApi::V201101::MediaService::RangeErrorReason
|
481
|
-
class C_RangeError < ApiError
|
482
|
-
attr_accessor :fieldPath
|
483
|
-
attr_accessor :trigger
|
484
|
-
attr_accessor :errorString
|
485
|
-
attr_accessor :apiError_Type
|
486
|
-
attr_accessor :reason
|
487
|
-
|
488
|
-
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
489
|
-
@fieldPath = fieldPath
|
490
|
-
@trigger = trigger
|
491
|
-
@errorString = errorString
|
492
|
-
@apiError_Type = apiError_Type
|
493
|
-
@reason = reason
|
494
|
-
end
|
495
|
-
end
|
496
|
-
|
497
|
-
# RateExceededError
|
498
|
-
# - fieldPath - SOAP::SOAPString
|
499
|
-
# - trigger - SOAP::SOAPString
|
500
|
-
# - errorString - SOAP::SOAPString
|
501
|
-
# - apiError_Type - SOAP::SOAPString
|
502
|
-
# - reason - AdwordsApi::V201101::MediaService::RateExceededErrorReason
|
503
|
-
# - rateName - SOAP::SOAPString
|
504
|
-
# - rateScope - SOAP::SOAPString
|
505
|
-
# - retryAfterSeconds - SOAP::SOAPInt
|
506
|
-
class RateExceededError < ApiError
|
507
|
-
attr_accessor :fieldPath
|
508
|
-
attr_accessor :trigger
|
509
|
-
attr_accessor :errorString
|
510
|
-
attr_accessor :apiError_Type
|
511
|
-
attr_accessor :reason
|
512
|
-
attr_accessor :rateName
|
513
|
-
attr_accessor :rateScope
|
514
|
-
attr_accessor :retryAfterSeconds
|
515
|
-
|
516
|
-
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil, rateName = nil, rateScope = nil, retryAfterSeconds = nil)
|
517
|
-
@fieldPath = fieldPath
|
518
|
-
@trigger = trigger
|
519
|
-
@errorString = errorString
|
520
|
-
@apiError_Type = apiError_Type
|
521
|
-
@reason = reason
|
522
|
-
@rateName = rateName
|
523
|
-
@rateScope = rateScope
|
524
|
-
@retryAfterSeconds = retryAfterSeconds
|
525
|
-
end
|
526
|
-
end
|
527
|
-
|
528
|
-
# ReadOnlyError
|
529
|
-
# - fieldPath - SOAP::SOAPString
|
530
|
-
# - trigger - SOAP::SOAPString
|
531
|
-
# - errorString - SOAP::SOAPString
|
532
|
-
# - apiError_Type - SOAP::SOAPString
|
533
|
-
# - reason - AdwordsApi::V201101::MediaService::ReadOnlyErrorReason
|
534
|
-
class ReadOnlyError < ApiError
|
535
|
-
attr_accessor :fieldPath
|
536
|
-
attr_accessor :trigger
|
537
|
-
attr_accessor :errorString
|
538
|
-
attr_accessor :apiError_Type
|
539
|
-
attr_accessor :reason
|
540
|
-
|
541
|
-
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
542
|
-
@fieldPath = fieldPath
|
543
|
-
@trigger = trigger
|
544
|
-
@errorString = errorString
|
545
|
-
@apiError_Type = apiError_Type
|
546
|
-
@reason = reason
|
547
|
-
end
|
548
|
-
end
|
549
|
-
|
550
|
-
# RequestError
|
551
|
-
# - fieldPath - SOAP::SOAPString
|
552
|
-
# - trigger - SOAP::SOAPString
|
553
|
-
# - errorString - SOAP::SOAPString
|
554
|
-
# - apiError_Type - SOAP::SOAPString
|
555
|
-
# - reason - AdwordsApi::V201101::MediaService::RequestErrorReason
|
556
|
-
class RequestError < ApiError
|
557
|
-
attr_accessor :fieldPath
|
558
|
-
attr_accessor :trigger
|
559
|
-
attr_accessor :errorString
|
560
|
-
attr_accessor :apiError_Type
|
561
|
-
attr_accessor :reason
|
562
|
-
|
563
|
-
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
564
|
-
@fieldPath = fieldPath
|
565
|
-
@trigger = trigger
|
566
|
-
@errorString = errorString
|
567
|
-
@apiError_Type = apiError_Type
|
568
|
-
@reason = reason
|
569
|
-
end
|
570
|
-
end
|
571
|
-
|
572
|
-
# RequiredError
|
573
|
-
# - fieldPath - SOAP::SOAPString
|
574
|
-
# - trigger - SOAP::SOAPString
|
575
|
-
# - errorString - SOAP::SOAPString
|
576
|
-
# - apiError_Type - SOAP::SOAPString
|
577
|
-
# - reason - AdwordsApi::V201101::MediaService::RequiredErrorReason
|
578
|
-
class RequiredError < ApiError
|
579
|
-
attr_accessor :fieldPath
|
580
|
-
attr_accessor :trigger
|
581
|
-
attr_accessor :errorString
|
582
|
-
attr_accessor :apiError_Type
|
583
|
-
attr_accessor :reason
|
584
|
-
|
585
|
-
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
586
|
-
@fieldPath = fieldPath
|
587
|
-
@trigger = trigger
|
588
|
-
@errorString = errorString
|
589
|
-
@apiError_Type = apiError_Type
|
590
|
-
@reason = reason
|
591
|
-
end
|
592
|
-
end
|
593
|
-
|
594
|
-
# SelectorError
|
595
|
-
# - fieldPath - SOAP::SOAPString
|
596
|
-
# - trigger - SOAP::SOAPString
|
597
|
-
# - errorString - SOAP::SOAPString
|
598
|
-
# - apiError_Type - SOAP::SOAPString
|
599
|
-
# - reason - AdwordsApi::V201101::MediaService::SelectorErrorReason
|
600
|
-
class SelectorError < ApiError
|
601
|
-
attr_accessor :fieldPath
|
602
|
-
attr_accessor :trigger
|
603
|
-
attr_accessor :errorString
|
604
|
-
attr_accessor :apiError_Type
|
605
|
-
attr_accessor :reason
|
606
|
-
|
607
|
-
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
608
|
-
@fieldPath = fieldPath
|
609
|
-
@trigger = trigger
|
610
|
-
@errorString = errorString
|
611
|
-
@apiError_Type = apiError_Type
|
612
|
-
@reason = reason
|
613
|
-
end
|
614
|
-
end
|
615
|
-
|
616
|
-
# SizeLimitError
|
617
|
-
# - fieldPath - SOAP::SOAPString
|
618
|
-
# - trigger - SOAP::SOAPString
|
619
|
-
# - errorString - SOAP::SOAPString
|
620
|
-
# - apiError_Type - SOAP::SOAPString
|
621
|
-
# - reason - AdwordsApi::V201101::MediaService::SizeLimitErrorReason
|
622
|
-
class SizeLimitError < ApiError
|
623
|
-
attr_accessor :fieldPath
|
624
|
-
attr_accessor :trigger
|
625
|
-
attr_accessor :errorString
|
626
|
-
attr_accessor :apiError_Type
|
627
|
-
attr_accessor :reason
|
628
|
-
|
629
|
-
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
630
|
-
@fieldPath = fieldPath
|
631
|
-
@trigger = trigger
|
632
|
-
@errorString = errorString
|
633
|
-
@apiError_Type = apiError_Type
|
634
|
-
@reason = reason
|
635
|
-
end
|
636
|
-
end
|
637
|
-
|
638
|
-
# VideoError
|
639
|
-
# - fieldPath - SOAP::SOAPString
|
640
|
-
# - trigger - SOAP::SOAPString
|
641
|
-
# - errorString - SOAP::SOAPString
|
642
|
-
# - apiError_Type - SOAP::SOAPString
|
643
|
-
# - reason - AdwordsApi::V201101::MediaService::VideoErrorReason
|
644
|
-
class VideoError < ApiError
|
645
|
-
attr_accessor :fieldPath
|
646
|
-
attr_accessor :trigger
|
647
|
-
attr_accessor :errorString
|
648
|
-
attr_accessor :apiError_Type
|
649
|
-
attr_accessor :reason
|
650
|
-
|
651
|
-
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
652
|
-
@fieldPath = fieldPath
|
653
|
-
@trigger = trigger
|
654
|
-
@errorString = errorString
|
655
|
-
@apiError_Type = apiError_Type
|
656
|
-
@reason = reason
|
657
|
-
end
|
658
|
-
end
|
659
|
-
|
660
|
-
# DatabaseError
|
661
|
-
# - fieldPath - SOAP::SOAPString
|
662
|
-
# - trigger - SOAP::SOAPString
|
663
|
-
# - errorString - SOAP::SOAPString
|
664
|
-
# - apiError_Type - SOAP::SOAPString
|
665
|
-
# - reason - AdwordsApi::V201101::MediaService::DatabaseErrorReason
|
666
|
-
class DatabaseError < ApiError
|
667
|
-
attr_accessor :fieldPath
|
668
|
-
attr_accessor :trigger
|
669
|
-
attr_accessor :errorString
|
670
|
-
attr_accessor :apiError_Type
|
671
|
-
attr_accessor :reason
|
672
|
-
|
673
|
-
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
674
|
-
@fieldPath = fieldPath
|
675
|
-
@trigger = trigger
|
676
|
-
@errorString = errorString
|
677
|
-
@apiError_Type = apiError_Type
|
678
|
-
@reason = reason
|
679
|
-
end
|
680
|
-
end
|
681
|
-
|
682
|
-
# ApplicationException
|
683
|
-
# - message - SOAP::SOAPString
|
684
|
-
# - applicationException_Type - SOAP::SOAPString
|
685
|
-
class ApplicationException
|
686
|
-
attr_accessor :message
|
687
|
-
attr_accessor :applicationException_Type
|
688
|
-
|
689
|
-
def initialize(message = nil, applicationException_Type = nil)
|
690
|
-
@message = message
|
691
|
-
@applicationException_Type = applicationException_Type
|
692
|
-
end
|
693
|
-
end
|
694
|
-
|
695
|
-
# ApiException
|
696
|
-
# - message - SOAP::SOAPString
|
697
|
-
# - applicationException_Type - SOAP::SOAPString
|
698
|
-
# - errors - AdwordsApi::V201101::MediaService::ApiError
|
699
|
-
class ApiException < ApplicationException
|
700
|
-
attr_accessor :message
|
701
|
-
attr_accessor :applicationException_Type
|
702
|
-
attr_accessor :errors
|
703
|
-
|
704
|
-
def initialize(message = nil, applicationException_Type = nil, errors = [])
|
705
|
-
@message = message
|
706
|
-
@applicationException_Type = applicationException_Type
|
707
|
-
@errors = errors
|
708
|
-
end
|
709
|
-
end
|
710
|
-
|
711
|
-
# Media
|
712
|
-
# - mediaId - SOAP::SOAPLong
|
713
|
-
# - type - AdwordsApi::V201101::MediaService::MediaMediaType
|
714
|
-
# - referenceId - SOAP::SOAPLong
|
715
|
-
# - dimensions - AdwordsApi::V201101::MediaService::Media_Size_DimensionsMapEntry
|
716
|
-
# - urls - AdwordsApi::V201101::MediaService::Media_Size_StringMapEntry
|
717
|
-
# - mimeType - AdwordsApi::V201101::MediaService::MediaMimeType
|
718
|
-
# - sourceUrl - SOAP::SOAPString
|
719
|
-
# - name - SOAP::SOAPString
|
720
|
-
# - fileSize - SOAP::SOAPLong
|
721
|
-
# - creationTime - SOAP::SOAPString
|
722
|
-
# - media_Type - SOAP::SOAPString
|
723
|
-
class Media
|
724
|
-
attr_accessor :mediaId
|
725
|
-
attr_accessor :type
|
726
|
-
attr_accessor :referenceId
|
727
|
-
attr_accessor :dimensions
|
728
|
-
attr_accessor :urls
|
729
|
-
attr_accessor :mimeType
|
730
|
-
attr_accessor :sourceUrl
|
731
|
-
attr_accessor :name
|
732
|
-
attr_accessor :fileSize
|
733
|
-
attr_accessor :creationTime
|
734
|
-
attr_accessor :media_Type
|
735
|
-
|
736
|
-
def initialize(mediaId = nil, type = nil, referenceId = nil, dimensions = [], urls = [], mimeType = nil, sourceUrl = nil, name = nil, fileSize = nil, creationTime = nil, media_Type = nil)
|
737
|
-
@mediaId = mediaId
|
738
|
-
@type = type
|
739
|
-
@referenceId = referenceId
|
740
|
-
@dimensions = dimensions
|
741
|
-
@urls = urls
|
742
|
-
@mimeType = mimeType
|
743
|
-
@sourceUrl = sourceUrl
|
744
|
-
@name = name
|
745
|
-
@fileSize = fileSize
|
746
|
-
@creationTime = creationTime
|
747
|
-
@media_Type = media_Type
|
748
|
-
end
|
749
|
-
end
|
750
|
-
|
751
|
-
# Audio
|
752
|
-
# - mediaId - SOAP::SOAPLong
|
753
|
-
# - type - AdwordsApi::V201101::MediaService::MediaMediaType
|
754
|
-
# - referenceId - SOAP::SOAPLong
|
755
|
-
# - dimensions - AdwordsApi::V201101::MediaService::Media_Size_DimensionsMapEntry
|
756
|
-
# - urls - AdwordsApi::V201101::MediaService::Media_Size_StringMapEntry
|
757
|
-
# - mimeType - AdwordsApi::V201101::MediaService::MediaMimeType
|
758
|
-
# - sourceUrl - SOAP::SOAPString
|
759
|
-
# - name - SOAP::SOAPString
|
760
|
-
# - fileSize - SOAP::SOAPLong
|
761
|
-
# - creationTime - SOAP::SOAPString
|
762
|
-
# - media_Type - SOAP::SOAPString
|
763
|
-
# - durationMillis - SOAP::SOAPLong
|
764
|
-
# - streamingUrl - SOAP::SOAPString
|
765
|
-
# - readyToPlayOnTheWeb - SOAP::SOAPBoolean
|
766
|
-
class Audio < Media
|
767
|
-
attr_accessor :mediaId
|
768
|
-
attr_accessor :type
|
769
|
-
attr_accessor :referenceId
|
770
|
-
attr_accessor :dimensions
|
771
|
-
attr_accessor :urls
|
772
|
-
attr_accessor :mimeType
|
773
|
-
attr_accessor :sourceUrl
|
774
|
-
attr_accessor :name
|
775
|
-
attr_accessor :fileSize
|
776
|
-
attr_accessor :creationTime
|
777
|
-
attr_accessor :media_Type
|
778
|
-
attr_accessor :durationMillis
|
779
|
-
attr_accessor :streamingUrl
|
780
|
-
attr_accessor :readyToPlayOnTheWeb
|
781
|
-
|
782
|
-
def initialize(mediaId = nil, type = nil, referenceId = nil, dimensions = [], urls = [], mimeType = nil, sourceUrl = nil, name = nil, fileSize = nil, creationTime = nil, media_Type = nil, durationMillis = nil, streamingUrl = nil, readyToPlayOnTheWeb = nil)
|
783
|
-
@mediaId = mediaId
|
784
|
-
@type = type
|
785
|
-
@referenceId = referenceId
|
786
|
-
@dimensions = dimensions
|
787
|
-
@urls = urls
|
788
|
-
@mimeType = mimeType
|
789
|
-
@sourceUrl = sourceUrl
|
790
|
-
@name = name
|
791
|
-
@fileSize = fileSize
|
792
|
-
@creationTime = creationTime
|
793
|
-
@media_Type = media_Type
|
794
|
-
@durationMillis = durationMillis
|
795
|
-
@streamingUrl = streamingUrl
|
796
|
-
@readyToPlayOnTheWeb = readyToPlayOnTheWeb
|
797
|
-
end
|
798
|
-
end
|
799
|
-
|
800
|
-
# Image
|
801
|
-
# - mediaId - SOAP::SOAPLong
|
802
|
-
# - type - AdwordsApi::V201101::MediaService::MediaMediaType
|
803
|
-
# - referenceId - SOAP::SOAPLong
|
804
|
-
# - dimensions - AdwordsApi::V201101::MediaService::Media_Size_DimensionsMapEntry
|
805
|
-
# - urls - AdwordsApi::V201101::MediaService::Media_Size_StringMapEntry
|
806
|
-
# - mimeType - AdwordsApi::V201101::MediaService::MediaMimeType
|
807
|
-
# - sourceUrl - SOAP::SOAPString
|
808
|
-
# - name - SOAP::SOAPString
|
809
|
-
# - fileSize - SOAP::SOAPLong
|
810
|
-
# - creationTime - SOAP::SOAPString
|
811
|
-
# - media_Type - SOAP::SOAPString
|
812
|
-
# - data - SOAP::SOAPBase64
|
813
|
-
class Image < Media
|
814
|
-
attr_accessor :mediaId
|
815
|
-
attr_accessor :type
|
816
|
-
attr_accessor :referenceId
|
817
|
-
attr_accessor :dimensions
|
818
|
-
attr_accessor :urls
|
819
|
-
attr_accessor :mimeType
|
820
|
-
attr_accessor :sourceUrl
|
821
|
-
attr_accessor :name
|
822
|
-
attr_accessor :fileSize
|
823
|
-
attr_accessor :creationTime
|
824
|
-
attr_accessor :media_Type
|
825
|
-
attr_accessor :data
|
826
|
-
|
827
|
-
def initialize(mediaId = nil, type = nil, referenceId = nil, dimensions = [], urls = [], mimeType = nil, sourceUrl = nil, name = nil, fileSize = nil, creationTime = nil, media_Type = nil, data = nil)
|
828
|
-
@mediaId = mediaId
|
829
|
-
@type = type
|
830
|
-
@referenceId = referenceId
|
831
|
-
@dimensions = dimensions
|
832
|
-
@urls = urls
|
833
|
-
@mimeType = mimeType
|
834
|
-
@sourceUrl = sourceUrl
|
835
|
-
@name = name
|
836
|
-
@fileSize = fileSize
|
837
|
-
@creationTime = creationTime
|
838
|
-
@media_Type = media_Type
|
839
|
-
@data = data
|
840
|
-
end
|
841
|
-
end
|
842
|
-
|
843
|
-
# Video
|
844
|
-
# - mediaId - SOAP::SOAPLong
|
845
|
-
# - type - AdwordsApi::V201101::MediaService::MediaMediaType
|
846
|
-
# - referenceId - SOAP::SOAPLong
|
847
|
-
# - dimensions - AdwordsApi::V201101::MediaService::Media_Size_DimensionsMapEntry
|
848
|
-
# - urls - AdwordsApi::V201101::MediaService::Media_Size_StringMapEntry
|
849
|
-
# - mimeType - AdwordsApi::V201101::MediaService::MediaMimeType
|
850
|
-
# - sourceUrl - SOAP::SOAPString
|
851
|
-
# - name - SOAP::SOAPString
|
852
|
-
# - fileSize - SOAP::SOAPLong
|
853
|
-
# - creationTime - SOAP::SOAPString
|
854
|
-
# - media_Type - SOAP::SOAPString
|
855
|
-
# - durationMillis - SOAP::SOAPLong
|
856
|
-
# - streamingUrl - SOAP::SOAPString
|
857
|
-
# - readyToPlayOnTheWeb - SOAP::SOAPBoolean
|
858
|
-
# - industryStandardCommercialIdentifier - SOAP::SOAPString
|
859
|
-
# - advertisingId - SOAP::SOAPString
|
860
|
-
# - youTubeVideoIdString - SOAP::SOAPString
|
861
|
-
class Video < Media
|
862
|
-
attr_accessor :mediaId
|
863
|
-
attr_accessor :type
|
864
|
-
attr_accessor :referenceId
|
865
|
-
attr_accessor :dimensions
|
866
|
-
attr_accessor :urls
|
867
|
-
attr_accessor :mimeType
|
868
|
-
attr_accessor :sourceUrl
|
869
|
-
attr_accessor :name
|
870
|
-
attr_accessor :fileSize
|
871
|
-
attr_accessor :creationTime
|
872
|
-
attr_accessor :media_Type
|
873
|
-
attr_accessor :durationMillis
|
874
|
-
attr_accessor :streamingUrl
|
875
|
-
attr_accessor :readyToPlayOnTheWeb
|
876
|
-
attr_accessor :industryStandardCommercialIdentifier
|
877
|
-
attr_accessor :advertisingId
|
878
|
-
attr_accessor :youTubeVideoIdString
|
879
|
-
|
880
|
-
def initialize(mediaId = nil, type = nil, referenceId = nil, dimensions = [], urls = [], mimeType = nil, sourceUrl = nil, name = nil, fileSize = nil, creationTime = nil, media_Type = nil, durationMillis = nil, streamingUrl = nil, readyToPlayOnTheWeb = nil, industryStandardCommercialIdentifier = nil, advertisingId = nil, youTubeVideoIdString = nil)
|
881
|
-
@mediaId = mediaId
|
882
|
-
@type = type
|
883
|
-
@referenceId = referenceId
|
884
|
-
@dimensions = dimensions
|
885
|
-
@urls = urls
|
886
|
-
@mimeType = mimeType
|
887
|
-
@sourceUrl = sourceUrl
|
888
|
-
@name = name
|
889
|
-
@fileSize = fileSize
|
890
|
-
@creationTime = creationTime
|
891
|
-
@media_Type = media_Type
|
892
|
-
@durationMillis = durationMillis
|
893
|
-
@streamingUrl = streamingUrl
|
894
|
-
@readyToPlayOnTheWeb = readyToPlayOnTheWeb
|
895
|
-
@industryStandardCommercialIdentifier = industryStandardCommercialIdentifier
|
896
|
-
@advertisingId = advertisingId
|
897
|
-
@youTubeVideoIdString = youTubeVideoIdString
|
898
|
-
end
|
899
|
-
end
|
900
|
-
|
901
|
-
# MediaPage
|
902
|
-
# - entries - AdwordsApi::V201101::MediaService::Media
|
903
|
-
# - totalNumEntries - SOAP::SOAPInt
|
904
|
-
class MediaPage
|
905
|
-
attr_accessor :entries
|
906
|
-
attr_accessor :totalNumEntries
|
907
|
-
|
908
|
-
def initialize(entries = [], totalNumEntries = nil)
|
909
|
-
@entries = entries
|
910
|
-
@totalNumEntries = totalNumEntries
|
911
|
-
end
|
912
|
-
end
|
913
|
-
|
914
|
-
# AudioError.Reason
|
915
|
-
class AudioErrorReason < ::String
|
916
|
-
ERROR_GENERATING_STREAMING_URL = AudioErrorReason.new("ERROR_GENERATING_STREAMING_URL")
|
917
|
-
ERROR_STORING_AUDIO = AudioErrorReason.new("ERROR_STORING_AUDIO")
|
918
|
-
FILE_TOO_LARGE = AudioErrorReason.new("FILE_TOO_LARGE")
|
919
|
-
INVALID_AUDIO = AudioErrorReason.new("INVALID_AUDIO")
|
920
|
-
PROBLEM_READING_AUDIO_FILE = AudioErrorReason.new("PROBLEM_READING_AUDIO_FILE")
|
921
|
-
UNSUPPORTED_AUDIO = AudioErrorReason.new("UNSUPPORTED_AUDIO")
|
922
|
-
end
|
923
|
-
|
924
|
-
# AuthenticationError.Reason
|
925
|
-
class AuthenticationErrorReason < ::String
|
926
|
-
AUTHENTICATION_FAILED = AuthenticationErrorReason.new("AUTHENTICATION_FAILED")
|
927
|
-
CLIENT_CUSTOMER_ID_INVALID = AuthenticationErrorReason.new("CLIENT_CUSTOMER_ID_INVALID")
|
928
|
-
CLIENT_CUSTOMER_ID_IS_REQUIRED = AuthenticationErrorReason.new("CLIENT_CUSTOMER_ID_IS_REQUIRED")
|
929
|
-
CLIENT_EMAIL_FAILED_TO_AUTHENTICATE = AuthenticationErrorReason.new("CLIENT_EMAIL_FAILED_TO_AUTHENTICATE")
|
930
|
-
CLIENT_EMAIL_INVALID = AuthenticationErrorReason.new("CLIENT_EMAIL_INVALID")
|
931
|
-
CLIENT_EMAIL_REQUIRED = AuthenticationErrorReason.new("CLIENT_EMAIL_REQUIRED")
|
932
|
-
CUSTOMER_NOT_FOUND = AuthenticationErrorReason.new("CUSTOMER_NOT_FOUND")
|
933
|
-
FAILED_TO_AUTHENTICATE_GOOGLE_ACCOUNT = AuthenticationErrorReason.new("FAILED_TO_AUTHENTICATE_GOOGLE_ACCOUNT")
|
934
|
-
FAILED_TO_RETRIEVE_LOGIN_COOKIE = AuthenticationErrorReason.new("FAILED_TO_RETRIEVE_LOGIN_COOKIE")
|
935
|
-
GOOGLE_ACCOUNT_COOKIE_INVALID = AuthenticationErrorReason.new("GOOGLE_ACCOUNT_COOKIE_INVALID")
|
936
|
-
GOOGLE_ACCOUNT_DELETED = AuthenticationErrorReason.new("GOOGLE_ACCOUNT_DELETED")
|
937
|
-
GOOGLE_ACCOUNT_USER_AND_ADS_USER_MISMATCH = AuthenticationErrorReason.new("GOOGLE_ACCOUNT_USER_AND_ADS_USER_MISMATCH")
|
938
|
-
LOGIN_COOKIE_INVALID = AuthenticationErrorReason.new("LOGIN_COOKIE_INVALID")
|
939
|
-
LOGIN_COOKIE_REQUIRED = AuthenticationErrorReason.new("LOGIN_COOKIE_REQUIRED")
|
940
|
-
NOT_ADS_USER = AuthenticationErrorReason.new("NOT_ADS_USER")
|
941
|
-
OAUTH_TOKEN_DISABLED = AuthenticationErrorReason.new("OAUTH_TOKEN_DISABLED")
|
942
|
-
OAUTH_TOKEN_EXPIRED = AuthenticationErrorReason.new("OAUTH_TOKEN_EXPIRED")
|
943
|
-
OAUTH_TOKEN_HEADER_INVALID = AuthenticationErrorReason.new("OAUTH_TOKEN_HEADER_INVALID")
|
944
|
-
OAUTH_TOKEN_INVALID = AuthenticationErrorReason.new("OAUTH_TOKEN_INVALID")
|
945
|
-
OAUTH_TOKEN_REVOKED = AuthenticationErrorReason.new("OAUTH_TOKEN_REVOKED")
|
946
|
-
USER_ID_INVALID = AuthenticationErrorReason.new("USER_ID_INVALID")
|
947
|
-
end
|
948
|
-
|
949
|
-
# AuthorizationError.Reason
|
950
|
-
class AuthorizationErrorReason < ::String
|
951
|
-
EFFECTIVE_USER_PERMISSION_DENIED = AuthorizationErrorReason.new("EFFECTIVE_USER_PERMISSION_DENIED")
|
952
|
-
NO_ADWORDS_ACCOUNT_FOR_CUSTOMER = AuthorizationErrorReason.new("NO_ADWORDS_ACCOUNT_FOR_CUSTOMER")
|
953
|
-
NO_CUSTOMER_FOUND = AuthorizationErrorReason.new("NO_CUSTOMER_FOUND")
|
954
|
-
UNABLE_TO_AUTHORIZE = AuthorizationErrorReason.new("UNABLE_TO_AUTHORIZE")
|
955
|
-
USER_HAS_READONLY_PERMISSION = AuthorizationErrorReason.new("USER_HAS_READONLY_PERMISSION")
|
956
|
-
USER_PERMISSION_DENIED = AuthorizationErrorReason.new("USER_PERMISSION_DENIED")
|
957
|
-
end
|
958
|
-
|
959
|
-
# ClientTermsError.Reason
|
960
|
-
class ClientTermsErrorReason < ::String
|
961
|
-
INCOMPLETE_SIGNUP_CURRENT_ADWORDS_TNC_NOT_AGREED = ClientTermsErrorReason.new("INCOMPLETE_SIGNUP_CURRENT_ADWORDS_TNC_NOT_AGREED")
|
962
|
-
end
|
963
|
-
|
964
|
-
# DatabaseError.Reason
|
965
|
-
class DatabaseErrorReason < ::String
|
966
|
-
CAMPAIGN_PRODUCT_NOT_SUPPORTED = DatabaseErrorReason.new("CAMPAIGN_PRODUCT_NOT_SUPPORTED")
|
967
|
-
CONCURRENT_MODIFICATION = DatabaseErrorReason.new("CONCURRENT_MODIFICATION")
|
968
|
-
DATABASE_ERROR = DatabaseErrorReason.new("DATABASE_ERROR")
|
969
|
-
DUPLICATE_KEY = DatabaseErrorReason.new("DUPLICATE_KEY")
|
970
|
-
PERMISSION_DENIED = DatabaseErrorReason.new("PERMISSION_DENIED")
|
971
|
-
UNKNOWN = DatabaseErrorReason.new("UNKNOWN")
|
972
|
-
end
|
973
|
-
|
974
|
-
# EntityNotFound.Reason
|
975
|
-
class EntityNotFoundReason < ::String
|
976
|
-
INVALID_ID = EntityNotFoundReason.new("INVALID_ID")
|
977
|
-
end
|
978
|
-
|
979
|
-
# ImageError.Reason
|
980
|
-
class ImageErrorReason < ::String
|
981
|
-
ANIMATED_NOT_ALLOWED = ImageErrorReason.new("ANIMATED_NOT_ALLOWED")
|
982
|
-
ANIMATED_VISUAL_EFFECT = ImageErrorReason.new("ANIMATED_VISUAL_EFFECT")
|
983
|
-
ANIMATION_TOO_LONG = ImageErrorReason.new("ANIMATION_TOO_LONG")
|
984
|
-
BAD_REQUEST = ImageErrorReason.new("BAD_REQUEST")
|
985
|
-
CMYK_JPEG_NOT_ALLOWED = ImageErrorReason.new("CMYK_JPEG_NOT_ALLOWED")
|
986
|
-
ERROR_STORING_IMAGE = ImageErrorReason.new("ERROR_STORING_IMAGE")
|
987
|
-
FILE_TOO_LARGE = ImageErrorReason.new("FILE_TOO_LARGE")
|
988
|
-
FLASH_BAD_GETURL_TARGET = ImageErrorReason.new("FLASH_BAD_GETURL_TARGET")
|
989
|
-
FLASH_ERROR = ImageErrorReason.new("FLASH_ERROR")
|
990
|
-
FLASH_HAS_MOUSE_TRACKING = ImageErrorReason.new("FLASH_HAS_MOUSE_TRACKING")
|
991
|
-
FLASH_HAS_NETWORK_METHODS = ImageErrorReason.new("FLASH_HAS_NETWORK_METHODS")
|
992
|
-
FLASH_HAS_NETWORK_OBJECTS = ImageErrorReason.new("FLASH_HAS_NETWORK_OBJECTS")
|
993
|
-
FLASH_HAS_RANDOM_NUM = ImageErrorReason.new("FLASH_HAS_RANDOM_NUM")
|
994
|
-
FLASH_HAS_URL = ImageErrorReason.new("FLASH_HAS_URL")
|
995
|
-
FLASH_NOT_ALLOWED = ImageErrorReason.new("FLASH_NOT_ALLOWED")
|
996
|
-
FLASH_SELF_TARGETS = ImageErrorReason.new("FLASH_SELF_TARGETS")
|
997
|
-
FLASH_VERSION_NOT_SUPPORTED = ImageErrorReason.new("FLASH_VERSION_NOT_SUPPORTED")
|
998
|
-
FLASH_WITHOUT_CLICKTAG = ImageErrorReason.new("FLASH_WITHOUT_CLICKTAG")
|
999
|
-
IMAGE_DATA_TOO_LARGE = ImageErrorReason.new("IMAGE_DATA_TOO_LARGE")
|
1000
|
-
IMAGE_PROCESSING_ERROR = ImageErrorReason.new("IMAGE_PROCESSING_ERROR")
|
1001
|
-
IMAGE_TOO_SMALL = ImageErrorReason.new("IMAGE_TOO_SMALL")
|
1002
|
-
INVALID_IMAGE = ImageErrorReason.new("INVALID_IMAGE")
|
1003
|
-
INVALID_INPUT = ImageErrorReason.new("INVALID_INPUT")
|
1004
|
-
LAYOUT_PROBLEM = ImageErrorReason.new("LAYOUT_PROBLEM")
|
1005
|
-
PROBLEM_READING_FILE = ImageErrorReason.new("PROBLEM_READING_FILE")
|
1006
|
-
PROBLEM_READING_IMAGE_FILE = ImageErrorReason.new("PROBLEM_READING_IMAGE_FILE")
|
1007
|
-
SERVER_ERROR = ImageErrorReason.new("SERVER_ERROR")
|
1008
|
-
STORAGE_ERROR = ImageErrorReason.new("STORAGE_ERROR")
|
1009
|
-
UNEXPECTED_SIZE = ImageErrorReason.new("UNEXPECTED_SIZE")
|
1010
|
-
end
|
1011
|
-
|
1012
|
-
# InternalApiError.Reason
|
1013
|
-
class InternalApiErrorReason < ::String
|
1014
|
-
UNEXPECTED_INTERNAL_API_ERROR = InternalApiErrorReason.new("UNEXPECTED_INTERNAL_API_ERROR")
|
1015
|
-
UNKNOWN = InternalApiErrorReason.new("UNKNOWN")
|
1016
|
-
end
|
1017
|
-
|
1018
|
-
# Media.MediaType
|
1019
|
-
class MediaMediaType < ::String
|
1020
|
-
AUDIO = MediaMediaType.new("AUDIO")
|
1021
|
-
DYNAMIC_IMAGE = MediaMediaType.new("DYNAMIC_IMAGE")
|
1022
|
-
ICON = MediaMediaType.new("ICON")
|
1023
|
-
IMAGE = MediaMediaType.new("IMAGE")
|
1024
|
-
STANDARD_ICON = MediaMediaType.new("STANDARD_ICON")
|
1025
|
-
VIDEO = MediaMediaType.new("VIDEO")
|
1026
|
-
end
|
1027
|
-
|
1028
|
-
# Media.MimeType
|
1029
|
-
class MediaMimeType < ::String
|
1030
|
-
AUDIO_MP3 = MediaMimeType.new("AUDIO_MP3")
|
1031
|
-
AUDIO_WAV = MediaMimeType.new("AUDIO_WAV")
|
1032
|
-
FLASH = MediaMimeType.new("FLASH")
|
1033
|
-
IMAGE_GIF = MediaMimeType.new("IMAGE_GIF")
|
1034
|
-
IMAGE_JPEG = MediaMimeType.new("IMAGE_JPEG")
|
1035
|
-
IMAGE_PNG = MediaMimeType.new("IMAGE_PNG")
|
1036
|
-
MSEXCEL = MediaMimeType.new("MSEXCEL")
|
1037
|
-
MSWORD = MediaMimeType.new("MSWORD")
|
1038
|
-
PDF = MediaMimeType.new("PDF")
|
1039
|
-
RTF = MediaMimeType.new("RTF")
|
1040
|
-
TEXT_HTML = MediaMimeType.new("TEXT_HTML")
|
1041
|
-
end
|
1042
|
-
|
1043
|
-
# Media.Size
|
1044
|
-
class MediaSize < ::String
|
1045
|
-
FULL = MediaSize.new("FULL")
|
1046
|
-
PREVIEW = MediaSize.new("PREVIEW")
|
1047
|
-
SHRUNKEN = MediaSize.new("SHRUNKEN")
|
1048
|
-
VIDEO_THUMBNAIL = MediaSize.new("VIDEO_THUMBNAIL")
|
1049
|
-
end
|
1050
|
-
|
1051
|
-
# MediaError.Reason
|
1052
|
-
class MediaErrorReason < ::String
|
1053
|
-
CANNOT_ADD_STANDARD_ICON = MediaErrorReason.new("CANNOT_ADD_STANDARD_ICON")
|
1054
|
-
CANNOT_SELECT_STANDARD_ICON_WITH_OTHER_TYPES = MediaErrorReason.new("CANNOT_SELECT_STANDARD_ICON_WITH_OTHER_TYPES")
|
1055
|
-
DUPLICATE_MEDIA = MediaErrorReason.new("DUPLICATE_MEDIA")
|
1056
|
-
EMPTY_FIELD = MediaErrorReason.new("EMPTY_FIELD")
|
1057
|
-
ENTITY_REFERENCED_IN_MULTIPLE_OPS = MediaErrorReason.new("ENTITY_REFERENCED_IN_MULTIPLE_OPS")
|
1058
|
-
FIELD_NOT_SUPPORTED_FOR_MEDIA_SUB_TYPE = MediaErrorReason.new("FIELD_NOT_SUPPORTED_FOR_MEDIA_SUB_TYPE")
|
1059
|
-
INVALID_MEDIA_ID = MediaErrorReason.new("INVALID_MEDIA_ID")
|
1060
|
-
INVALID_MEDIA_SUB_TYPE = MediaErrorReason.new("INVALID_MEDIA_SUB_TYPE")
|
1061
|
-
INVALID_MEDIA_TYPE = MediaErrorReason.new("INVALID_MEDIA_TYPE")
|
1062
|
-
INVALID_REFERENCE_ID = MediaErrorReason.new("INVALID_REFERENCE_ID")
|
1063
|
-
INVALID_YOU_TUBE_ID = MediaErrorReason.new("INVALID_YOU_TUBE_ID")
|
1064
|
-
MEDIA_FAILED_TRANSCODING = MediaErrorReason.new("MEDIA_FAILED_TRANSCODING")
|
1065
|
-
MEDIA_TYPE_DOES_NOT_MATCH_OBJECT_TYPE = MediaErrorReason.new("MEDIA_TYPE_DOES_NOT_MATCH_OBJECT_TYPE")
|
1066
|
-
NO_FIELDS_SPECIFIED = MediaErrorReason.new("NO_FIELDS_SPECIFIED")
|
1067
|
-
NULL_REFERENCE_ID_AND_MEDIA_ID = MediaErrorReason.new("NULL_REFERENCE_ID_AND_MEDIA_ID")
|
1068
|
-
TOO_LONG = MediaErrorReason.new("TOO_LONG")
|
1069
|
-
UNSUPPORTED_OPERATION = MediaErrorReason.new("UNSUPPORTED_OPERATION")
|
1070
|
-
UNSUPPORTED_TYPE = MediaErrorReason.new("UNSUPPORTED_TYPE")
|
1071
|
-
YOU_TUBE_SERVICE_UNAVAILABLE = MediaErrorReason.new("YOU_TUBE_SERVICE_UNAVAILABLE")
|
1072
|
-
YOU_TUBE_VIDEO_NOT_FOUND = MediaErrorReason.new("YOU_TUBE_VIDEO_NOT_FOUND")
|
1073
|
-
end
|
1074
|
-
|
1075
|
-
# NewEntityCreationError.Reason
|
1076
|
-
class NewEntityCreationErrorReason < ::String
|
1077
|
-
CANNOT_SET_ID_FOR_ADD = NewEntityCreationErrorReason.new("CANNOT_SET_ID_FOR_ADD")
|
1078
|
-
end
|
1079
|
-
|
1080
|
-
# NotWhitelistedError.Reason
|
1081
|
-
class NotWhitelistedErrorReason < ::String
|
1082
|
-
CUSTOMER_NOT_WHITELISTED_FOR_API = NotWhitelistedErrorReason.new("CUSTOMER_NOT_WHITELISTED_FOR_API")
|
1083
|
-
end
|
1084
|
-
|
1085
|
-
# NullError.Reason
|
1086
|
-
class NullErrorReason < ::String
|
1087
|
-
NULL_CONTENT = NullErrorReason.new("NULL_CONTENT")
|
1088
|
-
end
|
1089
|
-
|
1090
|
-
# OperationAccessDenied.Reason
|
1091
|
-
class OperationAccessDeniedReason < ::String
|
1092
|
-
ACTION_NOT_PERMITTED = OperationAccessDeniedReason.new("ACTION_NOT_PERMITTED")
|
1093
|
-
ADD_OPERATION_NOT_PERMITTED = OperationAccessDeniedReason.new("ADD_OPERATION_NOT_PERMITTED")
|
1094
|
-
MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT = OperationAccessDeniedReason.new("MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT")
|
1095
|
-
REMOVE_OPERATION_NOT_PERMITTED = OperationAccessDeniedReason.new("REMOVE_OPERATION_NOT_PERMITTED")
|
1096
|
-
SET_OPERATION_NOT_PERMITTED = OperationAccessDeniedReason.new("SET_OPERATION_NOT_PERMITTED")
|
1097
|
-
UNKNOWN = OperationAccessDeniedReason.new("UNKNOWN")
|
1098
|
-
end
|
1099
|
-
|
1100
|
-
# Predicate.Operator
|
1101
|
-
class PredicateOperator < ::String
|
1102
|
-
CONTAINS = PredicateOperator.new("CONTAINS")
|
1103
|
-
CONTAINS_IGNORE_CASE = PredicateOperator.new("CONTAINS_IGNORE_CASE")
|
1104
|
-
DOES_NOT_CONTAIN = PredicateOperator.new("DOES_NOT_CONTAIN")
|
1105
|
-
DOES_NOT_CONTAIN_IGNORE_CASE = PredicateOperator.new("DOES_NOT_CONTAIN_IGNORE_CASE")
|
1106
|
-
EQUALS = PredicateOperator.new("EQUALS")
|
1107
|
-
GREATER_THAN = PredicateOperator.new("GREATER_THAN")
|
1108
|
-
GREATER_THAN_EQUALS = PredicateOperator.new("GREATER_THAN_EQUALS")
|
1109
|
-
IN = PredicateOperator.new("IN")
|
1110
|
-
LESS_THAN = PredicateOperator.new("LESS_THAN")
|
1111
|
-
LESS_THAN_EQUALS = PredicateOperator.new("LESS_THAN_EQUALS")
|
1112
|
-
NOT_EQUALS = PredicateOperator.new("NOT_EQUALS")
|
1113
|
-
NOT_IN = PredicateOperator.new("NOT_IN")
|
1114
|
-
STARTS_WITH = PredicateOperator.new("STARTS_WITH")
|
1115
|
-
STARTS_WITH_IGNORE_CASE = PredicateOperator.new("STARTS_WITH_IGNORE_CASE")
|
1116
|
-
UNKNOWN = PredicateOperator.new("UNKNOWN")
|
1117
|
-
end
|
1118
|
-
|
1119
|
-
# QuotaCheckError.Reason
|
1120
|
-
class QuotaCheckErrorReason < ::String
|
1121
|
-
ACCOUNT_DELINQUENT = QuotaCheckErrorReason.new("ACCOUNT_DELINQUENT")
|
1122
|
-
ACCOUNT_INACCESSIBLE = QuotaCheckErrorReason.new("ACCOUNT_INACCESSIBLE")
|
1123
|
-
ACCOUNT_INACTIVE = QuotaCheckErrorReason.new("ACCOUNT_INACTIVE")
|
1124
|
-
INCOMPLETE_SIGNUP = QuotaCheckErrorReason.new("INCOMPLETE_SIGNUP")
|
1125
|
-
INCOMPLETE_SIGNUP_LATEST_ADWORDS_API_TNC_NOT_AGREED = QuotaCheckErrorReason.new("INCOMPLETE_SIGNUP_LATEST_ADWORDS_API_TNC_NOT_AGREED")
|
1126
|
-
INCOMPLETE_SIGNUP_NO_BILLING_INFO = QuotaCheckErrorReason.new("INCOMPLETE_SIGNUP_NO_BILLING_INFO")
|
1127
|
-
INCOMPLETE_SIGNUP_USER_INFO_MISSING = QuotaCheckErrorReason.new("INCOMPLETE_SIGNUP_USER_INFO_MISSING")
|
1128
|
-
INCOMPLETE_SIGNUP_USER_INFO_PENDING = QuotaCheckErrorReason.new("INCOMPLETE_SIGNUP_USER_INFO_PENDING")
|
1129
|
-
INCOMPLETE_SIGNUP_USER_INFO_REJECTED = QuotaCheckErrorReason.new("INCOMPLETE_SIGNUP_USER_INFO_REJECTED")
|
1130
|
-
INVALID_TOKEN_HEADER = QuotaCheckErrorReason.new("INVALID_TOKEN_HEADER")
|
1131
|
-
MONTHLY_BUDGET_REACHED = QuotaCheckErrorReason.new("MONTHLY_BUDGET_REACHED")
|
1132
|
-
QUOTA_EXCEEDED = QuotaCheckErrorReason.new("QUOTA_EXCEEDED")
|
1133
|
-
end
|
1134
|
-
|
1135
|
-
# RangeError.Reason
|
1136
|
-
class RangeErrorReason < ::String
|
1137
|
-
TOO_HIGH = RangeErrorReason.new("TOO_HIGH")
|
1138
|
-
TOO_LOW = RangeErrorReason.new("TOO_LOW")
|
1139
|
-
end
|
1140
|
-
|
1141
|
-
# RateExceededError.Reason
|
1142
|
-
class RateExceededErrorReason < ::String
|
1143
|
-
RATE_EXCEEDED = RateExceededErrorReason.new("RATE_EXCEEDED")
|
1144
|
-
end
|
1145
|
-
|
1146
|
-
# ReadOnlyError.Reason
|
1147
|
-
class ReadOnlyErrorReason < ::String
|
1148
|
-
READ_ONLY = ReadOnlyErrorReason.new("READ_ONLY")
|
1149
|
-
end
|
1150
|
-
|
1151
|
-
# RequestError.Reason
|
1152
|
-
class RequestErrorReason < ::String
|
1153
|
-
INVALID_INPUT = RequestErrorReason.new("INVALID_INPUT")
|
1154
|
-
UNKNOWN = RequestErrorReason.new("UNKNOWN")
|
1155
|
-
end
|
1156
|
-
|
1157
|
-
# RequiredError.Reason
|
1158
|
-
class RequiredErrorReason < ::String
|
1159
|
-
REQUIRED = RequiredErrorReason.new("REQUIRED")
|
1160
|
-
end
|
1161
|
-
|
1162
|
-
# SelectorError.Reason
|
1163
|
-
class SelectorErrorReason < ::String
|
1164
|
-
INVALID_FIELD_NAME = SelectorErrorReason.new("INVALID_FIELD_NAME")
|
1165
|
-
INVALID_FIELD_SELECTION = SelectorErrorReason.new("INVALID_FIELD_SELECTION")
|
1166
|
-
INVALID_PREDICATE_ENUM_VALUE = SelectorErrorReason.new("INVALID_PREDICATE_ENUM_VALUE")
|
1167
|
-
INVALID_PREDICATE_FIELD_NAME = SelectorErrorReason.new("INVALID_PREDICATE_FIELD_NAME")
|
1168
|
-
INVALID_PREDICATE_OPERATOR = SelectorErrorReason.new("INVALID_PREDICATE_OPERATOR")
|
1169
|
-
INVALID_PREDICATE_VALUE = SelectorErrorReason.new("INVALID_PREDICATE_VALUE")
|
1170
|
-
MISSING_FIELDS = SelectorErrorReason.new("MISSING_FIELDS")
|
1171
|
-
MISSING_PREDICATE_OPERATOR = SelectorErrorReason.new("MISSING_PREDICATE_OPERATOR")
|
1172
|
-
MISSING_PREDICATE_VALUES = SelectorErrorReason.new("MISSING_PREDICATE_VALUES")
|
1173
|
-
OPERATOR_DOES_NOT_SUPPORT_MULTIPLE_VALUES = SelectorErrorReason.new("OPERATOR_DOES_NOT_SUPPORT_MULTIPLE_VALUES")
|
1174
|
-
UNKNOWN_ERROR = SelectorErrorReason.new("UNKNOWN_ERROR")
|
1175
|
-
end
|
1176
|
-
|
1177
|
-
# SizeLimitError.Reason
|
1178
|
-
class SizeLimitErrorReason < ::String
|
1179
|
-
REQUEST_SIZE_LIMIT_EXCEEDED = SizeLimitErrorReason.new("REQUEST_SIZE_LIMIT_EXCEEDED")
|
1180
|
-
RESPONSE_SIZE_LIMIT_EXCEEDED = SizeLimitErrorReason.new("RESPONSE_SIZE_LIMIT_EXCEEDED")
|
1181
|
-
UNKNOWN = SizeLimitErrorReason.new("UNKNOWN")
|
1182
|
-
end
|
1183
|
-
|
1184
|
-
# SortOrder
|
1185
|
-
class SortOrder < ::String
|
1186
|
-
ASCENDING = SortOrder.new("ASCENDING")
|
1187
|
-
DESCENDING = SortOrder.new("DESCENDING")
|
1188
|
-
end
|
1189
|
-
|
1190
|
-
# VideoError.Reason
|
1191
|
-
class VideoErrorReason < ::String
|
1192
|
-
BAD_REQUEST = VideoErrorReason.new("BAD_REQUEST")
|
1193
|
-
ERROR_GENERATING_STREAMING_URL = VideoErrorReason.new("ERROR_GENERATING_STREAMING_URL")
|
1194
|
-
FILE_TOO_LARGE = VideoErrorReason.new("FILE_TOO_LARGE")
|
1195
|
-
INVALID_AD_ID = VideoErrorReason.new("INVALID_AD_ID")
|
1196
|
-
INVALID_INPUT = VideoErrorReason.new("INVALID_INPUT")
|
1197
|
-
INVALID_ISCI = VideoErrorReason.new("INVALID_ISCI")
|
1198
|
-
INVALID_VIDEO = VideoErrorReason.new("INVALID_VIDEO")
|
1199
|
-
PROBLEM_READING_FILE = VideoErrorReason.new("PROBLEM_READING_FILE")
|
1200
|
-
SERVER_ERROR = VideoErrorReason.new("SERVER_ERROR")
|
1201
|
-
STORAGE_ERROR = VideoErrorReason.new("STORAGE_ERROR")
|
1202
|
-
UNEXPECTED_SIZE = VideoErrorReason.new("UNEXPECTED_SIZE")
|
1203
|
-
VIDEO_PROCESSING_ERROR = VideoErrorReason.new("VIDEO_PROCESSING_ERROR")
|
1204
|
-
end
|
1205
|
-
|
1206
|
-
# get
|
1207
|
-
# - serviceSelector - AdwordsApi::V201101::MediaService::Selector
|
1208
|
-
class Get #:nodoc: all
|
1209
|
-
attr_accessor :serviceSelector
|
1210
|
-
|
1211
|
-
def initialize(serviceSelector = nil)
|
1212
|
-
@serviceSelector = serviceSelector
|
1213
|
-
end
|
1214
|
-
end
|
1215
|
-
|
1216
|
-
# getResponse
|
1217
|
-
# - rval - AdwordsApi::V201101::MediaService::MediaPage
|
1218
|
-
class GetResponse #:nodoc: all
|
1219
|
-
attr_accessor :rval
|
1220
|
-
|
1221
|
-
def initialize(rval = nil)
|
1222
|
-
@rval = rval
|
1223
|
-
end
|
1224
|
-
end
|
1225
|
-
|
1226
|
-
# upload
|
1227
|
-
# - media - AdwordsApi::V201101::MediaService::Media
|
1228
|
-
class Upload #:nodoc: all
|
1229
|
-
attr_accessor :media
|
1230
|
-
|
1231
|
-
def initialize(media = [])
|
1232
|
-
@media = media
|
1233
|
-
end
|
1234
|
-
end
|
1235
|
-
|
1236
|
-
# uploadResponse
|
1237
|
-
# - rval - AdwordsApi::V201101::MediaService::Media
|
1238
|
-
class UploadResponse #:nodoc: all
|
1239
|
-
attr_accessor :rval
|
1240
|
-
|
1241
|
-
def initialize(rval = [])
|
1242
|
-
@rval = rval
|
1243
|
-
end
|
1244
|
-
end
|
1245
|
-
|
1246
|
-
|
1247
|
-
end; end; end
|