google_api_ad_sense_host v0.3.0 GoogleApi.AdSenseHost.V41.Api.Urlchannels View Source

API calls for all endpoints tagged Urlchannels.

Link to this section Summary

Link to this section Functions

Link to this function

adsensehost_urlchannels_delete(connection, ad_client_id, url_channel_id, optional_params \\ [], opts \\ []) View Source

Delete a URL channel from the host AdSense account.

Parameters

  • connection (GoogleApi.AdSenseHost.V41.Connection): Connection to server
  • ad_client_id (String.t): Ad client from which to delete the URL channel.
  • url_channel_id (String.t): URL channel to delete.
  • optional_params (keyword()): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (String.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.

Returns

{:ok, %GoogleApi.AdSenseHost.V41.Model.UrlChannel{}} on success {:error, info} on failure

Link to this function

adsensehost_urlchannels_insert(connection, ad_client_id, optional_params \\ [], opts \\ []) View Source

Add a new URL channel to the host AdSense account.

Parameters

  • connection (GoogleApi.AdSenseHost.V41.Connection): Connection to server
  • ad_client_id (String.t): Ad client to which the new URL channel will be added.
  • optional_params (keyword()): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (String.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.
    • :body (GoogleApi.AdSenseHost.V41.Model.UrlChannel.t):

Returns

{:ok, %GoogleApi.AdSenseHost.V41.Model.UrlChannel{}} on success {:error, info} on failure

Link to this function

adsensehost_urlchannels_list(connection, ad_client_id, optional_params \\ [], opts \\ []) View Source

List all host URL channels in the host AdSense account.

Parameters

  • connection (GoogleApi.AdSenseHost.V41.Connection): Connection to server
  • ad_client_id (String.t): Ad client for which to list URL channels.
  • optional_params (keyword()): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (String.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.
    • :maxResults (integer()): The maximum number of URL channels to include in the response, used for paging.
    • :pageToken (String.t): 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.

Returns

{:ok, %GoogleApi.AdSenseHost.V41.Model.UrlChannels{}} on success {:error, info} on failure