Class: BingAdsApi::V8::CampaignManagementService::CampaignManagementServiceRegistry

Inherits:
Object
  • Object
show all
Defined in:
lib/bing_ads_api/v8/campaign_management_service_registry.rb

Constant Summary collapse

CAMPAIGNMANAGEMENTSERVICE_METHODS =
{:delete_ad_extensions=>{:input=>{:name=>"delete_ad_extensions_request", :fields=>[]}, :output=>{:name=>"delete_ad_extensions_response", :fields=>[]}, :original_name=>"DeleteAdExtensions"}, :get_ad_extensions_by_campaign_ids=>{:input=>{:name=>"get_ad_extensions_by_campaign_ids_request", :fields=>[]}, :output=>{:name=>"get_ad_extensions_by_campaign_ids_response", :fields=>[]}, :original_name=>"GetAdExtensionsByCampaignIds"}, :get_ad_extensions_by_ids=>{:input=>{:name=>"get_ad_extensions_by_ids_request", :fields=>[]}, :output=>{:name=>"get_ad_extensions_by_ids_response", :fields=>[]}, :original_name=>"GetAdExtensionsByIds"}, :get_ad_extensions_editorial_reasons_by_campaign_ids=>{:input=>{:name=>"get_ad_extensions_editorial_reasons_by_campaign_ids_request", :fields=>[]}, :output=>{:name=>"get_ad_extensions_editorial_reasons_by_campaign_ids_response", :fields=>[]}, :original_name=>"GetAdExtensionsEditorialReasonsByCampaignIds"}, :set_ad_extensions_to_campaigns=>{:input=>{:name=>"set_ad_extensions_to_campaigns_request", :fields=>[]}, :output=>{:name=>"set_ad_extensions_to_campaigns_response", :fields=>[]}, :original_name=>"SetAdExtensionsToCampaigns"}, :delete_ad_extensions_from_campaigns=>{:input=>{:name=>"delete_ad_extensions_from_campaigns_request", :fields=>[]}, :output=>{:name=>"delete_ad_extensions_from_campaigns_response", :fields=>[]}, :original_name=>"DeleteAdExtensionsFromCampaigns"}, :get_ads_by_editorial_status=>{:input=>{:name=>"get_ads_by_editorial_status_request", :fields=>[]}, :output=>{:name=>"get_ads_by_editorial_status_response", :fields=>[]}, :original_name=>"GetAdsByEditorialStatus"}, :get_ads_by_ids=>{:input=>{:name=>"get_ads_by_ids_request", :fields=>[]}, :output=>{:name=>"get_ads_by_ids_response", :fields=>[]}, :original_name=>"GetAdsByIds"}, :get_ads_by_ad_group_id=>{:input=>{:name=>"get_ads_by_ad_group_id_request", :fields=>[]}, :output=>{:name=>"get_ads_by_ad_group_id_response", :fields=>[]}, :original_name=>"GetAdsByAdGroupId"}, :update_ads=>{:input=>{:name=>"update_ads_request", :fields=>[]}, :output=>{:name=>"update_ads_response", :fields=>[]}, :original_name=>"UpdateAds"}, :pause_ads=>{:input=>{:name=>"pause_ads_request", :fields=>[]}, :output=>{:name=>"pause_ads_response", :fields=>[]}, :original_name=>"PauseAds"}, :resume_ads=>{:input=>{:name=>"resume_ads_request", :fields=>[]}, :output=>{:name=>"resume_ads_response", :fields=>[]}, :original_name=>"ResumeAds"}, :add_keywords=>{:input=>{:name=>"add_keywords_request", :fields=>[]}, :output=>{:name=>"add_keywords_response", :fields=>[]}, :original_name=>"AddKeywords"}, :delete_keywords=>{:input=>{:name=>"delete_keywords_request", :fields=>[]}, :output=>{:name=>"delete_keywords_response", :fields=>[]}, :original_name=>"DeleteKeywords"}, :get_keywords_by_editorial_status=>{:input=>{:name=>"get_keywords_by_editorial_status_request", :fields=>[]}, :output=>{:name=>"get_keywords_by_editorial_status_response", :fields=>[]}, :original_name=>"GetKeywordsByEditorialStatus"}, :get_keywords_by_ids=>{:input=>{:name=>"get_keywords_by_ids_request", :fields=>[]}, :output=>{:name=>"get_keywords_by_ids_response", :fields=>[]}, :original_name=>"GetKeywordsByIds"}, :get_keywords_by_ad_group_id=>{:input=>{:name=>"get_keywords_by_ad_group_id_request", :fields=>[]}, :output=>{:name=>"get_keywords_by_ad_group_id_response", :fields=>[]}, :original_name=>"GetKeywordsByAdGroupId"}, :pause_keywords=>{:input=>{:name=>"pause_keywords_request", :fields=>[]}, :output=>{:name=>"pause_keywords_response", :fields=>[]}, :original_name=>"PauseKeywords"}, :resume_keywords=>{:input=>{:name=>"resume_keywords_request", :fields=>[]}, :output=>{:name=>"resume_keywords_response", :fields=>[]}, :original_name=>"ResumeKeywords"}, :update_keywords=>{:input=>{:name=>"update_keywords_request", :fields=>[]}, :output=>{:name=>"update_keywords_response", :fields=>[]}, :original_name=>"UpdateKeywords"}, :add_businesses=>{:input=>{:name=>"add_businesses_request", :fields=>[]}, :output=>{:name=>"add_businesses_response", :fields=>[]}, :original_name=>"AddBusinesses"}, :update_businesses=>{:input=>{:name=>"update_businesses_request", :fields=>[]}, :output=>{:name=>"update_businesses_response", :fields=>[]}, :original_name=>"UpdateBusinesses"}, :delete_businesses=>{:input=>{:name=>"delete_businesses_request", :fields=>[]}, :output=>{:name=>"delete_businesses_response", :fields=>[]}, :original_name=>"DeleteBusinesses"}, :get_businesses_info=>{:input=>{:name=>"get_businesses_info_request", :fields=>[]}, :output=>{:name=>"get_businesses_info_response", :fields=>[]}, :original_name=>"GetBusinessesInfo"}, :get_businesses_by_ids=>{:input=>{:name=>"get_businesses_by_ids_request", :fields=>[]}, :output=>{:name=>"get_businesses_by_ids_response", :fields=>[]}, :original_name=>"GetBusinessesByIds"}, :add_site_placements=>{:input=>{:name=>"add_site_placements_request", :fields=>[]}, :output=>{:name=>"add_site_placements_response", :fields=>[]}, :original_name=>"AddSitePlacements"}, :delete_site_placements=>{:input=>{:name=>"delete_site_placements_request", :fields=>[]}, :output=>{:name=>"delete_site_placements_response", :fields=>[]}, :original_name=>"DeleteSitePlacements"}, :get_site_placements_by_ids=>{:input=>{:name=>"get_site_placements_by_ids_request", :fields=>[]}, :output=>{:name=>"get_site_placements_by_ids_response", :fields=>[]}, :original_name=>"GetSitePlacementsByIds"}, :get_site_placements_by_ad_group_id=>{:input=>{:name=>"get_site_placements_by_ad_group_id_request", :fields=>[]}, :output=>{:name=>"get_site_placements_by_ad_group_id_response", :fields=>[]}, :original_name=>"GetSitePlacementsByAdGroupId"}, :pause_site_placements=>{:input=>{:name=>"pause_site_placements_request", :fields=>[]}, :output=>{:name=>"pause_site_placements_response", :fields=>[]}, :original_name=>"PauseSitePlacements"}, :resume_site_placements=>{:input=>{:name=>"resume_site_placements_request", :fields=>[]}, :output=>{:name=>"resume_site_placements_response", :fields=>[]}, :original_name=>"ResumeSitePlacements"}, :update_site_placements=>{:input=>{:name=>"update_site_placements_request", :fields=>[]}, :output=>{:name=>"update_site_placements_response", :fields=>[]}, :original_name=>"UpdateSitePlacements"}, :get_placement_details_for_urls=>{:input=>{:name=>"get_placement_details_for_urls_request", :fields=>[]}, :output=>{:name=>"get_placement_details_for_urls_response", :fields=>[]}, :original_name=>"GetPlacementDetailsForUrls"}, :get_normalized_strings=>{:input=>{:name=>"get_normalized_strings_request", :fields=>[]}, :output=>{:name=>"get_normalized_strings_response", :fields=>[]}, :original_name=>"GetNormalizedStrings"}, :get_keyword_editorial_reasons_by_ids=>{:input=>{:name=>"get_keyword_editorial_reasons_by_ids_request", :fields=>[]}, :output=>{:name=>"get_keyword_editorial_reasons_by_ids_response", :fields=>[]}, :original_name=>"GetKeywordEditorialReasonsByIds"}, :get_ad_editorial_reasons_by_ids=>{:input=>{:name=>"get_ad_editorial_reasons_by_ids_request", :fields=>[]}, :output=>{:name=>"get_ad_editorial_reasons_by_ids_response", :fields=>[]}, :original_name=>"GetAdEditorialReasonsByIds"}, :download_campaign_hierarchy=>{:input=>{:name=>"download_campaign_hierarchy_request", :fields=>[]}, :output=>{:name=>"download_campaign_hierarchy_response", :fields=>[]}, :original_name=>"DownloadCampaignHierarchy"}, :get_download_status=>{:input=>{:name=>"get_download_status_request", :fields=>[]}, :output=>{:name=>"get_download_status_response", :fields=>[]}, :original_name=>"GetDownloadStatus"}, :add_goals=>{:input=>{:name=>"add_goals_request", :fields=>[]}, :output=>{:name=>"add_goals_response", :fields=>[]}, :original_name=>"AddGoals"}, :update_goals=>{:input=>{:name=>"update_goals_request", :fields=>[]}, :output=>{:name=>"update_goals_response", :fields=>[]}, :original_name=>"UpdateGoals"}, :get_goals=>{:input=>{:name=>"get_goals_request", :fields=>[]}, :output=>{:name=>"get_goals_response", :fields=>[]}, :original_name=>"GetGoals"}, :delete_goals=>{:input=>{:name=>"delete_goals_request", :fields=>[]}, :output=>{:name=>"delete_goals_response", :fields=>[]}, :original_name=>"DeleteGoals"}, :set_analytics_type=>{:input=>{:name=>"set_analytics_type_request", :fields=>[]}, :output=>{:name=>"set_analytics_type_response", :fields=>[]}, :original_name=>"SetAnalyticsType"}, :get_analytics_type=>{:input=>{:name=>"get_analytics_type_request", :fields=>[]}, :output=>{:name=>"get_analytics_type_response", :fields=>[]}, :original_name=>"GetAnalyticsType"}, :get_campaign_ad_extensions=>{:input=>{:name=>"get_campaign_ad_extensions_request", :fields=>[]}, :output=>{:name=>"get_campaign_ad_extensions_response", :fields=>[]}, :original_name=>"GetCampaignAdExtensions"}, :set_campaign_ad_extensions=>{:input=>{:name=>"set_campaign_ad_extensions_request", :fields=>[]}, :output=>{:name=>"set_campaign_ad_extensions_response", :fields=>[]}, :original_name=>"SetCampaignAdExtensions"}, :get_account_migration_statuses=>{:input=>{:name=>"get_account_migration_statuses_request", :fields=>[]}, :output=>{:name=>"get_account_migration_statuses_response", :fields=>[]}, :original_name=>"GetAccountMigrationStatuses"}, :add_ad_extensions=>{:input=>{:name=>"add_ad_extensions_request", :fields=>[]}, :output=>{:name=>"add_ad_extensions_response", :fields=>[]}, :original_name=>"AddAdExtensions"}, :add_campaigns=>{:input=>{:name=>"add_campaigns_request", :fields=>[]}, :output=>{:name=>"add_campaigns_response", :fields=>[]}, :original_name=>"AddCampaigns"}, :get_campaigns_by_account_id=>{:input=>{:name=>"get_campaigns_by_account_id_request", :fields=>[]}, :output=>{:name=>"get_campaigns_by_account_id_response", :fields=>[]}, :original_name=>"GetCampaignsByAccountId"}, :get_campaigns_by_ids=>{:input=>{:name=>"get_campaigns_by_ids_request", :fields=>[]}, :output=>{:name=>"get_campaigns_by_ids_response", :fields=>[]}, :original_name=>"GetCampaignsByIds"}, :pause_campaigns=>{:input=>{:name=>"pause_campaigns_request", :fields=>[]}, :output=>{:name=>"pause_campaigns_response", :fields=>[]}, :original_name=>"PauseCampaigns"}, :resume_campaigns=>{:input=>{:name=>"resume_campaigns_request", :fields=>[]}, :output=>{:name=>"resume_campaigns_response", :fields=>[]}, :original_name=>"ResumeCampaigns"}, :delete_campaigns=>{:input=>{:name=>"delete_campaigns_request", :fields=>[]}, :output=>{:name=>"delete_campaigns_response", :fields=>[]}, :original_name=>"DeleteCampaigns"}, :update_campaigns=>{:input=>{:name=>"update_campaigns_request", :fields=>[]}, :output=>{:name=>"update_campaigns_response", :fields=>[]}, :original_name=>"UpdateCampaigns"}, :get_negative_keywords_by_campaign_ids=>{:input=>{:name=>"get_negative_keywords_by_campaign_ids_request", :fields=>[]}, :output=>{:name=>"get_negative_keywords_by_campaign_ids_response", :fields=>[]}, :original_name=>"GetNegativeKeywordsByCampaignIds"}, :set_negative_keywords_to_campaigns=>{:input=>{:name=>"set_negative_keywords_to_campaigns_request", :fields=>[]}, :output=>{:name=>"set_negative_keywords_to_campaigns_response", :fields=>[]}, :original_name=>"SetNegativeKeywordsToCampaigns"}, :get_negative_sites_by_campaign_ids=>{:input=>{:name=>"get_negative_sites_by_campaign_ids_request", :fields=>[]}, :output=>{:name=>"get_negative_sites_by_campaign_ids_response", :fields=>[]}, :original_name=>"GetNegativeSitesByCampaignIds"}, :set_negative_sites_to_campaigns=>{:input=>{:name=>"set_negative_sites_to_campaigns_request", :fields=>[]}, :output=>{:name=>"set_negative_sites_to_campaigns_response", :fields=>[]}, :original_name=>"SetNegativeSitesToCampaigns"}, :add_ad_groups=>{:input=>{:name=>"add_ad_groups_request", :fields=>[]}, :output=>{:name=>"add_ad_groups_response", :fields=>[]}, :original_name=>"AddAdGroups"}, :delete_ad_groups=>{:input=>{:name=>"delete_ad_groups_request", :fields=>[]}, :output=>{:name=>"delete_ad_groups_response", :fields=>[]}, :original_name=>"DeleteAdGroups"}, :get_ad_groups_by_ids=>{:input=>{:name=>"get_ad_groups_by_ids_request", :fields=>[]}, :output=>{:name=>"get_ad_groups_by_ids_response", :fields=>[]}, :original_name=>"GetAdGroupsByIds"}, :get_ad_groups_by_campaign_id=>{:input=>{:name=>"get_ad_groups_by_campaign_id_request", :fields=>[]}, :output=>{:name=>"get_ad_groups_by_campaign_id_response", :fields=>[]}, :original_name=>"GetAdGroupsByCampaignId"}, :pause_ad_groups=>{:input=>{:name=>"pause_ad_groups_request", :fields=>[]}, :output=>{:name=>"pause_ad_groups_response", :fields=>[]}, :original_name=>"PauseAdGroups"}, :resume_ad_groups=>{:input=>{:name=>"resume_ad_groups_request", :fields=>[]}, :output=>{:name=>"resume_ad_groups_response", :fields=>[]}, :original_name=>"ResumeAdGroups"}, :submit_ad_group_for_approval=>{:input=>{:name=>"submit_ad_group_for_approval_request", :fields=>[]}, :output=>{:name=>"submit_ad_group_for_approval_response", :fields=>[]}, :original_name=>"SubmitAdGroupForApproval"}, :update_ad_groups=>{:input=>{:name=>"update_ad_groups_request", :fields=>[]}, :output=>{:name=>"update_ad_groups_response", :fields=>[]}, :original_name=>"UpdateAdGroups"}, :get_negative_keywords_by_ad_group_ids=>{:input=>{:name=>"get_negative_keywords_by_ad_group_ids_request", :fields=>[]}, :output=>{:name=>"get_negative_keywords_by_ad_group_ids_response", :fields=>[]}, :original_name=>"GetNegativeKeywordsByAdGroupIds"}, :set_negative_keywords_to_ad_groups=>{:input=>{:name=>"set_negative_keywords_to_ad_groups_request", :fields=>[]}, :output=>{:name=>"set_negative_keywords_to_ad_groups_response", :fields=>[]}, :original_name=>"SetNegativeKeywordsToAdGroups"}, :get_negative_sites_by_ad_group_ids=>{:input=>{:name=>"get_negative_sites_by_ad_group_ids_request", :fields=>[]}, :output=>{:name=>"get_negative_sites_by_ad_group_ids_response", :fields=>[]}, :original_name=>"GetNegativeSitesByAdGroupIds"}, :set_negative_sites_to_ad_groups=>{:input=>{:name=>"set_negative_sites_to_ad_groups_request", :fields=>[]}, :output=>{:name=>"set_negative_sites_to_ad_groups_response", :fields=>[]}, :original_name=>"SetNegativeSitesToAdGroups"}, :add_target=>{:input=>{:name=>"add_target_request", :fields=>[]}, :output=>{:name=>"add_target_response", :fields=>[]}, :original_name=>"AddTarget"}, :delete_target=>{:input=>{:name=>"delete_target_request", :fields=>[]}, :output=>{:name=>"delete_target_response", :fields=>[]}, :original_name=>"DeleteTarget"}, :get_target_by_ad_group_id=>{:input=>{:name=>"get_target_by_ad_group_id_request", :fields=>[]}, :output=>{:name=>"get_target_by_ad_group_id_response", :fields=>[]}, :original_name=>"GetTargetByAdGroupId"}, :update_target=>{:input=>{:name=>"update_target_request", :fields=>[]}, :output=>{:name=>"update_target_response", :fields=>[]}, :original_name=>"UpdateTarget"}, :add_targets_to_library=>{:input=>{:name=>"add_targets_to_library_request", :fields=>[]}, :output=>{:name=>"add_targets_to_library_response", :fields=>[]}, :original_name=>"AddTargetsToLibrary"}, :update_targets_in_library=>{:input=>{:name=>"update_targets_in_library_request", :fields=>[]}, :output=>{:name=>"update_targets_in_library_response", :fields=>[]}, :original_name=>"UpdateTargetsInLibrary"}, :update_device_os_targets=>{:input=>{:name=>"update_device_os_targets_request", :fields=>[]}, :output=>{:name=>"update_device_os_targets_response", :fields=>[]}, :original_name=>"UpdateDeviceOSTargets"}, :delete_targets_from_library=>{:input=>{:name=>"delete_targets_from_library_request", :fields=>[]}, :output=>{:name=>"delete_targets_from_library_response", :fields=>[]}, :original_name=>"DeleteTargetsFromLibrary"}, :get_targets_info_from_library=>{:input=>{:name=>"get_targets_info_from_library_request", :fields=>[]}, :output=>{:name=>"get_targets_info_from_library_response", :fields=>[]}, :original_name=>"GetTargetsInfoFromLibrary"}, :get_targets_by_ids=>{:input=>{:name=>"get_targets_by_ids_request", :fields=>[]}, :output=>{:name=>"get_targets_by_ids_response", :fields=>[]}, :original_name=>"GetTargetsByIds"}, :get_device_os_targets_by_ids=>{:input=>{:name=>"get_device_os_targets_by_ids_request", :fields=>[]}, :output=>{:name=>"get_device_os_targets_by_ids_response", :fields=>[]}, :original_name=>"GetDeviceOSTargetsByIds"}, :set_target_to_ad_group=>{:input=>{:name=>"set_target_to_ad_group_request", :fields=>[]}, :output=>{:name=>"set_target_to_ad_group_response", :fields=>[]}, :original_name=>"SetTargetToAdGroup"}, :delete_target_from_ad_group=>{:input=>{:name=>"delete_target_from_ad_group_request", :fields=>[]}, :output=>{:name=>"delete_target_from_ad_group_response", :fields=>[]}, :original_name=>"DeleteTargetFromAdGroup"}, :get_targets_by_ad_group_ids=>{:input=>{:name=>"get_targets_by_ad_group_ids_request", :fields=>[]}, :output=>{:name=>"get_targets_by_ad_group_ids_response", :fields=>[]}, :original_name=>"GetTargetsByAdGroupIds"}, :set_target_to_campaign=>{:input=>{:name=>"set_target_to_campaign_request", :fields=>[]}, :output=>{:name=>"set_target_to_campaign_response", :fields=>[]}, :original_name=>"SetTargetToCampaign"}, :delete_target_from_campaign=>{:input=>{:name=>"delete_target_from_campaign_request", :fields=>[]}, :output=>{:name=>"delete_target_from_campaign_response", :fields=>[]}, :original_name=>"DeleteTargetFromCampaign"}, :get_targets_by_campaign_ids=>{:input=>{:name=>"get_targets_by_campaign_ids_request", :fields=>[]}, :output=>{:name=>"get_targets_by_campaign_ids_response", :fields=>[]}, :original_name=>"GetTargetsByCampaignIds"}, :add_ads=>{:input=>{:name=>"add_ads_request", :fields=>[]}, :output=>{:name=>"add_ads_response", :fields=>[]}, :original_name=>"AddAds"}, :delete_ads=>{:input=>{:name=>"delete_ads_request", :fields=>[]}, :output=>{:name=>"delete_ads_response", :fields=>[]}, :original_name=>"DeleteAds"}}
CAMPAIGNMANAGEMENTSERVICE_TYPES =
{}
CAMPAIGNMANAGEMENTSERVICE_NAMESPACES =
[]

Class Method Summary collapse

Class Method Details

.get_method_signature(method_name) ⇒ Object



18
19
20
# File 'lib/bing_ads_api/v8/campaign_management_service_registry.rb', line 18

def self.get_method_signature(method_name)
  return CAMPAIGNMANAGEMENTSERVICE_METHODS[method_name.to_sym]
end

.get_namespace(index) ⇒ Object



26
27
28
# File 'lib/bing_ads_api/v8/campaign_management_service_registry.rb', line 26

def self.get_namespace(index)
  return CAMPAIGNMANAGEMENTSERVICE_NAMESPACES[index]
end

.get_type_signature(type_name) ⇒ Object



22
23
24
# File 'lib/bing_ads_api/v8/campaign_management_service_registry.rb', line 22

def self.get_type_signature(type_name)
  return CAMPAIGNMANAGEMENTSERVICE_TYPES[type_name.to_sym]
end