google-adwords-api 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README +178 -0
- data/Rakefile +117 -0
- data/adwords_api.yml +21 -0
- data/examples/v200909/add_ad_extension_override.rb +91 -0
- data/examples/v200909/add_ad_group.rb +98 -0
- data/examples/v200909/add_ad_group_criteria.rb +117 -0
- data/examples/v200909/add_ads.rb +129 -0
- data/examples/v200909/add_campaign.rb +101 -0
- data/examples/v200909/add_campaign_ad_extension.rb +130 -0
- data/examples/v200909/add_negative_campaign_criterion.rb +96 -0
- data/examples/v200909/check_campaigns.rb +132 -0
- data/examples/v200909/delete_ad.rb +94 -0
- data/examples/v200909/delete_ad_group.rb +86 -0
- data/examples/v200909/delete_ad_group_criterion.rb +95 -0
- data/examples/v200909/delete_campaign.rb +87 -0
- data/examples/v200909/get_all_active_ad_group_criteria.rb +93 -0
- data/examples/v200909/get_all_ad_extension_overrides.rb +91 -0
- data/examples/v200909/get_all_ad_group_criteria.rb +91 -0
- data/examples/v200909/get_all_ad_groups.rb +88 -0
- data/examples/v200909/get_all_ad_params.rb +89 -0
- data/examples/v200909/get_all_ads.rb +88 -0
- data/examples/v200909/get_all_campaign_ad_extensions.rb +90 -0
- data/examples/v200909/get_all_campaign_targets.rb +83 -0
- data/examples/v200909/get_all_campaigns.rb +83 -0
- data/examples/v200909/get_all_disapproved_ads.rb +94 -0
- data/examples/v200909/get_all_paused_campaigns.rb +86 -0
- data/examples/v200909/get_conversion_optimizer_eligibility.rb +112 -0
- data/examples/v200909/get_geo_location_info.rb +108 -0
- data/examples/v200909/get_method_cost.rb +96 -0
- data/examples/v200909/get_operation_count.rb +88 -0
- data/examples/v200909/get_related_keywords.rb +115 -0
- data/examples/v200909/get_related_placements.rb +114 -0
- data/examples/v200909/get_total_usage_units_per_month.rb +83 -0
- data/examples/v200909/get_unit_count.rb +88 -0
- data/examples/v200909/perform_bulk_mutate_job.rb +221 -0
- data/examples/v200909/set_ad_params.rb +124 -0
- data/examples/v200909/set_campaign_targets.rb +125 -0
- data/examples/v200909/update_ad.rb +95 -0
- data/examples/v200909/update_ad_group.rb +90 -0
- data/examples/v200909/update_ad_group_criterion.rb +108 -0
- data/examples/v200909/update_campaign.rb +93 -0
- data/examples/v201003/add_ad_extension_override.rb +91 -0
- data/examples/v201003/add_ad_group.rb +98 -0
- data/examples/v201003/add_ad_group_criteria.rb +117 -0
- data/examples/v201003/add_ads.rb +182 -0
- data/examples/v201003/add_campaign.rb +101 -0
- data/examples/v201003/add_campaign_ad_extension.rb +130 -0
- data/examples/v201003/add_keywords_performance_report_definition.rb +108 -0
- data/examples/v201003/add_negative_campaign_criterion.rb +96 -0
- data/examples/v201003/check_campaigns.rb +132 -0
- data/examples/v201003/delete_ad.rb +94 -0
- data/examples/v201003/delete_ad_group.rb +86 -0
- data/examples/v201003/delete_ad_group_criterion.rb +95 -0
- data/examples/v201003/delete_campaign.rb +87 -0
- data/examples/v201003/download_report.rb +71 -0
- data/examples/v201003/get_all_active_ad_group_criteria.rb +93 -0
- data/examples/v201003/get_all_ad_extension_overrides.rb +91 -0
- data/examples/v201003/get_all_ad_group_criteria.rb +91 -0
- data/examples/v201003/get_all_ad_groups.rb +88 -0
- data/examples/v201003/get_all_ad_params.rb +89 -0
- data/examples/v201003/get_all_ads.rb +91 -0
- data/examples/v201003/get_all_campaign_ad_extensions.rb +90 -0
- data/examples/v201003/get_all_campaign_targets.rb +83 -0
- data/examples/v201003/get_all_campaigns.rb +83 -0
- data/examples/v201003/get_all_disapproved_ads.rb +94 -0
- data/examples/v201003/get_all_images.rb +88 -0
- data/examples/v201003/get_all_paused_campaigns.rb +86 -0
- data/examples/v201003/get_all_report_definitions.rb +84 -0
- data/examples/v201003/get_all_videos.rb +85 -0
- data/examples/v201003/get_conversion_optimizer_eligibility.rb +112 -0
- data/examples/v201003/get_criterion_bid_landscape.rb +105 -0
- data/examples/v201003/get_geo_location_info.rb +108 -0
- data/examples/v201003/get_method_cost.rb +96 -0
- data/examples/v201003/get_operation_count.rb +88 -0
- data/examples/v201003/get_related_keywords.rb +115 -0
- data/examples/v201003/get_related_placements.rb +114 -0
- data/examples/v201003/get_report_fields.rb +81 -0
- data/examples/v201003/get_total_usage_units_per_month.rb +83 -0
- data/examples/v201003/get_unit_count.rb +88 -0
- data/examples/v201003/perform_bulk_mutate_job.rb +221 -0
- data/examples/v201003/set_ad_params.rb +124 -0
- data/examples/v201003/set_campaign_targets.rb +125 -0
- data/examples/v201003/update_ad.rb +95 -0
- data/examples/v201003/update_ad_group.rb +90 -0
- data/examples/v201003/update_ad_group_criterion.rb +108 -0
- data/examples/v201003/update_campaign.rb +92 -0
- data/examples/v201003/upload_image.rb +97 -0
- data/examples/v201008/add_ad_extension_override.rb +91 -0
- data/examples/v201008/add_ad_group.rb +98 -0
- data/examples/v201008/add_ad_group_criteria.rb +117 -0
- data/examples/v201008/add_ads.rb +182 -0
- data/examples/v201008/add_campaign.rb +101 -0
- data/examples/v201008/add_campaign_ad_extension.rb +130 -0
- data/examples/v201008/add_experiment.rb +162 -0
- data/examples/v201008/add_keywords_performance_report_definition.rb +108 -0
- data/examples/v201008/add_negative_campaign_criterion.rb +96 -0
- data/examples/v201008/add_user_list.rb +96 -0
- data/examples/v201008/check_campaigns.rb +132 -0
- data/examples/v201008/delete_ad.rb +94 -0
- data/examples/v201008/delete_ad_group.rb +86 -0
- data/examples/v201008/delete_ad_group_criterion.rb +95 -0
- data/examples/v201008/delete_bulk_mutate_job.rb +96 -0
- data/examples/v201008/delete_campaign.rb +87 -0
- data/examples/v201008/delete_experiment.rb +87 -0
- data/examples/v201008/delete_user_list.rb +87 -0
- data/examples/v201008/download_report.rb +71 -0
- data/examples/v201008/get_account_hierarchy.rb +112 -0
- data/examples/v201008/get_all_account_changes.rb +144 -0
- data/examples/v201008/get_all_active_ad_group_criteria.rb +93 -0
- data/examples/v201008/get_all_ad_extension_overrides.rb +91 -0
- data/examples/v201008/get_all_ad_group_criteria.rb +91 -0
- data/examples/v201008/get_all_ad_groups.rb +88 -0
- data/examples/v201008/get_all_ad_params.rb +89 -0
- data/examples/v201008/get_all_ads.rb +91 -0
- data/examples/v201008/get_all_campaign_ad_extensions.rb +90 -0
- data/examples/v201008/get_all_campaign_targets.rb +83 -0
- data/examples/v201008/get_all_campaigns.rb +83 -0
- data/examples/v201008/get_all_disapproved_ads.rb +94 -0
- data/examples/v201008/get_all_experiments.rb +93 -0
- data/examples/v201008/get_all_images.rb +88 -0
- data/examples/v201008/get_all_paused_campaigns.rb +86 -0
- data/examples/v201008/get_all_report_definitions.rb +84 -0
- data/examples/v201008/get_all_user_lists.rb +84 -0
- data/examples/v201008/get_all_videos.rb +85 -0
- data/examples/v201008/get_bulk_mutate_job.rb +106 -0
- data/examples/v201008/get_campaign_alerts.rb +103 -0
- data/examples/v201008/get_conversion_optimizer_eligibility.rb +97 -0
- data/examples/v201008/get_criterion_bid_landscape.rb +105 -0
- data/examples/v201008/get_geo_location_info.rb +108 -0
- data/examples/v201008/get_method_cost.rb +96 -0
- data/examples/v201008/get_operation_count.rb +88 -0
- data/examples/v201008/get_related_keywords.rb +115 -0
- data/examples/v201008/get_related_placements.rb +114 -0
- data/examples/v201008/get_report_fields.rb +81 -0
- data/examples/v201008/get_total_usage_units_per_month.rb +83 -0
- data/examples/v201008/get_traffic_estimates.rb +156 -0
- data/examples/v201008/get_unit_count.rb +88 -0
- data/examples/v201008/handle_partial_failures.rb +135 -0
- data/examples/v201008/handle_policy_violation_error.rb +146 -0
- data/examples/v201008/perform_bulk_mutate_job.rb +221 -0
- data/examples/v201008/promote_experiment.rb +88 -0
- data/examples/v201008/set_ad_params.rb +124 -0
- data/examples/v201008/set_campaign_targets.rb +125 -0
- data/examples/v201008/update_ad.rb +95 -0
- data/examples/v201008/update_ad_group.rb +90 -0
- data/examples/v201008/update_ad_group_criterion.rb +108 -0
- data/examples/v201008/update_campaign.rb +93 -0
- data/examples/v201008/update_user_list.rb +91 -0
- data/examples/v201008/upload_image.rb +97 -0
- data/examples/v201101/add_ad_extension_override.rb +91 -0
- data/examples/v201101/add_ad_group.rb +98 -0
- data/examples/v201101/add_ad_group_criteria.rb +117 -0
- data/examples/v201101/add_ads.rb +182 -0
- data/examples/v201101/add_campaign.rb +108 -0
- data/examples/v201101/add_campaign_ad_extension.rb +130 -0
- data/examples/v201101/add_experiment.rb +162 -0
- data/examples/v201101/add_keywords_performance_report_definition.rb +108 -0
- data/examples/v201101/add_mcc_report_definition.rb +103 -0
- data/examples/v201101/add_negative_campaign_criterion.rb +96 -0
- data/examples/v201101/add_user_list.rb +96 -0
- data/examples/v201101/check_campaigns.rb +132 -0
- data/examples/v201101/delete_ad.rb +94 -0
- data/examples/v201101/delete_ad_group.rb +86 -0
- data/examples/v201101/delete_ad_group_criterion.rb +95 -0
- data/examples/v201101/delete_bulk_mutate_job.rb +96 -0
- data/examples/v201101/delete_campaign.rb +87 -0
- data/examples/v201101/delete_experiment.rb +87 -0
- data/examples/v201101/delete_user_list.rb +87 -0
- data/examples/v201101/download_mcc_report.rb +93 -0
- data/examples/v201101/download_report.rb +71 -0
- data/examples/v201101/get_account_hierarchy.rb +112 -0
- data/examples/v201101/get_ad_group_bid_landscape.rb +103 -0
- data/examples/v201101/get_all_account_changes.rb +146 -0
- data/examples/v201101/get_all_active_ad_group_criteria.rb +106 -0
- data/examples/v201101/get_all_ad_extension_overrides.rb +91 -0
- data/examples/v201101/get_all_ad_group_criteria.rb +97 -0
- data/examples/v201101/get_all_ad_groups.rb +94 -0
- data/examples/v201101/get_all_ad_params.rb +89 -0
- data/examples/v201101/get_all_ads.rb +99 -0
- data/examples/v201101/get_all_campaign_ad_extensions.rb +96 -0
- data/examples/v201101/get_all_campaign_targets.rb +83 -0
- data/examples/v201101/get_all_campaigns.rb +86 -0
- data/examples/v201101/get_all_disapproved_ads.rb +102 -0
- data/examples/v201101/get_all_experiments.rb +98 -0
- data/examples/v201101/get_all_images.rb +90 -0
- data/examples/v201101/get_all_paused_campaigns.rb +92 -0
- data/examples/v201101/get_all_report_definitions.rb +84 -0
- data/examples/v201101/get_all_user_lists.rb +87 -0
- data/examples/v201101/get_all_videos.rb +87 -0
- data/examples/v201101/get_bulk_mutate_job.rb +106 -0
- data/examples/v201101/get_campaign_alerts.rb +103 -0
- data/examples/v201101/get_conversion_optimizer_eligibility.rb +102 -0
- data/examples/v201101/get_criterion_bid_landscape.rb +102 -0
- data/examples/v201101/get_geo_location_info.rb +108 -0
- data/examples/v201101/get_method_cost.rb +96 -0
- data/examples/v201101/get_operation_count.rb +88 -0
- data/examples/v201101/get_related_keywords.rb +115 -0
- data/examples/v201101/get_related_placements.rb +114 -0
- data/examples/v201101/get_report_fields.rb +81 -0
- data/examples/v201101/get_total_usage_units_per_month.rb +83 -0
- data/examples/v201101/get_traffic_estimates.rb +157 -0
- data/examples/v201101/get_unit_count.rb +88 -0
- data/examples/v201101/handle_partial_failures.rb +135 -0
- data/examples/v201101/handle_policy_violation_error.rb +146 -0
- data/examples/v201101/perform_bulk_mutate_job.rb +221 -0
- data/examples/v201101/promote_experiment.rb +88 -0
- data/examples/v201101/set_ad_params.rb +124 -0
- data/examples/v201101/set_campaign_targets.rb +111 -0
- data/examples/v201101/update_ad.rb +95 -0
- data/examples/v201101/update_ad_group.rb +90 -0
- data/examples/v201101/update_ad_group_criterion.rb +108 -0
- data/examples/v201101/update_campaign.rb +93 -0
- data/examples/v201101/update_user_list.rb +91 -0
- data/examples/v201101/upload_image.rb +97 -0
- data/lib/adwords_api.rb +273 -0
- data/lib/adwords_api/api_config.rb +270 -0
- data/lib/adwords_api/auth/v13_login_handler.rb +36 -0
- data/lib/adwords_api/credential_handler.rb +111 -0
- data/lib/adwords_api/errors.rb +85 -0
- data/lib/adwords_api/extensions.rb +245 -0
- data/lib/adwords_api/soap4r_response_handler.rb +121 -0
- data/lib/adwords_api/utils.rb +80 -0
- data/lib/adwords_api/v13/AccountService.rb +321 -0
- data/lib/adwords_api/v13/AccountServiceDriver.rb +87 -0
- data/lib/adwords_api/v13/AccountServiceMappingRegistry.rb +337 -0
- data/lib/adwords_api/v13/AccountServiceWrapper.rb +407 -0
- data/lib/adwords_api/v13/ReportService.rb +328 -0
- data/lib/adwords_api/v13/ReportServiceDriver.rb +103 -0
- data/lib/adwords_api/v13/ReportServiceMappingRegistry.rb +298 -0
- data/lib/adwords_api/v13/ReportServiceWrapper.rb +500 -0
- data/lib/adwords_api/v13/TrafficEstimatorService.rb +414 -0
- data/lib/adwords_api/v13/TrafficEstimatorServiceDriver.rb +79 -0
- data/lib/adwords_api/v13/TrafficEstimatorServiceMappingRegistry.rb +491 -0
- data/lib/adwords_api/v13/TrafficEstimatorServiceWrapper.rb +402 -0
- data/lib/adwords_api/v200909/AdExtensionOverrideService.rb +1105 -0
- data/lib/adwords_api/v200909/AdExtensionOverrideServiceDriver.rb +63 -0
- data/lib/adwords_api/v200909/AdExtensionOverrideServiceMappingRegistry.rb +1265 -0
- data/lib/adwords_api/v200909/AdExtensionOverrideServiceWrapper.rb +332 -0
- data/lib/adwords_api/v200909/AdGroupAdService.rb +2603 -0
- data/lib/adwords_api/v200909/AdGroupAdServiceDriver.rb +63 -0
- data/lib/adwords_api/v200909/AdGroupAdServiceMappingRegistry.rb +2755 -0
- data/lib/adwords_api/v200909/AdGroupAdServiceWrapper.rb +332 -0
- data/lib/adwords_api/v200909/AdGroupCriterionService.rb +1577 -0
- data/lib/adwords_api/v200909/AdGroupCriterionServiceDriver.rb +63 -0
- data/lib/adwords_api/v200909/AdGroupCriterionServiceMappingRegistry.rb +1821 -0
- data/lib/adwords_api/v200909/AdGroupCriterionServiceWrapper.rb +332 -0
- data/lib/adwords_api/v200909/AdGroupService.rb +1251 -0
- data/lib/adwords_api/v200909/AdGroupServiceDriver.rb +63 -0
- data/lib/adwords_api/v200909/AdGroupServiceMappingRegistry.rb +1395 -0
- data/lib/adwords_api/v200909/AdGroupServiceWrapper.rb +332 -0
- data/lib/adwords_api/v200909/AdParamService.rb +765 -0
- data/lib/adwords_api/v200909/AdParamServiceDriver.rb +63 -0
- data/lib/adwords_api/v200909/AdParamServiceMappingRegistry.rb +927 -0
- data/lib/adwords_api/v200909/AdParamServiceWrapper.rb +332 -0
- data/lib/adwords_api/v200909/BulkMutateJobService.rb +4778 -0
- data/lib/adwords_api/v200909/BulkMutateJobServiceDriver.rb +63 -0
- data/lib/adwords_api/v200909/BulkMutateJobServiceMappingRegistry.rb +5077 -0
- data/lib/adwords_api/v200909/BulkMutateJobServiceWrapper.rb +332 -0
- data/lib/adwords_api/v200909/CampaignAdExtensionService.rb +1065 -0
- data/lib/adwords_api/v200909/CampaignAdExtensionServiceDriver.rb +63 -0
- data/lib/adwords_api/v200909/CampaignAdExtensionServiceMappingRegistry.rb +1273 -0
- data/lib/adwords_api/v200909/CampaignAdExtensionServiceWrapper.rb +332 -0
- data/lib/adwords_api/v200909/CampaignCriterionService.rb +1019 -0
- data/lib/adwords_api/v200909/CampaignCriterionServiceDriver.rb +63 -0
- data/lib/adwords_api/v200909/CampaignCriterionServiceMappingRegistry.rb +1237 -0
- data/lib/adwords_api/v200909/CampaignCriterionServiceWrapper.rb +332 -0
- data/lib/adwords_api/v200909/CampaignService.rb +1633 -0
- data/lib/adwords_api/v200909/CampaignServiceDriver.rb +63 -0
- data/lib/adwords_api/v200909/CampaignServiceMappingRegistry.rb +1785 -0
- data/lib/adwords_api/v200909/CampaignServiceWrapper.rb +332 -0
- data/lib/adwords_api/v200909/CampaignTargetService.rb +1435 -0
- data/lib/adwords_api/v200909/CampaignTargetServiceDriver.rb +63 -0
- data/lib/adwords_api/v200909/CampaignTargetServiceMappingRegistry.rb +1569 -0
- data/lib/adwords_api/v200909/CampaignTargetServiceWrapper.rb +332 -0
- data/lib/adwords_api/v200909/GeoLocationService.rb +611 -0
- data/lib/adwords_api/v200909/GeoLocationServiceDriver.rb +55 -0
- data/lib/adwords_api/v200909/GeoLocationServiceMappingRegistry.rb +771 -0
- data/lib/adwords_api/v200909/GeoLocationServiceWrapper.rb +303 -0
- data/lib/adwords_api/v200909/InfoService.rb +605 -0
- data/lib/adwords_api/v200909/InfoServiceDriver.rb +55 -0
- data/lib/adwords_api/v200909/InfoServiceMappingRegistry.rb +764 -0
- data/lib/adwords_api/v200909/InfoServiceWrapper.rb +303 -0
- data/lib/adwords_api/v200909/TargetingIdeaService.rb +2253 -0
- data/lib/adwords_api/v200909/TargetingIdeaServiceDriver.rb +63 -0
- data/lib/adwords_api/v200909/TargetingIdeaServiceMappingRegistry.rb +2688 -0
- data/lib/adwords_api/v200909/TargetingIdeaServiceWrapper.rb +335 -0
- data/lib/adwords_api/v201003/AdExtensionOverrideService.rb +1301 -0
- data/lib/adwords_api/v201003/AdExtensionOverrideServiceDriver.rb +63 -0
- data/lib/adwords_api/v201003/AdExtensionOverrideServiceMappingRegistry.rb +1468 -0
- data/lib/adwords_api/v201003/AdExtensionOverrideServiceWrapper.rb +332 -0
- data/lib/adwords_api/v201003/AdGroupAdService.rb +2909 -0
- data/lib/adwords_api/v201003/AdGroupAdServiceDriver.rb +63 -0
- data/lib/adwords_api/v201003/AdGroupAdServiceMappingRegistry.rb +2970 -0
- data/lib/adwords_api/v201003/AdGroupAdServiceWrapper.rb +332 -0
- data/lib/adwords_api/v201003/AdGroupCriterionService.rb +1762 -0
- data/lib/adwords_api/v201003/AdGroupCriterionServiceDriver.rb +63 -0
- data/lib/adwords_api/v201003/AdGroupCriterionServiceMappingRegistry.rb +1978 -0
- data/lib/adwords_api/v201003/AdGroupCriterionServiceWrapper.rb +332 -0
- data/lib/adwords_api/v201003/AdGroupService.rb +1421 -0
- data/lib/adwords_api/v201003/AdGroupServiceDriver.rb +63 -0
- data/lib/adwords_api/v201003/AdGroupServiceMappingRegistry.rb +1546 -0
- data/lib/adwords_api/v201003/AdGroupServiceWrapper.rb +332 -0
- data/lib/adwords_api/v201003/AdParamService.rb +859 -0
- data/lib/adwords_api/v201003/AdParamServiceDriver.rb +63 -0
- data/lib/adwords_api/v201003/AdParamServiceMappingRegistry.rb +1002 -0
- data/lib/adwords_api/v201003/AdParamServiceWrapper.rb +332 -0
- data/lib/adwords_api/v201003/BidLandscapeService.rb +847 -0
- data/lib/adwords_api/v201003/BidLandscapeServiceDriver.rb +55 -0
- data/lib/adwords_api/v201003/BidLandscapeServiceMappingRegistry.rb +958 -0
- data/lib/adwords_api/v201003/BidLandscapeServiceWrapper.rb +306 -0
- data/lib/adwords_api/v201003/BulkMutateJobService.rb +5401 -0
- data/lib/adwords_api/v201003/BulkMutateJobServiceDriver.rb +63 -0
- data/lib/adwords_api/v201003/BulkMutateJobServiceMappingRegistry.rb +5600 -0
- data/lib/adwords_api/v201003/BulkMutateJobServiceWrapper.rb +332 -0
- data/lib/adwords_api/v201003/CampaignAdExtensionService.rb +1255 -0
- data/lib/adwords_api/v201003/CampaignAdExtensionServiceDriver.rb +63 -0
- data/lib/adwords_api/v201003/CampaignAdExtensionServiceMappingRegistry.rb +1452 -0
- data/lib/adwords_api/v201003/CampaignAdExtensionServiceWrapper.rb +332 -0
- data/lib/adwords_api/v201003/CampaignCriterionService.rb +1145 -0
- data/lib/adwords_api/v201003/CampaignCriterionServiceDriver.rb +63 -0
- data/lib/adwords_api/v201003/CampaignCriterionServiceMappingRegistry.rb +1344 -0
- data/lib/adwords_api/v201003/CampaignCriterionServiceWrapper.rb +332 -0
- data/lib/adwords_api/v201003/CampaignService.rb +1901 -0
- data/lib/adwords_api/v201003/CampaignServiceDriver.rb +63 -0
- data/lib/adwords_api/v201003/CampaignServiceMappingRegistry.rb +2010 -0
- data/lib/adwords_api/v201003/CampaignServiceWrapper.rb +332 -0
- data/lib/adwords_api/v201003/CampaignTargetService.rb +1642 -0
- data/lib/adwords_api/v201003/CampaignTargetServiceDriver.rb +63 -0
- data/lib/adwords_api/v201003/CampaignTargetServiceMappingRegistry.rb +1754 -0
- data/lib/adwords_api/v201003/CampaignTargetServiceWrapper.rb +332 -0
- data/lib/adwords_api/v201003/GeoLocationService.rb +692 -0
- data/lib/adwords_api/v201003/GeoLocationServiceDriver.rb +55 -0
- data/lib/adwords_api/v201003/GeoLocationServiceMappingRegistry.rb +840 -0
- data/lib/adwords_api/v201003/GeoLocationServiceWrapper.rb +303 -0
- data/lib/adwords_api/v201003/InfoService.rb +687 -0
- data/lib/adwords_api/v201003/InfoServiceDriver.rb +55 -0
- data/lib/adwords_api/v201003/InfoServiceMappingRegistry.rb +833 -0
- data/lib/adwords_api/v201003/InfoServiceWrapper.rb +303 -0
- data/lib/adwords_api/v201003/MediaService.rb +1192 -0
- data/lib/adwords_api/v201003/MediaServiceDriver.rb +63 -0
- data/lib/adwords_api/v201003/MediaServiceMappingRegistry.rb +1290 -0
- data/lib/adwords_api/v201003/MediaServiceWrapper.rb +332 -0
- data/lib/adwords_api/v201003/ReportDefinitionService.rb +905 -0
- data/lib/adwords_api/v201003/ReportDefinitionServiceDriver.rb +71 -0
- data/lib/adwords_api/v201003/ReportDefinitionServiceMappingRegistry.rb +1036 -0
- data/lib/adwords_api/v201003/ReportDefinitionServiceWrapper.rb +378 -0
- data/lib/adwords_api/v201003/TargetingIdeaService.rb +2517 -0
- data/lib/adwords_api/v201003/TargetingIdeaServiceDriver.rb +63 -0
- data/lib/adwords_api/v201003/TargetingIdeaServiceMappingRegistry.rb +2925 -0
- data/lib/adwords_api/v201003/TargetingIdeaServiceWrapper.rb +335 -0
- data/lib/adwords_api/v201008/AdExtensionOverrideService.rb +1383 -0
- data/lib/adwords_api/v201008/AdExtensionOverrideServiceDriver.rb +63 -0
- data/lib/adwords_api/v201008/AdExtensionOverrideServiceMappingRegistry.rb +1563 -0
- data/lib/adwords_api/v201008/AdExtensionOverrideServiceWrapper.rb +332 -0
- data/lib/adwords_api/v201008/AdGroupAdService.rb +2928 -0
- data/lib/adwords_api/v201008/AdGroupAdServiceDriver.rb +63 -0
- data/lib/adwords_api/v201008/AdGroupAdServiceMappingRegistry.rb +2969 -0
- data/lib/adwords_api/v201008/AdGroupAdServiceWrapper.rb +332 -0
- data/lib/adwords_api/v201008/AdGroupCriterionService.rb +1981 -0
- data/lib/adwords_api/v201008/AdGroupCriterionServiceDriver.rb +63 -0
- data/lib/adwords_api/v201008/AdGroupCriterionServiceMappingRegistry.rb +2229 -0
- data/lib/adwords_api/v201008/AdGroupCriterionServiceWrapper.rb +332 -0
- data/lib/adwords_api/v201008/AdGroupService.rb +1548 -0
- data/lib/adwords_api/v201008/AdGroupServiceDriver.rb +63 -0
- data/lib/adwords_api/v201008/AdGroupServiceMappingRegistry.rb +1687 -0
- data/lib/adwords_api/v201008/AdGroupServiceWrapper.rb +332 -0
- data/lib/adwords_api/v201008/AdParamService.rb +889 -0
- data/lib/adwords_api/v201008/AdParamServiceDriver.rb +63 -0
- data/lib/adwords_api/v201008/AdParamServiceMappingRegistry.rb +1041 -0
- data/lib/adwords_api/v201008/AdParamServiceWrapper.rb +332 -0
- data/lib/adwords_api/v201008/AlertService.rb +743 -0
- data/lib/adwords_api/v201008/AlertServiceDriver.rb +55 -0
- data/lib/adwords_api/v201008/AlertServiceMappingRegistry.rb +836 -0
- data/lib/adwords_api/v201008/AlertServiceWrapper.rb +303 -0
- data/lib/adwords_api/v201008/BidLandscapeService.rb +928 -0
- data/lib/adwords_api/v201008/BidLandscapeServiceDriver.rb +55 -0
- data/lib/adwords_api/v201008/BidLandscapeServiceMappingRegistry.rb +1059 -0
- data/lib/adwords_api/v201008/BidLandscapeServiceWrapper.rb +306 -0
- data/lib/adwords_api/v201008/BulkMutateJobService.rb +6063 -0
- data/lib/adwords_api/v201008/BulkMutateJobServiceDriver.rb +63 -0
- data/lib/adwords_api/v201008/BulkMutateJobServiceMappingRegistry.rb +6265 -0
- data/lib/adwords_api/v201008/BulkMutateJobServiceWrapper.rb +332 -0
- data/lib/adwords_api/v201008/CampaignAdExtensionService.rb +1594 -0
- data/lib/adwords_api/v201008/CampaignAdExtensionServiceDriver.rb +63 -0
- data/lib/adwords_api/v201008/CampaignAdExtensionServiceMappingRegistry.rb +1789 -0
- data/lib/adwords_api/v201008/CampaignAdExtensionServiceWrapper.rb +332 -0
- data/lib/adwords_api/v201008/CampaignCriterionService.rb +1243 -0
- data/lib/adwords_api/v201008/CampaignCriterionServiceDriver.rb +63 -0
- data/lib/adwords_api/v201008/CampaignCriterionServiceMappingRegistry.rb +1467 -0
- data/lib/adwords_api/v201008/CampaignCriterionServiceWrapper.rb +332 -0
- data/lib/adwords_api/v201008/CampaignService.rb +1979 -0
- data/lib/adwords_api/v201008/CampaignServiceDriver.rb +63 -0
- data/lib/adwords_api/v201008/CampaignServiceMappingRegistry.rb +2089 -0
- data/lib/adwords_api/v201008/CampaignServiceWrapper.rb +332 -0
- data/lib/adwords_api/v201008/CampaignTargetService.rb +1651 -0
- data/lib/adwords_api/v201008/CampaignTargetServiceDriver.rb +63 -0
- data/lib/adwords_api/v201008/CampaignTargetServiceMappingRegistry.rb +1757 -0
- data/lib/adwords_api/v201008/CampaignTargetServiceWrapper.rb +332 -0
- data/lib/adwords_api/v201008/CustomerSyncService.rb +693 -0
- data/lib/adwords_api/v201008/CustomerSyncServiceDriver.rb +55 -0
- data/lib/adwords_api/v201008/CustomerSyncServiceMappingRegistry.rb +820 -0
- data/lib/adwords_api/v201008/CustomerSyncServiceWrapper.rb +303 -0
- data/lib/adwords_api/v201008/ExperimentService.rb +1124 -0
- data/lib/adwords_api/v201008/ExperimentServiceDriver.rb +63 -0
- data/lib/adwords_api/v201008/ExperimentServiceMappingRegistry.rb +1281 -0
- data/lib/adwords_api/v201008/ExperimentServiceWrapper.rb +332 -0
- data/lib/adwords_api/v201008/GeoLocationService.rb +695 -0
- data/lib/adwords_api/v201008/GeoLocationServiceDriver.rb +55 -0
- data/lib/adwords_api/v201008/GeoLocationServiceMappingRegistry.rb +843 -0
- data/lib/adwords_api/v201008/GeoLocationServiceWrapper.rb +303 -0
- data/lib/adwords_api/v201008/InfoService.rb +690 -0
- data/lib/adwords_api/v201008/InfoServiceDriver.rb +55 -0
- data/lib/adwords_api/v201008/InfoServiceMappingRegistry.rb +836 -0
- data/lib/adwords_api/v201008/InfoServiceWrapper.rb +303 -0
- data/lib/adwords_api/v201008/MediaService.rb +1144 -0
- data/lib/adwords_api/v201008/MediaServiceDriver.rb +63 -0
- data/lib/adwords_api/v201008/MediaServiceMappingRegistry.rb +1241 -0
- data/lib/adwords_api/v201008/MediaServiceWrapper.rb +332 -0
- data/lib/adwords_api/v201008/ReportDefinitionService.rb +976 -0
- data/lib/adwords_api/v201008/ReportDefinitionServiceDriver.rb +71 -0
- data/lib/adwords_api/v201008/ReportDefinitionServiceMappingRegistry.rb +1115 -0
- data/lib/adwords_api/v201008/ReportDefinitionServiceWrapper.rb +378 -0
- data/lib/adwords_api/v201008/ServicedAccountService.rb +630 -0
- data/lib/adwords_api/v201008/ServicedAccountServiceDriver.rb +55 -0
- data/lib/adwords_api/v201008/ServicedAccountServiceMappingRegistry.rb +752 -0
- data/lib/adwords_api/v201008/ServicedAccountServiceWrapper.rb +303 -0
- data/lib/adwords_api/v201008/TargetingIdeaService.rb +2645 -0
- data/lib/adwords_api/v201008/TargetingIdeaServiceDriver.rb +63 -0
- data/lib/adwords_api/v201008/TargetingIdeaServiceMappingRegistry.rb +3080 -0
- data/lib/adwords_api/v201008/TargetingIdeaServiceWrapper.rb +335 -0
- data/lib/adwords_api/v201008/TrafficEstimatorService.rb +1833 -0
- data/lib/adwords_api/v201008/TrafficEstimatorServiceDriver.rb +55 -0
- data/lib/adwords_api/v201008/TrafficEstimatorServiceMappingRegistry.rb +2124 -0
- data/lib/adwords_api/v201008/TrafficEstimatorServiceWrapper.rb +303 -0
- data/lib/adwords_api/v201008/UserListService.rb +846 -0
- data/lib/adwords_api/v201008/UserListServiceDriver.rb +63 -0
- data/lib/adwords_api/v201008/UserListServiceMappingRegistry.rb +915 -0
- data/lib/adwords_api/v201008/UserListServiceWrapper.rb +332 -0
- data/lib/adwords_api/v201101/AdExtensionOverrideService.rb +1399 -0
- data/lib/adwords_api/v201101/AdExtensionOverrideServiceDriver.rb +63 -0
- data/lib/adwords_api/v201101/AdExtensionOverrideServiceMappingRegistry.rb +1573 -0
- data/lib/adwords_api/v201101/AdExtensionOverrideServiceWrapper.rb +332 -0
- data/lib/adwords_api/v201101/AdGroupAdService.rb +2585 -0
- data/lib/adwords_api/v201101/AdGroupAdServiceDriver.rb +63 -0
- data/lib/adwords_api/v201101/AdGroupAdServiceMappingRegistry.rb +2583 -0
- data/lib/adwords_api/v201101/AdGroupAdServiceWrapper.rb +332 -0
- data/lib/adwords_api/v201101/AdGroupCriterionService.rb +2099 -0
- data/lib/adwords_api/v201101/AdGroupCriterionServiceDriver.rb +63 -0
- data/lib/adwords_api/v201101/AdGroupCriterionServiceMappingRegistry.rb +2327 -0
- data/lib/adwords_api/v201101/AdGroupCriterionServiceWrapper.rb +332 -0
- data/lib/adwords_api/v201101/AdGroupService.rb +1610 -0
- data/lib/adwords_api/v201101/AdGroupServiceDriver.rb +63 -0
- data/lib/adwords_api/v201101/AdGroupServiceMappingRegistry.rb +1765 -0
- data/lib/adwords_api/v201101/AdGroupServiceWrapper.rb +332 -0
- data/lib/adwords_api/v201101/AdParamService.rb +922 -0
- data/lib/adwords_api/v201101/AdParamServiceDriver.rb +63 -0
- data/lib/adwords_api/v201101/AdParamServiceMappingRegistry.rb +1077 -0
- data/lib/adwords_api/v201101/AdParamServiceWrapper.rb +332 -0
- data/lib/adwords_api/v201101/AlertService.rb +747 -0
- data/lib/adwords_api/v201101/AlertServiceDriver.rb +55 -0
- data/lib/adwords_api/v201101/AlertServiceMappingRegistry.rb +838 -0
- data/lib/adwords_api/v201101/AlertServiceWrapper.rb +303 -0
- data/lib/adwords_api/v201101/BulkMutateJobService.rb +6208 -0
- data/lib/adwords_api/v201101/BulkMutateJobServiceDriver.rb +63 -0
- data/lib/adwords_api/v201101/BulkMutateJobServiceMappingRegistry.rb +6433 -0
- data/lib/adwords_api/v201101/BulkMutateJobServiceWrapper.rb +332 -0
- data/lib/adwords_api/v201101/CampaignAdExtensionService.rb +1677 -0
- data/lib/adwords_api/v201101/CampaignAdExtensionServiceDriver.rb +63 -0
- data/lib/adwords_api/v201101/CampaignAdExtensionServiceMappingRegistry.rb +1855 -0
- data/lib/adwords_api/v201101/CampaignAdExtensionServiceWrapper.rb +332 -0
- data/lib/adwords_api/v201101/CampaignCriterionService.rb +1388 -0
- data/lib/adwords_api/v201101/CampaignCriterionServiceDriver.rb +63 -0
- data/lib/adwords_api/v201101/CampaignCriterionServiceMappingRegistry.rb +1601 -0
- data/lib/adwords_api/v201101/CampaignCriterionServiceWrapper.rb +332 -0
- data/lib/adwords_api/v201101/CampaignService.rb +2188 -0
- data/lib/adwords_api/v201101/CampaignServiceDriver.rb +63 -0
- data/lib/adwords_api/v201101/CampaignServiceMappingRegistry.rb +2301 -0
- data/lib/adwords_api/v201101/CampaignServiceWrapper.rb +332 -0
- data/lib/adwords_api/v201101/CampaignTargetService.rb +1629 -0
- data/lib/adwords_api/v201101/CampaignTargetServiceDriver.rb +63 -0
- data/lib/adwords_api/v201101/CampaignTargetServiceMappingRegistry.rb +1725 -0
- data/lib/adwords_api/v201101/CampaignTargetServiceWrapper.rb +332 -0
- data/lib/adwords_api/v201101/CustomerSyncService.rb +694 -0
- data/lib/adwords_api/v201101/CustomerSyncServiceDriver.rb +55 -0
- data/lib/adwords_api/v201101/CustomerSyncServiceMappingRegistry.rb +820 -0
- data/lib/adwords_api/v201101/CustomerSyncServiceWrapper.rb +303 -0
- data/lib/adwords_api/v201101/DataService.rb +1079 -0
- data/lib/adwords_api/v201101/DataServiceDriver.rb +63 -0
- data/lib/adwords_api/v201101/DataServiceMappingRegistry.rb +1177 -0
- data/lib/adwords_api/v201101/DataServiceWrapper.rb +338 -0
- data/lib/adwords_api/v201101/ExperimentService.rb +1256 -0
- data/lib/adwords_api/v201101/ExperimentServiceDriver.rb +63 -0
- data/lib/adwords_api/v201101/ExperimentServiceMappingRegistry.rb +1417 -0
- data/lib/adwords_api/v201101/ExperimentServiceWrapper.rb +332 -0
- data/lib/adwords_api/v201101/GeoLocationService.rb +695 -0
- data/lib/adwords_api/v201101/GeoLocationServiceDriver.rb +55 -0
- data/lib/adwords_api/v201101/GeoLocationServiceMappingRegistry.rb +843 -0
- data/lib/adwords_api/v201101/GeoLocationServiceWrapper.rb +303 -0
- data/lib/adwords_api/v201101/InfoService.rb +690 -0
- data/lib/adwords_api/v201101/InfoServiceDriver.rb +55 -0
- data/lib/adwords_api/v201101/InfoServiceMappingRegistry.rb +836 -0
- data/lib/adwords_api/v201101/InfoServiceWrapper.rb +303 -0
- data/lib/adwords_api/v201101/MediaService.rb +1247 -0
- data/lib/adwords_api/v201101/MediaServiceDriver.rb +63 -0
- data/lib/adwords_api/v201101/MediaServiceMappingRegistry.rb +1357 -0
- data/lib/adwords_api/v201101/MediaServiceWrapper.rb +332 -0
- data/lib/adwords_api/v201101/ReportDefinitionService.rb +1121 -0
- data/lib/adwords_api/v201101/ReportDefinitionServiceDriver.rb +71 -0
- data/lib/adwords_api/v201101/ReportDefinitionServiceMappingRegistry.rb +1263 -0
- data/lib/adwords_api/v201101/ReportDefinitionServiceWrapper.rb +364 -0
- data/lib/adwords_api/v201101/ServicedAccountService.rb +636 -0
- data/lib/adwords_api/v201101/ServicedAccountServiceDriver.rb +55 -0
- data/lib/adwords_api/v201101/ServicedAccountServiceMappingRegistry.rb +756 -0
- data/lib/adwords_api/v201101/ServicedAccountServiceWrapper.rb +303 -0
- data/lib/adwords_api/v201101/TargetingIdeaService.rb +2827 -0
- data/lib/adwords_api/v201101/TargetingIdeaServiceDriver.rb +63 -0
- data/lib/adwords_api/v201101/TargetingIdeaServiceMappingRegistry.rb +3262 -0
- data/lib/adwords_api/v201101/TargetingIdeaServiceWrapper.rb +335 -0
- data/lib/adwords_api/v201101/TrafficEstimatorService.rb +1839 -0
- data/lib/adwords_api/v201101/TrafficEstimatorServiceDriver.rb +55 -0
- data/lib/adwords_api/v201101/TrafficEstimatorServiceMappingRegistry.rb +2128 -0
- data/lib/adwords_api/v201101/TrafficEstimatorServiceWrapper.rb +303 -0
- data/lib/adwords_api/v201101/UserListService.rb +1206 -0
- data/lib/adwords_api/v201101/UserListServiceDriver.rb +63 -0
- data/lib/adwords_api/v201101/UserListServiceMappingRegistry.rb +1323 -0
- data/lib/adwords_api/v201101/UserListServiceWrapper.rb +332 -0
- metadata +649 -0
@@ -0,0 +1,332 @@
|
|
1
|
+
# This file was automatically generated during the "rake generate" step of
|
2
|
+
# library setup.
|
3
|
+
require 'adwords_api/v201008/AdGroupAdServiceDriver.rb'
|
4
|
+
|
5
|
+
module AdwordsApi
|
6
|
+
module V201008
|
7
|
+
module AdGroupAdService
|
8
|
+
|
9
|
+
# Wrapper class for the v201008 AdGroupAdService service.
|
10
|
+
# This class is automatically generated.
|
11
|
+
class AdGroupAdServiceWrapper
|
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::V201008::AdGroupAdService::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/cm/v201008'
|
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::V201008::AdGroupAdService::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 AdGroupAdServiceWrapper.
|
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::V201008::AdGroupAdService
|
51
|
+
@version = :v201008
|
52
|
+
@service = :AdGroupAdService
|
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')
|
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::V201008::\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')
|
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/v201008/AdGroupAdService.html#get] method of the AdGroupAdService service.
|
272
|
+
# Check {the online documentation for this method}[http://code.google.com/apis/adwords/docs/reference/v201008/AdGroupAdService.html#get].
|
273
|
+
#
|
274
|
+
# Args:
|
275
|
+
# - selector: AdwordsApi::V201008::AdGroupAdService::AdGroupAdSelector
|
276
|
+
#
|
277
|
+
# Returns:
|
278
|
+
# - rval: AdwordsApi::V201008::AdGroupAdService::AdGroupAdPage
|
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::V201008::AdGroupAdService::AdGroupAdSelector)
|
287
|
+
arg_array << convert_to_object(selector, AdwordsApi::V201008::AdGroupAdService::Get,
|
288
|
+
'selector')
|
289
|
+
# Construct request object and make API call
|
290
|
+
obj = AdwordsApi::V201008::AdGroupAdService::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
|
+
# Calls the {mutate}[http://code.google.com/apis/adwords/docs/reference/v201008/AdGroupAdService.html#mutate] method of the AdGroupAdService service.
|
301
|
+
# Check {the online documentation for this method}[http://code.google.com/apis/adwords/docs/reference/v201008/AdGroupAdService.html#mutate].
|
302
|
+
#
|
303
|
+
# Args:
|
304
|
+
# - operations: SOAP::SOAPArray of AdwordsApi::V201008::AdGroupAdService::AdGroupAdOperation
|
305
|
+
#
|
306
|
+
# Returns:
|
307
|
+
# - rval: AdwordsApi::V201008::AdGroupAdService::AdGroupAdReturnValue
|
308
|
+
#
|
309
|
+
# Raises:
|
310
|
+
# Error::ApiError (or a subclass thereof) if a SOAP fault occurs.
|
311
|
+
#
|
312
|
+
def mutate(operations)
|
313
|
+
begin
|
314
|
+
arg_array = []
|
315
|
+
validate_object(operations, SOAP::SOAPArray)
|
316
|
+
arg_array << convert_to_object(operations, AdwordsApi::V201008::AdGroupAdService::Mutate,
|
317
|
+
'operations')
|
318
|
+
# Construct request object and make API call
|
319
|
+
obj = AdwordsApi::V201008::AdGroupAdService::Mutate.new(*arg_array)
|
320
|
+
reply = convert_from_object(@driver.mutate(obj))
|
321
|
+
reply = reply[:rval] if reply.include?(:rval)
|
322
|
+
return reply
|
323
|
+
rescue SOAP::FaultError => fault
|
324
|
+
raise AdwordsApi::Errors.create_api_exception(fault,
|
325
|
+
self)
|
326
|
+
end
|
327
|
+
end
|
328
|
+
|
329
|
+
end
|
330
|
+
end
|
331
|
+
end
|
332
|
+
end
|
@@ -0,0 +1,1981 @@
|
|
1
|
+
require 'xsd/qname'
|
2
|
+
|
3
|
+
module AdwordsApi; module V201008; module AdGroupCriterionService
|
4
|
+
|
5
|
+
|
6
|
+
# AdGroupCriterionIdFilter
|
7
|
+
# - campaignId - SOAP::SOAPLong
|
8
|
+
# - adGroupId - SOAP::SOAPLong
|
9
|
+
# - criterionId - SOAP::SOAPLong
|
10
|
+
class AdGroupCriterionIdFilter
|
11
|
+
attr_accessor :campaignId
|
12
|
+
attr_accessor :adGroupId
|
13
|
+
attr_accessor :criterionId
|
14
|
+
|
15
|
+
def initialize(campaignId = nil, adGroupId = nil, criterionId = nil)
|
16
|
+
@campaignId = campaignId
|
17
|
+
@adGroupId = adGroupId
|
18
|
+
@criterionId = criterionId
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
# DateRange
|
23
|
+
# - min - SOAP::SOAPString
|
24
|
+
# - max - SOAP::SOAPString
|
25
|
+
class DateRange
|
26
|
+
attr_accessor :min
|
27
|
+
attr_accessor :max
|
28
|
+
|
29
|
+
def initialize(min = nil, max = nil)
|
30
|
+
@min = min
|
31
|
+
@max = max
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# Paging
|
36
|
+
# - startIndex - SOAP::SOAPInt
|
37
|
+
# - numberResults - SOAP::SOAPInt
|
38
|
+
class Paging
|
39
|
+
attr_accessor :startIndex
|
40
|
+
attr_accessor :numberResults
|
41
|
+
|
42
|
+
def initialize(startIndex = nil, numberResults = nil)
|
43
|
+
@startIndex = startIndex
|
44
|
+
@numberResults = numberResults
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
# PolicyViolationError.Part
|
49
|
+
# - index - SOAP::SOAPInt
|
50
|
+
# - length - SOAP::SOAPInt
|
51
|
+
class PolicyViolationErrorPart
|
52
|
+
attr_accessor :index
|
53
|
+
attr_accessor :length
|
54
|
+
|
55
|
+
def initialize(index = nil, length = nil)
|
56
|
+
@index = index
|
57
|
+
@length = length
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
61
|
+
# PolicyViolationKey
|
62
|
+
# - policyName - SOAP::SOAPString
|
63
|
+
# - violatingText - SOAP::SOAPString
|
64
|
+
class PolicyViolationKey
|
65
|
+
attr_accessor :policyName
|
66
|
+
attr_accessor :violatingText
|
67
|
+
|
68
|
+
def initialize(policyName = nil, violatingText = nil)
|
69
|
+
@policyName = policyName
|
70
|
+
@violatingText = violatingText
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
74
|
+
# ProductConditionOperand
|
75
|
+
# - operand - SOAP::SOAPString
|
76
|
+
class ProductConditionOperand
|
77
|
+
attr_accessor :operand
|
78
|
+
|
79
|
+
def initialize(operand = nil)
|
80
|
+
@operand = operand
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
84
|
+
# QualityInfo
|
85
|
+
# - isKeywordAdRelevanceAcceptable - SOAP::SOAPBoolean
|
86
|
+
# - isLandingPageQualityAcceptable - SOAP::SOAPBoolean
|
87
|
+
# - isLandingPageLatencyAcceptable - SOAP::SOAPBoolean
|
88
|
+
# - qualityScore - SOAP::SOAPInt
|
89
|
+
class QualityInfo
|
90
|
+
attr_accessor :isKeywordAdRelevanceAcceptable
|
91
|
+
attr_accessor :isLandingPageQualityAcceptable
|
92
|
+
attr_accessor :isLandingPageLatencyAcceptable
|
93
|
+
attr_accessor :qualityScore
|
94
|
+
|
95
|
+
def initialize(isKeywordAdRelevanceAcceptable = nil, isLandingPageQualityAcceptable = nil, isLandingPageLatencyAcceptable = nil, qualityScore = nil)
|
96
|
+
@isKeywordAdRelevanceAcceptable = isKeywordAdRelevanceAcceptable
|
97
|
+
@isLandingPageQualityAcceptable = isLandingPageQualityAcceptable
|
98
|
+
@isLandingPageLatencyAcceptable = isLandingPageLatencyAcceptable
|
99
|
+
@qualityScore = qualityScore
|
100
|
+
end
|
101
|
+
end
|
102
|
+
|
103
|
+
# SoapHeader
|
104
|
+
# - authToken - SOAP::SOAPString
|
105
|
+
# - clientCustomerId - SOAP::SOAPString
|
106
|
+
# - clientEmail - SOAP::SOAPString
|
107
|
+
# - developerToken - SOAP::SOAPString
|
108
|
+
# - userAgent - SOAP::SOAPString
|
109
|
+
# - validateOnly - SOAP::SOAPBoolean
|
110
|
+
# - partialFailure - SOAP::SOAPBoolean
|
111
|
+
class SoapHeader
|
112
|
+
attr_accessor :authToken
|
113
|
+
attr_accessor :clientCustomerId
|
114
|
+
attr_accessor :clientEmail
|
115
|
+
attr_accessor :developerToken
|
116
|
+
attr_accessor :userAgent
|
117
|
+
attr_accessor :validateOnly
|
118
|
+
attr_accessor :partialFailure
|
119
|
+
|
120
|
+
def initialize(authToken = nil, clientCustomerId = nil, clientEmail = nil, developerToken = nil, userAgent = nil, validateOnly = nil, partialFailure = nil)
|
121
|
+
@authToken = authToken
|
122
|
+
@clientCustomerId = clientCustomerId
|
123
|
+
@clientEmail = clientEmail
|
124
|
+
@developerToken = developerToken
|
125
|
+
@userAgent = userAgent
|
126
|
+
@validateOnly = validateOnly
|
127
|
+
@partialFailure = partialFailure
|
128
|
+
end
|
129
|
+
end
|
130
|
+
|
131
|
+
# SoapResponseHeader
|
132
|
+
# - requestId - SOAP::SOAPString
|
133
|
+
# - operations - SOAP::SOAPLong
|
134
|
+
# - responseTime - SOAP::SOAPLong
|
135
|
+
# - units - SOAP::SOAPLong
|
136
|
+
class SoapResponseHeader
|
137
|
+
attr_accessor :requestId
|
138
|
+
attr_accessor :operations
|
139
|
+
attr_accessor :responseTime
|
140
|
+
attr_accessor :units
|
141
|
+
|
142
|
+
def initialize(requestId = nil, operations = nil, responseTime = nil, units = nil)
|
143
|
+
@requestId = requestId
|
144
|
+
@operations = operations
|
145
|
+
@responseTime = responseTime
|
146
|
+
@units = units
|
147
|
+
end
|
148
|
+
end
|
149
|
+
|
150
|
+
# StatsSelector
|
151
|
+
# - dateRange - AdwordsApi::V201008::AdGroupCriterionService::DateRange
|
152
|
+
# - statsSelector_Type - SOAP::SOAPString
|
153
|
+
class StatsSelector
|
154
|
+
attr_accessor :dateRange
|
155
|
+
attr_accessor :statsSelector_Type
|
156
|
+
|
157
|
+
def initialize(dateRange = nil, statsSelector_Type = nil)
|
158
|
+
@dateRange = dateRange
|
159
|
+
@statsSelector_Type = statsSelector_Type
|
160
|
+
end
|
161
|
+
end
|
162
|
+
|
163
|
+
# ComparableValue
|
164
|
+
# abstract
|
165
|
+
# - comparableValue_Type - SOAP::SOAPString
|
166
|
+
class ComparableValue
|
167
|
+
attr_accessor :comparableValue_Type
|
168
|
+
|
169
|
+
def initialize(comparableValue_Type = nil)
|
170
|
+
@comparableValue_Type = comparableValue_Type
|
171
|
+
end
|
172
|
+
end
|
173
|
+
|
174
|
+
# Money
|
175
|
+
# - comparableValue_Type - SOAP::SOAPString
|
176
|
+
# - microAmount - SOAP::SOAPLong
|
177
|
+
class Money < ComparableValue
|
178
|
+
attr_accessor :comparableValue_Type
|
179
|
+
attr_accessor :microAmount
|
180
|
+
|
181
|
+
def initialize(comparableValue_Type = nil, microAmount = nil)
|
182
|
+
@comparableValue_Type = comparableValue_Type
|
183
|
+
@microAmount = microAmount
|
184
|
+
end
|
185
|
+
end
|
186
|
+
|
187
|
+
# NumberValue
|
188
|
+
# abstract
|
189
|
+
# - comparableValue_Type - SOAP::SOAPString
|
190
|
+
class NumberValue < ComparableValue
|
191
|
+
attr_accessor :comparableValue_Type
|
192
|
+
|
193
|
+
def initialize(comparableValue_Type = nil)
|
194
|
+
@comparableValue_Type = comparableValue_Type
|
195
|
+
end
|
196
|
+
end
|
197
|
+
|
198
|
+
# DoubleValue
|
199
|
+
# - comparableValue_Type - SOAP::SOAPString
|
200
|
+
# - number - SOAP::SOAPDouble
|
201
|
+
class DoubleValue < NumberValue
|
202
|
+
attr_accessor :comparableValue_Type
|
203
|
+
attr_accessor :number
|
204
|
+
|
205
|
+
def initialize(comparableValue_Type = nil, number = nil)
|
206
|
+
@comparableValue_Type = comparableValue_Type
|
207
|
+
@number = number
|
208
|
+
end
|
209
|
+
end
|
210
|
+
|
211
|
+
# LongValue
|
212
|
+
# - comparableValue_Type - SOAP::SOAPString
|
213
|
+
# - number - SOAP::SOAPLong
|
214
|
+
class LongValue < NumberValue
|
215
|
+
attr_accessor :comparableValue_Type
|
216
|
+
attr_accessor :number
|
217
|
+
|
218
|
+
def initialize(comparableValue_Type = nil, number = nil)
|
219
|
+
@comparableValue_Type = comparableValue_Type
|
220
|
+
@number = number
|
221
|
+
end
|
222
|
+
end
|
223
|
+
|
224
|
+
# ExemptionRequest
|
225
|
+
# - key - AdwordsApi::V201008::AdGroupCriterionService::PolicyViolationKey
|
226
|
+
class ExemptionRequest
|
227
|
+
attr_accessor :key
|
228
|
+
|
229
|
+
def initialize(key = nil)
|
230
|
+
@key = key
|
231
|
+
end
|
232
|
+
end
|
233
|
+
|
234
|
+
# ProductCondition
|
235
|
+
# - argument - SOAP::SOAPString
|
236
|
+
# - operand - AdwordsApi::V201008::AdGroupCriterionService::ProductConditionOperand
|
237
|
+
class ProductCondition
|
238
|
+
attr_accessor :argument
|
239
|
+
attr_accessor :operand
|
240
|
+
|
241
|
+
def initialize(argument = nil, operand = nil)
|
242
|
+
@argument = argument
|
243
|
+
@operand = operand
|
244
|
+
end
|
245
|
+
end
|
246
|
+
|
247
|
+
# Stats
|
248
|
+
# - startDate - SOAP::SOAPString
|
249
|
+
# - endDate - SOAP::SOAPString
|
250
|
+
# - network - AdwordsApi::V201008::AdGroupCriterionService::StatsNetwork
|
251
|
+
# - clicks - SOAP::SOAPLong
|
252
|
+
# - impressions - SOAP::SOAPLong
|
253
|
+
# - cost - AdwordsApi::V201008::AdGroupCriterionService::Money
|
254
|
+
# - averagePosition - SOAP::SOAPDouble
|
255
|
+
# - averageCpc - AdwordsApi::V201008::AdGroupCriterionService::Money
|
256
|
+
# - averageCpm - AdwordsApi::V201008::AdGroupCriterionService::Money
|
257
|
+
# - ctr - SOAP::SOAPDouble
|
258
|
+
# - conversions - SOAP::SOAPLong
|
259
|
+
# - conversionRate - SOAP::SOAPDouble
|
260
|
+
# - costPerConversion - AdwordsApi::V201008::AdGroupCriterionService::Money
|
261
|
+
# - conversionsManyPerClick - SOAP::SOAPLong
|
262
|
+
# - conversionRateManyPerClick - SOAP::SOAPDouble
|
263
|
+
# - costPerConversionManyPerClick - AdwordsApi::V201008::AdGroupCriterionService::Money
|
264
|
+
# - viewThroughConversions - SOAP::SOAPLong
|
265
|
+
# - totalConvValue - SOAP::SOAPLong
|
266
|
+
# - valuePerConv - SOAP::SOAPDouble
|
267
|
+
# - valuePerConvManyPerClick - SOAP::SOAPDouble
|
268
|
+
# - stats_Type - SOAP::SOAPString
|
269
|
+
class Stats
|
270
|
+
attr_accessor :startDate
|
271
|
+
attr_accessor :endDate
|
272
|
+
attr_accessor :network
|
273
|
+
attr_accessor :clicks
|
274
|
+
attr_accessor :impressions
|
275
|
+
attr_accessor :cost
|
276
|
+
attr_accessor :averagePosition
|
277
|
+
attr_accessor :averageCpc
|
278
|
+
attr_accessor :averageCpm
|
279
|
+
attr_accessor :ctr
|
280
|
+
attr_accessor :conversions
|
281
|
+
attr_accessor :conversionRate
|
282
|
+
attr_accessor :costPerConversion
|
283
|
+
attr_accessor :conversionsManyPerClick
|
284
|
+
attr_accessor :conversionRateManyPerClick
|
285
|
+
attr_accessor :costPerConversionManyPerClick
|
286
|
+
attr_accessor :viewThroughConversions
|
287
|
+
attr_accessor :totalConvValue
|
288
|
+
attr_accessor :valuePerConv
|
289
|
+
attr_accessor :valuePerConvManyPerClick
|
290
|
+
attr_accessor :stats_Type
|
291
|
+
|
292
|
+
def initialize(startDate = nil, endDate = nil, network = nil, clicks = nil, impressions = nil, cost = nil, averagePosition = nil, averageCpc = nil, averageCpm = nil, ctr = nil, conversions = nil, conversionRate = nil, costPerConversion = nil, conversionsManyPerClick = nil, conversionRateManyPerClick = nil, costPerConversionManyPerClick = nil, viewThroughConversions = nil, totalConvValue = nil, valuePerConv = nil, valuePerConvManyPerClick = nil, stats_Type = nil)
|
293
|
+
@startDate = startDate
|
294
|
+
@endDate = endDate
|
295
|
+
@network = network
|
296
|
+
@clicks = clicks
|
297
|
+
@impressions = impressions
|
298
|
+
@cost = cost
|
299
|
+
@averagePosition = averagePosition
|
300
|
+
@averageCpc = averageCpc
|
301
|
+
@averageCpm = averageCpm
|
302
|
+
@ctr = ctr
|
303
|
+
@conversions = conversions
|
304
|
+
@conversionRate = conversionRate
|
305
|
+
@costPerConversion = costPerConversion
|
306
|
+
@conversionsManyPerClick = conversionsManyPerClick
|
307
|
+
@conversionRateManyPerClick = conversionRateManyPerClick
|
308
|
+
@costPerConversionManyPerClick = costPerConversionManyPerClick
|
309
|
+
@viewThroughConversions = viewThroughConversions
|
310
|
+
@totalConvValue = totalConvValue
|
311
|
+
@valuePerConv = valuePerConv
|
312
|
+
@valuePerConvManyPerClick = valuePerConvManyPerClick
|
313
|
+
@stats_Type = stats_Type
|
314
|
+
end
|
315
|
+
end
|
316
|
+
|
317
|
+
# ApiError
|
318
|
+
# abstract
|
319
|
+
# - fieldPath - SOAP::SOAPString
|
320
|
+
# - trigger - SOAP::SOAPString
|
321
|
+
# - errorString - SOAP::SOAPString
|
322
|
+
# - apiError_Type - SOAP::SOAPString
|
323
|
+
class ApiError
|
324
|
+
attr_accessor :fieldPath
|
325
|
+
attr_accessor :trigger
|
326
|
+
attr_accessor :errorString
|
327
|
+
attr_accessor :apiError_Type
|
328
|
+
|
329
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil)
|
330
|
+
@fieldPath = fieldPath
|
331
|
+
@trigger = trigger
|
332
|
+
@errorString = errorString
|
333
|
+
@apiError_Type = apiError_Type
|
334
|
+
end
|
335
|
+
end
|
336
|
+
|
337
|
+
# AdGroupCriterionError
|
338
|
+
# - fieldPath - SOAP::SOAPString
|
339
|
+
# - trigger - SOAP::SOAPString
|
340
|
+
# - errorString - SOAP::SOAPString
|
341
|
+
# - apiError_Type - SOAP::SOAPString
|
342
|
+
# - reason - AdwordsApi::V201008::AdGroupCriterionService::AdGroupCriterionErrorReason
|
343
|
+
class AdGroupCriterionError < ApiError
|
344
|
+
attr_accessor :fieldPath
|
345
|
+
attr_accessor :trigger
|
346
|
+
attr_accessor :errorString
|
347
|
+
attr_accessor :apiError_Type
|
348
|
+
attr_accessor :reason
|
349
|
+
|
350
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
351
|
+
@fieldPath = fieldPath
|
352
|
+
@trigger = trigger
|
353
|
+
@errorString = errorString
|
354
|
+
@apiError_Type = apiError_Type
|
355
|
+
@reason = reason
|
356
|
+
end
|
357
|
+
end
|
358
|
+
|
359
|
+
# AuthenticationError
|
360
|
+
# - fieldPath - SOAP::SOAPString
|
361
|
+
# - trigger - SOAP::SOAPString
|
362
|
+
# - errorString - SOAP::SOAPString
|
363
|
+
# - apiError_Type - SOAP::SOAPString
|
364
|
+
# - reason - AdwordsApi::V201008::AdGroupCriterionService::AuthenticationErrorReason
|
365
|
+
class AuthenticationError < ApiError
|
366
|
+
attr_accessor :fieldPath
|
367
|
+
attr_accessor :trigger
|
368
|
+
attr_accessor :errorString
|
369
|
+
attr_accessor :apiError_Type
|
370
|
+
attr_accessor :reason
|
371
|
+
|
372
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
373
|
+
@fieldPath = fieldPath
|
374
|
+
@trigger = trigger
|
375
|
+
@errorString = errorString
|
376
|
+
@apiError_Type = apiError_Type
|
377
|
+
@reason = reason
|
378
|
+
end
|
379
|
+
end
|
380
|
+
|
381
|
+
# AuthorizationError
|
382
|
+
# - fieldPath - SOAP::SOAPString
|
383
|
+
# - trigger - SOAP::SOAPString
|
384
|
+
# - errorString - SOAP::SOAPString
|
385
|
+
# - apiError_Type - SOAP::SOAPString
|
386
|
+
# - reason - AdwordsApi::V201008::AdGroupCriterionService::AuthorizationErrorReason
|
387
|
+
class AuthorizationError < ApiError
|
388
|
+
attr_accessor :fieldPath
|
389
|
+
attr_accessor :trigger
|
390
|
+
attr_accessor :errorString
|
391
|
+
attr_accessor :apiError_Type
|
392
|
+
attr_accessor :reason
|
393
|
+
|
394
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
395
|
+
@fieldPath = fieldPath
|
396
|
+
@trigger = trigger
|
397
|
+
@errorString = errorString
|
398
|
+
@apiError_Type = apiError_Type
|
399
|
+
@reason = reason
|
400
|
+
end
|
401
|
+
end
|
402
|
+
|
403
|
+
# BiddingError
|
404
|
+
# - fieldPath - SOAP::SOAPString
|
405
|
+
# - trigger - SOAP::SOAPString
|
406
|
+
# - errorString - SOAP::SOAPString
|
407
|
+
# - apiError_Type - SOAP::SOAPString
|
408
|
+
# - reason - AdwordsApi::V201008::AdGroupCriterionService::BiddingErrorReason
|
409
|
+
class BiddingError < ApiError
|
410
|
+
attr_accessor :fieldPath
|
411
|
+
attr_accessor :trigger
|
412
|
+
attr_accessor :errorString
|
413
|
+
attr_accessor :apiError_Type
|
414
|
+
attr_accessor :reason
|
415
|
+
|
416
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
417
|
+
@fieldPath = fieldPath
|
418
|
+
@trigger = trigger
|
419
|
+
@errorString = errorString
|
420
|
+
@apiError_Type = apiError_Type
|
421
|
+
@reason = reason
|
422
|
+
end
|
423
|
+
end
|
424
|
+
|
425
|
+
# ClientTermsError
|
426
|
+
# - fieldPath - SOAP::SOAPString
|
427
|
+
# - trigger - SOAP::SOAPString
|
428
|
+
# - errorString - SOAP::SOAPString
|
429
|
+
# - apiError_Type - SOAP::SOAPString
|
430
|
+
# - reason - AdwordsApi::V201008::AdGroupCriterionService::ClientTermsErrorReason
|
431
|
+
class ClientTermsError < ApiError
|
432
|
+
attr_accessor :fieldPath
|
433
|
+
attr_accessor :trigger
|
434
|
+
attr_accessor :errorString
|
435
|
+
attr_accessor :apiError_Type
|
436
|
+
attr_accessor :reason
|
437
|
+
|
438
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
439
|
+
@fieldPath = fieldPath
|
440
|
+
@trigger = trigger
|
441
|
+
@errorString = errorString
|
442
|
+
@apiError_Type = apiError_Type
|
443
|
+
@reason = reason
|
444
|
+
end
|
445
|
+
end
|
446
|
+
|
447
|
+
# DateError
|
448
|
+
# - fieldPath - SOAP::SOAPString
|
449
|
+
# - trigger - SOAP::SOAPString
|
450
|
+
# - errorString - SOAP::SOAPString
|
451
|
+
# - apiError_Type - SOAP::SOAPString
|
452
|
+
# - reason - AdwordsApi::V201008::AdGroupCriterionService::DateErrorReason
|
453
|
+
class DateError < ApiError
|
454
|
+
attr_accessor :fieldPath
|
455
|
+
attr_accessor :trigger
|
456
|
+
attr_accessor :errorString
|
457
|
+
attr_accessor :apiError_Type
|
458
|
+
attr_accessor :reason
|
459
|
+
|
460
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
461
|
+
@fieldPath = fieldPath
|
462
|
+
@trigger = trigger
|
463
|
+
@errorString = errorString
|
464
|
+
@apiError_Type = apiError_Type
|
465
|
+
@reason = reason
|
466
|
+
end
|
467
|
+
end
|
468
|
+
|
469
|
+
# DistinctError
|
470
|
+
# - fieldPath - SOAP::SOAPString
|
471
|
+
# - trigger - SOAP::SOAPString
|
472
|
+
# - errorString - SOAP::SOAPString
|
473
|
+
# - apiError_Type - SOAP::SOAPString
|
474
|
+
# - reason - AdwordsApi::V201008::AdGroupCriterionService::DistinctErrorReason
|
475
|
+
class DistinctError < ApiError
|
476
|
+
attr_accessor :fieldPath
|
477
|
+
attr_accessor :trigger
|
478
|
+
attr_accessor :errorString
|
479
|
+
attr_accessor :apiError_Type
|
480
|
+
attr_accessor :reason
|
481
|
+
|
482
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
483
|
+
@fieldPath = fieldPath
|
484
|
+
@trigger = trigger
|
485
|
+
@errorString = errorString
|
486
|
+
@apiError_Type = apiError_Type
|
487
|
+
@reason = reason
|
488
|
+
end
|
489
|
+
end
|
490
|
+
|
491
|
+
# EntityAccessDenied
|
492
|
+
# - fieldPath - SOAP::SOAPString
|
493
|
+
# - trigger - SOAP::SOAPString
|
494
|
+
# - errorString - SOAP::SOAPString
|
495
|
+
# - apiError_Type - SOAP::SOAPString
|
496
|
+
# - reason - AdwordsApi::V201008::AdGroupCriterionService::EntityAccessDeniedReason
|
497
|
+
class EntityAccessDenied < ApiError
|
498
|
+
attr_accessor :fieldPath
|
499
|
+
attr_accessor :trigger
|
500
|
+
attr_accessor :errorString
|
501
|
+
attr_accessor :apiError_Type
|
502
|
+
attr_accessor :reason
|
503
|
+
|
504
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
505
|
+
@fieldPath = fieldPath
|
506
|
+
@trigger = trigger
|
507
|
+
@errorString = errorString
|
508
|
+
@apiError_Type = apiError_Type
|
509
|
+
@reason = reason
|
510
|
+
end
|
511
|
+
end
|
512
|
+
|
513
|
+
# EntityCountLimitExceeded
|
514
|
+
# - fieldPath - SOAP::SOAPString
|
515
|
+
# - trigger - SOAP::SOAPString
|
516
|
+
# - errorString - SOAP::SOAPString
|
517
|
+
# - apiError_Type - SOAP::SOAPString
|
518
|
+
# - reason - AdwordsApi::V201008::AdGroupCriterionService::EntityCountLimitExceededReason
|
519
|
+
# - enclosingId - SOAP::SOAPString
|
520
|
+
# - limit - SOAP::SOAPInt
|
521
|
+
class EntityCountLimitExceeded < ApiError
|
522
|
+
attr_accessor :fieldPath
|
523
|
+
attr_accessor :trigger
|
524
|
+
attr_accessor :errorString
|
525
|
+
attr_accessor :apiError_Type
|
526
|
+
attr_accessor :reason
|
527
|
+
attr_accessor :enclosingId
|
528
|
+
attr_accessor :limit
|
529
|
+
|
530
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil, enclosingId = nil, limit = nil)
|
531
|
+
@fieldPath = fieldPath
|
532
|
+
@trigger = trigger
|
533
|
+
@errorString = errorString
|
534
|
+
@apiError_Type = apiError_Type
|
535
|
+
@reason = reason
|
536
|
+
@enclosingId = enclosingId
|
537
|
+
@limit = limit
|
538
|
+
end
|
539
|
+
end
|
540
|
+
|
541
|
+
# AdGroupCriterionLimitExceeded
|
542
|
+
# - fieldPath - SOAP::SOAPString
|
543
|
+
# - trigger - SOAP::SOAPString
|
544
|
+
# - errorString - SOAP::SOAPString
|
545
|
+
# - apiError_Type - SOAP::SOAPString
|
546
|
+
# - reason - AdwordsApi::V201008::AdGroupCriterionService::EntityCountLimitExceededReason
|
547
|
+
# - enclosingId - SOAP::SOAPString
|
548
|
+
# - limit - SOAP::SOAPInt
|
549
|
+
# - limitType - AdwordsApi::V201008::AdGroupCriterionService::AdGroupCriterionLimitExceededCriteriaLimitType
|
550
|
+
class AdGroupCriterionLimitExceeded < EntityCountLimitExceeded
|
551
|
+
attr_accessor :fieldPath
|
552
|
+
attr_accessor :trigger
|
553
|
+
attr_accessor :errorString
|
554
|
+
attr_accessor :apiError_Type
|
555
|
+
attr_accessor :reason
|
556
|
+
attr_accessor :enclosingId
|
557
|
+
attr_accessor :limit
|
558
|
+
attr_accessor :limitType
|
559
|
+
|
560
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil, enclosingId = nil, limit = nil, limitType = nil)
|
561
|
+
@fieldPath = fieldPath
|
562
|
+
@trigger = trigger
|
563
|
+
@errorString = errorString
|
564
|
+
@apiError_Type = apiError_Type
|
565
|
+
@reason = reason
|
566
|
+
@enclosingId = enclosingId
|
567
|
+
@limit = limit
|
568
|
+
@limitType = limitType
|
569
|
+
end
|
570
|
+
end
|
571
|
+
|
572
|
+
# EntityNotFound
|
573
|
+
# - fieldPath - SOAP::SOAPString
|
574
|
+
# - trigger - SOAP::SOAPString
|
575
|
+
# - errorString - SOAP::SOAPString
|
576
|
+
# - apiError_Type - SOAP::SOAPString
|
577
|
+
# - reason - AdwordsApi::V201008::AdGroupCriterionService::EntityNotFoundReason
|
578
|
+
class EntityNotFound < 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
|
+
# InternalApiError
|
595
|
+
# - fieldPath - SOAP::SOAPString
|
596
|
+
# - trigger - SOAP::SOAPString
|
597
|
+
# - errorString - SOAP::SOAPString
|
598
|
+
# - apiError_Type - SOAP::SOAPString
|
599
|
+
# - reason - AdwordsApi::V201008::AdGroupCriterionService::InternalApiErrorReason
|
600
|
+
class InternalApiError < 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
|
+
# NewEntityCreationError
|
617
|
+
# - fieldPath - SOAP::SOAPString
|
618
|
+
# - trigger - SOAP::SOAPString
|
619
|
+
# - errorString - SOAP::SOAPString
|
620
|
+
# - apiError_Type - SOAP::SOAPString
|
621
|
+
# - reason - AdwordsApi::V201008::AdGroupCriterionService::NewEntityCreationErrorReason
|
622
|
+
class NewEntityCreationError < 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
|
+
# NotEmptyError
|
639
|
+
# - fieldPath - SOAP::SOAPString
|
640
|
+
# - trigger - SOAP::SOAPString
|
641
|
+
# - errorString - SOAP::SOAPString
|
642
|
+
# - apiError_Type - SOAP::SOAPString
|
643
|
+
# - reason - AdwordsApi::V201008::AdGroupCriterionService::NotEmptyErrorReason
|
644
|
+
class NotEmptyError < 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
|
+
# NotWhitelistedError
|
661
|
+
# - fieldPath - SOAP::SOAPString
|
662
|
+
# - trigger - SOAP::SOAPString
|
663
|
+
# - errorString - SOAP::SOAPString
|
664
|
+
# - apiError_Type - SOAP::SOAPString
|
665
|
+
# - reason - AdwordsApi::V201008::AdGroupCriterionService::NotWhitelistedErrorReason
|
666
|
+
class NotWhitelistedError < 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
|
+
# NullError
|
683
|
+
# - fieldPath - SOAP::SOAPString
|
684
|
+
# - trigger - SOAP::SOAPString
|
685
|
+
# - errorString - SOAP::SOAPString
|
686
|
+
# - apiError_Type - SOAP::SOAPString
|
687
|
+
# - reason - AdwordsApi::V201008::AdGroupCriterionService::NullErrorReason
|
688
|
+
class NullError < ApiError
|
689
|
+
attr_accessor :fieldPath
|
690
|
+
attr_accessor :trigger
|
691
|
+
attr_accessor :errorString
|
692
|
+
attr_accessor :apiError_Type
|
693
|
+
attr_accessor :reason
|
694
|
+
|
695
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
696
|
+
@fieldPath = fieldPath
|
697
|
+
@trigger = trigger
|
698
|
+
@errorString = errorString
|
699
|
+
@apiError_Type = apiError_Type
|
700
|
+
@reason = reason
|
701
|
+
end
|
702
|
+
end
|
703
|
+
|
704
|
+
# OperationAccessDenied
|
705
|
+
# - fieldPath - SOAP::SOAPString
|
706
|
+
# - trigger - SOAP::SOAPString
|
707
|
+
# - errorString - SOAP::SOAPString
|
708
|
+
# - apiError_Type - SOAP::SOAPString
|
709
|
+
# - reason - AdwordsApi::V201008::AdGroupCriterionService::OperationAccessDeniedReason
|
710
|
+
class OperationAccessDenied < ApiError
|
711
|
+
attr_accessor :fieldPath
|
712
|
+
attr_accessor :trigger
|
713
|
+
attr_accessor :errorString
|
714
|
+
attr_accessor :apiError_Type
|
715
|
+
attr_accessor :reason
|
716
|
+
|
717
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
718
|
+
@fieldPath = fieldPath
|
719
|
+
@trigger = trigger
|
720
|
+
@errorString = errorString
|
721
|
+
@apiError_Type = apiError_Type
|
722
|
+
@reason = reason
|
723
|
+
end
|
724
|
+
end
|
725
|
+
|
726
|
+
# PagingError
|
727
|
+
# - fieldPath - SOAP::SOAPString
|
728
|
+
# - trigger - SOAP::SOAPString
|
729
|
+
# - errorString - SOAP::SOAPString
|
730
|
+
# - apiError_Type - SOAP::SOAPString
|
731
|
+
# - reason - AdwordsApi::V201008::AdGroupCriterionService::PagingErrorReason
|
732
|
+
class PagingError < ApiError
|
733
|
+
attr_accessor :fieldPath
|
734
|
+
attr_accessor :trigger
|
735
|
+
attr_accessor :errorString
|
736
|
+
attr_accessor :apiError_Type
|
737
|
+
attr_accessor :reason
|
738
|
+
|
739
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
740
|
+
@fieldPath = fieldPath
|
741
|
+
@trigger = trigger
|
742
|
+
@errorString = errorString
|
743
|
+
@apiError_Type = apiError_Type
|
744
|
+
@reason = reason
|
745
|
+
end
|
746
|
+
end
|
747
|
+
|
748
|
+
# QuotaCheckError
|
749
|
+
# - fieldPath - SOAP::SOAPString
|
750
|
+
# - trigger - SOAP::SOAPString
|
751
|
+
# - errorString - SOAP::SOAPString
|
752
|
+
# - apiError_Type - SOAP::SOAPString
|
753
|
+
# - reason - AdwordsApi::V201008::AdGroupCriterionService::QuotaCheckErrorReason
|
754
|
+
class QuotaCheckError < ApiError
|
755
|
+
attr_accessor :fieldPath
|
756
|
+
attr_accessor :trigger
|
757
|
+
attr_accessor :errorString
|
758
|
+
attr_accessor :apiError_Type
|
759
|
+
attr_accessor :reason
|
760
|
+
|
761
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
762
|
+
@fieldPath = fieldPath
|
763
|
+
@trigger = trigger
|
764
|
+
@errorString = errorString
|
765
|
+
@apiError_Type = apiError_Type
|
766
|
+
@reason = reason
|
767
|
+
end
|
768
|
+
end
|
769
|
+
|
770
|
+
# RangeError
|
771
|
+
# - fieldPath - SOAP::SOAPString
|
772
|
+
# - trigger - SOAP::SOAPString
|
773
|
+
# - errorString - SOAP::SOAPString
|
774
|
+
# - apiError_Type - SOAP::SOAPString
|
775
|
+
# - reason - AdwordsApi::V201008::AdGroupCriterionService::RangeErrorReason
|
776
|
+
class C_RangeError < ApiError
|
777
|
+
attr_accessor :fieldPath
|
778
|
+
attr_accessor :trigger
|
779
|
+
attr_accessor :errorString
|
780
|
+
attr_accessor :apiError_Type
|
781
|
+
attr_accessor :reason
|
782
|
+
|
783
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
784
|
+
@fieldPath = fieldPath
|
785
|
+
@trigger = trigger
|
786
|
+
@errorString = errorString
|
787
|
+
@apiError_Type = apiError_Type
|
788
|
+
@reason = reason
|
789
|
+
end
|
790
|
+
end
|
791
|
+
|
792
|
+
# RateExceededError
|
793
|
+
# - fieldPath - SOAP::SOAPString
|
794
|
+
# - trigger - SOAP::SOAPString
|
795
|
+
# - errorString - SOAP::SOAPString
|
796
|
+
# - apiError_Type - SOAP::SOAPString
|
797
|
+
# - reason - AdwordsApi::V201008::AdGroupCriterionService::RateExceededErrorReason
|
798
|
+
# - rateName - SOAP::SOAPString
|
799
|
+
# - rateScope - SOAP::SOAPString
|
800
|
+
# - retryAfterSeconds - SOAP::SOAPInt
|
801
|
+
class RateExceededError < ApiError
|
802
|
+
attr_accessor :fieldPath
|
803
|
+
attr_accessor :trigger
|
804
|
+
attr_accessor :errorString
|
805
|
+
attr_accessor :apiError_Type
|
806
|
+
attr_accessor :reason
|
807
|
+
attr_accessor :rateName
|
808
|
+
attr_accessor :rateScope
|
809
|
+
attr_accessor :retryAfterSeconds
|
810
|
+
|
811
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil, rateName = nil, rateScope = nil, retryAfterSeconds = nil)
|
812
|
+
@fieldPath = fieldPath
|
813
|
+
@trigger = trigger
|
814
|
+
@errorString = errorString
|
815
|
+
@apiError_Type = apiError_Type
|
816
|
+
@reason = reason
|
817
|
+
@rateName = rateName
|
818
|
+
@rateScope = rateScope
|
819
|
+
@retryAfterSeconds = retryAfterSeconds
|
820
|
+
end
|
821
|
+
end
|
822
|
+
|
823
|
+
# ReadOnlyError
|
824
|
+
# - fieldPath - SOAP::SOAPString
|
825
|
+
# - trigger - SOAP::SOAPString
|
826
|
+
# - errorString - SOAP::SOAPString
|
827
|
+
# - apiError_Type - SOAP::SOAPString
|
828
|
+
# - reason - AdwordsApi::V201008::AdGroupCriterionService::ReadOnlyErrorReason
|
829
|
+
class ReadOnlyError < ApiError
|
830
|
+
attr_accessor :fieldPath
|
831
|
+
attr_accessor :trigger
|
832
|
+
attr_accessor :errorString
|
833
|
+
attr_accessor :apiError_Type
|
834
|
+
attr_accessor :reason
|
835
|
+
|
836
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
837
|
+
@fieldPath = fieldPath
|
838
|
+
@trigger = trigger
|
839
|
+
@errorString = errorString
|
840
|
+
@apiError_Type = apiError_Type
|
841
|
+
@reason = reason
|
842
|
+
end
|
843
|
+
end
|
844
|
+
|
845
|
+
# RejectedError
|
846
|
+
# - fieldPath - SOAP::SOAPString
|
847
|
+
# - trigger - SOAP::SOAPString
|
848
|
+
# - errorString - SOAP::SOAPString
|
849
|
+
# - apiError_Type - SOAP::SOAPString
|
850
|
+
# - reason - AdwordsApi::V201008::AdGroupCriterionService::RejectedErrorReason
|
851
|
+
class RejectedError < ApiError
|
852
|
+
attr_accessor :fieldPath
|
853
|
+
attr_accessor :trigger
|
854
|
+
attr_accessor :errorString
|
855
|
+
attr_accessor :apiError_Type
|
856
|
+
attr_accessor :reason
|
857
|
+
|
858
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
859
|
+
@fieldPath = fieldPath
|
860
|
+
@trigger = trigger
|
861
|
+
@errorString = errorString
|
862
|
+
@apiError_Type = apiError_Type
|
863
|
+
@reason = reason
|
864
|
+
end
|
865
|
+
end
|
866
|
+
|
867
|
+
# RequestError
|
868
|
+
# - fieldPath - SOAP::SOAPString
|
869
|
+
# - trigger - SOAP::SOAPString
|
870
|
+
# - errorString - SOAP::SOAPString
|
871
|
+
# - apiError_Type - SOAP::SOAPString
|
872
|
+
# - reason - AdwordsApi::V201008::AdGroupCriterionService::RequestErrorReason
|
873
|
+
class RequestError < ApiError
|
874
|
+
attr_accessor :fieldPath
|
875
|
+
attr_accessor :trigger
|
876
|
+
attr_accessor :errorString
|
877
|
+
attr_accessor :apiError_Type
|
878
|
+
attr_accessor :reason
|
879
|
+
|
880
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
881
|
+
@fieldPath = fieldPath
|
882
|
+
@trigger = trigger
|
883
|
+
@errorString = errorString
|
884
|
+
@apiError_Type = apiError_Type
|
885
|
+
@reason = reason
|
886
|
+
end
|
887
|
+
end
|
888
|
+
|
889
|
+
# RequiredError
|
890
|
+
# - fieldPath - SOAP::SOAPString
|
891
|
+
# - trigger - SOAP::SOAPString
|
892
|
+
# - errorString - SOAP::SOAPString
|
893
|
+
# - apiError_Type - SOAP::SOAPString
|
894
|
+
# - reason - AdwordsApi::V201008::AdGroupCriterionService::RequiredErrorReason
|
895
|
+
class RequiredError < ApiError
|
896
|
+
attr_accessor :fieldPath
|
897
|
+
attr_accessor :trigger
|
898
|
+
attr_accessor :errorString
|
899
|
+
attr_accessor :apiError_Type
|
900
|
+
attr_accessor :reason
|
901
|
+
|
902
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
903
|
+
@fieldPath = fieldPath
|
904
|
+
@trigger = trigger
|
905
|
+
@errorString = errorString
|
906
|
+
@apiError_Type = apiError_Type
|
907
|
+
@reason = reason
|
908
|
+
end
|
909
|
+
end
|
910
|
+
|
911
|
+
# SizeLimitError
|
912
|
+
# - fieldPath - SOAP::SOAPString
|
913
|
+
# - trigger - SOAP::SOAPString
|
914
|
+
# - errorString - SOAP::SOAPString
|
915
|
+
# - apiError_Type - SOAP::SOAPString
|
916
|
+
# - reason - AdwordsApi::V201008::AdGroupCriterionService::SizeLimitErrorReason
|
917
|
+
class SizeLimitError < ApiError
|
918
|
+
attr_accessor :fieldPath
|
919
|
+
attr_accessor :trigger
|
920
|
+
attr_accessor :errorString
|
921
|
+
attr_accessor :apiError_Type
|
922
|
+
attr_accessor :reason
|
923
|
+
|
924
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
925
|
+
@fieldPath = fieldPath
|
926
|
+
@trigger = trigger
|
927
|
+
@errorString = errorString
|
928
|
+
@apiError_Type = apiError_Type
|
929
|
+
@reason = reason
|
930
|
+
end
|
931
|
+
end
|
932
|
+
|
933
|
+
# StatsQueryError
|
934
|
+
# - fieldPath - SOAP::SOAPString
|
935
|
+
# - trigger - SOAP::SOAPString
|
936
|
+
# - errorString - SOAP::SOAPString
|
937
|
+
# - apiError_Type - SOAP::SOAPString
|
938
|
+
# - reason - AdwordsApi::V201008::AdGroupCriterionService::StatsQueryErrorReason
|
939
|
+
class StatsQueryError < ApiError
|
940
|
+
attr_accessor :fieldPath
|
941
|
+
attr_accessor :trigger
|
942
|
+
attr_accessor :errorString
|
943
|
+
attr_accessor :apiError_Type
|
944
|
+
attr_accessor :reason
|
945
|
+
|
946
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
947
|
+
@fieldPath = fieldPath
|
948
|
+
@trigger = trigger
|
949
|
+
@errorString = errorString
|
950
|
+
@apiError_Type = apiError_Type
|
951
|
+
@reason = reason
|
952
|
+
end
|
953
|
+
end
|
954
|
+
|
955
|
+
# DatabaseError
|
956
|
+
# - fieldPath - SOAP::SOAPString
|
957
|
+
# - trigger - SOAP::SOAPString
|
958
|
+
# - errorString - SOAP::SOAPString
|
959
|
+
# - apiError_Type - SOAP::SOAPString
|
960
|
+
# - reason - AdwordsApi::V201008::AdGroupCriterionService::DatabaseErrorReason
|
961
|
+
class DatabaseError < ApiError
|
962
|
+
attr_accessor :fieldPath
|
963
|
+
attr_accessor :trigger
|
964
|
+
attr_accessor :errorString
|
965
|
+
attr_accessor :apiError_Type
|
966
|
+
attr_accessor :reason
|
967
|
+
|
968
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
969
|
+
@fieldPath = fieldPath
|
970
|
+
@trigger = trigger
|
971
|
+
@errorString = errorString
|
972
|
+
@apiError_Type = apiError_Type
|
973
|
+
@reason = reason
|
974
|
+
end
|
975
|
+
end
|
976
|
+
|
977
|
+
# PolicyViolationError
|
978
|
+
# - fieldPath - SOAP::SOAPString
|
979
|
+
# - trigger - SOAP::SOAPString
|
980
|
+
# - errorString - SOAP::SOAPString
|
981
|
+
# - apiError_Type - SOAP::SOAPString
|
982
|
+
# - key - AdwordsApi::V201008::AdGroupCriterionService::PolicyViolationKey
|
983
|
+
# - externalPolicyName - SOAP::SOAPString
|
984
|
+
# - externalPolicyUrl - SOAP::SOAPString
|
985
|
+
# - externalPolicyDescription - SOAP::SOAPString
|
986
|
+
# - isExemptable - SOAP::SOAPBoolean
|
987
|
+
# - violatingParts - AdwordsApi::V201008::AdGroupCriterionService::PolicyViolationErrorPart
|
988
|
+
class PolicyViolationError < ApiError
|
989
|
+
attr_accessor :fieldPath
|
990
|
+
attr_accessor :trigger
|
991
|
+
attr_accessor :errorString
|
992
|
+
attr_accessor :apiError_Type
|
993
|
+
attr_accessor :key
|
994
|
+
attr_accessor :externalPolicyName
|
995
|
+
attr_accessor :externalPolicyUrl
|
996
|
+
attr_accessor :externalPolicyDescription
|
997
|
+
attr_accessor :isExemptable
|
998
|
+
attr_accessor :violatingParts
|
999
|
+
|
1000
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, key = nil, externalPolicyName = nil, externalPolicyUrl = nil, externalPolicyDescription = nil, isExemptable = nil, violatingParts = [])
|
1001
|
+
@fieldPath = fieldPath
|
1002
|
+
@trigger = trigger
|
1003
|
+
@errorString = errorString
|
1004
|
+
@apiError_Type = apiError_Type
|
1005
|
+
@key = key
|
1006
|
+
@externalPolicyName = externalPolicyName
|
1007
|
+
@externalPolicyUrl = externalPolicyUrl
|
1008
|
+
@externalPolicyDescription = externalPolicyDescription
|
1009
|
+
@isExemptable = isExemptable
|
1010
|
+
@violatingParts = violatingParts
|
1011
|
+
end
|
1012
|
+
end
|
1013
|
+
|
1014
|
+
# CriterionPolicyError
|
1015
|
+
# - fieldPath - SOAP::SOAPString
|
1016
|
+
# - trigger - SOAP::SOAPString
|
1017
|
+
# - errorString - SOAP::SOAPString
|
1018
|
+
# - apiError_Type - SOAP::SOAPString
|
1019
|
+
# - key - AdwordsApi::V201008::AdGroupCriterionService::PolicyViolationKey
|
1020
|
+
# - externalPolicyName - SOAP::SOAPString
|
1021
|
+
# - externalPolicyUrl - SOAP::SOAPString
|
1022
|
+
# - externalPolicyDescription - SOAP::SOAPString
|
1023
|
+
# - isExemptable - SOAP::SOAPBoolean
|
1024
|
+
# - violatingParts - AdwordsApi::V201008::AdGroupCriterionService::PolicyViolationErrorPart
|
1025
|
+
class CriterionPolicyError < PolicyViolationError
|
1026
|
+
attr_accessor :fieldPath
|
1027
|
+
attr_accessor :trigger
|
1028
|
+
attr_accessor :errorString
|
1029
|
+
attr_accessor :apiError_Type
|
1030
|
+
attr_accessor :key
|
1031
|
+
attr_accessor :externalPolicyName
|
1032
|
+
attr_accessor :externalPolicyUrl
|
1033
|
+
attr_accessor :externalPolicyDescription
|
1034
|
+
attr_accessor :isExemptable
|
1035
|
+
attr_accessor :violatingParts
|
1036
|
+
|
1037
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, key = nil, externalPolicyName = nil, externalPolicyUrl = nil, externalPolicyDescription = nil, isExemptable = nil, violatingParts = [])
|
1038
|
+
@fieldPath = fieldPath
|
1039
|
+
@trigger = trigger
|
1040
|
+
@errorString = errorString
|
1041
|
+
@apiError_Type = apiError_Type
|
1042
|
+
@key = key
|
1043
|
+
@externalPolicyName = externalPolicyName
|
1044
|
+
@externalPolicyUrl = externalPolicyUrl
|
1045
|
+
@externalPolicyDescription = externalPolicyDescription
|
1046
|
+
@isExemptable = isExemptable
|
1047
|
+
@violatingParts = violatingParts
|
1048
|
+
end
|
1049
|
+
end
|
1050
|
+
|
1051
|
+
# ApplicationException
|
1052
|
+
# - message - SOAP::SOAPString
|
1053
|
+
# - applicationException_Type - SOAP::SOAPString
|
1054
|
+
class ApplicationException
|
1055
|
+
attr_accessor :message
|
1056
|
+
attr_accessor :applicationException_Type
|
1057
|
+
|
1058
|
+
def initialize(message = nil, applicationException_Type = nil)
|
1059
|
+
@message = message
|
1060
|
+
@applicationException_Type = applicationException_Type
|
1061
|
+
end
|
1062
|
+
end
|
1063
|
+
|
1064
|
+
# ApiException
|
1065
|
+
# - message - SOAP::SOAPString
|
1066
|
+
# - applicationException_Type - SOAP::SOAPString
|
1067
|
+
# - errors - AdwordsApi::V201008::AdGroupCriterionService::ApiError
|
1068
|
+
class ApiException < ApplicationException
|
1069
|
+
attr_accessor :message
|
1070
|
+
attr_accessor :applicationException_Type
|
1071
|
+
attr_accessor :errors
|
1072
|
+
|
1073
|
+
def initialize(message = nil, applicationException_Type = nil, errors = [])
|
1074
|
+
@message = message
|
1075
|
+
@applicationException_Type = applicationException_Type
|
1076
|
+
@errors = errors
|
1077
|
+
end
|
1078
|
+
end
|
1079
|
+
|
1080
|
+
# Bid
|
1081
|
+
# - amount - AdwordsApi::V201008::AdGroupCriterionService::Money
|
1082
|
+
class Bid
|
1083
|
+
attr_accessor :amount
|
1084
|
+
|
1085
|
+
def initialize(amount = nil)
|
1086
|
+
@amount = amount
|
1087
|
+
end
|
1088
|
+
end
|
1089
|
+
|
1090
|
+
# BidMultiplier
|
1091
|
+
# - multiplier - SOAP::SOAPDouble
|
1092
|
+
# - multipliedBid - AdwordsApi::V201008::AdGroupCriterionService::Bid
|
1093
|
+
class BidMultiplier
|
1094
|
+
attr_accessor :multiplier
|
1095
|
+
attr_accessor :multipliedBid
|
1096
|
+
|
1097
|
+
def initialize(multiplier = nil, multipliedBid = nil)
|
1098
|
+
@multiplier = multiplier
|
1099
|
+
@multipliedBid = multipliedBid
|
1100
|
+
end
|
1101
|
+
end
|
1102
|
+
|
1103
|
+
# PositionPreferenceAdGroupCriterionBids
|
1104
|
+
# - proxyMaxCpc - AdwordsApi::V201008::AdGroupCriterionService::Bid
|
1105
|
+
# - preferredPosition - SOAP::SOAPInt
|
1106
|
+
# - bottomPosition - SOAP::SOAPInt
|
1107
|
+
class PositionPreferenceAdGroupCriterionBids
|
1108
|
+
attr_accessor :proxyMaxCpc
|
1109
|
+
attr_accessor :preferredPosition
|
1110
|
+
attr_accessor :bottomPosition
|
1111
|
+
|
1112
|
+
def initialize(proxyMaxCpc = nil, preferredPosition = nil, bottomPosition = nil)
|
1113
|
+
@proxyMaxCpc = proxyMaxCpc
|
1114
|
+
@preferredPosition = preferredPosition
|
1115
|
+
@bottomPosition = bottomPosition
|
1116
|
+
end
|
1117
|
+
end
|
1118
|
+
|
1119
|
+
# AdGroupCriterionExperimentBidMultiplier
|
1120
|
+
# abstract
|
1121
|
+
# - adGroupCriterionExperimentBidMultiplier_Type - SOAP::SOAPString
|
1122
|
+
class AdGroupCriterionExperimentBidMultiplier
|
1123
|
+
attr_accessor :adGroupCriterionExperimentBidMultiplier_Type
|
1124
|
+
|
1125
|
+
def initialize(adGroupCriterionExperimentBidMultiplier_Type = nil)
|
1126
|
+
@adGroupCriterionExperimentBidMultiplier_Type = adGroupCriterionExperimentBidMultiplier_Type
|
1127
|
+
end
|
1128
|
+
end
|
1129
|
+
|
1130
|
+
# ManualCPCAdGroupCriterionExperimentBidMultiplier
|
1131
|
+
# - adGroupCriterionExperimentBidMultiplier_Type - SOAP::SOAPString
|
1132
|
+
# - maxCpcMultiplier - AdwordsApi::V201008::AdGroupCriterionService::BidMultiplier
|
1133
|
+
# - multiplierSource - AdwordsApi::V201008::AdGroupCriterionService::MultiplierSource
|
1134
|
+
class ManualCPCAdGroupCriterionExperimentBidMultiplier < AdGroupCriterionExperimentBidMultiplier
|
1135
|
+
attr_accessor :adGroupCriterionExperimentBidMultiplier_Type
|
1136
|
+
attr_accessor :maxCpcMultiplier
|
1137
|
+
attr_accessor :multiplierSource
|
1138
|
+
|
1139
|
+
def initialize(adGroupCriterionExperimentBidMultiplier_Type = nil, maxCpcMultiplier = nil, multiplierSource = nil)
|
1140
|
+
@adGroupCriterionExperimentBidMultiplier_Type = adGroupCriterionExperimentBidMultiplier_Type
|
1141
|
+
@maxCpcMultiplier = maxCpcMultiplier
|
1142
|
+
@multiplierSource = multiplierSource
|
1143
|
+
end
|
1144
|
+
end
|
1145
|
+
|
1146
|
+
# BiddableAdGroupCriterionExperimentData
|
1147
|
+
# - experimentId - SOAP::SOAPLong
|
1148
|
+
# - experimentDeltaStatus - AdwordsApi::V201008::AdGroupCriterionService::ExperimentDeltaStatus
|
1149
|
+
# - experimentDataStatus - AdwordsApi::V201008::AdGroupCriterionService::ExperimentDataStatus
|
1150
|
+
# - experimentBidMultiplier - AdwordsApi::V201008::AdGroupCriterionService::AdGroupCriterionExperimentBidMultiplier
|
1151
|
+
class BiddableAdGroupCriterionExperimentData
|
1152
|
+
attr_accessor :experimentId
|
1153
|
+
attr_accessor :experimentDeltaStatus
|
1154
|
+
attr_accessor :experimentDataStatus
|
1155
|
+
attr_accessor :experimentBidMultiplier
|
1156
|
+
|
1157
|
+
def initialize(experimentId = nil, experimentDeltaStatus = nil, experimentDataStatus = nil, experimentBidMultiplier = nil)
|
1158
|
+
@experimentId = experimentId
|
1159
|
+
@experimentDeltaStatus = experimentDeltaStatus
|
1160
|
+
@experimentDataStatus = experimentDataStatus
|
1161
|
+
@experimentBidMultiplier = experimentBidMultiplier
|
1162
|
+
end
|
1163
|
+
end
|
1164
|
+
|
1165
|
+
# Criterion
|
1166
|
+
# - id - SOAP::SOAPLong
|
1167
|
+
# - criterion_Type - SOAP::SOAPString
|
1168
|
+
class Criterion
|
1169
|
+
attr_accessor :id
|
1170
|
+
attr_accessor :criterion_Type
|
1171
|
+
|
1172
|
+
def initialize(id = nil, criterion_Type = nil)
|
1173
|
+
@id = id
|
1174
|
+
@criterion_Type = criterion_Type
|
1175
|
+
end
|
1176
|
+
end
|
1177
|
+
|
1178
|
+
# Keyword
|
1179
|
+
# - id - SOAP::SOAPLong
|
1180
|
+
# - criterion_Type - SOAP::SOAPString
|
1181
|
+
# - text - SOAP::SOAPString
|
1182
|
+
# - matchType - AdwordsApi::V201008::AdGroupCriterionService::KeywordMatchType
|
1183
|
+
class Keyword < Criterion
|
1184
|
+
attr_accessor :id
|
1185
|
+
attr_accessor :criterion_Type
|
1186
|
+
attr_accessor :text
|
1187
|
+
attr_accessor :matchType
|
1188
|
+
|
1189
|
+
def initialize(id = nil, criterion_Type = nil, text = nil, matchType = nil)
|
1190
|
+
@id = id
|
1191
|
+
@criterion_Type = criterion_Type
|
1192
|
+
@text = text
|
1193
|
+
@matchType = matchType
|
1194
|
+
end
|
1195
|
+
end
|
1196
|
+
|
1197
|
+
# Placement
|
1198
|
+
# - id - SOAP::SOAPLong
|
1199
|
+
# - criterion_Type - SOAP::SOAPString
|
1200
|
+
# - url - SOAP::SOAPString
|
1201
|
+
class Placement < Criterion
|
1202
|
+
attr_accessor :id
|
1203
|
+
attr_accessor :criterion_Type
|
1204
|
+
attr_accessor :url
|
1205
|
+
|
1206
|
+
def initialize(id = nil, criterion_Type = nil, url = nil)
|
1207
|
+
@id = id
|
1208
|
+
@criterion_Type = criterion_Type
|
1209
|
+
@url = url
|
1210
|
+
end
|
1211
|
+
end
|
1212
|
+
|
1213
|
+
# CriterionUserInterest
|
1214
|
+
# - id - SOAP::SOAPLong
|
1215
|
+
# - criterion_Type - SOAP::SOAPString
|
1216
|
+
# - userInterestId - SOAP::SOAPLong
|
1217
|
+
# - userInterestName - SOAP::SOAPString
|
1218
|
+
class CriterionUserInterest < Criterion
|
1219
|
+
attr_accessor :id
|
1220
|
+
attr_accessor :criterion_Type
|
1221
|
+
attr_accessor :userInterestId
|
1222
|
+
attr_accessor :userInterestName
|
1223
|
+
|
1224
|
+
def initialize(id = nil, criterion_Type = nil, userInterestId = nil, userInterestName = nil)
|
1225
|
+
@id = id
|
1226
|
+
@criterion_Type = criterion_Type
|
1227
|
+
@userInterestId = userInterestId
|
1228
|
+
@userInterestName = userInterestName
|
1229
|
+
end
|
1230
|
+
end
|
1231
|
+
|
1232
|
+
# CriterionUserList
|
1233
|
+
# - id - SOAP::SOAPLong
|
1234
|
+
# - criterion_Type - SOAP::SOAPString
|
1235
|
+
# - userListId - SOAP::SOAPLong
|
1236
|
+
# - userListName - SOAP::SOAPString
|
1237
|
+
# - userListMembershipStatus - AdwordsApi::V201008::AdGroupCriterionService::CriterionUserListMembershipStatus
|
1238
|
+
# - userListSize - SOAP::SOAPLong
|
1239
|
+
class CriterionUserList < Criterion
|
1240
|
+
attr_accessor :id
|
1241
|
+
attr_accessor :criterion_Type
|
1242
|
+
attr_accessor :userListId
|
1243
|
+
attr_accessor :userListName
|
1244
|
+
attr_accessor :userListMembershipStatus
|
1245
|
+
attr_accessor :userListSize
|
1246
|
+
|
1247
|
+
def initialize(id = nil, criterion_Type = nil, userListId = nil, userListName = nil, userListMembershipStatus = nil, userListSize = nil)
|
1248
|
+
@id = id
|
1249
|
+
@criterion_Type = criterion_Type
|
1250
|
+
@userListId = userListId
|
1251
|
+
@userListName = userListName
|
1252
|
+
@userListMembershipStatus = userListMembershipStatus
|
1253
|
+
@userListSize = userListSize
|
1254
|
+
end
|
1255
|
+
end
|
1256
|
+
|
1257
|
+
# Vertical
|
1258
|
+
# - id - SOAP::SOAPLong
|
1259
|
+
# - criterion_Type - SOAP::SOAPString
|
1260
|
+
# - path - SOAP::SOAPString
|
1261
|
+
class Vertical < Criterion
|
1262
|
+
attr_accessor :id
|
1263
|
+
attr_accessor :criterion_Type
|
1264
|
+
attr_accessor :path
|
1265
|
+
|
1266
|
+
def initialize(id = nil, criterion_Type = nil, path = [])
|
1267
|
+
@id = id
|
1268
|
+
@criterion_Type = criterion_Type
|
1269
|
+
@path = path
|
1270
|
+
end
|
1271
|
+
end
|
1272
|
+
|
1273
|
+
# Product
|
1274
|
+
# - id - SOAP::SOAPLong
|
1275
|
+
# - criterion_Type - SOAP::SOAPString
|
1276
|
+
# - conditions - AdwordsApi::V201008::AdGroupCriterionService::ProductCondition
|
1277
|
+
# - text - SOAP::SOAPString
|
1278
|
+
class Product < Criterion
|
1279
|
+
attr_accessor :id
|
1280
|
+
attr_accessor :criterion_Type
|
1281
|
+
attr_accessor :conditions
|
1282
|
+
attr_accessor :text
|
1283
|
+
|
1284
|
+
def initialize(id = nil, criterion_Type = nil, conditions = [], text = nil)
|
1285
|
+
@id = id
|
1286
|
+
@criterion_Type = criterion_Type
|
1287
|
+
@conditions = conditions
|
1288
|
+
@text = text
|
1289
|
+
end
|
1290
|
+
end
|
1291
|
+
|
1292
|
+
# AdGroupCriterionBids
|
1293
|
+
# abstract
|
1294
|
+
# - adGroupCriterionBids_Type - SOAP::SOAPString
|
1295
|
+
class AdGroupCriterionBids
|
1296
|
+
attr_accessor :adGroupCriterionBids_Type
|
1297
|
+
|
1298
|
+
def initialize(adGroupCriterionBids_Type = nil)
|
1299
|
+
@adGroupCriterionBids_Type = adGroupCriterionBids_Type
|
1300
|
+
end
|
1301
|
+
end
|
1302
|
+
|
1303
|
+
# ConversionOptimizerAdGroupCriterionBids
|
1304
|
+
# - adGroupCriterionBids_Type - SOAP::SOAPString
|
1305
|
+
class ConversionOptimizerAdGroupCriterionBids < AdGroupCriterionBids
|
1306
|
+
attr_accessor :adGroupCriterionBids_Type
|
1307
|
+
|
1308
|
+
def initialize(adGroupCriterionBids_Type = nil)
|
1309
|
+
@adGroupCriterionBids_Type = adGroupCriterionBids_Type
|
1310
|
+
end
|
1311
|
+
end
|
1312
|
+
|
1313
|
+
# PercentCPAAdGroupCriterionBids
|
1314
|
+
# - adGroupCriterionBids_Type - SOAP::SOAPString
|
1315
|
+
# - percentCpa - SOAP::SOAPInt
|
1316
|
+
# - source - AdwordsApi::V201008::AdGroupCriterionService::BidSource
|
1317
|
+
class PercentCPAAdGroupCriterionBids < AdGroupCriterionBids
|
1318
|
+
attr_accessor :adGroupCriterionBids_Type
|
1319
|
+
attr_accessor :percentCpa
|
1320
|
+
attr_accessor :source
|
1321
|
+
|
1322
|
+
def initialize(adGroupCriterionBids_Type = nil, percentCpa = nil, source = nil)
|
1323
|
+
@adGroupCriterionBids_Type = adGroupCriterionBids_Type
|
1324
|
+
@percentCpa = percentCpa
|
1325
|
+
@source = source
|
1326
|
+
end
|
1327
|
+
end
|
1328
|
+
|
1329
|
+
# BudgetOptimizerAdGroupCriterionBids
|
1330
|
+
# - adGroupCriterionBids_Type - SOAP::SOAPString
|
1331
|
+
# - proxyBid - AdwordsApi::V201008::AdGroupCriterionService::Bid
|
1332
|
+
# - enhancedCpcEnabled - SOAP::SOAPBoolean
|
1333
|
+
class BudgetOptimizerAdGroupCriterionBids < AdGroupCriterionBids
|
1334
|
+
attr_accessor :adGroupCriterionBids_Type
|
1335
|
+
attr_accessor :proxyBid
|
1336
|
+
attr_accessor :enhancedCpcEnabled
|
1337
|
+
|
1338
|
+
def initialize(adGroupCriterionBids_Type = nil, proxyBid = nil, enhancedCpcEnabled = nil)
|
1339
|
+
@adGroupCriterionBids_Type = adGroupCriterionBids_Type
|
1340
|
+
@proxyBid = proxyBid
|
1341
|
+
@enhancedCpcEnabled = enhancedCpcEnabled
|
1342
|
+
end
|
1343
|
+
end
|
1344
|
+
|
1345
|
+
# ManualCPMAdGroupCriterionBids
|
1346
|
+
# - adGroupCriterionBids_Type - SOAP::SOAPString
|
1347
|
+
# - maxCpm - AdwordsApi::V201008::AdGroupCriterionService::Bid
|
1348
|
+
# - bidSource - AdwordsApi::V201008::AdGroupCriterionService::BidSource
|
1349
|
+
class ManualCPMAdGroupCriterionBids < AdGroupCriterionBids
|
1350
|
+
attr_accessor :adGroupCriterionBids_Type
|
1351
|
+
attr_accessor :maxCpm
|
1352
|
+
attr_accessor :bidSource
|
1353
|
+
|
1354
|
+
def initialize(adGroupCriterionBids_Type = nil, maxCpm = nil, bidSource = nil)
|
1355
|
+
@adGroupCriterionBids_Type = adGroupCriterionBids_Type
|
1356
|
+
@maxCpm = maxCpm
|
1357
|
+
@bidSource = bidSource
|
1358
|
+
end
|
1359
|
+
end
|
1360
|
+
|
1361
|
+
# ManualCPCAdGroupCriterionBids
|
1362
|
+
# - adGroupCriterionBids_Type - SOAP::SOAPString
|
1363
|
+
# - maxCpc - AdwordsApi::V201008::AdGroupCriterionService::Bid
|
1364
|
+
# - bidSource - AdwordsApi::V201008::AdGroupCriterionService::BidSource
|
1365
|
+
# - positionPreferenceBids - AdwordsApi::V201008::AdGroupCriterionService::PositionPreferenceAdGroupCriterionBids
|
1366
|
+
# - enhancedCpcEnabled - SOAP::SOAPBoolean
|
1367
|
+
class ManualCPCAdGroupCriterionBids < AdGroupCriterionBids
|
1368
|
+
attr_accessor :adGroupCriterionBids_Type
|
1369
|
+
attr_accessor :maxCpc
|
1370
|
+
attr_accessor :bidSource
|
1371
|
+
attr_accessor :positionPreferenceBids
|
1372
|
+
attr_accessor :enhancedCpcEnabled
|
1373
|
+
|
1374
|
+
def initialize(adGroupCriterionBids_Type = nil, maxCpc = nil, bidSource = nil, positionPreferenceBids = nil, enhancedCpcEnabled = nil)
|
1375
|
+
@adGroupCriterionBids_Type = adGroupCriterionBids_Type
|
1376
|
+
@maxCpc = maxCpc
|
1377
|
+
@bidSource = bidSource
|
1378
|
+
@positionPreferenceBids = positionPreferenceBids
|
1379
|
+
@enhancedCpcEnabled = enhancedCpcEnabled
|
1380
|
+
end
|
1381
|
+
end
|
1382
|
+
|
1383
|
+
# AdGroupCriterion
|
1384
|
+
# - adGroupId - SOAP::SOAPLong
|
1385
|
+
# - criterion - AdwordsApi::V201008::AdGroupCriterionService::Criterion
|
1386
|
+
# - adGroupCriterion_Type - SOAP::SOAPString
|
1387
|
+
class AdGroupCriterion
|
1388
|
+
attr_accessor :adGroupId
|
1389
|
+
attr_accessor :criterion
|
1390
|
+
attr_accessor :adGroupCriterion_Type
|
1391
|
+
|
1392
|
+
def initialize(adGroupId = nil, criterion = nil, adGroupCriterion_Type = nil)
|
1393
|
+
@adGroupId = adGroupId
|
1394
|
+
@criterion = criterion
|
1395
|
+
@adGroupCriterion_Type = adGroupCriterion_Type
|
1396
|
+
end
|
1397
|
+
end
|
1398
|
+
|
1399
|
+
# NegativeAdGroupCriterion
|
1400
|
+
# - adGroupId - SOAP::SOAPLong
|
1401
|
+
# - criterion - AdwordsApi::V201008::AdGroupCriterionService::Criterion
|
1402
|
+
# - adGroupCriterion_Type - SOAP::SOAPString
|
1403
|
+
class NegativeAdGroupCriterion < AdGroupCriterion
|
1404
|
+
attr_accessor :adGroupId
|
1405
|
+
attr_accessor :criterion
|
1406
|
+
attr_accessor :adGroupCriterion_Type
|
1407
|
+
|
1408
|
+
def initialize(adGroupId = nil, criterion = nil, adGroupCriterion_Type = nil)
|
1409
|
+
@adGroupId = adGroupId
|
1410
|
+
@criterion = criterion
|
1411
|
+
@adGroupCriterion_Type = adGroupCriterion_Type
|
1412
|
+
end
|
1413
|
+
end
|
1414
|
+
|
1415
|
+
# BiddableAdGroupCriterion
|
1416
|
+
# - adGroupId - SOAP::SOAPLong
|
1417
|
+
# - criterion - AdwordsApi::V201008::AdGroupCriterionService::Criterion
|
1418
|
+
# - adGroupCriterion_Type - SOAP::SOAPString
|
1419
|
+
# - userStatus - AdwordsApi::V201008::AdGroupCriterionService::UserStatus
|
1420
|
+
# - systemServingStatus - AdwordsApi::V201008::AdGroupCriterionService::SystemServingStatus
|
1421
|
+
# - approvalStatus - AdwordsApi::V201008::AdGroupCriterionService::ApprovalStatus
|
1422
|
+
# - destinationUrl - SOAP::SOAPString
|
1423
|
+
# - bids - AdwordsApi::V201008::AdGroupCriterionService::AdGroupCriterionBids
|
1424
|
+
# - experimentData - AdwordsApi::V201008::AdGroupCriterionService::BiddableAdGroupCriterionExperimentData
|
1425
|
+
# - firstPageCpc - AdwordsApi::V201008::AdGroupCriterionService::Bid
|
1426
|
+
# - qualityInfo - AdwordsApi::V201008::AdGroupCriterionService::QualityInfo
|
1427
|
+
# - stats - AdwordsApi::V201008::AdGroupCriterionService::Stats
|
1428
|
+
class BiddableAdGroupCriterion < AdGroupCriterion
|
1429
|
+
attr_accessor :adGroupId
|
1430
|
+
attr_accessor :criterion
|
1431
|
+
attr_accessor :adGroupCriterion_Type
|
1432
|
+
attr_accessor :userStatus
|
1433
|
+
attr_accessor :systemServingStatus
|
1434
|
+
attr_accessor :approvalStatus
|
1435
|
+
attr_accessor :destinationUrl
|
1436
|
+
attr_accessor :bids
|
1437
|
+
attr_accessor :experimentData
|
1438
|
+
attr_accessor :firstPageCpc
|
1439
|
+
attr_accessor :qualityInfo
|
1440
|
+
attr_accessor :stats
|
1441
|
+
|
1442
|
+
def initialize(adGroupId = nil, criterion = nil, adGroupCriterion_Type = nil, userStatus = nil, systemServingStatus = nil, approvalStatus = nil, destinationUrl = nil, bids = nil, experimentData = nil, firstPageCpc = nil, qualityInfo = nil, stats = nil)
|
1443
|
+
@adGroupId = adGroupId
|
1444
|
+
@criterion = criterion
|
1445
|
+
@adGroupCriterion_Type = adGroupCriterion_Type
|
1446
|
+
@userStatus = userStatus
|
1447
|
+
@systemServingStatus = systemServingStatus
|
1448
|
+
@approvalStatus = approvalStatus
|
1449
|
+
@destinationUrl = destinationUrl
|
1450
|
+
@bids = bids
|
1451
|
+
@experimentData = experimentData
|
1452
|
+
@firstPageCpc = firstPageCpc
|
1453
|
+
@qualityInfo = qualityInfo
|
1454
|
+
@stats = stats
|
1455
|
+
end
|
1456
|
+
end
|
1457
|
+
|
1458
|
+
# AdGroupCriterionSelector
|
1459
|
+
# - idFilters - AdwordsApi::V201008::AdGroupCriterionService::AdGroupCriterionIdFilter
|
1460
|
+
# - experimentId - SOAP::SOAPLong
|
1461
|
+
# - criterionUse - AdwordsApi::V201008::AdGroupCriterionService::CriterionUse
|
1462
|
+
# - userStatuses - AdwordsApi::V201008::AdGroupCriterionService::UserStatus
|
1463
|
+
# - statsSelector - AdwordsApi::V201008::AdGroupCriterionService::StatsSelector
|
1464
|
+
# - paging - AdwordsApi::V201008::AdGroupCriterionService::Paging
|
1465
|
+
class AdGroupCriterionSelector
|
1466
|
+
attr_accessor :idFilters
|
1467
|
+
attr_accessor :experimentId
|
1468
|
+
attr_accessor :criterionUse
|
1469
|
+
attr_accessor :userStatuses
|
1470
|
+
attr_accessor :statsSelector
|
1471
|
+
attr_accessor :paging
|
1472
|
+
|
1473
|
+
def initialize(idFilters = [], experimentId = nil, criterionUse = nil, userStatuses = [], statsSelector = nil, paging = nil)
|
1474
|
+
@idFilters = idFilters
|
1475
|
+
@experimentId = experimentId
|
1476
|
+
@criterionUse = criterionUse
|
1477
|
+
@userStatuses = userStatuses
|
1478
|
+
@statsSelector = statsSelector
|
1479
|
+
@paging = paging
|
1480
|
+
end
|
1481
|
+
end
|
1482
|
+
|
1483
|
+
# ListReturnValue
|
1484
|
+
# abstract
|
1485
|
+
# - listReturnValue_Type - SOAP::SOAPString
|
1486
|
+
class ListReturnValue
|
1487
|
+
attr_accessor :listReturnValue_Type
|
1488
|
+
|
1489
|
+
def initialize(listReturnValue_Type = nil)
|
1490
|
+
@listReturnValue_Type = listReturnValue_Type
|
1491
|
+
end
|
1492
|
+
end
|
1493
|
+
|
1494
|
+
# AdGroupCriterionReturnValue
|
1495
|
+
# - listReturnValue_Type - SOAP::SOAPString
|
1496
|
+
# - value - AdwordsApi::V201008::AdGroupCriterionService::AdGroupCriterion
|
1497
|
+
# - partialFailureErrors - AdwordsApi::V201008::AdGroupCriterionService::ApiError
|
1498
|
+
class AdGroupCriterionReturnValue < ListReturnValue
|
1499
|
+
attr_accessor :listReturnValue_Type
|
1500
|
+
attr_accessor :value
|
1501
|
+
attr_accessor :partialFailureErrors
|
1502
|
+
|
1503
|
+
def initialize(listReturnValue_Type = nil, value = [], partialFailureErrors = [])
|
1504
|
+
@listReturnValue_Type = listReturnValue_Type
|
1505
|
+
@value = value
|
1506
|
+
@partialFailureErrors = partialFailureErrors
|
1507
|
+
end
|
1508
|
+
end
|
1509
|
+
|
1510
|
+
# Operation
|
1511
|
+
# abstract
|
1512
|
+
# - operator - AdwordsApi::V201008::AdGroupCriterionService::Operator
|
1513
|
+
# - operation_Type - SOAP::SOAPString
|
1514
|
+
class Operation
|
1515
|
+
attr_accessor :operator
|
1516
|
+
attr_accessor :operation_Type
|
1517
|
+
|
1518
|
+
def initialize(operator = nil, operation_Type = nil)
|
1519
|
+
@operator = operator
|
1520
|
+
@operation_Type = operation_Type
|
1521
|
+
end
|
1522
|
+
end
|
1523
|
+
|
1524
|
+
# AdGroupCriterionOperation
|
1525
|
+
# - operator - AdwordsApi::V201008::AdGroupCriterionService::Operator
|
1526
|
+
# - operation_Type - SOAP::SOAPString
|
1527
|
+
# - operand - AdwordsApi::V201008::AdGroupCriterionService::AdGroupCriterion
|
1528
|
+
# - exemptionRequests - AdwordsApi::V201008::AdGroupCriterionService::ExemptionRequest
|
1529
|
+
class AdGroupCriterionOperation < Operation
|
1530
|
+
attr_accessor :operator
|
1531
|
+
attr_accessor :operation_Type
|
1532
|
+
attr_accessor :operand
|
1533
|
+
attr_accessor :exemptionRequests
|
1534
|
+
|
1535
|
+
def initialize(operator = nil, operation_Type = nil, operand = nil, exemptionRequests = [])
|
1536
|
+
@operator = operator
|
1537
|
+
@operation_Type = operation_Type
|
1538
|
+
@operand = operand
|
1539
|
+
@exemptionRequests = exemptionRequests
|
1540
|
+
end
|
1541
|
+
end
|
1542
|
+
|
1543
|
+
# Page
|
1544
|
+
# abstract
|
1545
|
+
# - totalNumEntries - SOAP::SOAPInt
|
1546
|
+
# - page_Type - SOAP::SOAPString
|
1547
|
+
class Page
|
1548
|
+
attr_accessor :totalNumEntries
|
1549
|
+
attr_accessor :page_Type
|
1550
|
+
|
1551
|
+
def initialize(totalNumEntries = nil, page_Type = nil)
|
1552
|
+
@totalNumEntries = totalNumEntries
|
1553
|
+
@page_Type = page_Type
|
1554
|
+
end
|
1555
|
+
end
|
1556
|
+
|
1557
|
+
# AdGroupCriterionPage
|
1558
|
+
# - totalNumEntries - SOAP::SOAPInt
|
1559
|
+
# - page_Type - SOAP::SOAPString
|
1560
|
+
# - entries - AdwordsApi::V201008::AdGroupCriterionService::AdGroupCriterion
|
1561
|
+
class AdGroupCriterionPage < Page
|
1562
|
+
attr_accessor :totalNumEntries
|
1563
|
+
attr_accessor :page_Type
|
1564
|
+
attr_accessor :entries
|
1565
|
+
|
1566
|
+
def initialize(totalNumEntries = nil, page_Type = nil, entries = [])
|
1567
|
+
@totalNumEntries = totalNumEntries
|
1568
|
+
@page_Type = page_Type
|
1569
|
+
@entries = entries
|
1570
|
+
end
|
1571
|
+
end
|
1572
|
+
|
1573
|
+
# AdGroupCriterionError.Reason
|
1574
|
+
class AdGroupCriterionErrorReason < ::String
|
1575
|
+
BID_INCOMPATIBLE_WITH_ADGROUP = AdGroupCriterionErrorReason.new("BID_INCOMPATIBLE_WITH_ADGROUP")
|
1576
|
+
CANNOT_ADD_CRITERIA_TYPE = AdGroupCriterionErrorReason.new("CANNOT_ADD_CRITERIA_TYPE")
|
1577
|
+
CANNOT_EXCLUDE_CRITERIA_TYPE = AdGroupCriterionErrorReason.new("CANNOT_EXCLUDE_CRITERIA_TYPE")
|
1578
|
+
CANNOT_TARGET_AND_EXCLUDE = AdGroupCriterionErrorReason.new("CANNOT_TARGET_AND_EXCLUDE")
|
1579
|
+
CANT_UPDATE_NEGATIVE = AdGroupCriterionErrorReason.new("CANT_UPDATE_NEGATIVE")
|
1580
|
+
CONCRETE_TYPE_REQUIRED = AdGroupCriterionErrorReason.new("CONCRETE_TYPE_REQUIRED")
|
1581
|
+
CRITERION_NOT_TARGETED = AdGroupCriterionErrorReason.new("CRITERION_NOT_TARGETED")
|
1582
|
+
CURRENCY_MISMATCH = AdGroupCriterionErrorReason.new("CURRENCY_MISMATCH")
|
1583
|
+
ID_FILTERS_HAVE_DIFF_FIELDS_SET = AdGroupCriterionErrorReason.new("ID_FILTERS_HAVE_DIFF_FIELDS_SET")
|
1584
|
+
ILLEGAL_URL = AdGroupCriterionErrorReason.new("ILLEGAL_URL")
|
1585
|
+
INAPPLICABLE_FILTER_SPECIFIED = AdGroupCriterionErrorReason.new("INAPPLICABLE_FILTER_SPECIFIED")
|
1586
|
+
INAPPLICABLE_FOR_NEGATIVE = AdGroupCriterionErrorReason.new("INAPPLICABLE_FOR_NEGATIVE")
|
1587
|
+
INVALID_DESTINATION_URL = AdGroupCriterionErrorReason.new("INVALID_DESTINATION_URL")
|
1588
|
+
INVALID_ID_FILTER_TYPE = AdGroupCriterionErrorReason.new("INVALID_ID_FILTER_TYPE")
|
1589
|
+
INVALID_KEYWORD_TEXT = AdGroupCriterionErrorReason.new("INVALID_KEYWORD_TEXT")
|
1590
|
+
INVALID_PRODUCT_FILTER = AdGroupCriterionErrorReason.new("INVALID_PRODUCT_FILTER")
|
1591
|
+
INVALID_USER_STATUS = AdGroupCriterionErrorReason.new("INVALID_USER_STATUS")
|
1592
|
+
INVALID_VERTICAL_PATH = AdGroupCriterionErrorReason.new("INVALID_VERTICAL_PATH")
|
1593
|
+
KEYWORD_LEVEL_BID_NOT_SUPPORTED_FOR_MANUALCPM = AdGroupCriterionErrorReason.new("KEYWORD_LEVEL_BID_NOT_SUPPORTED_FOR_MANUALCPM")
|
1594
|
+
NETWORK_NOT_OVERRIDABLE = AdGroupCriterionErrorReason.new("NETWORK_NOT_OVERRIDABLE")
|
1595
|
+
NO_EFFECTIVE_BID_FOR_THIS_CRITERION = AdGroupCriterionErrorReason.new("NO_EFFECTIVE_BID_FOR_THIS_CRITERION")
|
1596
|
+
PRODUCT_FILTER_TOO_LONG = AdGroupCriterionErrorReason.new("PRODUCT_FILTER_TOO_LONG")
|
1597
|
+
TOO_MANY_OPERTAIONS = AdGroupCriterionErrorReason.new("TOO_MANY_OPERTAIONS")
|
1598
|
+
TYPE_MISMATCH = AdGroupCriterionErrorReason.new("TYPE_MISMATCH")
|
1599
|
+
UNKNOWN = AdGroupCriterionErrorReason.new("UNKNOWN")
|
1600
|
+
end
|
1601
|
+
|
1602
|
+
# AdGroupCriterionLimitExceeded.CriteriaLimitType
|
1603
|
+
class AdGroupCriterionLimitExceededCriteriaLimitType < ::String
|
1604
|
+
ADGROUP_KEYWORD = AdGroupCriterionLimitExceededCriteriaLimitType.new("ADGROUP_KEYWORD")
|
1605
|
+
ADGROUP_WEBSITE = AdGroupCriterionLimitExceededCriteriaLimitType.new("ADGROUP_WEBSITE")
|
1606
|
+
end
|
1607
|
+
|
1608
|
+
# ApprovalStatus
|
1609
|
+
class ApprovalStatus < ::String
|
1610
|
+
APPROVED = ApprovalStatus.new("APPROVED")
|
1611
|
+
DISAPPROVED = ApprovalStatus.new("DISAPPROVED")
|
1612
|
+
PENDING_REVIEW = ApprovalStatus.new("PENDING_REVIEW")
|
1613
|
+
UNDER_REVIEW = ApprovalStatus.new("UNDER_REVIEW")
|
1614
|
+
end
|
1615
|
+
|
1616
|
+
# AuthenticationError.Reason
|
1617
|
+
class AuthenticationErrorReason < ::String
|
1618
|
+
AUTHENTICATION_FAILED = AuthenticationErrorReason.new("AUTHENTICATION_FAILED")
|
1619
|
+
CLIENT_CUSTOMER_ID_INVALID = AuthenticationErrorReason.new("CLIENT_CUSTOMER_ID_INVALID")
|
1620
|
+
CLIENT_CUSTOMER_ID_IS_REQUIRED = AuthenticationErrorReason.new("CLIENT_CUSTOMER_ID_IS_REQUIRED")
|
1621
|
+
CLIENT_EMAIL_FAILED_TO_AUTHENTICATE = AuthenticationErrorReason.new("CLIENT_EMAIL_FAILED_TO_AUTHENTICATE")
|
1622
|
+
CLIENT_EMAIL_INVALID = AuthenticationErrorReason.new("CLIENT_EMAIL_INVALID")
|
1623
|
+
CLIENT_EMAIL_REQUIRED = AuthenticationErrorReason.new("CLIENT_EMAIL_REQUIRED")
|
1624
|
+
CUSTOMER_NOT_FOUND = AuthenticationErrorReason.new("CUSTOMER_NOT_FOUND")
|
1625
|
+
FAILED_TO_AUTHENTICATE_GOOGLE_ACCOUNT = AuthenticationErrorReason.new("FAILED_TO_AUTHENTICATE_GOOGLE_ACCOUNT")
|
1626
|
+
FAILED_TO_RETRIEVE_LOGIN_COOKIE = AuthenticationErrorReason.new("FAILED_TO_RETRIEVE_LOGIN_COOKIE")
|
1627
|
+
GOOGLE_ACCOUNT_COOKIE_INVALID = AuthenticationErrorReason.new("GOOGLE_ACCOUNT_COOKIE_INVALID")
|
1628
|
+
GOOGLE_ACCOUNT_DELETED = AuthenticationErrorReason.new("GOOGLE_ACCOUNT_DELETED")
|
1629
|
+
GOOGLE_ACCOUNT_USER_AND_ADS_USER_MISMATCH = AuthenticationErrorReason.new("GOOGLE_ACCOUNT_USER_AND_ADS_USER_MISMATCH")
|
1630
|
+
LOGIN_COOKIE_INVALID = AuthenticationErrorReason.new("LOGIN_COOKIE_INVALID")
|
1631
|
+
LOGIN_COOKIE_REQUIRED = AuthenticationErrorReason.new("LOGIN_COOKIE_REQUIRED")
|
1632
|
+
NOT_ADS_USER = AuthenticationErrorReason.new("NOT_ADS_USER")
|
1633
|
+
OAUTH_TOKEN_DISABLED = AuthenticationErrorReason.new("OAUTH_TOKEN_DISABLED")
|
1634
|
+
OAUTH_TOKEN_EXPIRED = AuthenticationErrorReason.new("OAUTH_TOKEN_EXPIRED")
|
1635
|
+
OAUTH_TOKEN_HEADER_INVALID = AuthenticationErrorReason.new("OAUTH_TOKEN_HEADER_INVALID")
|
1636
|
+
OAUTH_TOKEN_INVALID = AuthenticationErrorReason.new("OAUTH_TOKEN_INVALID")
|
1637
|
+
OAUTH_TOKEN_REVOKED = AuthenticationErrorReason.new("OAUTH_TOKEN_REVOKED")
|
1638
|
+
USER_ID_INVALID = AuthenticationErrorReason.new("USER_ID_INVALID")
|
1639
|
+
end
|
1640
|
+
|
1641
|
+
# AuthorizationError.Reason
|
1642
|
+
class AuthorizationErrorReason < ::String
|
1643
|
+
EFFECTIVE_USER_PERMISSION_DENIED = AuthorizationErrorReason.new("EFFECTIVE_USER_PERMISSION_DENIED")
|
1644
|
+
NO_ADWORDS_ACCOUNT_FOR_CUSTOMER = AuthorizationErrorReason.new("NO_ADWORDS_ACCOUNT_FOR_CUSTOMER")
|
1645
|
+
NO_CUSTOMER_FOUND = AuthorizationErrorReason.new("NO_CUSTOMER_FOUND")
|
1646
|
+
UNABLE_TO_AUTHORIZE = AuthorizationErrorReason.new("UNABLE_TO_AUTHORIZE")
|
1647
|
+
USER_HAS_READONLY_PERMISSION = AuthorizationErrorReason.new("USER_HAS_READONLY_PERMISSION")
|
1648
|
+
USER_PERMISSION_DENIED = AuthorizationErrorReason.new("USER_PERMISSION_DENIED")
|
1649
|
+
end
|
1650
|
+
|
1651
|
+
# BidSource
|
1652
|
+
class BidSource < ::String
|
1653
|
+
ADGROUP = BidSource.new("ADGROUP")
|
1654
|
+
CRITERION = BidSource.new("CRITERION")
|
1655
|
+
end
|
1656
|
+
|
1657
|
+
# BiddingError.Reason
|
1658
|
+
class BiddingErrorReason < ::String
|
1659
|
+
ADGROUPS_DO_NOT_MATCH_CONSTRAINT = BiddingErrorReason.new("ADGROUPS_DO_NOT_MATCH_CONSTRAINT")
|
1660
|
+
AUCTION_STRATEGY_INCOMPATIBLE_WITH_PROXY_BIDDER = BiddingErrorReason.new("AUCTION_STRATEGY_INCOMPATIBLE_WITH_PROXY_BIDDER")
|
1661
|
+
BAD_BID_COMBINATION = BiddingErrorReason.new("BAD_BID_COMBINATION")
|
1662
|
+
BIDS_DO_NOT_FULFILL_SPEC = BiddingErrorReason.new("BIDS_DO_NOT_FULFILL_SPEC")
|
1663
|
+
BID_AMOUNT_REQUIRED = BiddingErrorReason.new("BID_AMOUNT_REQUIRED")
|
1664
|
+
BID_ERROR = BiddingErrorReason.new("BID_ERROR")
|
1665
|
+
BID_INCOMPATIBLE_WITH_ADGROUP = BiddingErrorReason.new("BID_INCOMPATIBLE_WITH_ADGROUP")
|
1666
|
+
BID_TOO_BIG = BiddingErrorReason.new("BID_TOO_BIG")
|
1667
|
+
BID_TOO_HIGH_FOR_DAILY_BUDGET = BiddingErrorReason.new("BID_TOO_HIGH_FOR_DAILY_BUDGET")
|
1668
|
+
BID_TOO_HIGH_FOR_MONTHLY_BUDGET = BiddingErrorReason.new("BID_TOO_HIGH_FOR_MONTHLY_BUDGET")
|
1669
|
+
BID_TOO_MANY_FRACTIONAL_DIGITS = BiddingErrorReason.new("BID_TOO_MANY_FRACTIONAL_DIGITS")
|
1670
|
+
BID_TOO_SMALL = BiddingErrorReason.new("BID_TOO_SMALL")
|
1671
|
+
BID_TO_POSITION_NOT_ENABLED = BiddingErrorReason.new("BID_TO_POSITION_NOT_ENABLED")
|
1672
|
+
BID_UNIVERSAL_CRITERIA_EXPECTED = BiddingErrorReason.new("BID_UNIVERSAL_CRITERIA_EXPECTED")
|
1673
|
+
BOTTOM_POSITION_OUT_OF_RANGE = BiddingErrorReason.new("BOTTOM_POSITION_OUT_OF_RANGE")
|
1674
|
+
CAMPAIGN_ALREADY_SET = BiddingErrorReason.new("CAMPAIGN_ALREADY_SET")
|
1675
|
+
CAMPAIGN_MUST_HAVE_A_BUDGET_TO_ENABLE_BUDGET_OPTIMIZER = BiddingErrorReason.new("CAMPAIGN_MUST_HAVE_A_BUDGET_TO_ENABLE_BUDGET_OPTIMIZER")
|
1676
|
+
CANNOT_CREATE_CAMPAIGN_WITH_CONVERSION_OPTIMIZER = BiddingErrorReason.new("CANNOT_CREATE_CAMPAIGN_WITH_CONVERSION_OPTIMIZER")
|
1677
|
+
CANNOT_EXCLUDE_DEFAULT = BiddingErrorReason.new("CANNOT_EXCLUDE_DEFAULT")
|
1678
|
+
CANNOT_SET_CONTENT_BID_WITHOUT_SETTING_KEYWORD_MAX_CPC_AS_WELL = BiddingErrorReason.new("CANNOT_SET_CONTENT_BID_WITHOUT_SETTING_KEYWORD_MAX_CPC_AS_WELL")
|
1679
|
+
CANNOT_SET_SITE_MAX_CPC = BiddingErrorReason.new("CANNOT_SET_SITE_MAX_CPC")
|
1680
|
+
CANNOT_TARGET_AND_EXCLUDE = BiddingErrorReason.new("CANNOT_TARGET_AND_EXCLUDE")
|
1681
|
+
CANNOT_TARGET_UNIVERSE = BiddingErrorReason.new("CANNOT_TARGET_UNIVERSE")
|
1682
|
+
CANNOT_UPDATE_SITE_BIDS_WHILE_PROXY_BIDDING = BiddingErrorReason.new("CANNOT_UPDATE_SITE_BIDS_WHILE_PROXY_BIDDING")
|
1683
|
+
CRITERION_NOT_TARGETED = BiddingErrorReason.new("CRITERION_NOT_TARGETED")
|
1684
|
+
CURRENCY_MISMATCH = BiddingErrorReason.new("CURRENCY_MISMATCH")
|
1685
|
+
GOAL_DOES_NOT_FULFILL_SPEC = BiddingErrorReason.new("GOAL_DOES_NOT_FULFILL_SPEC")
|
1686
|
+
GOAL_VALIDATION_FAILED = BiddingErrorReason.new("GOAL_VALIDATION_FAILED")
|
1687
|
+
ILLEGAL_URL = BiddingErrorReason.new("ILLEGAL_URL")
|
1688
|
+
MANY_PER_CLICK_NOT_AVAILABLE_FOR_CUSTOMER = BiddingErrorReason.new("MANY_PER_CLICK_NOT_AVAILABLE_FOR_CUSTOMER")
|
1689
|
+
MUST_EXCLUDE_0_TO_17_WITH_OTHER_AGE_EXCLUSIONS = BiddingErrorReason.new("MUST_EXCLUDE_0_TO_17_WITH_OTHER_AGE_EXCLUSIONS")
|
1690
|
+
NETWORK_NOT_OVERRIDEABLE = BiddingErrorReason.new("NETWORK_NOT_OVERRIDEABLE")
|
1691
|
+
NETWORK_SETTINGS_DO_NOT_SUPPORT_TRANSITION = BiddingErrorReason.new("NETWORK_SETTINGS_DO_NOT_SUPPORT_TRANSITION")
|
1692
|
+
NON_POSITIVE_BID = BiddingErrorReason.new("NON_POSITIVE_BID")
|
1693
|
+
NO_DESTINATION_URL_SPECIFIED = BiddingErrorReason.new("NO_DESTINATION_URL_SPECIFIED")
|
1694
|
+
NO_EFFECTIVE_BID = BiddingErrorReason.new("NO_EFFECTIVE_BID")
|
1695
|
+
PAY_PER_CONVERSION_NOT_ALLOWED_WITH_MANY_PER_CLICK = BiddingErrorReason.new("PAY_PER_CONVERSION_NOT_ALLOWED_WITH_MANY_PER_CLICK")
|
1696
|
+
PAY_PER_CONVERSION_NOT_ALLOWED_WITH_TARGET_CPA = BiddingErrorReason.new("PAY_PER_CONVERSION_NOT_ALLOWED_WITH_TARGET_CPA")
|
1697
|
+
PAY_PER_CONVERSION_NOT_AVAILABLE_FOR_CUSTOMER = BiddingErrorReason.new("PAY_PER_CONVERSION_NOT_AVAILABLE_FOR_CUSTOMER")
|
1698
|
+
POSITION_PREFERENCE_NOT_ENABLED = BiddingErrorReason.new("POSITION_PREFERENCE_NOT_ENABLED")
|
1699
|
+
POSITION_PREFERENCE_NOT_SUPPORTED_FOR_CRITERIA_TYPE = BiddingErrorReason.new("POSITION_PREFERENCE_NOT_SUPPORTED_FOR_CRITERIA_TYPE")
|
1700
|
+
PREFERRED_POSITION_CANNOT_BE_HIGHER_THAN_BOTTOM = BiddingErrorReason.new("PREFERRED_POSITION_CANNOT_BE_HIGHER_THAN_BOTTOM")
|
1701
|
+
PREFERRED_POSITION_OUT_OF_RANGE = BiddingErrorReason.new("PREFERRED_POSITION_OUT_OF_RANGE")
|
1702
|
+
PROXY_BIDDER_STRATEGY_INCOMPATIBLE_WITH_STYLE = BiddingErrorReason.new("PROXY_BIDDER_STRATEGY_INCOMPATIBLE_WITH_STYLE")
|
1703
|
+
PROXY_NOT_ENABLED = BiddingErrorReason.new("PROXY_NOT_ENABLED")
|
1704
|
+
TARGET_CPA_NOT_AVAILABLE_FOR_CUSTOMER = BiddingErrorReason.new("TARGET_CPA_NOT_AVAILABLE_FOR_CUSTOMER")
|
1705
|
+
TRANSITION_DOES_NOT_SUPPORT_GOAL = BiddingErrorReason.new("TRANSITION_DOES_NOT_SUPPORT_GOAL")
|
1706
|
+
TRANSITION_DOES_NOT_SUPPORT_OPTION = BiddingErrorReason.new("TRANSITION_DOES_NOT_SUPPORT_OPTION")
|
1707
|
+
UNSUPPORTED_PROXY_BIDDER_STRATEGY_TRANSITION = BiddingErrorReason.new("UNSUPPORTED_PROXY_BIDDER_STRATEGY_TRANSITION")
|
1708
|
+
UNSUPPORTED_STYLE = BiddingErrorReason.new("UNSUPPORTED_STYLE")
|
1709
|
+
UNSUPPORTED_STYLE_TRANSITION = BiddingErrorReason.new("UNSUPPORTED_STYLE_TRANSITION")
|
1710
|
+
end
|
1711
|
+
|
1712
|
+
# ClientTermsError.Reason
|
1713
|
+
class ClientTermsErrorReason < ::String
|
1714
|
+
INCOMPLETE_SIGNUP_CURRENT_ADWORDS_TNC_NOT_AGREED = ClientTermsErrorReason.new("INCOMPLETE_SIGNUP_CURRENT_ADWORDS_TNC_NOT_AGREED")
|
1715
|
+
end
|
1716
|
+
|
1717
|
+
# CriterionUse
|
1718
|
+
class CriterionUse < ::String
|
1719
|
+
BIDDABLE = CriterionUse.new("BIDDABLE")
|
1720
|
+
NEGATIVE = CriterionUse.new("NEGATIVE")
|
1721
|
+
end
|
1722
|
+
|
1723
|
+
# DatabaseError.Reason
|
1724
|
+
class DatabaseErrorReason < ::String
|
1725
|
+
CAMPAIGN_PRODUCT_NOT_SUPPORTED = DatabaseErrorReason.new("CAMPAIGN_PRODUCT_NOT_SUPPORTED")
|
1726
|
+
CONCURRENT_MODIFICATION = DatabaseErrorReason.new("CONCURRENT_MODIFICATION")
|
1727
|
+
DATABASE_ERROR = DatabaseErrorReason.new("DATABASE_ERROR")
|
1728
|
+
DUPLICATE_KEY = DatabaseErrorReason.new("DUPLICATE_KEY")
|
1729
|
+
PERMISSION_DENIED = DatabaseErrorReason.new("PERMISSION_DENIED")
|
1730
|
+
UNKNOWN = DatabaseErrorReason.new("UNKNOWN")
|
1731
|
+
end
|
1732
|
+
|
1733
|
+
# DateError.Reason
|
1734
|
+
class DateErrorReason < ::String
|
1735
|
+
DATE_RANGE_MINIMUM_AND_MAXIMUM_DATES_BOTH_NULL = DateErrorReason.new("DATE_RANGE_MINIMUM_AND_MAXIMUM_DATES_BOTH_NULL")
|
1736
|
+
DATE_RANGE_MINIMUM_DATE_LATER_THAN_MAXIMUM_DATE = DateErrorReason.new("DATE_RANGE_MINIMUM_DATE_LATER_THAN_MAXIMUM_DATE")
|
1737
|
+
EARLIER_THAN_MINIMUM_DATE = DateErrorReason.new("EARLIER_THAN_MINIMUM_DATE")
|
1738
|
+
INVALID_FIELD_VALUES_IN_DATE = DateErrorReason.new("INVALID_FIELD_VALUES_IN_DATE")
|
1739
|
+
INVALID_STRING_DATE = DateErrorReason.new("INVALID_STRING_DATE")
|
1740
|
+
INVALID_STRING_DATE_RANGE = DateErrorReason.new("INVALID_STRING_DATE_RANGE")
|
1741
|
+
INVALID_STRING_DATE_TIME = DateErrorReason.new("INVALID_STRING_DATE_TIME")
|
1742
|
+
LATER_THAN_MAXIMUM_DATE = DateErrorReason.new("LATER_THAN_MAXIMUM_DATE")
|
1743
|
+
end
|
1744
|
+
|
1745
|
+
# DistinctError.Reason
|
1746
|
+
class DistinctErrorReason < ::String
|
1747
|
+
DUPLICATE_ELEMENT = DistinctErrorReason.new("DUPLICATE_ELEMENT")
|
1748
|
+
end
|
1749
|
+
|
1750
|
+
# EntityAccessDenied.Reason
|
1751
|
+
class EntityAccessDeniedReason < ::String
|
1752
|
+
READ_ACCESS_DENIED = EntityAccessDeniedReason.new("READ_ACCESS_DENIED")
|
1753
|
+
WRITE_ACCESS_DENIED = EntityAccessDeniedReason.new("WRITE_ACCESS_DENIED")
|
1754
|
+
end
|
1755
|
+
|
1756
|
+
# EntityCountLimitExceeded.Reason
|
1757
|
+
class EntityCountLimitExceededReason < ::String
|
1758
|
+
ACCOUNT_LIMIT = EntityCountLimitExceededReason.new("ACCOUNT_LIMIT")
|
1759
|
+
ADGROUP_DISPLAY_AD_LIMIT = EntityCountLimitExceededReason.new("ADGROUP_DISPLAY_AD_LIMIT")
|
1760
|
+
ADGROUP_LIMIT = EntityCountLimitExceededReason.new("ADGROUP_LIMIT")
|
1761
|
+
ADGROUP_TEXT_AD_LIMIT = EntityCountLimitExceededReason.new("ADGROUP_TEXT_AD_LIMIT")
|
1762
|
+
CAMPAIGN_LIMIT = EntityCountLimitExceededReason.new("CAMPAIGN_LIMIT")
|
1763
|
+
UNKNOWN = EntityCountLimitExceededReason.new("UNKNOWN")
|
1764
|
+
end
|
1765
|
+
|
1766
|
+
# EntityNotFound.Reason
|
1767
|
+
class EntityNotFoundReason < ::String
|
1768
|
+
INVALID_ID = EntityNotFoundReason.new("INVALID_ID")
|
1769
|
+
end
|
1770
|
+
|
1771
|
+
# ExperimentDataStatus
|
1772
|
+
class ExperimentDataStatus < ::String
|
1773
|
+
ACTIVE = ExperimentDataStatus.new("ACTIVE")
|
1774
|
+
DELETED = ExperimentDataStatus.new("DELETED")
|
1775
|
+
UNKNOWN = ExperimentDataStatus.new("UNKNOWN")
|
1776
|
+
end
|
1777
|
+
|
1778
|
+
# ExperimentDeltaStatus
|
1779
|
+
class ExperimentDeltaStatus < ::String
|
1780
|
+
CONTROL_ONLY = ExperimentDeltaStatus.new("CONTROL_ONLY")
|
1781
|
+
EXPERIMENT_ONLY = ExperimentDeltaStatus.new("EXPERIMENT_ONLY")
|
1782
|
+
MODIFIED = ExperimentDeltaStatus.new("MODIFIED")
|
1783
|
+
UNKNOWN = ExperimentDeltaStatus.new("UNKNOWN")
|
1784
|
+
end
|
1785
|
+
|
1786
|
+
# InternalApiError.Reason
|
1787
|
+
class InternalApiErrorReason < ::String
|
1788
|
+
UNEXPECTED_INTERNAL_API_ERROR = InternalApiErrorReason.new("UNEXPECTED_INTERNAL_API_ERROR")
|
1789
|
+
UNKNOWN = InternalApiErrorReason.new("UNKNOWN")
|
1790
|
+
end
|
1791
|
+
|
1792
|
+
# KeywordMatchType
|
1793
|
+
class KeywordMatchType < ::String
|
1794
|
+
BROAD = KeywordMatchType.new("BROAD")
|
1795
|
+
EXACT = KeywordMatchType.new("EXACT")
|
1796
|
+
PHRASE = KeywordMatchType.new("PHRASE")
|
1797
|
+
end
|
1798
|
+
|
1799
|
+
# MultiplierSource
|
1800
|
+
class MultiplierSource < ::String
|
1801
|
+
ADGROUP = MultiplierSource.new("ADGROUP")
|
1802
|
+
CRITERION = MultiplierSource.new("CRITERION")
|
1803
|
+
UNKNOWN = MultiplierSource.new("UNKNOWN")
|
1804
|
+
end
|
1805
|
+
|
1806
|
+
# NewEntityCreationError.Reason
|
1807
|
+
class NewEntityCreationErrorReason < ::String
|
1808
|
+
CANNOT_SET_ID_FOR_ADD = NewEntityCreationErrorReason.new("CANNOT_SET_ID_FOR_ADD")
|
1809
|
+
end
|
1810
|
+
|
1811
|
+
# NotEmptyError.Reason
|
1812
|
+
class NotEmptyErrorReason < ::String
|
1813
|
+
EMPTY_LIST = NotEmptyErrorReason.new("EMPTY_LIST")
|
1814
|
+
end
|
1815
|
+
|
1816
|
+
# NotWhitelistedError.Reason
|
1817
|
+
class NotWhitelistedErrorReason < ::String
|
1818
|
+
CUSTOMER_NOT_WHITELISTED_FOR_API = NotWhitelistedErrorReason.new("CUSTOMER_NOT_WHITELISTED_FOR_API")
|
1819
|
+
end
|
1820
|
+
|
1821
|
+
# NullError.Reason
|
1822
|
+
class NullErrorReason < ::String
|
1823
|
+
NULL_CONTENT = NullErrorReason.new("NULL_CONTENT")
|
1824
|
+
end
|
1825
|
+
|
1826
|
+
# OperationAccessDenied.Reason
|
1827
|
+
class OperationAccessDeniedReason < ::String
|
1828
|
+
ACTION_NOT_PERMITTED = OperationAccessDeniedReason.new("ACTION_NOT_PERMITTED")
|
1829
|
+
ADD_OPERATION_NOT_PERMITTED = OperationAccessDeniedReason.new("ADD_OPERATION_NOT_PERMITTED")
|
1830
|
+
REMOVE_OPERATION_NOT_PERMITTED = OperationAccessDeniedReason.new("REMOVE_OPERATION_NOT_PERMITTED")
|
1831
|
+
SET_OPERATION_NOT_PERMITTED = OperationAccessDeniedReason.new("SET_OPERATION_NOT_PERMITTED")
|
1832
|
+
UNKNOWN = OperationAccessDeniedReason.new("UNKNOWN")
|
1833
|
+
end
|
1834
|
+
|
1835
|
+
# Operator
|
1836
|
+
class Operator < ::String
|
1837
|
+
ADD = Operator.new("ADD")
|
1838
|
+
REMOVE = Operator.new("REMOVE")
|
1839
|
+
SET = Operator.new("SET")
|
1840
|
+
end
|
1841
|
+
|
1842
|
+
# PagingError.Reason
|
1843
|
+
class PagingErrorReason < ::String
|
1844
|
+
NUMBER_OF_RESULTS_CANNOT_BE_NEGATIVE = PagingErrorReason.new("NUMBER_OF_RESULTS_CANNOT_BE_NEGATIVE")
|
1845
|
+
START_INDEX_CANNOT_BE_NEGATIVE = PagingErrorReason.new("START_INDEX_CANNOT_BE_NEGATIVE")
|
1846
|
+
UNKNOWN = PagingErrorReason.new("UNKNOWN")
|
1847
|
+
end
|
1848
|
+
|
1849
|
+
# QuotaCheckError.Reason
|
1850
|
+
class QuotaCheckErrorReason < ::String
|
1851
|
+
ACCOUNT_DELINQUENT = QuotaCheckErrorReason.new("ACCOUNT_DELINQUENT")
|
1852
|
+
ACCOUNT_INACCESSIBLE = QuotaCheckErrorReason.new("ACCOUNT_INACCESSIBLE")
|
1853
|
+
ACCOUNT_INACTIVE = QuotaCheckErrorReason.new("ACCOUNT_INACTIVE")
|
1854
|
+
INCOMPLETE_SIGNUP = QuotaCheckErrorReason.new("INCOMPLETE_SIGNUP")
|
1855
|
+
INCOMPLETE_SIGNUP_LATEST_ADWORDS_API_TNC_NOT_AGREED = QuotaCheckErrorReason.new("INCOMPLETE_SIGNUP_LATEST_ADWORDS_API_TNC_NOT_AGREED")
|
1856
|
+
INCOMPLETE_SIGNUP_NO_BILLING_INFO = QuotaCheckErrorReason.new("INCOMPLETE_SIGNUP_NO_BILLING_INFO")
|
1857
|
+
INCOMPLETE_SIGNUP_USER_INFO_MISSING = QuotaCheckErrorReason.new("INCOMPLETE_SIGNUP_USER_INFO_MISSING")
|
1858
|
+
INCOMPLETE_SIGNUP_USER_INFO_PENDING = QuotaCheckErrorReason.new("INCOMPLETE_SIGNUP_USER_INFO_PENDING")
|
1859
|
+
INCOMPLETE_SIGNUP_USER_INFO_REJECTED = QuotaCheckErrorReason.new("INCOMPLETE_SIGNUP_USER_INFO_REJECTED")
|
1860
|
+
INVALID_TOKEN_HEADER = QuotaCheckErrorReason.new("INVALID_TOKEN_HEADER")
|
1861
|
+
MONTHLY_BUDGET_REACHED = QuotaCheckErrorReason.new("MONTHLY_BUDGET_REACHED")
|
1862
|
+
QUOTA_EXCEEDED = QuotaCheckErrorReason.new("QUOTA_EXCEEDED")
|
1863
|
+
end
|
1864
|
+
|
1865
|
+
# RangeError.Reason
|
1866
|
+
class RangeErrorReason < ::String
|
1867
|
+
TOO_HIGH = RangeErrorReason.new("TOO_HIGH")
|
1868
|
+
TOO_LOW = RangeErrorReason.new("TOO_LOW")
|
1869
|
+
end
|
1870
|
+
|
1871
|
+
# RateExceededError.Reason
|
1872
|
+
class RateExceededErrorReason < ::String
|
1873
|
+
RATE_EXCEEDED = RateExceededErrorReason.new("RATE_EXCEEDED")
|
1874
|
+
end
|
1875
|
+
|
1876
|
+
# ReadOnlyError.Reason
|
1877
|
+
class ReadOnlyErrorReason < ::String
|
1878
|
+
READ_ONLY = ReadOnlyErrorReason.new("READ_ONLY")
|
1879
|
+
end
|
1880
|
+
|
1881
|
+
# RejectedError.Reason
|
1882
|
+
class RejectedErrorReason < ::String
|
1883
|
+
UNKNOWN_VALUE = RejectedErrorReason.new("UNKNOWN_VALUE")
|
1884
|
+
end
|
1885
|
+
|
1886
|
+
# RequestError.Reason
|
1887
|
+
class RequestErrorReason < ::String
|
1888
|
+
INVALID_INPUT = RequestErrorReason.new("INVALID_INPUT")
|
1889
|
+
UNKNOWN = RequestErrorReason.new("UNKNOWN")
|
1890
|
+
end
|
1891
|
+
|
1892
|
+
# RequiredError.Reason
|
1893
|
+
class RequiredErrorReason < ::String
|
1894
|
+
REQUIRED = RequiredErrorReason.new("REQUIRED")
|
1895
|
+
end
|
1896
|
+
|
1897
|
+
# SizeLimitError.Reason
|
1898
|
+
class SizeLimitErrorReason < ::String
|
1899
|
+
REQUEST_SIZE_LIMIT_EXCEEDED = SizeLimitErrorReason.new("REQUEST_SIZE_LIMIT_EXCEEDED")
|
1900
|
+
RESPONSE_SIZE_LIMIT_EXCEEDED = SizeLimitErrorReason.new("RESPONSE_SIZE_LIMIT_EXCEEDED")
|
1901
|
+
UNKNOWN = SizeLimitErrorReason.new("UNKNOWN")
|
1902
|
+
end
|
1903
|
+
|
1904
|
+
# Stats.Network
|
1905
|
+
class StatsNetwork < ::String
|
1906
|
+
ALL = StatsNetwork.new("ALL")
|
1907
|
+
CONTENT = StatsNetwork.new("CONTENT")
|
1908
|
+
CONTENT_KEYWORD_BID = StatsNetwork.new("CONTENT_KEYWORD_BID")
|
1909
|
+
CONTENT_PLACEMENT_BID = StatsNetwork.new("CONTENT_PLACEMENT_BID")
|
1910
|
+
GOOGLE_SEARCH = StatsNetwork.new("GOOGLE_SEARCH")
|
1911
|
+
SEARCH = StatsNetwork.new("SEARCH")
|
1912
|
+
SEARCH_NETWORK = StatsNetwork.new("SEARCH_NETWORK")
|
1913
|
+
UNKNOWN = StatsNetwork.new("UNKNOWN")
|
1914
|
+
end
|
1915
|
+
|
1916
|
+
# StatsQueryError.Reason
|
1917
|
+
class StatsQueryErrorReason < ::String
|
1918
|
+
DATE_NOT_IN_VALID_RANGE = StatsQueryErrorReason.new("DATE_NOT_IN_VALID_RANGE")
|
1919
|
+
end
|
1920
|
+
|
1921
|
+
# SystemServingStatus
|
1922
|
+
class SystemServingStatus < ::String
|
1923
|
+
ELIGIBLE = SystemServingStatus.new("ELIGIBLE")
|
1924
|
+
RARELY_SERVED = SystemServingStatus.new("RARELY_SERVED")
|
1925
|
+
end
|
1926
|
+
|
1927
|
+
# CriterionUserList.MembershipStatus
|
1928
|
+
class CriterionUserListMembershipStatus < ::String
|
1929
|
+
CLOSED = CriterionUserListMembershipStatus.new("CLOSED")
|
1930
|
+
OPEN = CriterionUserListMembershipStatus.new("OPEN")
|
1931
|
+
end
|
1932
|
+
|
1933
|
+
# UserStatus
|
1934
|
+
class UserStatus < ::String
|
1935
|
+
ACTIVE = UserStatus.new("ACTIVE")
|
1936
|
+
DELETED = UserStatus.new("DELETED")
|
1937
|
+
PAUSED = UserStatus.new("PAUSED")
|
1938
|
+
end
|
1939
|
+
|
1940
|
+
# get
|
1941
|
+
# - selector - AdwordsApi::V201008::AdGroupCriterionService::AdGroupCriterionSelector
|
1942
|
+
class Get #:nodoc: all
|
1943
|
+
attr_accessor :selector
|
1944
|
+
|
1945
|
+
def initialize(selector = nil)
|
1946
|
+
@selector = selector
|
1947
|
+
end
|
1948
|
+
end
|
1949
|
+
|
1950
|
+
# getResponse
|
1951
|
+
# - rval - AdwordsApi::V201008::AdGroupCriterionService::AdGroupCriterionPage
|
1952
|
+
class GetResponse #:nodoc: all
|
1953
|
+
attr_accessor :rval
|
1954
|
+
|
1955
|
+
def initialize(rval = nil)
|
1956
|
+
@rval = rval
|
1957
|
+
end
|
1958
|
+
end
|
1959
|
+
|
1960
|
+
# mutate
|
1961
|
+
# - operations - AdwordsApi::V201008::AdGroupCriterionService::AdGroupCriterionOperation
|
1962
|
+
class Mutate #:nodoc: all
|
1963
|
+
attr_accessor :operations
|
1964
|
+
|
1965
|
+
def initialize(operations = [])
|
1966
|
+
@operations = operations
|
1967
|
+
end
|
1968
|
+
end
|
1969
|
+
|
1970
|
+
# mutateResponse
|
1971
|
+
# - rval - AdwordsApi::V201008::AdGroupCriterionService::AdGroupCriterionReturnValue
|
1972
|
+
class MutateResponse #:nodoc: all
|
1973
|
+
attr_accessor :rval
|
1974
|
+
|
1975
|
+
def initialize(rval = nil)
|
1976
|
+
@rval = rval
|
1977
|
+
end
|
1978
|
+
end
|
1979
|
+
|
1980
|
+
|
1981
|
+
end; end; end
|