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,335 @@
|
|
1
|
+
# This file was automatically generated during the "rake generate" step of
|
2
|
+
# library setup.
|
3
|
+
require 'adwords_api/v201003/TargetingIdeaServiceDriver.rb'
|
4
|
+
|
5
|
+
module AdwordsApi
|
6
|
+
module V201003
|
7
|
+
module TargetingIdeaService
|
8
|
+
|
9
|
+
# Wrapper class for the v201003 TargetingIdeaService service.
|
10
|
+
# This class is automatically generated.
|
11
|
+
class TargetingIdeaServiceWrapper
|
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::V201003::TargetingIdeaService::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/o/v201003'
|
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::V201003::TargetingIdeaService::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 TargetingIdeaServiceWrapper.
|
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::V201003::TargetingIdeaService
|
51
|
+
@version = :v201003
|
52
|
+
@service = :TargetingIdeaService
|
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::V201003::\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/v201003/TargetingIdeaService.html#get] method of the TargetingIdeaService service.
|
272
|
+
# Check {the online documentation for this method}[http://code.google.com/apis/adwords/docs/reference/v201003/TargetingIdeaService.html#get].
|
273
|
+
#
|
274
|
+
# Args:
|
275
|
+
# - selector: AdwordsApi::V201003::TargetingIdeaService::TargetingIdeaSelector
|
276
|
+
#
|
277
|
+
# Returns:
|
278
|
+
# - rval: AdwordsApi::V201003::TargetingIdeaService::TargetingIdeaPage
|
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::V201003::TargetingIdeaService::TargetingIdeaSelector)
|
287
|
+
arg_array << convert_to_object(selector, AdwordsApi::V201003::TargetingIdeaService::Get,
|
288
|
+
'selector')
|
289
|
+
# Construct request object and make API call
|
290
|
+
obj = AdwordsApi::V201003::TargetingIdeaService::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 {getBulkKeywordIdeas}[http://code.google.com/apis/adwords/docs/reference/v201003/TargetingIdeaService.html#getBulkKeywordIdeas] method of the TargetingIdeaService service.
|
301
|
+
# Check {the online documentation for this method}[http://code.google.com/apis/adwords/docs/reference/v201003/TargetingIdeaService.html#getBulkKeywordIdeas].
|
302
|
+
#
|
303
|
+
# Args:
|
304
|
+
# - selector: AdwordsApi::V201003::TargetingIdeaService::TargetingIdeaSelector
|
305
|
+
#
|
306
|
+
# Returns:
|
307
|
+
# - rval: AdwordsApi::V201003::TargetingIdeaService::TargetingIdeaPage
|
308
|
+
#
|
309
|
+
# Raises:
|
310
|
+
# Error::ApiError (or a subclass thereof) if a SOAP fault occurs.
|
311
|
+
#
|
312
|
+
def getBulkKeywordIdeas(selector)
|
313
|
+
begin
|
314
|
+
arg_array = []
|
315
|
+
validate_object(selector, AdwordsApi::V201003::TargetingIdeaService::TargetingIdeaSelector)
|
316
|
+
arg_array << convert_to_object(selector, AdwordsApi::V201003::TargetingIdeaService::GetBulkKeywordIdeas,
|
317
|
+
'selector')
|
318
|
+
# Construct request object and make API call
|
319
|
+
obj = AdwordsApi::V201003::TargetingIdeaService::GetBulkKeywordIdeas.new(*arg_array)
|
320
|
+
reply = convert_from_object(@driver.getBulkKeywordIdeas(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
|
+
alias get_bulk_keyword_ideas getBulkKeywordIdeas
|
330
|
+
|
331
|
+
|
332
|
+
end
|
333
|
+
end
|
334
|
+
end
|
335
|
+
end
|
@@ -0,0 +1,1383 @@
|
|
1
|
+
require 'xsd/qname'
|
2
|
+
|
3
|
+
module AdwordsApi; module V201008; module AdExtensionOverrideService
|
4
|
+
|
5
|
+
|
6
|
+
# Address
|
7
|
+
# - streetAddress - SOAP::SOAPString
|
8
|
+
# - streetAddress2 - SOAP::SOAPString
|
9
|
+
# - cityName - SOAP::SOAPString
|
10
|
+
# - provinceCode - SOAP::SOAPString
|
11
|
+
# - provinceName - SOAP::SOAPString
|
12
|
+
# - postalCode - SOAP::SOAPString
|
13
|
+
# - countryCode - SOAP::SOAPString
|
14
|
+
class Address
|
15
|
+
attr_accessor :streetAddress
|
16
|
+
attr_accessor :streetAddress2
|
17
|
+
attr_accessor :cityName
|
18
|
+
attr_accessor :provinceCode
|
19
|
+
attr_accessor :provinceName
|
20
|
+
attr_accessor :postalCode
|
21
|
+
attr_accessor :countryCode
|
22
|
+
|
23
|
+
def initialize(streetAddress = nil, streetAddress2 = nil, cityName = nil, provinceCode = nil, provinceName = nil, postalCode = nil, countryCode = nil)
|
24
|
+
@streetAddress = streetAddress
|
25
|
+
@streetAddress2 = streetAddress2
|
26
|
+
@cityName = cityName
|
27
|
+
@provinceCode = provinceCode
|
28
|
+
@provinceName = provinceName
|
29
|
+
@postalCode = postalCode
|
30
|
+
@countryCode = countryCode
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
# GeoPoint
|
35
|
+
# - latitudeInMicroDegrees - SOAP::SOAPInt
|
36
|
+
# - longitudeInMicroDegrees - SOAP::SOAPInt
|
37
|
+
class GeoPoint
|
38
|
+
attr_accessor :latitudeInMicroDegrees
|
39
|
+
attr_accessor :longitudeInMicroDegrees
|
40
|
+
|
41
|
+
def initialize(latitudeInMicroDegrees = nil, longitudeInMicroDegrees = nil)
|
42
|
+
@latitudeInMicroDegrees = latitudeInMicroDegrees
|
43
|
+
@longitudeInMicroDegrees = longitudeInMicroDegrees
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
# LocationOverrideInfo
|
48
|
+
# - radius - SOAP::SOAPInt
|
49
|
+
# - radiusUnits - AdwordsApi::V201008::AdExtensionOverrideService::LocationOverrideInfoRadiusUnits
|
50
|
+
class LocationOverrideInfo
|
51
|
+
attr_accessor :radius
|
52
|
+
attr_accessor :radiusUnits
|
53
|
+
|
54
|
+
def initialize(radius = nil, radiusUnits = nil)
|
55
|
+
@radius = radius
|
56
|
+
@radiusUnits = radiusUnits
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
# OverrideInfo
|
61
|
+
# - locationOverrideInfo - AdwordsApi::V201008::AdExtensionOverrideService::LocationOverrideInfo
|
62
|
+
class OverrideInfo
|
63
|
+
attr_accessor :locationOverrideInfo
|
64
|
+
|
65
|
+
def initialize(locationOverrideInfo = nil)
|
66
|
+
@locationOverrideInfo = locationOverrideInfo
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
# Paging
|
71
|
+
# - startIndex - SOAP::SOAPInt
|
72
|
+
# - numberResults - SOAP::SOAPInt
|
73
|
+
class Paging
|
74
|
+
attr_accessor :startIndex
|
75
|
+
attr_accessor :numberResults
|
76
|
+
|
77
|
+
def initialize(startIndex = nil, numberResults = nil)
|
78
|
+
@startIndex = startIndex
|
79
|
+
@numberResults = numberResults
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
# ProductConditionOperand
|
84
|
+
# - operand - SOAP::SOAPString
|
85
|
+
class ProductConditionOperand
|
86
|
+
attr_accessor :operand
|
87
|
+
|
88
|
+
def initialize(operand = nil)
|
89
|
+
@operand = operand
|
90
|
+
end
|
91
|
+
end
|
92
|
+
|
93
|
+
# Sitelink
|
94
|
+
# - displayText - SOAP::SOAPString
|
95
|
+
# - destinationUrl - SOAP::SOAPString
|
96
|
+
class Sitelink
|
97
|
+
attr_accessor :displayText
|
98
|
+
attr_accessor :destinationUrl
|
99
|
+
|
100
|
+
def initialize(displayText = nil, destinationUrl = nil)
|
101
|
+
@displayText = displayText
|
102
|
+
@destinationUrl = destinationUrl
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
106
|
+
# SoapHeader
|
107
|
+
# - authToken - SOAP::SOAPString
|
108
|
+
# - clientCustomerId - SOAP::SOAPString
|
109
|
+
# - clientEmail - SOAP::SOAPString
|
110
|
+
# - developerToken - SOAP::SOAPString
|
111
|
+
# - userAgent - SOAP::SOAPString
|
112
|
+
# - validateOnly - SOAP::SOAPBoolean
|
113
|
+
# - partialFailure - SOAP::SOAPBoolean
|
114
|
+
class SoapHeader
|
115
|
+
attr_accessor :authToken
|
116
|
+
attr_accessor :clientCustomerId
|
117
|
+
attr_accessor :clientEmail
|
118
|
+
attr_accessor :developerToken
|
119
|
+
attr_accessor :userAgent
|
120
|
+
attr_accessor :validateOnly
|
121
|
+
attr_accessor :partialFailure
|
122
|
+
|
123
|
+
def initialize(authToken = nil, clientCustomerId = nil, clientEmail = nil, developerToken = nil, userAgent = nil, validateOnly = nil, partialFailure = nil)
|
124
|
+
@authToken = authToken
|
125
|
+
@clientCustomerId = clientCustomerId
|
126
|
+
@clientEmail = clientEmail
|
127
|
+
@developerToken = developerToken
|
128
|
+
@userAgent = userAgent
|
129
|
+
@validateOnly = validateOnly
|
130
|
+
@partialFailure = partialFailure
|
131
|
+
end
|
132
|
+
end
|
133
|
+
|
134
|
+
# SoapResponseHeader
|
135
|
+
# - requestId - SOAP::SOAPString
|
136
|
+
# - operations - SOAP::SOAPLong
|
137
|
+
# - responseTime - SOAP::SOAPLong
|
138
|
+
# - units - SOAP::SOAPLong
|
139
|
+
class SoapResponseHeader
|
140
|
+
attr_accessor :requestId
|
141
|
+
attr_accessor :operations
|
142
|
+
attr_accessor :responseTime
|
143
|
+
attr_accessor :units
|
144
|
+
|
145
|
+
def initialize(requestId = nil, operations = nil, responseTime = nil, units = nil)
|
146
|
+
@requestId = requestId
|
147
|
+
@operations = operations
|
148
|
+
@responseTime = responseTime
|
149
|
+
@units = units
|
150
|
+
end
|
151
|
+
end
|
152
|
+
|
153
|
+
# AdExtensionOverrideSelector
|
154
|
+
# - campaignIds - SOAP::SOAPLong
|
155
|
+
# - adIds - SOAP::SOAPLong
|
156
|
+
# - adExtensionIds - SOAP::SOAPLong
|
157
|
+
# - statuses - AdwordsApi::V201008::AdExtensionOverrideService::AdExtensionOverrideStatus
|
158
|
+
# - paging - AdwordsApi::V201008::AdExtensionOverrideService::Paging
|
159
|
+
class AdExtensionOverrideSelector
|
160
|
+
attr_accessor :campaignIds
|
161
|
+
attr_accessor :adIds
|
162
|
+
attr_accessor :adExtensionIds
|
163
|
+
attr_accessor :statuses
|
164
|
+
attr_accessor :paging
|
165
|
+
|
166
|
+
def initialize(campaignIds = [], adIds = [], adExtensionIds = [], statuses = [], paging = nil)
|
167
|
+
@campaignIds = campaignIds
|
168
|
+
@adIds = adIds
|
169
|
+
@adExtensionIds = adExtensionIds
|
170
|
+
@statuses = statuses
|
171
|
+
@paging = paging
|
172
|
+
end
|
173
|
+
end
|
174
|
+
|
175
|
+
# ComparableValue
|
176
|
+
# abstract
|
177
|
+
# - comparableValue_Type - SOAP::SOAPString
|
178
|
+
class ComparableValue
|
179
|
+
attr_accessor :comparableValue_Type
|
180
|
+
|
181
|
+
def initialize(comparableValue_Type = nil)
|
182
|
+
@comparableValue_Type = comparableValue_Type
|
183
|
+
end
|
184
|
+
end
|
185
|
+
|
186
|
+
# Money
|
187
|
+
# - comparableValue_Type - SOAP::SOAPString
|
188
|
+
# - microAmount - SOAP::SOAPLong
|
189
|
+
class Money < ComparableValue
|
190
|
+
attr_accessor :comparableValue_Type
|
191
|
+
attr_accessor :microAmount
|
192
|
+
|
193
|
+
def initialize(comparableValue_Type = nil, microAmount = nil)
|
194
|
+
@comparableValue_Type = comparableValue_Type
|
195
|
+
@microAmount = microAmount
|
196
|
+
end
|
197
|
+
end
|
198
|
+
|
199
|
+
# NumberValue
|
200
|
+
# abstract
|
201
|
+
# - comparableValue_Type - SOAP::SOAPString
|
202
|
+
class NumberValue < ComparableValue
|
203
|
+
attr_accessor :comparableValue_Type
|
204
|
+
|
205
|
+
def initialize(comparableValue_Type = nil)
|
206
|
+
@comparableValue_Type = comparableValue_Type
|
207
|
+
end
|
208
|
+
end
|
209
|
+
|
210
|
+
# DoubleValue
|
211
|
+
# - comparableValue_Type - SOAP::SOAPString
|
212
|
+
# - number - SOAP::SOAPDouble
|
213
|
+
class DoubleValue < NumberValue
|
214
|
+
attr_accessor :comparableValue_Type
|
215
|
+
attr_accessor :number
|
216
|
+
|
217
|
+
def initialize(comparableValue_Type = nil, number = nil)
|
218
|
+
@comparableValue_Type = comparableValue_Type
|
219
|
+
@number = number
|
220
|
+
end
|
221
|
+
end
|
222
|
+
|
223
|
+
# LongValue
|
224
|
+
# - comparableValue_Type - SOAP::SOAPString
|
225
|
+
# - number - SOAP::SOAPLong
|
226
|
+
class LongValue < NumberValue
|
227
|
+
attr_accessor :comparableValue_Type
|
228
|
+
attr_accessor :number
|
229
|
+
|
230
|
+
def initialize(comparableValue_Type = nil, number = nil)
|
231
|
+
@comparableValue_Type = comparableValue_Type
|
232
|
+
@number = number
|
233
|
+
end
|
234
|
+
end
|
235
|
+
|
236
|
+
# ProductCondition
|
237
|
+
# - argument - SOAP::SOAPString
|
238
|
+
# - operand - AdwordsApi::V201008::AdExtensionOverrideService::ProductConditionOperand
|
239
|
+
class ProductCondition
|
240
|
+
attr_accessor :argument
|
241
|
+
attr_accessor :operand
|
242
|
+
|
243
|
+
def initialize(argument = nil, operand = nil)
|
244
|
+
@argument = argument
|
245
|
+
@operand = operand
|
246
|
+
end
|
247
|
+
end
|
248
|
+
|
249
|
+
# ProductConditionAndGroup
|
250
|
+
# - conditions - AdwordsApi::V201008::AdExtensionOverrideService::ProductCondition
|
251
|
+
class ProductConditionAndGroup
|
252
|
+
attr_accessor :conditions
|
253
|
+
|
254
|
+
def initialize(conditions = [])
|
255
|
+
@conditions = conditions
|
256
|
+
end
|
257
|
+
end
|
258
|
+
|
259
|
+
# Stats
|
260
|
+
# - startDate - SOAP::SOAPString
|
261
|
+
# - endDate - SOAP::SOAPString
|
262
|
+
# - network - AdwordsApi::V201008::AdExtensionOverrideService::StatsNetwork
|
263
|
+
# - clicks - SOAP::SOAPLong
|
264
|
+
# - impressions - SOAP::SOAPLong
|
265
|
+
# - cost - AdwordsApi::V201008::AdExtensionOverrideService::Money
|
266
|
+
# - averagePosition - SOAP::SOAPDouble
|
267
|
+
# - averageCpc - AdwordsApi::V201008::AdExtensionOverrideService::Money
|
268
|
+
# - averageCpm - AdwordsApi::V201008::AdExtensionOverrideService::Money
|
269
|
+
# - ctr - SOAP::SOAPDouble
|
270
|
+
# - conversions - SOAP::SOAPLong
|
271
|
+
# - conversionRate - SOAP::SOAPDouble
|
272
|
+
# - costPerConversion - AdwordsApi::V201008::AdExtensionOverrideService::Money
|
273
|
+
# - conversionsManyPerClick - SOAP::SOAPLong
|
274
|
+
# - conversionRateManyPerClick - SOAP::SOAPDouble
|
275
|
+
# - costPerConversionManyPerClick - AdwordsApi::V201008::AdExtensionOverrideService::Money
|
276
|
+
# - viewThroughConversions - SOAP::SOAPLong
|
277
|
+
# - totalConvValue - SOAP::SOAPLong
|
278
|
+
# - valuePerConv - SOAP::SOAPDouble
|
279
|
+
# - valuePerConvManyPerClick - SOAP::SOAPDouble
|
280
|
+
# - stats_Type - SOAP::SOAPString
|
281
|
+
class Stats
|
282
|
+
attr_accessor :startDate
|
283
|
+
attr_accessor :endDate
|
284
|
+
attr_accessor :network
|
285
|
+
attr_accessor :clicks
|
286
|
+
attr_accessor :impressions
|
287
|
+
attr_accessor :cost
|
288
|
+
attr_accessor :averagePosition
|
289
|
+
attr_accessor :averageCpc
|
290
|
+
attr_accessor :averageCpm
|
291
|
+
attr_accessor :ctr
|
292
|
+
attr_accessor :conversions
|
293
|
+
attr_accessor :conversionRate
|
294
|
+
attr_accessor :costPerConversion
|
295
|
+
attr_accessor :conversionsManyPerClick
|
296
|
+
attr_accessor :conversionRateManyPerClick
|
297
|
+
attr_accessor :costPerConversionManyPerClick
|
298
|
+
attr_accessor :viewThroughConversions
|
299
|
+
attr_accessor :totalConvValue
|
300
|
+
attr_accessor :valuePerConv
|
301
|
+
attr_accessor :valuePerConvManyPerClick
|
302
|
+
attr_accessor :stats_Type
|
303
|
+
|
304
|
+
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)
|
305
|
+
@startDate = startDate
|
306
|
+
@endDate = endDate
|
307
|
+
@network = network
|
308
|
+
@clicks = clicks
|
309
|
+
@impressions = impressions
|
310
|
+
@cost = cost
|
311
|
+
@averagePosition = averagePosition
|
312
|
+
@averageCpc = averageCpc
|
313
|
+
@averageCpm = averageCpm
|
314
|
+
@ctr = ctr
|
315
|
+
@conversions = conversions
|
316
|
+
@conversionRate = conversionRate
|
317
|
+
@costPerConversion = costPerConversion
|
318
|
+
@conversionsManyPerClick = conversionsManyPerClick
|
319
|
+
@conversionRateManyPerClick = conversionRateManyPerClick
|
320
|
+
@costPerConversionManyPerClick = costPerConversionManyPerClick
|
321
|
+
@viewThroughConversions = viewThroughConversions
|
322
|
+
@totalConvValue = totalConvValue
|
323
|
+
@valuePerConv = valuePerConv
|
324
|
+
@valuePerConvManyPerClick = valuePerConvManyPerClick
|
325
|
+
@stats_Type = stats_Type
|
326
|
+
end
|
327
|
+
end
|
328
|
+
|
329
|
+
# AdExtensionOverrideStats
|
330
|
+
# - startDate - SOAP::SOAPString
|
331
|
+
# - endDate - SOAP::SOAPString
|
332
|
+
# - network - AdwordsApi::V201008::AdExtensionOverrideService::StatsNetwork
|
333
|
+
# - clicks - SOAP::SOAPLong
|
334
|
+
# - impressions - SOAP::SOAPLong
|
335
|
+
# - cost - AdwordsApi::V201008::AdExtensionOverrideService::Money
|
336
|
+
# - averagePosition - SOAP::SOAPDouble
|
337
|
+
# - averageCpc - AdwordsApi::V201008::AdExtensionOverrideService::Money
|
338
|
+
# - averageCpm - AdwordsApi::V201008::AdExtensionOverrideService::Money
|
339
|
+
# - ctr - SOAP::SOAPDouble
|
340
|
+
# - conversions - SOAP::SOAPLong
|
341
|
+
# - conversionRate - SOAP::SOAPDouble
|
342
|
+
# - costPerConversion - AdwordsApi::V201008::AdExtensionOverrideService::Money
|
343
|
+
# - conversionsManyPerClick - SOAP::SOAPLong
|
344
|
+
# - conversionRateManyPerClick - SOAP::SOAPDouble
|
345
|
+
# - costPerConversionManyPerClick - AdwordsApi::V201008::AdExtensionOverrideService::Money
|
346
|
+
# - viewThroughConversions - SOAP::SOAPLong
|
347
|
+
# - totalConvValue - SOAP::SOAPLong
|
348
|
+
# - valuePerConv - SOAP::SOAPDouble
|
349
|
+
# - valuePerConvManyPerClick - SOAP::SOAPDouble
|
350
|
+
# - stats_Type - SOAP::SOAPString
|
351
|
+
class AdExtensionOverrideStats < Stats
|
352
|
+
attr_accessor :startDate
|
353
|
+
attr_accessor :endDate
|
354
|
+
attr_accessor :network
|
355
|
+
attr_accessor :clicks
|
356
|
+
attr_accessor :impressions
|
357
|
+
attr_accessor :cost
|
358
|
+
attr_accessor :averagePosition
|
359
|
+
attr_accessor :averageCpc
|
360
|
+
attr_accessor :averageCpm
|
361
|
+
attr_accessor :ctr
|
362
|
+
attr_accessor :conversions
|
363
|
+
attr_accessor :conversionRate
|
364
|
+
attr_accessor :costPerConversion
|
365
|
+
attr_accessor :conversionsManyPerClick
|
366
|
+
attr_accessor :conversionRateManyPerClick
|
367
|
+
attr_accessor :costPerConversionManyPerClick
|
368
|
+
attr_accessor :viewThroughConversions
|
369
|
+
attr_accessor :totalConvValue
|
370
|
+
attr_accessor :valuePerConv
|
371
|
+
attr_accessor :valuePerConvManyPerClick
|
372
|
+
attr_accessor :stats_Type
|
373
|
+
|
374
|
+
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)
|
375
|
+
@startDate = startDate
|
376
|
+
@endDate = endDate
|
377
|
+
@network = network
|
378
|
+
@clicks = clicks
|
379
|
+
@impressions = impressions
|
380
|
+
@cost = cost
|
381
|
+
@averagePosition = averagePosition
|
382
|
+
@averageCpc = averageCpc
|
383
|
+
@averageCpm = averageCpm
|
384
|
+
@ctr = ctr
|
385
|
+
@conversions = conversions
|
386
|
+
@conversionRate = conversionRate
|
387
|
+
@costPerConversion = costPerConversion
|
388
|
+
@conversionsManyPerClick = conversionsManyPerClick
|
389
|
+
@conversionRateManyPerClick = conversionRateManyPerClick
|
390
|
+
@costPerConversionManyPerClick = costPerConversionManyPerClick
|
391
|
+
@viewThroughConversions = viewThroughConversions
|
392
|
+
@totalConvValue = totalConvValue
|
393
|
+
@valuePerConv = valuePerConv
|
394
|
+
@valuePerConvManyPerClick = valuePerConvManyPerClick
|
395
|
+
@stats_Type = stats_Type
|
396
|
+
end
|
397
|
+
end
|
398
|
+
|
399
|
+
# ApiError
|
400
|
+
# abstract
|
401
|
+
# - fieldPath - SOAP::SOAPString
|
402
|
+
# - trigger - SOAP::SOAPString
|
403
|
+
# - errorString - SOAP::SOAPString
|
404
|
+
# - apiError_Type - SOAP::SOAPString
|
405
|
+
class ApiError
|
406
|
+
attr_accessor :fieldPath
|
407
|
+
attr_accessor :trigger
|
408
|
+
attr_accessor :errorString
|
409
|
+
attr_accessor :apiError_Type
|
410
|
+
|
411
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil)
|
412
|
+
@fieldPath = fieldPath
|
413
|
+
@trigger = trigger
|
414
|
+
@errorString = errorString
|
415
|
+
@apiError_Type = apiError_Type
|
416
|
+
end
|
417
|
+
end
|
418
|
+
|
419
|
+
# AdExtensionOverrideError
|
420
|
+
# - fieldPath - SOAP::SOAPString
|
421
|
+
# - trigger - SOAP::SOAPString
|
422
|
+
# - errorString - SOAP::SOAPString
|
423
|
+
# - apiError_Type - SOAP::SOAPString
|
424
|
+
# - reason - AdwordsApi::V201008::AdExtensionOverrideService::AdExtensionOverrideErrorReason
|
425
|
+
class AdExtensionOverrideError < ApiError
|
426
|
+
attr_accessor :fieldPath
|
427
|
+
attr_accessor :trigger
|
428
|
+
attr_accessor :errorString
|
429
|
+
attr_accessor :apiError_Type
|
430
|
+
attr_accessor :reason
|
431
|
+
|
432
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
433
|
+
@fieldPath = fieldPath
|
434
|
+
@trigger = trigger
|
435
|
+
@errorString = errorString
|
436
|
+
@apiError_Type = apiError_Type
|
437
|
+
@reason = reason
|
438
|
+
end
|
439
|
+
end
|
440
|
+
|
441
|
+
# AuthenticationError
|
442
|
+
# - fieldPath - SOAP::SOAPString
|
443
|
+
# - trigger - SOAP::SOAPString
|
444
|
+
# - errorString - SOAP::SOAPString
|
445
|
+
# - apiError_Type - SOAP::SOAPString
|
446
|
+
# - reason - AdwordsApi::V201008::AdExtensionOverrideService::AuthenticationErrorReason
|
447
|
+
class AuthenticationError < ApiError
|
448
|
+
attr_accessor :fieldPath
|
449
|
+
attr_accessor :trigger
|
450
|
+
attr_accessor :errorString
|
451
|
+
attr_accessor :apiError_Type
|
452
|
+
attr_accessor :reason
|
453
|
+
|
454
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
455
|
+
@fieldPath = fieldPath
|
456
|
+
@trigger = trigger
|
457
|
+
@errorString = errorString
|
458
|
+
@apiError_Type = apiError_Type
|
459
|
+
@reason = reason
|
460
|
+
end
|
461
|
+
end
|
462
|
+
|
463
|
+
# AuthorizationError
|
464
|
+
# - fieldPath - SOAP::SOAPString
|
465
|
+
# - trigger - SOAP::SOAPString
|
466
|
+
# - errorString - SOAP::SOAPString
|
467
|
+
# - apiError_Type - SOAP::SOAPString
|
468
|
+
# - reason - AdwordsApi::V201008::AdExtensionOverrideService::AuthorizationErrorReason
|
469
|
+
class AuthorizationError < ApiError
|
470
|
+
attr_accessor :fieldPath
|
471
|
+
attr_accessor :trigger
|
472
|
+
attr_accessor :errorString
|
473
|
+
attr_accessor :apiError_Type
|
474
|
+
attr_accessor :reason
|
475
|
+
|
476
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
477
|
+
@fieldPath = fieldPath
|
478
|
+
@trigger = trigger
|
479
|
+
@errorString = errorString
|
480
|
+
@apiError_Type = apiError_Type
|
481
|
+
@reason = reason
|
482
|
+
end
|
483
|
+
end
|
484
|
+
|
485
|
+
# ClientTermsError
|
486
|
+
# - fieldPath - SOAP::SOAPString
|
487
|
+
# - trigger - SOAP::SOAPString
|
488
|
+
# - errorString - SOAP::SOAPString
|
489
|
+
# - apiError_Type - SOAP::SOAPString
|
490
|
+
# - reason - AdwordsApi::V201008::AdExtensionOverrideService::ClientTermsErrorReason
|
491
|
+
class ClientTermsError < ApiError
|
492
|
+
attr_accessor :fieldPath
|
493
|
+
attr_accessor :trigger
|
494
|
+
attr_accessor :errorString
|
495
|
+
attr_accessor :apiError_Type
|
496
|
+
attr_accessor :reason
|
497
|
+
|
498
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
499
|
+
@fieldPath = fieldPath
|
500
|
+
@trigger = trigger
|
501
|
+
@errorString = errorString
|
502
|
+
@apiError_Type = apiError_Type
|
503
|
+
@reason = reason
|
504
|
+
end
|
505
|
+
end
|
506
|
+
|
507
|
+
# DistinctError
|
508
|
+
# - fieldPath - SOAP::SOAPString
|
509
|
+
# - trigger - SOAP::SOAPString
|
510
|
+
# - errorString - SOAP::SOAPString
|
511
|
+
# - apiError_Type - SOAP::SOAPString
|
512
|
+
# - reason - AdwordsApi::V201008::AdExtensionOverrideService::DistinctErrorReason
|
513
|
+
class DistinctError < ApiError
|
514
|
+
attr_accessor :fieldPath
|
515
|
+
attr_accessor :trigger
|
516
|
+
attr_accessor :errorString
|
517
|
+
attr_accessor :apiError_Type
|
518
|
+
attr_accessor :reason
|
519
|
+
|
520
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
521
|
+
@fieldPath = fieldPath
|
522
|
+
@trigger = trigger
|
523
|
+
@errorString = errorString
|
524
|
+
@apiError_Type = apiError_Type
|
525
|
+
@reason = reason
|
526
|
+
end
|
527
|
+
end
|
528
|
+
|
529
|
+
# EntityNotFound
|
530
|
+
# - fieldPath - SOAP::SOAPString
|
531
|
+
# - trigger - SOAP::SOAPString
|
532
|
+
# - errorString - SOAP::SOAPString
|
533
|
+
# - apiError_Type - SOAP::SOAPString
|
534
|
+
# - reason - AdwordsApi::V201008::AdExtensionOverrideService::EntityNotFoundReason
|
535
|
+
class EntityNotFound < ApiError
|
536
|
+
attr_accessor :fieldPath
|
537
|
+
attr_accessor :trigger
|
538
|
+
attr_accessor :errorString
|
539
|
+
attr_accessor :apiError_Type
|
540
|
+
attr_accessor :reason
|
541
|
+
|
542
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
543
|
+
@fieldPath = fieldPath
|
544
|
+
@trigger = trigger
|
545
|
+
@errorString = errorString
|
546
|
+
@apiError_Type = apiError_Type
|
547
|
+
@reason = reason
|
548
|
+
end
|
549
|
+
end
|
550
|
+
|
551
|
+
# InternalApiError
|
552
|
+
# - fieldPath - SOAP::SOAPString
|
553
|
+
# - trigger - SOAP::SOAPString
|
554
|
+
# - errorString - SOAP::SOAPString
|
555
|
+
# - apiError_Type - SOAP::SOAPString
|
556
|
+
# - reason - AdwordsApi::V201008::AdExtensionOverrideService::InternalApiErrorReason
|
557
|
+
class InternalApiError < ApiError
|
558
|
+
attr_accessor :fieldPath
|
559
|
+
attr_accessor :trigger
|
560
|
+
attr_accessor :errorString
|
561
|
+
attr_accessor :apiError_Type
|
562
|
+
attr_accessor :reason
|
563
|
+
|
564
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
565
|
+
@fieldPath = fieldPath
|
566
|
+
@trigger = trigger
|
567
|
+
@errorString = errorString
|
568
|
+
@apiError_Type = apiError_Type
|
569
|
+
@reason = reason
|
570
|
+
end
|
571
|
+
end
|
572
|
+
|
573
|
+
# NotEmptyError
|
574
|
+
# - fieldPath - SOAP::SOAPString
|
575
|
+
# - trigger - SOAP::SOAPString
|
576
|
+
# - errorString - SOAP::SOAPString
|
577
|
+
# - apiError_Type - SOAP::SOAPString
|
578
|
+
# - reason - AdwordsApi::V201008::AdExtensionOverrideService::NotEmptyErrorReason
|
579
|
+
class NotEmptyError < ApiError
|
580
|
+
attr_accessor :fieldPath
|
581
|
+
attr_accessor :trigger
|
582
|
+
attr_accessor :errorString
|
583
|
+
attr_accessor :apiError_Type
|
584
|
+
attr_accessor :reason
|
585
|
+
|
586
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
587
|
+
@fieldPath = fieldPath
|
588
|
+
@trigger = trigger
|
589
|
+
@errorString = errorString
|
590
|
+
@apiError_Type = apiError_Type
|
591
|
+
@reason = reason
|
592
|
+
end
|
593
|
+
end
|
594
|
+
|
595
|
+
# NotWhitelistedError
|
596
|
+
# - fieldPath - SOAP::SOAPString
|
597
|
+
# - trigger - SOAP::SOAPString
|
598
|
+
# - errorString - SOAP::SOAPString
|
599
|
+
# - apiError_Type - SOAP::SOAPString
|
600
|
+
# - reason - AdwordsApi::V201008::AdExtensionOverrideService::NotWhitelistedErrorReason
|
601
|
+
class NotWhitelistedError < ApiError
|
602
|
+
attr_accessor :fieldPath
|
603
|
+
attr_accessor :trigger
|
604
|
+
attr_accessor :errorString
|
605
|
+
attr_accessor :apiError_Type
|
606
|
+
attr_accessor :reason
|
607
|
+
|
608
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
609
|
+
@fieldPath = fieldPath
|
610
|
+
@trigger = trigger
|
611
|
+
@errorString = errorString
|
612
|
+
@apiError_Type = apiError_Type
|
613
|
+
@reason = reason
|
614
|
+
end
|
615
|
+
end
|
616
|
+
|
617
|
+
# NullError
|
618
|
+
# - fieldPath - SOAP::SOAPString
|
619
|
+
# - trigger - SOAP::SOAPString
|
620
|
+
# - errorString - SOAP::SOAPString
|
621
|
+
# - apiError_Type - SOAP::SOAPString
|
622
|
+
# - reason - AdwordsApi::V201008::AdExtensionOverrideService::NullErrorReason
|
623
|
+
class NullError < ApiError
|
624
|
+
attr_accessor :fieldPath
|
625
|
+
attr_accessor :trigger
|
626
|
+
attr_accessor :errorString
|
627
|
+
attr_accessor :apiError_Type
|
628
|
+
attr_accessor :reason
|
629
|
+
|
630
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
631
|
+
@fieldPath = fieldPath
|
632
|
+
@trigger = trigger
|
633
|
+
@errorString = errorString
|
634
|
+
@apiError_Type = apiError_Type
|
635
|
+
@reason = reason
|
636
|
+
end
|
637
|
+
end
|
638
|
+
|
639
|
+
# OperatorError
|
640
|
+
# - fieldPath - SOAP::SOAPString
|
641
|
+
# - trigger - SOAP::SOAPString
|
642
|
+
# - errorString - SOAP::SOAPString
|
643
|
+
# - apiError_Type - SOAP::SOAPString
|
644
|
+
# - reason - AdwordsApi::V201008::AdExtensionOverrideService::OperatorErrorReason
|
645
|
+
class OperatorError < ApiError
|
646
|
+
attr_accessor :fieldPath
|
647
|
+
attr_accessor :trigger
|
648
|
+
attr_accessor :errorString
|
649
|
+
attr_accessor :apiError_Type
|
650
|
+
attr_accessor :reason
|
651
|
+
|
652
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
653
|
+
@fieldPath = fieldPath
|
654
|
+
@trigger = trigger
|
655
|
+
@errorString = errorString
|
656
|
+
@apiError_Type = apiError_Type
|
657
|
+
@reason = reason
|
658
|
+
end
|
659
|
+
end
|
660
|
+
|
661
|
+
# QuotaCheckError
|
662
|
+
# - fieldPath - SOAP::SOAPString
|
663
|
+
# - trigger - SOAP::SOAPString
|
664
|
+
# - errorString - SOAP::SOAPString
|
665
|
+
# - apiError_Type - SOAP::SOAPString
|
666
|
+
# - reason - AdwordsApi::V201008::AdExtensionOverrideService::QuotaCheckErrorReason
|
667
|
+
class QuotaCheckError < ApiError
|
668
|
+
attr_accessor :fieldPath
|
669
|
+
attr_accessor :trigger
|
670
|
+
attr_accessor :errorString
|
671
|
+
attr_accessor :apiError_Type
|
672
|
+
attr_accessor :reason
|
673
|
+
|
674
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
675
|
+
@fieldPath = fieldPath
|
676
|
+
@trigger = trigger
|
677
|
+
@errorString = errorString
|
678
|
+
@apiError_Type = apiError_Type
|
679
|
+
@reason = reason
|
680
|
+
end
|
681
|
+
end
|
682
|
+
|
683
|
+
# RangeError
|
684
|
+
# - fieldPath - SOAP::SOAPString
|
685
|
+
# - trigger - SOAP::SOAPString
|
686
|
+
# - errorString - SOAP::SOAPString
|
687
|
+
# - apiError_Type - SOAP::SOAPString
|
688
|
+
# - reason - AdwordsApi::V201008::AdExtensionOverrideService::RangeErrorReason
|
689
|
+
class C_RangeError < ApiError
|
690
|
+
attr_accessor :fieldPath
|
691
|
+
attr_accessor :trigger
|
692
|
+
attr_accessor :errorString
|
693
|
+
attr_accessor :apiError_Type
|
694
|
+
attr_accessor :reason
|
695
|
+
|
696
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
697
|
+
@fieldPath = fieldPath
|
698
|
+
@trigger = trigger
|
699
|
+
@errorString = errorString
|
700
|
+
@apiError_Type = apiError_Type
|
701
|
+
@reason = reason
|
702
|
+
end
|
703
|
+
end
|
704
|
+
|
705
|
+
# RateExceededError
|
706
|
+
# - fieldPath - SOAP::SOAPString
|
707
|
+
# - trigger - SOAP::SOAPString
|
708
|
+
# - errorString - SOAP::SOAPString
|
709
|
+
# - apiError_Type - SOAP::SOAPString
|
710
|
+
# - reason - AdwordsApi::V201008::AdExtensionOverrideService::RateExceededErrorReason
|
711
|
+
# - rateName - SOAP::SOAPString
|
712
|
+
# - rateScope - SOAP::SOAPString
|
713
|
+
# - retryAfterSeconds - SOAP::SOAPInt
|
714
|
+
class RateExceededError < ApiError
|
715
|
+
attr_accessor :fieldPath
|
716
|
+
attr_accessor :trigger
|
717
|
+
attr_accessor :errorString
|
718
|
+
attr_accessor :apiError_Type
|
719
|
+
attr_accessor :reason
|
720
|
+
attr_accessor :rateName
|
721
|
+
attr_accessor :rateScope
|
722
|
+
attr_accessor :retryAfterSeconds
|
723
|
+
|
724
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil, rateName = nil, rateScope = nil, retryAfterSeconds = nil)
|
725
|
+
@fieldPath = fieldPath
|
726
|
+
@trigger = trigger
|
727
|
+
@errorString = errorString
|
728
|
+
@apiError_Type = apiError_Type
|
729
|
+
@reason = reason
|
730
|
+
@rateName = rateName
|
731
|
+
@rateScope = rateScope
|
732
|
+
@retryAfterSeconds = retryAfterSeconds
|
733
|
+
end
|
734
|
+
end
|
735
|
+
|
736
|
+
# ReadOnlyError
|
737
|
+
# - fieldPath - SOAP::SOAPString
|
738
|
+
# - trigger - SOAP::SOAPString
|
739
|
+
# - errorString - SOAP::SOAPString
|
740
|
+
# - apiError_Type - SOAP::SOAPString
|
741
|
+
# - reason - AdwordsApi::V201008::AdExtensionOverrideService::ReadOnlyErrorReason
|
742
|
+
class ReadOnlyError < ApiError
|
743
|
+
attr_accessor :fieldPath
|
744
|
+
attr_accessor :trigger
|
745
|
+
attr_accessor :errorString
|
746
|
+
attr_accessor :apiError_Type
|
747
|
+
attr_accessor :reason
|
748
|
+
|
749
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
750
|
+
@fieldPath = fieldPath
|
751
|
+
@trigger = trigger
|
752
|
+
@errorString = errorString
|
753
|
+
@apiError_Type = apiError_Type
|
754
|
+
@reason = reason
|
755
|
+
end
|
756
|
+
end
|
757
|
+
|
758
|
+
# RequestError
|
759
|
+
# - fieldPath - SOAP::SOAPString
|
760
|
+
# - trigger - SOAP::SOAPString
|
761
|
+
# - errorString - SOAP::SOAPString
|
762
|
+
# - apiError_Type - SOAP::SOAPString
|
763
|
+
# - reason - AdwordsApi::V201008::AdExtensionOverrideService::RequestErrorReason
|
764
|
+
class RequestError < ApiError
|
765
|
+
attr_accessor :fieldPath
|
766
|
+
attr_accessor :trigger
|
767
|
+
attr_accessor :errorString
|
768
|
+
attr_accessor :apiError_Type
|
769
|
+
attr_accessor :reason
|
770
|
+
|
771
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
772
|
+
@fieldPath = fieldPath
|
773
|
+
@trigger = trigger
|
774
|
+
@errorString = errorString
|
775
|
+
@apiError_Type = apiError_Type
|
776
|
+
@reason = reason
|
777
|
+
end
|
778
|
+
end
|
779
|
+
|
780
|
+
# RequiredError
|
781
|
+
# - fieldPath - SOAP::SOAPString
|
782
|
+
# - trigger - SOAP::SOAPString
|
783
|
+
# - errorString - SOAP::SOAPString
|
784
|
+
# - apiError_Type - SOAP::SOAPString
|
785
|
+
# - reason - AdwordsApi::V201008::AdExtensionOverrideService::RequiredErrorReason
|
786
|
+
class RequiredError < ApiError
|
787
|
+
attr_accessor :fieldPath
|
788
|
+
attr_accessor :trigger
|
789
|
+
attr_accessor :errorString
|
790
|
+
attr_accessor :apiError_Type
|
791
|
+
attr_accessor :reason
|
792
|
+
|
793
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
794
|
+
@fieldPath = fieldPath
|
795
|
+
@trigger = trigger
|
796
|
+
@errorString = errorString
|
797
|
+
@apiError_Type = apiError_Type
|
798
|
+
@reason = reason
|
799
|
+
end
|
800
|
+
end
|
801
|
+
|
802
|
+
# SizeLimitError
|
803
|
+
# - fieldPath - SOAP::SOAPString
|
804
|
+
# - trigger - SOAP::SOAPString
|
805
|
+
# - errorString - SOAP::SOAPString
|
806
|
+
# - apiError_Type - SOAP::SOAPString
|
807
|
+
# - reason - AdwordsApi::V201008::AdExtensionOverrideService::SizeLimitErrorReason
|
808
|
+
class SizeLimitError < ApiError
|
809
|
+
attr_accessor :fieldPath
|
810
|
+
attr_accessor :trigger
|
811
|
+
attr_accessor :errorString
|
812
|
+
attr_accessor :apiError_Type
|
813
|
+
attr_accessor :reason
|
814
|
+
|
815
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
816
|
+
@fieldPath = fieldPath
|
817
|
+
@trigger = trigger
|
818
|
+
@errorString = errorString
|
819
|
+
@apiError_Type = apiError_Type
|
820
|
+
@reason = reason
|
821
|
+
end
|
822
|
+
end
|
823
|
+
|
824
|
+
# StringLengthError
|
825
|
+
# - fieldPath - SOAP::SOAPString
|
826
|
+
# - trigger - SOAP::SOAPString
|
827
|
+
# - errorString - SOAP::SOAPString
|
828
|
+
# - apiError_Type - SOAP::SOAPString
|
829
|
+
# - reason - AdwordsApi::V201008::AdExtensionOverrideService::StringLengthErrorReason
|
830
|
+
class StringLengthError < ApiError
|
831
|
+
attr_accessor :fieldPath
|
832
|
+
attr_accessor :trigger
|
833
|
+
attr_accessor :errorString
|
834
|
+
attr_accessor :apiError_Type
|
835
|
+
attr_accessor :reason
|
836
|
+
|
837
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
838
|
+
@fieldPath = fieldPath
|
839
|
+
@trigger = trigger
|
840
|
+
@errorString = errorString
|
841
|
+
@apiError_Type = apiError_Type
|
842
|
+
@reason = reason
|
843
|
+
end
|
844
|
+
end
|
845
|
+
|
846
|
+
# DatabaseError
|
847
|
+
# - fieldPath - SOAP::SOAPString
|
848
|
+
# - trigger - SOAP::SOAPString
|
849
|
+
# - errorString - SOAP::SOAPString
|
850
|
+
# - apiError_Type - SOAP::SOAPString
|
851
|
+
# - reason - AdwordsApi::V201008::AdExtensionOverrideService::DatabaseErrorReason
|
852
|
+
class DatabaseError < ApiError
|
853
|
+
attr_accessor :fieldPath
|
854
|
+
attr_accessor :trigger
|
855
|
+
attr_accessor :errorString
|
856
|
+
attr_accessor :apiError_Type
|
857
|
+
attr_accessor :reason
|
858
|
+
|
859
|
+
def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
|
860
|
+
@fieldPath = fieldPath
|
861
|
+
@trigger = trigger
|
862
|
+
@errorString = errorString
|
863
|
+
@apiError_Type = apiError_Type
|
864
|
+
@reason = reason
|
865
|
+
end
|
866
|
+
end
|
867
|
+
|
868
|
+
# ApplicationException
|
869
|
+
# - message - SOAP::SOAPString
|
870
|
+
# - applicationException_Type - SOAP::SOAPString
|
871
|
+
class ApplicationException
|
872
|
+
attr_accessor :message
|
873
|
+
attr_accessor :applicationException_Type
|
874
|
+
|
875
|
+
def initialize(message = nil, applicationException_Type = nil)
|
876
|
+
@message = message
|
877
|
+
@applicationException_Type = applicationException_Type
|
878
|
+
end
|
879
|
+
end
|
880
|
+
|
881
|
+
# ApiException
|
882
|
+
# - message - SOAP::SOAPString
|
883
|
+
# - applicationException_Type - SOAP::SOAPString
|
884
|
+
# - errors - AdwordsApi::V201008::AdExtensionOverrideService::ApiError
|
885
|
+
class ApiException < ApplicationException
|
886
|
+
attr_accessor :message
|
887
|
+
attr_accessor :applicationException_Type
|
888
|
+
attr_accessor :errors
|
889
|
+
|
890
|
+
def initialize(message = nil, applicationException_Type = nil, errors = [])
|
891
|
+
@message = message
|
892
|
+
@applicationException_Type = applicationException_Type
|
893
|
+
@errors = errors
|
894
|
+
end
|
895
|
+
end
|
896
|
+
|
897
|
+
# AdExtension
|
898
|
+
# - id - SOAP::SOAPLong
|
899
|
+
# - adExtension_Type - SOAP::SOAPString
|
900
|
+
class AdExtension
|
901
|
+
attr_accessor :id
|
902
|
+
attr_accessor :adExtension_Type
|
903
|
+
|
904
|
+
def initialize(id = nil, adExtension_Type = nil)
|
905
|
+
@id = id
|
906
|
+
@adExtension_Type = adExtension_Type
|
907
|
+
end
|
908
|
+
end
|
909
|
+
|
910
|
+
# LocationExtension
|
911
|
+
# - id - SOAP::SOAPLong
|
912
|
+
# - adExtension_Type - SOAP::SOAPString
|
913
|
+
# - address - AdwordsApi::V201008::AdExtensionOverrideService::Address
|
914
|
+
# - geoPoint - AdwordsApi::V201008::AdExtensionOverrideService::GeoPoint
|
915
|
+
# - encodedLocation - SOAP::SOAPBase64
|
916
|
+
# - companyName - SOAP::SOAPString
|
917
|
+
# - phoneNumber - SOAP::SOAPString
|
918
|
+
# - source - AdwordsApi::V201008::AdExtensionOverrideService::LocationExtensionSource
|
919
|
+
# - iconMediaId - SOAP::SOAPLong
|
920
|
+
# - imageMediaId - SOAP::SOAPLong
|
921
|
+
class LocationExtension < AdExtension
|
922
|
+
attr_accessor :id
|
923
|
+
attr_accessor :adExtension_Type
|
924
|
+
attr_accessor :address
|
925
|
+
attr_accessor :geoPoint
|
926
|
+
attr_accessor :encodedLocation
|
927
|
+
attr_accessor :companyName
|
928
|
+
attr_accessor :phoneNumber
|
929
|
+
attr_accessor :source
|
930
|
+
attr_accessor :iconMediaId
|
931
|
+
attr_accessor :imageMediaId
|
932
|
+
|
933
|
+
def initialize(id = nil, adExtension_Type = nil, address = nil, geoPoint = nil, encodedLocation = nil, companyName = nil, phoneNumber = nil, source = nil, iconMediaId = nil, imageMediaId = nil)
|
934
|
+
@id = id
|
935
|
+
@adExtension_Type = adExtension_Type
|
936
|
+
@address = address
|
937
|
+
@geoPoint = geoPoint
|
938
|
+
@encodedLocation = encodedLocation
|
939
|
+
@companyName = companyName
|
940
|
+
@phoneNumber = phoneNumber
|
941
|
+
@source = source
|
942
|
+
@iconMediaId = iconMediaId
|
943
|
+
@imageMediaId = imageMediaId
|
944
|
+
end
|
945
|
+
end
|
946
|
+
|
947
|
+
# MobileExtension
|
948
|
+
# - id - SOAP::SOAPLong
|
949
|
+
# - adExtension_Type - SOAP::SOAPString
|
950
|
+
# - phoneNumber - SOAP::SOAPString
|
951
|
+
# - countryCode - SOAP::SOAPString
|
952
|
+
class MobileExtension < AdExtension
|
953
|
+
attr_accessor :id
|
954
|
+
attr_accessor :adExtension_Type
|
955
|
+
attr_accessor :phoneNumber
|
956
|
+
attr_accessor :countryCode
|
957
|
+
|
958
|
+
def initialize(id = nil, adExtension_Type = nil, phoneNumber = nil, countryCode = nil)
|
959
|
+
@id = id
|
960
|
+
@adExtension_Type = adExtension_Type
|
961
|
+
@phoneNumber = phoneNumber
|
962
|
+
@countryCode = countryCode
|
963
|
+
end
|
964
|
+
end
|
965
|
+
|
966
|
+
# SitelinksExtension
|
967
|
+
# - id - SOAP::SOAPLong
|
968
|
+
# - adExtension_Type - SOAP::SOAPString
|
969
|
+
# - sitelinks - AdwordsApi::V201008::AdExtensionOverrideService::Sitelink
|
970
|
+
class SitelinksExtension < AdExtension
|
971
|
+
attr_accessor :id
|
972
|
+
attr_accessor :adExtension_Type
|
973
|
+
attr_accessor :sitelinks
|
974
|
+
|
975
|
+
def initialize(id = nil, adExtension_Type = nil, sitelinks = [])
|
976
|
+
@id = id
|
977
|
+
@adExtension_Type = adExtension_Type
|
978
|
+
@sitelinks = sitelinks
|
979
|
+
end
|
980
|
+
end
|
981
|
+
|
982
|
+
# ProductExtension
|
983
|
+
# - id - SOAP::SOAPLong
|
984
|
+
# - adExtension_Type - SOAP::SOAPString
|
985
|
+
# - googleBaseCustomerId - SOAP::SOAPInt
|
986
|
+
# - advertiserName - SOAP::SOAPString
|
987
|
+
# - productSelection - AdwordsApi::V201008::AdExtensionOverrideService::ProductConditionAndGroup
|
988
|
+
class ProductExtension < AdExtension
|
989
|
+
attr_accessor :id
|
990
|
+
attr_accessor :adExtension_Type
|
991
|
+
attr_accessor :googleBaseCustomerId
|
992
|
+
attr_accessor :advertiserName
|
993
|
+
attr_accessor :productSelection
|
994
|
+
|
995
|
+
def initialize(id = nil, adExtension_Type = nil, googleBaseCustomerId = nil, advertiserName = nil, productSelection = [])
|
996
|
+
@id = id
|
997
|
+
@adExtension_Type = adExtension_Type
|
998
|
+
@googleBaseCustomerId = googleBaseCustomerId
|
999
|
+
@advertiserName = advertiserName
|
1000
|
+
@productSelection = productSelection
|
1001
|
+
end
|
1002
|
+
end
|
1003
|
+
|
1004
|
+
# LocationSyncExtension
|
1005
|
+
# - id - SOAP::SOAPLong
|
1006
|
+
# - adExtension_Type - SOAP::SOAPString
|
1007
|
+
# - email - SOAP::SOAPString
|
1008
|
+
# - authToken - SOAP::SOAPString
|
1009
|
+
# - iconMediaId - SOAP::SOAPLong
|
1010
|
+
# - shouldSyncUrl - SOAP::SOAPBoolean
|
1011
|
+
class LocationSyncExtension < AdExtension
|
1012
|
+
attr_accessor :id
|
1013
|
+
attr_accessor :adExtension_Type
|
1014
|
+
attr_accessor :email
|
1015
|
+
attr_accessor :authToken
|
1016
|
+
attr_accessor :iconMediaId
|
1017
|
+
attr_accessor :shouldSyncUrl
|
1018
|
+
|
1019
|
+
def initialize(id = nil, adExtension_Type = nil, email = nil, authToken = nil, iconMediaId = nil, shouldSyncUrl = nil)
|
1020
|
+
@id = id
|
1021
|
+
@adExtension_Type = adExtension_Type
|
1022
|
+
@email = email
|
1023
|
+
@authToken = authToken
|
1024
|
+
@iconMediaId = iconMediaId
|
1025
|
+
@shouldSyncUrl = shouldSyncUrl
|
1026
|
+
end
|
1027
|
+
end
|
1028
|
+
|
1029
|
+
# AdExtensionOverride
|
1030
|
+
# - adId - SOAP::SOAPLong
|
1031
|
+
# - adExtension - AdwordsApi::V201008::AdExtensionOverrideService::AdExtension
|
1032
|
+
# - overrideInfo - AdwordsApi::V201008::AdExtensionOverrideService::OverrideInfo
|
1033
|
+
# - status - AdwordsApi::V201008::AdExtensionOverrideService::AdExtensionOverrideStatus
|
1034
|
+
# - approvalStatus - AdwordsApi::V201008::AdExtensionOverrideService::AdExtensionOverrideApprovalStatus
|
1035
|
+
# - stats - AdwordsApi::V201008::AdExtensionOverrideService::AdExtensionOverrideStats
|
1036
|
+
class AdExtensionOverride
|
1037
|
+
attr_accessor :adId
|
1038
|
+
attr_accessor :adExtension
|
1039
|
+
attr_accessor :overrideInfo
|
1040
|
+
attr_accessor :status
|
1041
|
+
attr_accessor :approvalStatus
|
1042
|
+
attr_accessor :stats
|
1043
|
+
|
1044
|
+
def initialize(adId = nil, adExtension = nil, overrideInfo = nil, status = nil, approvalStatus = nil, stats = nil)
|
1045
|
+
@adId = adId
|
1046
|
+
@adExtension = adExtension
|
1047
|
+
@overrideInfo = overrideInfo
|
1048
|
+
@status = status
|
1049
|
+
@approvalStatus = approvalStatus
|
1050
|
+
@stats = stats
|
1051
|
+
end
|
1052
|
+
end
|
1053
|
+
|
1054
|
+
# ListReturnValue
|
1055
|
+
# abstract
|
1056
|
+
# - listReturnValue_Type - SOAP::SOAPString
|
1057
|
+
class ListReturnValue
|
1058
|
+
attr_accessor :listReturnValue_Type
|
1059
|
+
|
1060
|
+
def initialize(listReturnValue_Type = nil)
|
1061
|
+
@listReturnValue_Type = listReturnValue_Type
|
1062
|
+
end
|
1063
|
+
end
|
1064
|
+
|
1065
|
+
# AdExtensionOverrideReturnValue
|
1066
|
+
# - listReturnValue_Type - SOAP::SOAPString
|
1067
|
+
# - value - AdwordsApi::V201008::AdExtensionOverrideService::AdExtensionOverride
|
1068
|
+
class AdExtensionOverrideReturnValue < ListReturnValue
|
1069
|
+
attr_accessor :listReturnValue_Type
|
1070
|
+
attr_accessor :value
|
1071
|
+
|
1072
|
+
def initialize(listReturnValue_Type = nil, value = [])
|
1073
|
+
@listReturnValue_Type = listReturnValue_Type
|
1074
|
+
@value = value
|
1075
|
+
end
|
1076
|
+
end
|
1077
|
+
|
1078
|
+
# Operation
|
1079
|
+
# abstract
|
1080
|
+
# - operator - AdwordsApi::V201008::AdExtensionOverrideService::Operator
|
1081
|
+
# - operation_Type - SOAP::SOAPString
|
1082
|
+
class Operation
|
1083
|
+
attr_accessor :operator
|
1084
|
+
attr_accessor :operation_Type
|
1085
|
+
|
1086
|
+
def initialize(operator = nil, operation_Type = nil)
|
1087
|
+
@operator = operator
|
1088
|
+
@operation_Type = operation_Type
|
1089
|
+
end
|
1090
|
+
end
|
1091
|
+
|
1092
|
+
# AdExtensionOverrideOperation
|
1093
|
+
# - operator - AdwordsApi::V201008::AdExtensionOverrideService::Operator
|
1094
|
+
# - operation_Type - SOAP::SOAPString
|
1095
|
+
# - operand - AdwordsApi::V201008::AdExtensionOverrideService::AdExtensionOverride
|
1096
|
+
class AdExtensionOverrideOperation < Operation
|
1097
|
+
attr_accessor :operator
|
1098
|
+
attr_accessor :operation_Type
|
1099
|
+
attr_accessor :operand
|
1100
|
+
|
1101
|
+
def initialize(operator = nil, operation_Type = nil, operand = nil)
|
1102
|
+
@operator = operator
|
1103
|
+
@operation_Type = operation_Type
|
1104
|
+
@operand = operand
|
1105
|
+
end
|
1106
|
+
end
|
1107
|
+
|
1108
|
+
# Page
|
1109
|
+
# abstract
|
1110
|
+
# - totalNumEntries - SOAP::SOAPInt
|
1111
|
+
# - page_Type - SOAP::SOAPString
|
1112
|
+
class Page
|
1113
|
+
attr_accessor :totalNumEntries
|
1114
|
+
attr_accessor :page_Type
|
1115
|
+
|
1116
|
+
def initialize(totalNumEntries = nil, page_Type = nil)
|
1117
|
+
@totalNumEntries = totalNumEntries
|
1118
|
+
@page_Type = page_Type
|
1119
|
+
end
|
1120
|
+
end
|
1121
|
+
|
1122
|
+
# AdExtensionOverridePage
|
1123
|
+
# - totalNumEntries - SOAP::SOAPInt
|
1124
|
+
# - page_Type - SOAP::SOAPString
|
1125
|
+
# - entries - AdwordsApi::V201008::AdExtensionOverrideService::AdExtensionOverride
|
1126
|
+
class AdExtensionOverridePage < Page
|
1127
|
+
attr_accessor :totalNumEntries
|
1128
|
+
attr_accessor :page_Type
|
1129
|
+
attr_accessor :entries
|
1130
|
+
|
1131
|
+
def initialize(totalNumEntries = nil, page_Type = nil, entries = [])
|
1132
|
+
@totalNumEntries = totalNumEntries
|
1133
|
+
@page_Type = page_Type
|
1134
|
+
@entries = entries
|
1135
|
+
end
|
1136
|
+
end
|
1137
|
+
|
1138
|
+
# AdExtensionOverride.ApprovalStatus
|
1139
|
+
class AdExtensionOverrideApprovalStatus < ::String
|
1140
|
+
APPROVED = AdExtensionOverrideApprovalStatus.new("APPROVED")
|
1141
|
+
DISAPPROVED = AdExtensionOverrideApprovalStatus.new("DISAPPROVED")
|
1142
|
+
UNCHECKED = AdExtensionOverrideApprovalStatus.new("UNCHECKED")
|
1143
|
+
end
|
1144
|
+
|
1145
|
+
# AdExtensionOverride.Status
|
1146
|
+
class AdExtensionOverrideStatus < ::String
|
1147
|
+
ACTIVE = AdExtensionOverrideStatus.new("ACTIVE")
|
1148
|
+
DELETED = AdExtensionOverrideStatus.new("DELETED")
|
1149
|
+
end
|
1150
|
+
|
1151
|
+
# AdExtensionOverrideError.Reason
|
1152
|
+
class AdExtensionOverrideErrorReason < ::String
|
1153
|
+
ADEXTENSION_ID_MUST_BE_SPECIFIED = AdExtensionOverrideErrorReason.new("ADEXTENSION_ID_MUST_BE_SPECIFIED")
|
1154
|
+
ADEXTENSION_LATITUTE_CANNOT_CHANGE_AFTER_BEING_SET_ONCE = AdExtensionOverrideErrorReason.new("ADEXTENSION_LATITUTE_CANNOT_CHANGE_AFTER_BEING_SET_ONCE")
|
1155
|
+
ADEXTENSION_LONGITUDE_CANNOT_CHANGE_AFTER_BEING_SET_ONCE = AdExtensionOverrideErrorReason.new("ADEXTENSION_LONGITUDE_CANNOT_CHANGE_AFTER_BEING_SET_ONCE")
|
1156
|
+
ADEXTENSION_NOT_UNDER_CAMPAIGN = AdExtensionOverrideErrorReason.new("ADEXTENSION_NOT_UNDER_CAMPAIGN")
|
1157
|
+
AD_ALREADY_HAS_ADEXTENSION_OVERRIDE = AdExtensionOverrideErrorReason.new("AD_ALREADY_HAS_ADEXTENSION_OVERRIDE")
|
1158
|
+
CANNOT_OPERATE_ON_DELETED_OVERRIDE = AdExtensionOverrideErrorReason.new("CANNOT_OPERATE_ON_DELETED_OVERRIDE")
|
1159
|
+
CANNOT_OVERRIDE_EXTENSIONS_ON_NON_TEXT_AD = AdExtensionOverrideErrorReason.new("CANNOT_OVERRIDE_EXTENSIONS_ON_NON_TEXT_AD")
|
1160
|
+
CANNOT_OVERRIDE_USING_NON_LOCATION_EXTENSION = AdExtensionOverrideErrorReason.new("CANNOT_OVERRIDE_USING_NON_LOCATION_EXTENSION")
|
1161
|
+
INVALID_ADEXTENSION_ID = AdExtensionOverrideErrorReason.new("INVALID_ADEXTENSION_ID")
|
1162
|
+
LOCATION_OVERRIDE_INFO_REQUIRED_FOR_NEW_LOCATION_EXTENSION_OVERRIDE = AdExtensionOverrideErrorReason.new("LOCATION_OVERRIDE_INFO_REQUIRED_FOR_NEW_LOCATION_EXTENSION_OVERRIDE")
|
1163
|
+
OVERRIDE_INFO_MUST_BE_NULL_AFTER_BEING_SET_ONCE = AdExtensionOverrideErrorReason.new("OVERRIDE_INFO_MUST_BE_NULL_AFTER_BEING_SET_ONCE")
|
1164
|
+
RADIUS_TOO_LARGE = AdExtensionOverrideErrorReason.new("RADIUS_TOO_LARGE")
|
1165
|
+
RADIUS_TOO_SMALL = AdExtensionOverrideErrorReason.new("RADIUS_TOO_SMALL")
|
1166
|
+
UNKNOWN_ADEXTENSION_OVERRIDE = AdExtensionOverrideErrorReason.new("UNKNOWN_ADEXTENSION_OVERRIDE")
|
1167
|
+
end
|
1168
|
+
|
1169
|
+
# AuthenticationError.Reason
|
1170
|
+
class AuthenticationErrorReason < ::String
|
1171
|
+
AUTHENTICATION_FAILED = AuthenticationErrorReason.new("AUTHENTICATION_FAILED")
|
1172
|
+
CLIENT_CUSTOMER_ID_INVALID = AuthenticationErrorReason.new("CLIENT_CUSTOMER_ID_INVALID")
|
1173
|
+
CLIENT_CUSTOMER_ID_IS_REQUIRED = AuthenticationErrorReason.new("CLIENT_CUSTOMER_ID_IS_REQUIRED")
|
1174
|
+
CLIENT_EMAIL_FAILED_TO_AUTHENTICATE = AuthenticationErrorReason.new("CLIENT_EMAIL_FAILED_TO_AUTHENTICATE")
|
1175
|
+
CLIENT_EMAIL_INVALID = AuthenticationErrorReason.new("CLIENT_EMAIL_INVALID")
|
1176
|
+
CLIENT_EMAIL_REQUIRED = AuthenticationErrorReason.new("CLIENT_EMAIL_REQUIRED")
|
1177
|
+
CUSTOMER_NOT_FOUND = AuthenticationErrorReason.new("CUSTOMER_NOT_FOUND")
|
1178
|
+
FAILED_TO_AUTHENTICATE_GOOGLE_ACCOUNT = AuthenticationErrorReason.new("FAILED_TO_AUTHENTICATE_GOOGLE_ACCOUNT")
|
1179
|
+
FAILED_TO_RETRIEVE_LOGIN_COOKIE = AuthenticationErrorReason.new("FAILED_TO_RETRIEVE_LOGIN_COOKIE")
|
1180
|
+
GOOGLE_ACCOUNT_COOKIE_INVALID = AuthenticationErrorReason.new("GOOGLE_ACCOUNT_COOKIE_INVALID")
|
1181
|
+
GOOGLE_ACCOUNT_DELETED = AuthenticationErrorReason.new("GOOGLE_ACCOUNT_DELETED")
|
1182
|
+
GOOGLE_ACCOUNT_USER_AND_ADS_USER_MISMATCH = AuthenticationErrorReason.new("GOOGLE_ACCOUNT_USER_AND_ADS_USER_MISMATCH")
|
1183
|
+
LOGIN_COOKIE_INVALID = AuthenticationErrorReason.new("LOGIN_COOKIE_INVALID")
|
1184
|
+
LOGIN_COOKIE_REQUIRED = AuthenticationErrorReason.new("LOGIN_COOKIE_REQUIRED")
|
1185
|
+
NOT_ADS_USER = AuthenticationErrorReason.new("NOT_ADS_USER")
|
1186
|
+
OAUTH_TOKEN_DISABLED = AuthenticationErrorReason.new("OAUTH_TOKEN_DISABLED")
|
1187
|
+
OAUTH_TOKEN_EXPIRED = AuthenticationErrorReason.new("OAUTH_TOKEN_EXPIRED")
|
1188
|
+
OAUTH_TOKEN_HEADER_INVALID = AuthenticationErrorReason.new("OAUTH_TOKEN_HEADER_INVALID")
|
1189
|
+
OAUTH_TOKEN_INVALID = AuthenticationErrorReason.new("OAUTH_TOKEN_INVALID")
|
1190
|
+
OAUTH_TOKEN_REVOKED = AuthenticationErrorReason.new("OAUTH_TOKEN_REVOKED")
|
1191
|
+
USER_ID_INVALID = AuthenticationErrorReason.new("USER_ID_INVALID")
|
1192
|
+
end
|
1193
|
+
|
1194
|
+
# AuthorizationError.Reason
|
1195
|
+
class AuthorizationErrorReason < ::String
|
1196
|
+
EFFECTIVE_USER_PERMISSION_DENIED = AuthorizationErrorReason.new("EFFECTIVE_USER_PERMISSION_DENIED")
|
1197
|
+
NO_ADWORDS_ACCOUNT_FOR_CUSTOMER = AuthorizationErrorReason.new("NO_ADWORDS_ACCOUNT_FOR_CUSTOMER")
|
1198
|
+
NO_CUSTOMER_FOUND = AuthorizationErrorReason.new("NO_CUSTOMER_FOUND")
|
1199
|
+
UNABLE_TO_AUTHORIZE = AuthorizationErrorReason.new("UNABLE_TO_AUTHORIZE")
|
1200
|
+
USER_HAS_READONLY_PERMISSION = AuthorizationErrorReason.new("USER_HAS_READONLY_PERMISSION")
|
1201
|
+
USER_PERMISSION_DENIED = AuthorizationErrorReason.new("USER_PERMISSION_DENIED")
|
1202
|
+
end
|
1203
|
+
|
1204
|
+
# ClientTermsError.Reason
|
1205
|
+
class ClientTermsErrorReason < ::String
|
1206
|
+
INCOMPLETE_SIGNUP_CURRENT_ADWORDS_TNC_NOT_AGREED = ClientTermsErrorReason.new("INCOMPLETE_SIGNUP_CURRENT_ADWORDS_TNC_NOT_AGREED")
|
1207
|
+
end
|
1208
|
+
|
1209
|
+
# DatabaseError.Reason
|
1210
|
+
class DatabaseErrorReason < ::String
|
1211
|
+
CAMPAIGN_PRODUCT_NOT_SUPPORTED = DatabaseErrorReason.new("CAMPAIGN_PRODUCT_NOT_SUPPORTED")
|
1212
|
+
CONCURRENT_MODIFICATION = DatabaseErrorReason.new("CONCURRENT_MODIFICATION")
|
1213
|
+
DATABASE_ERROR = DatabaseErrorReason.new("DATABASE_ERROR")
|
1214
|
+
DUPLICATE_KEY = DatabaseErrorReason.new("DUPLICATE_KEY")
|
1215
|
+
PERMISSION_DENIED = DatabaseErrorReason.new("PERMISSION_DENIED")
|
1216
|
+
UNKNOWN = DatabaseErrorReason.new("UNKNOWN")
|
1217
|
+
end
|
1218
|
+
|
1219
|
+
# DistinctError.Reason
|
1220
|
+
class DistinctErrorReason < ::String
|
1221
|
+
DUPLICATE_ELEMENT = DistinctErrorReason.new("DUPLICATE_ELEMENT")
|
1222
|
+
end
|
1223
|
+
|
1224
|
+
# EntityNotFound.Reason
|
1225
|
+
class EntityNotFoundReason < ::String
|
1226
|
+
INVALID_ID = EntityNotFoundReason.new("INVALID_ID")
|
1227
|
+
end
|
1228
|
+
|
1229
|
+
# InternalApiError.Reason
|
1230
|
+
class InternalApiErrorReason < ::String
|
1231
|
+
UNEXPECTED_INTERNAL_API_ERROR = InternalApiErrorReason.new("UNEXPECTED_INTERNAL_API_ERROR")
|
1232
|
+
UNKNOWN = InternalApiErrorReason.new("UNKNOWN")
|
1233
|
+
end
|
1234
|
+
|
1235
|
+
# LocationExtension.Source
|
1236
|
+
class LocationExtensionSource < ::String
|
1237
|
+
ADWORDS_FRONTEND = LocationExtensionSource.new("ADWORDS_FRONTEND")
|
1238
|
+
LBC_SYNC = LocationExtensionSource.new("LBC_SYNC")
|
1239
|
+
end
|
1240
|
+
|
1241
|
+
# LocationOverrideInfo.RadiusUnits
|
1242
|
+
class LocationOverrideInfoRadiusUnits < ::String
|
1243
|
+
KILOMETERS = LocationOverrideInfoRadiusUnits.new("KILOMETERS")
|
1244
|
+
MILES = LocationOverrideInfoRadiusUnits.new("MILES")
|
1245
|
+
end
|
1246
|
+
|
1247
|
+
# NotEmptyError.Reason
|
1248
|
+
class NotEmptyErrorReason < ::String
|
1249
|
+
EMPTY_LIST = NotEmptyErrorReason.new("EMPTY_LIST")
|
1250
|
+
end
|
1251
|
+
|
1252
|
+
# NotWhitelistedError.Reason
|
1253
|
+
class NotWhitelistedErrorReason < ::String
|
1254
|
+
CUSTOMER_NOT_WHITELISTED_FOR_API = NotWhitelistedErrorReason.new("CUSTOMER_NOT_WHITELISTED_FOR_API")
|
1255
|
+
end
|
1256
|
+
|
1257
|
+
# NullError.Reason
|
1258
|
+
class NullErrorReason < ::String
|
1259
|
+
NULL_CONTENT = NullErrorReason.new("NULL_CONTENT")
|
1260
|
+
end
|
1261
|
+
|
1262
|
+
# Operator
|
1263
|
+
class Operator < ::String
|
1264
|
+
ADD = Operator.new("ADD")
|
1265
|
+
REMOVE = Operator.new("REMOVE")
|
1266
|
+
SET = Operator.new("SET")
|
1267
|
+
end
|
1268
|
+
|
1269
|
+
# OperatorError.Reason
|
1270
|
+
class OperatorErrorReason < ::String
|
1271
|
+
OPERATOR_NOT_SUPPORTED = OperatorErrorReason.new("OPERATOR_NOT_SUPPORTED")
|
1272
|
+
end
|
1273
|
+
|
1274
|
+
# QuotaCheckError.Reason
|
1275
|
+
class QuotaCheckErrorReason < ::String
|
1276
|
+
ACCOUNT_DELINQUENT = QuotaCheckErrorReason.new("ACCOUNT_DELINQUENT")
|
1277
|
+
ACCOUNT_INACCESSIBLE = QuotaCheckErrorReason.new("ACCOUNT_INACCESSIBLE")
|
1278
|
+
ACCOUNT_INACTIVE = QuotaCheckErrorReason.new("ACCOUNT_INACTIVE")
|
1279
|
+
INCOMPLETE_SIGNUP = QuotaCheckErrorReason.new("INCOMPLETE_SIGNUP")
|
1280
|
+
INCOMPLETE_SIGNUP_LATEST_ADWORDS_API_TNC_NOT_AGREED = QuotaCheckErrorReason.new("INCOMPLETE_SIGNUP_LATEST_ADWORDS_API_TNC_NOT_AGREED")
|
1281
|
+
INCOMPLETE_SIGNUP_NO_BILLING_INFO = QuotaCheckErrorReason.new("INCOMPLETE_SIGNUP_NO_BILLING_INFO")
|
1282
|
+
INCOMPLETE_SIGNUP_USER_INFO_MISSING = QuotaCheckErrorReason.new("INCOMPLETE_SIGNUP_USER_INFO_MISSING")
|
1283
|
+
INCOMPLETE_SIGNUP_USER_INFO_PENDING = QuotaCheckErrorReason.new("INCOMPLETE_SIGNUP_USER_INFO_PENDING")
|
1284
|
+
INCOMPLETE_SIGNUP_USER_INFO_REJECTED = QuotaCheckErrorReason.new("INCOMPLETE_SIGNUP_USER_INFO_REJECTED")
|
1285
|
+
INVALID_TOKEN_HEADER = QuotaCheckErrorReason.new("INVALID_TOKEN_HEADER")
|
1286
|
+
MONTHLY_BUDGET_REACHED = QuotaCheckErrorReason.new("MONTHLY_BUDGET_REACHED")
|
1287
|
+
QUOTA_EXCEEDED = QuotaCheckErrorReason.new("QUOTA_EXCEEDED")
|
1288
|
+
end
|
1289
|
+
|
1290
|
+
# RangeError.Reason
|
1291
|
+
class RangeErrorReason < ::String
|
1292
|
+
TOO_HIGH = RangeErrorReason.new("TOO_HIGH")
|
1293
|
+
TOO_LOW = RangeErrorReason.new("TOO_LOW")
|
1294
|
+
end
|
1295
|
+
|
1296
|
+
# RateExceededError.Reason
|
1297
|
+
class RateExceededErrorReason < ::String
|
1298
|
+
RATE_EXCEEDED = RateExceededErrorReason.new("RATE_EXCEEDED")
|
1299
|
+
end
|
1300
|
+
|
1301
|
+
# ReadOnlyError.Reason
|
1302
|
+
class ReadOnlyErrorReason < ::String
|
1303
|
+
READ_ONLY = ReadOnlyErrorReason.new("READ_ONLY")
|
1304
|
+
end
|
1305
|
+
|
1306
|
+
# RequestError.Reason
|
1307
|
+
class RequestErrorReason < ::String
|
1308
|
+
INVALID_INPUT = RequestErrorReason.new("INVALID_INPUT")
|
1309
|
+
UNKNOWN = RequestErrorReason.new("UNKNOWN")
|
1310
|
+
end
|
1311
|
+
|
1312
|
+
# RequiredError.Reason
|
1313
|
+
class RequiredErrorReason < ::String
|
1314
|
+
REQUIRED = RequiredErrorReason.new("REQUIRED")
|
1315
|
+
end
|
1316
|
+
|
1317
|
+
# SizeLimitError.Reason
|
1318
|
+
class SizeLimitErrorReason < ::String
|
1319
|
+
REQUEST_SIZE_LIMIT_EXCEEDED = SizeLimitErrorReason.new("REQUEST_SIZE_LIMIT_EXCEEDED")
|
1320
|
+
RESPONSE_SIZE_LIMIT_EXCEEDED = SizeLimitErrorReason.new("RESPONSE_SIZE_LIMIT_EXCEEDED")
|
1321
|
+
UNKNOWN = SizeLimitErrorReason.new("UNKNOWN")
|
1322
|
+
end
|
1323
|
+
|
1324
|
+
# Stats.Network
|
1325
|
+
class StatsNetwork < ::String
|
1326
|
+
ALL = StatsNetwork.new("ALL")
|
1327
|
+
CONTENT = StatsNetwork.new("CONTENT")
|
1328
|
+
CONTENT_KEYWORD_BID = StatsNetwork.new("CONTENT_KEYWORD_BID")
|
1329
|
+
CONTENT_PLACEMENT_BID = StatsNetwork.new("CONTENT_PLACEMENT_BID")
|
1330
|
+
GOOGLE_SEARCH = StatsNetwork.new("GOOGLE_SEARCH")
|
1331
|
+
SEARCH = StatsNetwork.new("SEARCH")
|
1332
|
+
SEARCH_NETWORK = StatsNetwork.new("SEARCH_NETWORK")
|
1333
|
+
UNKNOWN = StatsNetwork.new("UNKNOWN")
|
1334
|
+
end
|
1335
|
+
|
1336
|
+
# StringLengthError.Reason
|
1337
|
+
class StringLengthErrorReason < ::String
|
1338
|
+
TOO_LONG = StringLengthErrorReason.new("TOO_LONG")
|
1339
|
+
TOO_SHORT = StringLengthErrorReason.new("TOO_SHORT")
|
1340
|
+
end
|
1341
|
+
|
1342
|
+
# get
|
1343
|
+
# - selector - AdwordsApi::V201008::AdExtensionOverrideService::AdExtensionOverrideSelector
|
1344
|
+
class Get #:nodoc: all
|
1345
|
+
attr_accessor :selector
|
1346
|
+
|
1347
|
+
def initialize(selector = nil)
|
1348
|
+
@selector = selector
|
1349
|
+
end
|
1350
|
+
end
|
1351
|
+
|
1352
|
+
# getResponse
|
1353
|
+
# - rval - AdwordsApi::V201008::AdExtensionOverrideService::AdExtensionOverridePage
|
1354
|
+
class GetResponse #:nodoc: all
|
1355
|
+
attr_accessor :rval
|
1356
|
+
|
1357
|
+
def initialize(rval = nil)
|
1358
|
+
@rval = rval
|
1359
|
+
end
|
1360
|
+
end
|
1361
|
+
|
1362
|
+
# mutate
|
1363
|
+
# - operations - AdwordsApi::V201008::AdExtensionOverrideService::AdExtensionOverrideOperation
|
1364
|
+
class Mutate #:nodoc: all
|
1365
|
+
attr_accessor :operations
|
1366
|
+
|
1367
|
+
def initialize(operations = [])
|
1368
|
+
@operations = operations
|
1369
|
+
end
|
1370
|
+
end
|
1371
|
+
|
1372
|
+
# mutateResponse
|
1373
|
+
# - rval - AdwordsApi::V201008::AdExtensionOverrideService::AdExtensionOverrideReturnValue
|
1374
|
+
class MutateResponse #:nodoc: all
|
1375
|
+
attr_accessor :rval
|
1376
|
+
|
1377
|
+
def initialize(rval = nil)
|
1378
|
+
@rval = rval
|
1379
|
+
end
|
1380
|
+
end
|
1381
|
+
|
1382
|
+
|
1383
|
+
end; end; end
|