google_api_ad_sense_host v0.8.0 GoogleApi.AdSenseHost.V41.Api.Urlchannels View Source
API calls for all endpoints tagged Urlchannels
.
Link to this section Summary
Functions
Delete a URL channel from the host AdSense account.
Add a new URL channel to the host AdSense account.
List all host URL channels in the host AdSense account.
Link to this section Functions
Link to this function
adsensehost_urlchannels_delete(connection, ad_client_id, url_channel_id, optional_params \\ [], opts \\ [])
View Sourceadsensehost_urlchannels_delete( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.AdSenseHost.V41.Model.UrlChannel.t()} | {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
Delete a URL channel from the host AdSense account.
Parameters
connection
(type:GoogleApi.AdSenseHost.V41.Connection.t
) - Connection to serverad_client_id
(type:String.t
) - Ad client from which to delete the URL channel.url_channel_id
(type:String.t
) - URL channel to delete.optional_params
(type:keyword()
) - Optional parameters:alt
(type:String.t
) - Data format for the response.:fields
(type:String.t
) - Selector specifying which fields to include in a partial response.:key
(type: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
(type:String.t
) - OAuth 2.0 token for the current user.:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks.:quotaUser
(type:String.t
) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.:userIp
(type:String.t
) - Deprecated. Please use quotaUser instead.
opts
(type:keyword()
) - Call options
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 Sourceadsensehost_urlchannels_insert( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.AdSenseHost.V41.Model.UrlChannel.t()} | {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
Add a new URL channel to the host AdSense account.
Parameters
connection
(type:GoogleApi.AdSenseHost.V41.Connection.t
) - Connection to serverad_client_id
(type:String.t
) - Ad client to which the new URL channel will be added.optional_params
(type:keyword()
) - Optional parameters:alt
(type:String.t
) - Data format for the response.:fields
(type:String.t
) - Selector specifying which fields to include in a partial response.:key
(type: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
(type:String.t
) - OAuth 2.0 token for the current user.:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks.:quotaUser
(type:String.t
) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.:userIp
(type:String.t
) - Deprecated. Please use quotaUser instead.:body
(type:GoogleApi.AdSenseHost.V41.Model.UrlChannel.t
) -
opts
(type:keyword()
) - Call options
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 Sourceadsensehost_urlchannels_list( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.AdSenseHost.V41.Model.UrlChannels.t()} | {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
List all host URL channels in the host AdSense account.
Parameters
connection
(type:GoogleApi.AdSenseHost.V41.Connection.t
) - Connection to serverad_client_id
(type:String.t
) - Ad client for which to list URL channels.optional_params
(type:keyword()
) - Optional parameters:alt
(type:String.t
) - Data format for the response.:fields
(type:String.t
) - Selector specifying which fields to include in a partial response.:key
(type: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
(type:String.t
) - OAuth 2.0 token for the current user.:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks.:quotaUser
(type:String.t
) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.:userIp
(type:String.t
) - Deprecated. Please use quotaUser instead.:maxResults
(type:integer()
) - The maximum number of URL channels to include in the response, used for paging.:pageToken
(type: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.
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.AdSenseHost.V41.Model.UrlChannels{}}
on success{:error, info}
on failure