Volver al catálogo

Pinterest Ads

pinterest_ads

Pinterest Ads API for managing advertising accounts, campaigns, ad groups, ads, targeting, and reporting.

Acciones
10
Triggers
0
Autenticación
—
OAuth gestionado
Sí
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 (10)

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.

Get Ads AnalyticsPINTEREST_ADS_GET_ANALYTICSAcción

Get synchronous Pinterest Ads performance metrics for an advertiser or selected campaigns, ad groups, or ads over a date range.

Parámetros de entrada

  • columnsstring[]Obligatorio

    Supported Pinterest metrics and identifiers to return. MICRO_DOLLAR values are advertiser-currency microunits.

  • end_datestringObligatoriodate

    UTC report end date; must be on or after start_date and at most 90 days after it.

  • entity_idsstring[]

    Campaign, ad-group, or ad IDs for the chosen entity_level. Required unless entity_level is AD_ACCOUNT; forbidden for AD_ACCOUNT.

  • start_datestringObligatoriodate

    UTC report start date. It may be at most 90 days before today, or 8 days before today when granularity is HOUR.

  • granularitystringObligatorioenum

    Time grouping for metric rows: TOTAL, DAY, HOUR, WEEK, or MONTH. HOUR no longer provides conversion metrics, is limited to the previous 8 days, and has a 3-day maximum range for campaign, ad-group, and ad reports.

    TOTALDAYHOURWEEKMONTH
  • entity_levelstringObligatorioenum

    Reporting level. Entity IDs are required for CAMPAIGN, AD_GROUP, and AD, and forbidden for AD_ACCOUNT.

    AD_ACCOUNTCAMPAIGNAD_GROUPAD
  • ad_account_idstringObligatorio

    Advertiser account whose performance data to read.

  • view_window_daysintegerenum

    Pinterest Tag view-attribution window in days.

    017143060
  • click_window_daysintegerenum

    Pinterest Tag click-attribution window in days.

    017143060
  • conversion_report_timestringenum

    Attribute conversion rows to the ad interaction date or conversion date.

    TIME_OF_AD_ACTIONTIME_OF_CONVERSION

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 Metrics Ready StatePINTEREST_ADS_GET_METRICS_READY_STATEAcción

Check whether Pinterest conversion and non-conversion metrics are finalized for a UTC report date before relying on analytics results.

Parámetros de entrada

  • datestringObligatorio

    UTC analytics report date to check, in YYYY-MM-DD format.

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

Get Pinterest's valid targeting values for a targeting type, such as age buckets, gender, locale, location, interests, or keywords.

Parámetros de entrada

  • ad_account_idstring

    Optional advertiser account context. Omit to retrieve options for the connected Pinterest user.

  • targeting_typestringObligatorioenum

    Pinterest targeting dimension whose valid values to retrieve.

    APPTYPEGENDERLOCALEAGE_BUCKETLOCATIONGEOINTERESTKEYWORDAUDIENCE_INCLUDEAUDIENCE_EXCLUDE

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

List advertiser accounts the connected Pinterest user owns or can access, including the IDs needed by all other Ads tools.

Parámetros de entrada

  • page_sizeinteger

    Maximum advertiser accounts in this page (1-250).

  • next_cursorstring

    Continuation cursor returned by a previous call. Omit for the first page.

  • include_shared_accountsboolean

    Include ad accounts shared with the connected user through Business Access.

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

List ad groups for an advertiser, filter by parent campaigns, or look up specific ad groups by ID.

Parámetros de entrada

  • orderstringenum

    Sort by ad-group ID; higher IDs are newer.

    ASCENDINGDESCENDING
  • page_sizeinteger

    Maximum ad groups in this page (1-250).

  • next_cursorstring

    Continuation cursor returned by a previous call. Repeat the same filters when continuing.

  • ad_group_idsstring[]

    Optional ad-group IDs to look up. Pinterest marks this filter beta, so availability may vary by advertiser.

  • campaign_idsstring[]

    Optional parent campaign IDs used to filter ad groups.

  • ad_account_idstringObligatorio

    Advertiser account ID returned by LIST_AD_ACCOUNTS.

  • entity_statusesstring[]

    Statuses to include. If omitted, Pinterest returns only ACTIVE and PAUSED ad groups.

  • translate_interests_to_namesboolean

    Return interest targeting as readable names instead of topic 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

List AdsPINTEREST_ADS_LIST_ADSAcción

List ads for an advertiser, filter by one hierarchy level, or look up specific ads by ID. Archived and draft ads must be requested explicitly with entity_statuses.

Parámetros de entrada

  • orderstringenum

    Sort by ad ID. Higher IDs are associated with more recently added ads.

    ASCENDINGDESCENDING
  • ad_idsstring[]

    Optional ad IDs to look up. Cannot be combined with campaign_ids or ad_group_ids; omit all ID filters to list ads.

  • page_sizeinteger

    Maximum ads in this page (1-250).

  • next_cursorstring

    Continuation cursor returned by a previous call. Repeat the same filters when continuing.

  • ad_group_idsstring[]

    Optional parent ad-group IDs used to filter ads. This beta filter may not be available to every advertiser and cannot be combined with campaign_ids or ad_ids.

  • campaign_idsstring[]

    Optional parent campaign IDs used to filter ads. Cannot be combined with ad_group_ids or ad_ids.

  • ad_account_idstringObligatorio

    Advertiser account ID returned by LIST_AD_ACCOUNTS.

  • entity_statusesstring[]

    Statuses to include. If omitted, Pinterest returns only ACTIVE and PAUSED ads.

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

List campaigns for an advertiser, or look up specific campaigns by ID using campaign_ids. Archived and draft campaigns must be requested explicitly with entity_statuses.

Parámetros de entrada

  • orderstringenum

    Sort by campaign ID; higher IDs are newer.

    ASCENDINGDESCENDING
  • page_sizeinteger

    Maximum campaigns in this page (1-250).

  • next_cursorstring

    Continuation cursor returned by a previous call. Repeat the same filters when continuing.

  • campaign_idsstring[]

    Optional campaign IDs to look up; omit to list campaigns.

  • ad_account_idstringObligatorio

    Advertiser account ID returned by LIST_AD_ACCOUNTS.

  • entity_statusesstring[]

    Statuses to include. If omitted Pinterest returns only ACTIVE and PAUSED campaigns.

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

Rename, pause, or resume up to 30 existing ad groups. Setting status to ACTIVE can restart delivery and incur spend under existing budgets. Budget, bid, targeting, schedule, and restricted-setting changes are not exposed.

Parámetros de entrada

  • updatesobject[]Obligatorio

    One to 30 ad-group changes. IDs must be unique; each item must set a new name, ACTIVE status, or PAUSED status.

  • ad_account_idstringObligatorio

    Advertiser account that owns every ad group being updated.

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

Rename, pause, or resume up to 30 existing Pinterest ads. Setting status to ACTIVE can restart delivery and incur spend under existing budgets. Creative, Pin, destination, tracking, and disclosure changes are not exposed.

Parámetros de entrada

  • updatesobject[]Obligatorio

    One to 30 ad updates. IDs must be unique, and each item must set a name, an ACTIVE status, or a PAUSED status.

  • ad_account_idstringObligatorio

    Advertiser account that owns every ad being updated.

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

Rename, pause, or resume up to 30 existing campaigns. Setting status to ACTIVE can restart delivery and incur spend under existing budgets. Budget, schedule, objective, archive, and restricted-setting changes are not exposed.

Parámetros de entrada

  • updatesobject[]Obligatorio

    Campaign changes (1-30). Each item requires a unique campaign ID and at least one of non-empty name or ACTIVE/PAUSED status.

  • ad_account_idstringObligatorio

    Advertiser account that owns every campaign being updated.

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