Volver al catálogo

Microsoft Advertising

microsoft_advertising

Manage Microsoft Advertising accounts, campaigns, ad groups, and asynchronous reports through the documented v13 REST APIs.

Acciones
14
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

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ón

Activate 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_idstringObligatorio

    Advertiser account ID containing the parent campaign.

  • campaign_idstringObligatorio

    Campaign ID containing the ad groups to activate.

  • customer_idstringObligatorio

    Manager customer ID through which the connected user operates the advertiser account.

  • ad_group_idsstring[]Obligatorio

    IDs of up to 1,000 ad groups to activate.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Activate CampaignsMICROSOFT_ADVERTISING_ACTIVATE_CAMPAIGNSAcción

Activate 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_idstringObligatorio

    Advertiser account ID containing the campaigns to activate.

  • customer_idstringObligatorio

    Manager customer ID through which the connected user operates the advertiser account.

  • campaign_idsstring[]Obligatorio

    Campaign IDs to activate. Activating campaigns can enable configured ads to deliver and incur spend.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Search Ad GroupsMICROSOFT_ADVERTISING_CREATE_SEARCH_AD_GROUPSAcción

Create 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[]Obligatorio

    Search ad groups to create, up to 1,000. Each item is sent as SearchStandard and defaults to Paused.

  • account_idstringObligatorio

    Advertiser account ID containing the parent campaign.

  • campaign_idstringObligatorio

    Campaign ID that will own the new ad groups.

  • customer_idstringObligatorio

    Manager customer ID through which the connected user operates the advertiser account.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Search CampaignsMICROSOFT_ADVERTISING_CREATE_SEARCH_CAMPAIGNSAcción

Create 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[]Obligatorio

    Search campaigns to create, up to 100. Every item uses CampaignType Search and an unshared campaign-level budget.

  • account_idstringObligatorio

    Advertiser account ID where the campaigns will be created; sent as both the CustomerAccountId header and AccountId body field.

  • customer_idstringObligatorio

    Manager customer ID through which the connected user operates the advertiser account.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Ad GroupsMICROSOFT_ADVERTISING_DELETE_AD_GROUPSAcción

Permanently 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_idstringObligatorio

    Advertiser account ID containing the parent campaign.

  • campaign_idstringObligatorio

    Campaign ID containing the ad groups to permanently delete.

  • customer_idstringObligatorio

    Manager customer ID through which the connected user operates the advertiser account.

  • ad_group_idsstring[]Obligatorio

    Ad-group IDs to permanently delete, from 1 to 1,000 IDs.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete CampaignsMICROSOFT_ADVERTISING_DELETE_CAMPAIGNSAcción

Permanently 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_idstringObligatorio

    Advertiser account ID containing the campaigns; sent both as the CustomerAccountId header and AccountId body field.

  • customer_idstringObligatorio

    Manager customer ID through which the connected user operates the advertiser account.

  • campaign_idsstring[]Obligatorio

    Campaign IDs to permanently delete, from 1 to 100 IDs.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Generate Account Performance ReportMICROSOFT_ADVERTISING_GENERATE_ACCOUNT_PERFORMANCE_REPORTAcción

Submit 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

  • formatstringenum

    Report data format inside Microsoft's ZIP download.

    CsvTsvXml
  • columnsstring[]

    AccountPerformanceReportColumn values in desired output order.

  • account_idstringObligatorio

    Advertiser account ID to report on; sent as CustomerAccountId.

  • aggregationstringenum

    How to aggregate report rows. Include TimePeriod in columns for non-Summary aggregation to take effect.

    SummaryHourlyDailyWeeklyMonthlyYearlyHourOfDayDayOfWeekWeeklyStartingMonday
  • customer_idstringObligatorio

    Manager customer ID through which the connected user operates the account.

  • report_namestring

    Optional name included in the report header.

  • custom_end_dateobject

    Inclusive custom end date; requires custom_start_date.

  • predefined_timestringenum

    Microsoft predefined report period, such as Yesterday, LastSevenDays, ThisMonth, or LastMonth. Custom dates replace this value.

    TodayYesterdayLastSevenDaysThisWeekLastWeekLast14DaysLast30DaysLastFourWeeksThisMonthLastMonthLastThreeMonthsLastSixMonths+5
  • report_time_zonestringenum

    Microsoft Reporting time-zone value used to interpret the period.

    NukualofaFijiKamchatkaMarshallIslandAucklandWellingtonMagadanSolomonIslandNewCaledoniaVladivostokHobartGuamPortMoresbyCanberraMelbourneSydneyBrisbaneDarwinAdelaideYakutsk+63
  • custom_start_dateobject

    Inclusive custom start date; requires custom_end_date.

  • report_request_idstring

    Existing Microsoft report request ID to check. When supplied, the action skips submission and checks this request once.

  • return_only_complete_databoolean

    Require fully processed data; do not enable for a period including today.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Current Advertising UserMICROSOFT_ADVERTISING_GET_CURRENT_USERAcción

Return the connected Microsoft Advertising user and their customer/account roles; optionally look up another accessible user by ID.

Parámetros de entrada

  • user_idstring

    Microsoft Advertising user ID to retrieve; omit to return the connected user.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Advertiser AccountsMICROSOFT_ADVERTISING_LIST_ACCOUNTSAcción

Return advertiser accounts accessible under a customer, including lifecycle and pause state needed before campaign work.

Parámetros de entrada

  • customer_idstring

    Customer ID whose advertiser accounts to list; omit to let Microsoft infer the customer from the connected user.

  • only_parent_accountsboolean

    When true, exclude linked advertiser accounts owned by other customers.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Ad GroupsMICROSOFT_ADVERTISING_LIST_AD_GROUPSAcción

Return 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_idstringObligatorio

    Advertiser account ID containing the campaign.

  • campaign_idstringObligatorio

    Campaign ID containing the ad groups.

  • customer_idstringObligatorio

    Manager 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List CampaignsMICROSOFT_ADVERTISING_LIST_CAMPAIGNSAcción

Return 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_idstringObligatorio

    Advertiser account ID containing the campaigns; sent both as the CustomerAccountId header and AccountId body field.

  • customer_idstringObligatorio

    Manager 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Accessible CustomersMICROSOFT_ADVERTISING_LIST_CUSTOMERSAcción

Return Microsoft Advertising customers accessible to the connected user, optionally filtered by a case-insensitive name prefix.

Parámetros de entrada

  • max_resultsinteger

    Positive maximum number of customers to return. This bounds one complete response and is not pagination.

  • name_prefixstring

    Optional customer-name prefix; matching is case-insensitive.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Ad GroupsMICROSOFT_ADVERTISING_UPDATE_AD_GROUPSAcción

Partially 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[]Obligatorio

    Ad-group patches. Each item requires an ID and at least one mutable field; omitted fields remain unchanged.

  • account_idstringObligatorio

    Advertiser account ID containing the parent campaign.

  • campaign_idstringObligatorio

    Campaign ID containing the ad groups to update.

  • customer_idstringObligatorio

    Manager customer ID through which the connected user operates the advertiser account.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update CampaignsMICROSOFT_ADVERTISING_UPDATE_CAMPAIGNSAcción

Partially 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[]Obligatorio

    Campaign patches. Each item requires an ID and at least one mutable field; omitted fields remain unchanged.

  • account_idstringObligatorio

    Advertiser account ID containing the campaigns; sent both as the CustomerAccountId header and AccountId body field.

  • customer_idstringObligatorio

    Manager customer ID through which the connected user operates the advertiser account.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not