Use wide AdSense Management API integration

With Ants & Apps platform you can connect AdSense Management API with more than 30 available apps, 600+ functional formulas to boost your productivity

Reference

  • accounts.adclients

    • Get Auto ad code for a given ad client

      This action get Auto ad code for a given ad client.

      GETAdsenseAccountsAdclientsGetAdCode

      Request parameters

      • accountId*string

        Account which contains the ad client.

      • adClientId*string

        Ad client to get the code for.

    • List all ad clients in the specified account

      This action list all ad clients in the specified account.

      GETAdsenseAccountsAdclientsList

      Request parameters

      • accountId*string

        Account for which to list ad clients.

      • maxResultsinteger

        The maximum number of ad clients to include in the response, used for paging.

      • pageTokenstring

        A continuation token, used to page through ad clients. To retrieve the next page, set this parameter to the value of "nextPageToken" from the previous response.

  • accounts.adunits

    • Get the specified ad unit in the specified ad client for the specified account

      This action gets the specified ad unit in the specified ad client for the specified account.

      GETAdsenseAccountsAdunitsGet

      Request parameters

      • accountId*string

        Account to which the ad client belongs.

      • adClientId*string

        Ad client for which to get the ad unit.

      • adUnitId*string

        Ad unit to retrieve.

    • Get ad code for the specified ad unit

      This action get ad code for the specified ad unit.

      GETAdsenseAccountsAdunitsGetAdCode

      Request parameters

      • accountId*string

        Account which contains the ad client.

      • adClientId*string

        Ad client with contains the ad unit.

      • adUnitId*string

        Ad unit to get the code for.

    • List all ad units in the specified ad client for the specified account

      This action list all ad units in the specified ad client for the specified account.

      GETAdsenseAccountsAdunitsList

      Request parameters

      • accountId*string

        Account to which the ad client belongs.

      • adClientId*string

        Ad client for which to list ad units.

      • includeInactiveboolean

        Whether to include inactive ad units. Default: true.

      • maxResultsinteger

        The maximum number of ad units to include in the response, used for paging.

      • pageTokenstring

        A continuation token, used to page through ad units. To retrieve the next page, set this parameter to the value of "nextPageToken" from the previous response.

  • accounts.alerts

    • List the alerts for the specified AdSense account

      This action list the alerts for the specified AdSense account.

      GETAdsenseAccountsAlertsList

      Request parameters

      • accountId*string

        Account for which to retrieve the alerts.

      • localestring

        The locale to use for translating alert messages. The account locale will be used if this is not supplied. The AdSense default (English) will be used if the supplied locale is invalid or unsupported.

    • Dismiss (delete) the specified alert from the specified publisher AdSense account

      This action dismiss (delete) the specified alert from the specified publisher AdSense account.

      DELETEAdsenseAccountsAlertsDelete

      Request parameters

      • accountId*string

        Account which contains the ad unit.

      • alertId*string

        Alert to delete.

  • accounts.customchannels

    • Get the specified custom channel from the specified ad client for the specified account

      This action get the specified custom channel from the specified ad client for the specified account.

      GETAdsenseAccountsCustomchannelsGet

      Request parameters

      • accountId*string

        Account to which the ad client belongs.

      • adClientId*string

        Ad client which contains the custom channel.

      • customChannelId*string

        Custom channel to retrieve.

    • List all custom channels in the specified ad client for the specified account

      This action list all custom channels in the specified ad client for the specified account.

      GETAdsenseAccountsCustomchannelsList

      Request parameters

      • accountId*string

        Account to which the ad client belongs.

      • adClientId*string

        Ad client for which to list custom channels.

      • maxResultsinteger

        The maximum number of custom channels to include in the response, used for paging.

      • pageTokenstring

        A continuation token, used to page through custom channels. To retrieve the next page, set this parameter to the value of "nextPageToken" from the previous response.

  • accounts

    • Get information about the selected AdSense account

      This action get information about the selected AdSense account.

      GETAdsenseAccountsGet

      Request parameters

      • accountId*string

        Account to get information about.

      • treeboolean

        Whether the tree of sub accounts should be returned.

    • List all accounts available to this AdSense account

      This action list all accounts available to this AdSense account.

      GETAdsenseAccountsList

      Request parameters

      • maxResultsinteger

        The maximum number of accounts to include in the response, used for paging.

      • pageTokenstring

        A continuation token, used to page through accounts. To retrieve the next page, set this parameter to the value of "nextPageToken" from the previous response.

  • accounts.payments

    • List the payments for the specified AdSense account

      This action list the payments for the specified AdSense account.

      GETAdsenseAccountsPaymentsList

      Request parameters

      • accountId*string

        Account for which to retrieve the payments.

  • accounts.reports

    • Generate an AdSense report based on the report request sent in the query parameters

      This action generate an AdSense report based on the report request sent in the query parameters. Returns the result as JSON; to retrieve output in CSV format specify "alt=csv" as a query parameter.

      GETAdsenseAccountsReportsGenerate

      Request parameters

      • accountId*string

        Account upon which to report.

      • endDate*string

        End of the date range to report on in "YYYY-MM-DD" format, inclusive.

      • startDate*string

        Start of the date range to report on in "YYYY-MM-DD" format, inclusive.

      • currencystring

        Optional currency to use when reporting on monetary metrics. Defaults to the account's currency if not set.

      • dimensionstring

        Dimensions to base the report on.

      • filterstring

        Filters to be run on the report.

      • localestring

        Optional locale to use for translating report output to a local language. Defaults to "en_US" if not specified.

      • maxResultsinteger

        The maximum number of rows of report data to return.

      • metricstring

        Numeric columns to include in the report.

      • sortstring

        The name of a dimension or metric to sort the resulting report on, optionally prefixed with "+" to sort ascending or "-" to sort descending. If no prefix is specified, the column is sorted ascending.

      • startIndexinteger

        Index of the first row of report data to return.

      • useTimezoneReportingboolean

        Whether the report should be generated in the AdSense account's local timezone. If false default PST/PDT timezone will be used.

  • accounts.savedadstyles

    • List a specific saved ad style for the specified account

      This action list a specific saved ad style for the specified account.

      GETAdsenseAccountsSavedadstylesGet

      Request parameters

      • accountId*string

        Account for which to get the saved ad style.

      • savedAdStyleId*string

        Saved ad style to retrieve.

    • List all saved ad styles in the specified account

      This action list all saved ad styles in the specified account.

      GETAdsenseAccountsSavedadstylesList

      Request parameters

      • accountId*string

        Account for which to list saved ad styles.

      • maxResultsinteger

        The maximum number of saved ad styles to include in the response, used for paging.

      • pageTokenstring

        A continuation token, used to page through saved ad styles. To retrieve the next page, set this parameter to the value of "nextPageToken" from the previous response.

  • accounts.urlchannels

    • List all URL channels in the specified ad client for the specified account

      This action list all URL channels in the specified ad client for the specified account.

      GETAdsenseAccountsUrlchannelsList

      Request parameters

      • accountId*string

        Account to which the ad client belongs.

      • adClientId*string

        Ad client for which to list URL channels.

      • maxResultsinteger

        The maximum number of URL channels to include in the response, used for paging.

      • pageTokenstring

        A continuation token, used to page through URL channels. To retrieve the next page, set this parameter to the value of "nextPageToken" from the previous response.

  • adclients

    • List all ad clients in this AdSense account

      This action list all ad clients in this AdSense account.

      GETAdsenseAdclientsList

      Request parameters

      • maxResultsinteger

        The maximum number of ad clients to include in the response, used for paging.

      • pageTokenstring

        A continuation token, used to page through ad clients. To retrieve the next page, set this parameter to the value of "nextPageToken" from the previous response.

  • adunits.customchannels

    • List all custom channels which the specified ad unit belongs to

      This action list all custom channels which the specified ad unit belongs to.

      GETAdsenseAdunitsCustomchannelsList

      Request parameters

      • adClientId*string

        Ad client which contains the ad unit.

      • adUnitId*string

        Ad unit for which to list custom channels.

      • maxResultsinteger

        The maximum number of custom channels to include in the response, used for paging.

      • pageTokenstring

        A continuation token, used to page through custom channels. To retrieve the next page, set this parameter to the value of "nextPageToken" from the previous response.

  • adunits

    • Get the specified ad unit in the specified ad client

      This action gets the specified ad unit in the specified ad client.

      GETAdsenseAdunitsGet

      Request parameters

      • adClientId*string

        Ad client for which to get the ad unit.

      • adUnitId*string

        Ad unit to retrieve.

    • Get ad code for the specified ad unit

      This action get ad code for the specified ad unit.

      GETAdsenseAdunitsGetAdCode

      Request parameters

      • adClientId*string

        Ad client with contains the ad unit.

      • adUnitId*string

        Ad unit to get the code for.

    • List all ad units in the specified ad client for this AdSense account

      This action list all ad units in the specified ad client for this AdSense account.

      GETAdsenseAdunitsList

      Request parameters

      • adClientId*string

        Ad client for which to list ad units.

      • includeInactiveboolean

        Whether to include inactive ad units. Default: true.

      • maxResultsinteger

        The maximum number of ad units to include in the response, used for paging.

      • pageTokenstring

        A continuation token, used to page through ad units. To retrieve the next page, set this parameter to the value of "nextPageToken" from the previous response.

  • alerts

    • List the alerts for this AdSense account

      This action list the alerts for this AdSense account.

      GETAdsenseAlertsList

      Request parameters

      • localestring

        The locale to use for translating alert messages. The account locale will be used if this is not supplied. The AdSense default (English) will be used if the supplied locale is invalid or unsupported.

    • Dismiss (delete) the specified alert from the publisher's AdSense account

      This action dismiss (delete) the specified alert from the publisher's AdSense account.

      DELETEAdsenseAlertsDelete

      Request parameters

      • alertId*string

        Alert to delete.

  • customchannels.adunits

    • List all ad units in the specified custom channel

      This action list all ad units in the specified custom channel.

      GETAdsenseCustomchannelsAdunitsList

      Request parameters

      • adClientId*string

        Ad client which contains the custom channel.

      • customChannelId*string

        Custom channel for which to list ad units.

      • includeInactiveboolean

        Whether to include inactive ad units. Default: true.

      • maxResultsinteger

        The maximum number of ad units to include in the response, used for paging.

      • pageTokenstring

        A continuation token, used to page through ad units. To retrieve the next page, set this parameter to the value of "nextPageToken" from the previous response.

  • customchannels

    • Get the specified custom channel from the specified ad client

      This action get the specified custom channel from the specified ad client.

      GETAdsenseCustomchannelsGet

      Request parameters

      • adClientId*string

        Ad client which contains the custom channel.

      • customChannelId*string

        Custom channel to retrieve.

    • List all custom channels in the specified ad client for this AdSense account

      This action list all custom channels in the specified ad client for this AdSense account.

      GETAdsenseCustomchannelsList

      Request parameters

      • adClientId*string

        Ad client for which to list custom channels.

      • maxResultsinteger

        The maximum number of custom channels to include in the response, used for paging.

      • pageTokenstring

        A continuation token, used to page through custom channels. To retrieve the next page, set this parameter to the value of "nextPageToken" from the previous response.

  • metadata.dimensions

    • List the metadata for the dimensions available to this AdSense account

      This action list the metadata for the dimensions available to this AdSense account.

      GETAdsenseMetadataDimensionsList
  • metadata.metrics

    • List the metadata for the metrics available to this AdSense account

      This action list the metadata for the metrics available to this AdSense account.

      GETAdsenseMetadataMetricsList
  • payments

    • List the payments for this AdSense account

      This action list the payments for this AdSense account.

      GETAdsensePaymentsList
  • reports

    • Generate an AdSense report based on the report request sent in the query parameters

      This action generate an AdSense report based on the report request sent in the query parameters. Returns the result as JSON; to retrieve output in CSV format specify "alt=csv" as a query parameter.

      GETAdsenseReportsGenerate

      Request parameters

      • endDate*string

        End of the date range to report on in "YYYY-MM-DD" format, inclusive.

      • startDate*string

        Start of the date range to report on in "YYYY-MM-DD" format, inclusive.

      • accountIdstring

        Accounts upon which to report.

      • currencystring

        Optional currency to use when reporting on monetary metrics. Defaults to the account's currency if not set.

      • dimensionstring

        Dimensions to base the report on.

      • filterstring

        Filters to be run on the report.

      • localestring

        Optional locale to use for translating report output to a local language. Defaults to "en_US" if not specified.

      • maxResultsinteger

        The maximum number of rows of report data to return.

      • metricstring

        Numeric columns to include in the report.

      • sortstring

        The name of a dimension or metric to sort the resulting report on, optionally prefixed with "+" to sort ascending or "-" to sort descending. If no prefix is specified, the column is sorted ascending.

      • startIndexinteger

        Index of the first row of report data to return.

      • useTimezoneReportingboolean

        Whether the report should be generated in the AdSense account's local timezone. If false default PST/PDT timezone will be used.

  • reports.saved

    • Generate an AdSense report based on the saved report ID sent in the query parameters

      This action generate an AdSense report based on the saved report ID sent in the query parameters.

      GETAdsenseReportsSavedGenerate

      Request parameters

      • savedReportId*string

        The saved report to retrieve.

      • localestring

        Optional locale to use for translating report output to a local language. Defaults to "en_US" if not specified.

      • maxResultsinteger

        The maximum number of rows of report data to return.

      • startIndexinteger

        Index of the first row of report data to return.

    • List all saved reports in this AdSense account

      This action list all saved reports in this AdSense account.

      GETAdsenseReportsSavedList

      Request parameters

      • maxResultsinteger

        The maximum number of saved reports to include in the response, used for paging.

      • pageTokenstring

        A continuation token, used to page through saved reports. To retrieve the next page, set this parameter to the value of "nextPageToken" from the previous response.

  • savedadstyles

    • Get a specific saved ad style from the user's account

      This action get a specific saved ad style from the user's account.

      GETAdsenseSavedadstylesGet

      Request parameters

      • savedAdStyleId*string

        Saved ad style to retrieve.

    • List all saved ad styles in the user's account

      This action list all saved ad styles in the user's account.

      GETAdsenseSavedadstylesList

      Request parameters

      • maxResultsinteger

        The maximum number of saved ad styles to include in the response, used for paging.

      • pageTokenstring

        A continuation token, used to page through saved ad styles. To retrieve the next page, set this parameter to the value of "nextPageToken" from the previous response.

  • urlchannels

    • List all URL channels in the specified ad client for this AdSense account

      This action list all URL channels in the specified ad client for this AdSense account.

      GETAdsenseUrlchannelsList

      Request parameters

      • adClientId*string

        Ad client for which to list URL channels.

      • maxResultsinteger

        The maximum number of URL channels to include in the response, used for paging.

      • pageTokenstring

        A continuation token, used to page through URL channels. To retrieve the next page, set this parameter to the value of "nextPageToken" from the previous response.