Class: BingAdsApi::V7::CampaignManagementService::CampaignManagementServiceRegistry

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

Constant Summary collapse

CAMPAIGNMANAGEMENTSERVICE_METHODS =
{:set_networks_to_ad_groups=>{:input=>{:name=>"set_networks_to_ad_groups_request", :fields=>[]}, :output=>{:name=>"set_networks_to_ad_groups_response", :fields=>[]}, :original_name=>"SetNetworksToAdGroups"}, :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_account_migration_statuses=>{:input=>{:name=>"get_account_migration_statuses_request", :fields=>[]}, :output=>{:name=>"get_account_migration_statuses_response", :fields=>[]}, :original_name=>"GetAccountMigrationStatuses"}, :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"}, :get_keyword_estimates_by_bids=>{:input=>{:name=>"get_keyword_estimates_by_bids_request", :fields=>[]}, :output=>{:name=>"get_keyword_estimates_by_bids_response", :fields=>[]}, :original_name=>"GetKeywordEstimatesByBids"}, :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"}, :add_behavioral_bids=>{:input=>{:name=>"add_behavioral_bids_request", :fields=>[]}, :output=>{:name=>"add_behavioral_bids_response", :fields=>[]}, :original_name=>"AddBehavioralBids"}, :delete_behavioral_bids=>{:input=>{:name=>"delete_behavioral_bids_request", :fields=>[]}, :output=>{:name=>"delete_behavioral_bids_response", :fields=>[]}, :original_name=>"DeleteBehavioralBids"}, :get_behavioral_bids_by_ids=>{:input=>{:name=>"get_behavioral_bids_by_ids_request", :fields=>[]}, :output=>{:name=>"get_behavioral_bids_by_ids_response", :fields=>[]}, :original_name=>"GetBehavioralBidsByIds"}, :get_behavioral_bids_by_ad_group_id=>{:input=>{:name=>"get_behavioral_bids_by_ad_group_id_request", :fields=>[]}, :output=>{:name=>"get_behavioral_bids_by_ad_group_id_response", :fields=>[]}, :original_name=>"GetBehavioralBidsByAdGroupId"}, :pause_behavioral_bids=>{:input=>{:name=>"pause_behavioral_bids_request", :fields=>[]}, :output=>{:name=>"pause_behavioral_bids_response", :fields=>[]}, :original_name=>"PauseBehavioralBids"}, :resume_behavioral_bids=>{:input=>{:name=>"resume_behavioral_bids_request", :fields=>[]}, :output=>{:name=>"resume_behavioral_bids_response", :fields=>[]}, :original_name=>"ResumeBehavioralBids"}, :update_behavioral_bids=>{:input=>{:name=>"update_behavioral_bids_request", :fields=>[]}, :output=>{:name=>"update_behavioral_bids_response", :fields=>[]}, :original_name=>"UpdateBehavioralBids"}, :get_custom_segments=>{:input=>{:name=>"get_custom_segments_request", :fields=>[]}, :output=>{:name=>"get_custom_segments_response", :fields=>[]}, :original_name=>"GetCustomSegments"}, :add_segments=>{:input=>{:name=>"add_segments_request", :fields=>[]}, :output=>{:name=>"add_segments_response", :fields=>[]}, :original_name=>"AddSegments"}, :delete_segments=>{:input=>{:name=>"delete_segments_request", :fields=>[]}, :output=>{:name=>"delete_segments_response", :fields=>[]}, :original_name=>"DeleteSegments"}, :get_segments_by_ids=>{:input=>{:name=>"get_segments_by_ids_request", :fields=>[]}, :output=>{:name=>"get_segments_by_ids_response", :fields=>[]}, :original_name=>"GetSegmentsByIds"}, :get_segments=>{:input=>{:name=>"get_segments_request", :fields=>[]}, :output=>{:name=>"get_segments_response", :fields=>[]}, :original_name=>"GetSegments"}, :set_users_to_segments=>{:input=>{:name=>"set_users_to_segments_request", :fields=>[]}, :output=>{:name=>"set_users_to_segments_response", :fields=>[]}, :original_name=>"SetUsersToSegments"}, :delete_users_from_segment=>{:input=>{:name=>"delete_users_from_segment_request", :fields=>[]}, :output=>{:name=>"delete_users_from_segment_response", :fields=>[]}, :original_name=>"DeleteUsersFromSegment"}, :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"}, :get_networks_by_ad_group_ids=>{:input=>{:name=>"get_networks_by_ad_group_ids_request", :fields=>[]}, :output=>{:name=>"get_networks_by_ad_group_ids_response", :fields=>[]}, :original_name=>"GetNetworksByAdGroupIds"}, :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_campaigns_info_by_account_id=>{:input=>{:name=>"get_campaigns_info_by_account_id_request", :fields=>[]}, :output=>{:name=>"get_campaigns_info_by_account_id_response", :fields=>[]}, :original_name=>"GetCampaignsInfoByAccountId"}, :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"}, :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_ad_groups_info_by_campaign_id=>{:input=>{:name=>"get_ad_groups_info_by_campaign_id_request", :fields=>[]}, :output=>{:name=>"get_ad_groups_info_by_campaign_id_response", :fields=>[]}, :original_name=>"GetAdGroupsInfoByCampaignId"}, :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"}, :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"}, :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"}, :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"}, :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"}}
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/v7/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/v7/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/v7/campaign_management_service_registry.rb', line 22

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