Microsoft Advertising
microsoft_advertisingManage Microsoft Advertising accounts, campaigns, ad groups, and asynchronous reports through the documented v13 REST APIs.
Acciones disponibles (14)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Activate Ad GroupsMICROSOFT_ADVERTISING_ACTIVATE_AD_GROUPSAcciónActivate up to 1,000 ad groups in a Microsoft Advertising campaign. WARNING: Activation can immediately make eligible ads deliver and incur spend when the parent campaign, bids, targeting, and ads permit delivery. Verify the selected IDs and campaign configuration before calling. Inspect partial_errors because Microsoft can accept the request while rejecting individual activations.
MICROSOFT_ADVERTISING_ACTIVATE_AD_GROUPSAcciónActivate up to 1,000 ad groups in a Microsoft Advertising campaign. WARNING: Activation can immediately make eligible ads deliver and incur spend when the parent campaign, bids, targeting, and ads permit delivery. Verify the selected IDs and campaign configuration before calling. Inspect partial_errors because Microsoft can accept the request while rejecting individual activations.
Parámetros de entrada
account_idstringObligatorioAdvertiser account ID containing the parent campaign.
campaign_idstringObligatorioCampaign ID containing the ad groups to activate.
customer_idstringObligatorioManager customer ID through which the connected user operates the advertiser account.
ad_group_idsstring[]ObligatorioIDs of up to 1,000 ad groups to activate.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Activate CampaignsMICROSOFT_ADVERTISING_ACTIVATE_CAMPAIGNSAcciónActivate 1 to 100 Microsoft Advertising campaigns. This can immediately make configured ads eligible for delivery and cause the account to incur ad spend. Inspect partial_errors because Microsoft can accept the request while rejecting individual campaign activations.
MICROSOFT_ADVERTISING_ACTIVATE_CAMPAIGNSAcciónActivate 1 to 100 Microsoft Advertising campaigns. This can immediately make configured ads eligible for delivery and cause the account to incur ad spend. Inspect partial_errors because Microsoft can accept the request while rejecting individual campaign activations.
Parámetros de entrada
account_idstringObligatorioAdvertiser account ID containing the campaigns to activate.
customer_idstringObligatorioManager customer ID through which the connected user operates the advertiser account.
campaign_idsstring[]ObligatorioCampaign IDs to activate. Activating campaigns can enable configured ads to deliver and incur spend.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Search Ad GroupsMICROSOFT_ADVERTISING_CREATE_SEARCH_AD_GROUPSAcciónCreate up to 1,000 Search ad groups under a Microsoft Advertising campaign. Ad groups default to Paused. HTTP success can include failed items, represented by null ad_group_ids and indexed partial_errors.
MICROSOFT_ADVERTISING_CREATE_SEARCH_AD_GROUPSAcciónCreate up to 1,000 Search ad groups under a Microsoft Advertising campaign. Ad groups default to Paused. HTTP success can include failed items, represented by null ad_group_ids and indexed partial_errors.
Parámetros de entrada
ad_groupsobject[]ObligatorioSearch ad groups to create, up to 1,000. Each item is sent as SearchStandard and defaults to Paused.
account_idstringObligatorioAdvertiser account ID containing the parent campaign.
campaign_idstringObligatorioCampaign ID that will own the new ad groups.
customer_idstringObligatorioManager customer ID through which the connected user operates the advertiser account.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Search CampaignsMICROSOFT_ADVERTISING_CREATE_SEARCH_CAMPAIGNSAcciónCreate up to 100 Search campaigns with unshared budgets in a Microsoft Advertising account. Campaigns default to Paused. HTTP success can include failed items, represented by null campaign_ids and indexed partial_errors.
MICROSOFT_ADVERTISING_CREATE_SEARCH_CAMPAIGNSAcciónCreate up to 100 Search campaigns with unshared budgets in a Microsoft Advertising account. Campaigns default to Paused. HTTP success can include failed items, represented by null campaign_ids and indexed partial_errors.
Parámetros de entrada
campaignsobject[]ObligatorioSearch campaigns to create, up to 100. Every item uses CampaignType Search and an unshared campaign-level budget.
account_idstringObligatorioAdvertiser account ID where the campaigns will be created; sent as both the CustomerAccountId header and AccountId body field.
customer_idstringObligatorioManager customer ID through which the connected user operates the advertiser account.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete Ad GroupsMICROSOFT_ADVERTISING_DELETE_AD_GROUPSAcciónPermanently delete 1 to 1,000 ad groups from a Microsoft Advertising campaign. This destructive operation cannot be undone. A successful HTTP response can still contain item-level failures in partial_errors.
MICROSOFT_ADVERTISING_DELETE_AD_GROUPSAcciónPermanently delete 1 to 1,000 ad groups from a Microsoft Advertising campaign. This destructive operation cannot be undone. A successful HTTP response can still contain item-level failures in partial_errors.
Parámetros de entrada
account_idstringObligatorioAdvertiser account ID containing the parent campaign.
campaign_idstringObligatorioCampaign ID containing the ad groups to permanently delete.
customer_idstringObligatorioManager customer ID through which the connected user operates the advertiser account.
ad_group_idsstring[]ObligatorioAd-group IDs to permanently delete, from 1 to 1,000 IDs.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete CampaignsMICROSOFT_ADVERTISING_DELETE_CAMPAIGNSAcciónPermanently delete 1 to 100 campaigns from a Microsoft Advertising account. This destructive operation cannot be undone. A successful HTTP response can still contain item-level failures, which are preserved in partial_errors.
MICROSOFT_ADVERTISING_DELETE_CAMPAIGNSAcciónPermanently delete 1 to 100 campaigns from a Microsoft Advertising account. This destructive operation cannot be undone. A successful HTTP response can still contain item-level failures, which are preserved in partial_errors.
Parámetros de entrada
account_idstringObligatorioAdvertiser account ID containing the campaigns; sent both as the CustomerAccountId header and AccountId body field.
customer_idstringObligatorioManager customer ID through which the connected user operates the advertiser account.
campaign_idsstring[]ObligatorioCampaign IDs to permanently delete, from 1 to 100 IDs.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Generate Account Performance ReportMICROSOFT_ADVERTISING_GENERATE_ACCOUNT_PERFORMANCE_REPORTAcciónSubmit an account-performance report without polling, or check an existing report_request_id once. A submission returns Pending promptly; wait 2 to 15 minutes before checking that ID again until Success. Does not download the ZIP.
MICROSOFT_ADVERTISING_GENERATE_ACCOUNT_PERFORMANCE_REPORTAcciónSubmit an account-performance report without polling, or check an existing report_request_id once. A submission returns Pending promptly; wait 2 to 15 minutes before checking that ID again until Success. Does not download the ZIP.
Parámetros de entrada
formatstringenumReport data format inside Microsoft's ZIP download.
CsvTsvXmlcolumnsstring[]AccountPerformanceReportColumn values in desired output order.
account_idstringObligatorioAdvertiser account ID to report on; sent as CustomerAccountId.
aggregationstringenumHow to aggregate report rows. Include TimePeriod in columns for non-Summary aggregation to take effect.
SummaryHourlyDailyWeeklyMonthlyYearlyHourOfDayDayOfWeekWeeklyStartingMondaycustomer_idstringObligatorioManager customer ID through which the connected user operates the account.
report_namestringOptional name included in the report header.
custom_end_dateobjectInclusive custom end date; requires custom_start_date.
predefined_timestringenumMicrosoft predefined report period, such as Yesterday, LastSevenDays, ThisMonth, or LastMonth. Custom dates replace this value.
TodayYesterdayLastSevenDaysThisWeekLastWeekLast14DaysLast30DaysLastFourWeeksThisMonthLastMonthLastThreeMonthsLastSixMonths+5report_time_zonestringenumMicrosoft Reporting time-zone value used to interpret the period.
NukualofaFijiKamchatkaMarshallIslandAucklandWellingtonMagadanSolomonIslandNewCaledoniaVladivostokHobartGuamPortMoresbyCanberraMelbourneSydneyBrisbaneDarwinAdelaideYakutsk+63custom_start_dateobjectInclusive custom start date; requires custom_end_date.
report_request_idstringExisting Microsoft report request ID to check. When supplied, the action skips submission and checks this request once.
return_only_complete_databooleanRequire fully processed data; do not enable for a period including today.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Current Advertising UserMICROSOFT_ADVERTISING_GET_CURRENT_USERAcciónReturn the connected Microsoft Advertising user and their customer/account roles; optionally look up another accessible user by ID.
MICROSOFT_ADVERTISING_GET_CURRENT_USERAcciónReturn the connected Microsoft Advertising user and their customer/account roles; optionally look up another accessible user by ID.
Parámetros de entrada
user_idstringMicrosoft Advertising user ID to retrieve; omit to return the connected user.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Advertiser AccountsMICROSOFT_ADVERTISING_LIST_ACCOUNTSAcciónReturn advertiser accounts accessible under a customer, including lifecycle and pause state needed before campaign work.
MICROSOFT_ADVERTISING_LIST_ACCOUNTSAcciónReturn advertiser accounts accessible under a customer, including lifecycle and pause state needed before campaign work.
Parámetros de entrada
customer_idstringCustomer ID whose advertiser accounts to list; omit to let Microsoft infer the customer from the connected user.
only_parent_accountsbooleanWhen true, exclude linked advertiser accounts owned by other customers.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Ad GroupsMICROSOFT_ADVERTISING_LIST_AD_GROUPSAcciónReturn ad groups in a Microsoft Advertising campaign. Omit ad_group_ids to use the campaign-wide route, or supply up to 1,000 IDs to use Microsoft's ID-filtered route. ID-filtered responses preserve nullable ad-group slots and partial_errors instead of treating HTTP 200 as complete success.
MICROSOFT_ADVERTISING_LIST_AD_GROUPSAcciónReturn ad groups in a Microsoft Advertising campaign. Omit ad_group_ids to use the campaign-wide route, or supply up to 1,000 IDs to use Microsoft's ID-filtered route. ID-filtered responses preserve nullable ad-group slots and partial_errors instead of treating HTTP 200 as complete success.
Parámetros de entrada
account_idstringObligatorioAdvertiser account ID containing the campaign.
campaign_idstringObligatorioCampaign ID containing the ad groups.
customer_idstringObligatorioManager customer ID through which the connected user operates the advertiser account.
ad_group_idsstring[]Ad-group IDs to retrieve, up to 1,000. Omit to list all ad groups in the campaign. ID-filtered results retain null slots for IDs Microsoft could not resolve; inspect partial_errors for item-level failures.
additional_fieldsstring[]AdGroupAdditionalField values for properties that Microsoft does not return by default.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List CampaignsMICROSOFT_ADVERTISING_LIST_CAMPAIGNSAcciónReturn campaigns in a Microsoft Advertising account. Omit campaign_ids to use the account-wide route, or supply up to 100 IDs to use Microsoft's ID-filtered route. ID-filtered responses preserve nullable campaign slots and matching partial_errors instead of treating HTTP 200 as complete success.
MICROSOFT_ADVERTISING_LIST_CAMPAIGNSAcciónReturn campaigns in a Microsoft Advertising account. Omit campaign_ids to use the account-wide route, or supply up to 100 IDs to use Microsoft's ID-filtered route. ID-filtered responses preserve nullable campaign slots and matching partial_errors instead of treating HTTP 200 as complete success.
Parámetros de entrada
account_idstringObligatorioAdvertiser account ID containing the campaigns; sent both as the CustomerAccountId header and AccountId body field.
customer_idstringObligatorioManager customer ID through which the connected user operates the advertiser account.
campaign_idsstring[]Campaign IDs to retrieve, up to 100. Omit to list campaigns in the account instead. Results retain null slots for IDs Microsoft could not resolve; inspect partial_errors at the matching indexes.
campaign_typesstring[]Campaign types to include, such as Search, Shopping, Audience, Hotel, or PerformanceMax. Omit for Microsoft's Search default.
additional_fieldsstring[]CampaignAdditionalField values for newer properties that Microsoft does not return by default.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Accessible CustomersMICROSOFT_ADVERTISING_LIST_CUSTOMERSAcciónReturn Microsoft Advertising customers accessible to the connected user, optionally filtered by a case-insensitive name prefix.
MICROSOFT_ADVERTISING_LIST_CUSTOMERSAcciónReturn Microsoft Advertising customers accessible to the connected user, optionally filtered by a case-insensitive name prefix.
Parámetros de entrada
max_resultsintegerPositive maximum number of customers to return. This bounds one complete response and is not pagination.
name_prefixstringOptional customer-name prefix; matching is case-insensitive.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Ad GroupsMICROSOFT_ADVERTISING_UPDATE_AD_GROUPSAcciónPartially update up to 1,000 ad groups in a Microsoft Advertising campaign. Only supplied fields are sent, so omitted settings remain unchanged. This action is financially consequential: increasing a CPC bid or expanding network reach can increase spend on an active ad group. Inspect partial_errors because Microsoft can accept the request while rejecting individual ad-group patches.
MICROSOFT_ADVERTISING_UPDATE_AD_GROUPSAcciónPartially update up to 1,000 ad groups in a Microsoft Advertising campaign. Only supplied fields are sent, so omitted settings remain unchanged. This action is financially consequential: increasing a CPC bid or expanding network reach can increase spend on an active ad group. Inspect partial_errors because Microsoft can accept the request while rejecting individual ad-group patches.
Parámetros de entrada
ad_groupsobject[]ObligatorioAd-group patches. Each item requires an ID and at least one mutable field; omitted fields remain unchanged.
account_idstringObligatorioAdvertiser account ID containing the parent campaign.
campaign_idstringObligatorioCampaign ID containing the ad groups to update.
customer_idstringObligatorioManager customer ID through which the connected user operates the advertiser account.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update CampaignsMICROSOFT_ADVERTISING_UPDATE_CAMPAIGNSAcciónPartially update up to 100 campaigns in a Microsoft Advertising account. Only supplied fields are sent, so omitted settings remain unchanged. This action is financially consequential: increasing a budget can increase spend on an active campaign. It can pause campaigns but cannot activate them; use ACTIVATE_CAMPAIGNS for activation. Inspect partial_errors because Microsoft can accept the request while rejecting individual campaign patches.
MICROSOFT_ADVERTISING_UPDATE_CAMPAIGNSAcciónPartially update up to 100 campaigns in a Microsoft Advertising account. Only supplied fields are sent, so omitted settings remain unchanged. This action is financially consequential: increasing a budget can increase spend on an active campaign. It can pause campaigns but cannot activate them; use ACTIVATE_CAMPAIGNS for activation. Inspect partial_errors because Microsoft can accept the request while rejecting individual campaign patches.
Parámetros de entrada
campaignsobject[]ObligatorioCampaign patches. Each item requires an ID and at least one mutable field; omitted fields remain unchanged.
account_idstringObligatorioAdvertiser account ID containing the campaigns; sent both as the CustomerAccountId header and AccountId body field.
customer_idstringObligatorioManager customer ID through which the connected user operates the advertiser account.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not