Liking cljdoc? Tell your friends :D

happygapi.adsensehost.accounts

AdSense Host API: accounts. Generates performance reports, generates ad codes, and provides publisher management capabilities for AdSense Hosts. See: https://developers.google.com/adsense/host/api/reference/rest/v4.1/accounts

AdSense Host API: accounts.
Generates performance reports, generates ad codes, and provides publisher management capabilities for AdSense Hosts.
See: https://developers.google.com/adsense/host/api/reference/rest/v4.1/accounts
raw docstring

adclients-get$clj

(adclients-get$ auth args)

https://developers.google.com/adsense/host/api/reference/rest/v4.1/accounts/adclients/get

Required parameters: accountId, adClientId

Optional parameters: none Get information about one of the ad clients in the specified publisher's AdSense account.

https://developers.google.com/adsense/host/api/reference/rest/v4.1/accounts/adclients/get

Required parameters: accountId, adClientId

Optional parameters: none
Get information about one of the ad clients in the specified publisher's AdSense account.
sourceraw docstring

adclients-list$clj

(adclients-list$ auth args)

https://developers.google.com/adsense/host/api/reference/rest/v4.1/accounts/adclients/list

Required parameters: accountId

Optional parameters: maxResults, pageToken List all hosted ad clients in the specified hosted account.

https://developers.google.com/adsense/host/api/reference/rest/v4.1/accounts/adclients/list

Required parameters: accountId

Optional parameters: maxResults, pageToken
List all hosted ad clients in the specified hosted account.
sourceraw docstring

adunits-delete$clj

(adunits-delete$ auth args)

https://developers.google.com/adsense/host/api/reference/rest/v4.1/accounts/adunits/delete

Required parameters: accountId, adClientId, adUnitId

Optional parameters: none Delete the specified ad unit from the specified publisher AdSense account.

https://developers.google.com/adsense/host/api/reference/rest/v4.1/accounts/adunits/delete

Required parameters: accountId, adClientId, adUnitId

Optional parameters: none
Delete the specified ad unit from the specified publisher AdSense account.
sourceraw docstring

adunits-get$clj

(adunits-get$ auth args)

https://developers.google.com/adsense/host/api/reference/rest/v4.1/accounts/adunits/get

Required parameters: accountId, adClientId, adUnitId

Optional parameters: none Get the specified host ad unit in this AdSense account.

https://developers.google.com/adsense/host/api/reference/rest/v4.1/accounts/adunits/get

Required parameters: accountId, adClientId, adUnitId

Optional parameters: none
Get the specified host ad unit in this AdSense account.
sourceraw docstring

adunits-getAdCode$clj

(adunits-getAdCode$ auth args)

https://developers.google.com/adsense/host/api/reference/rest/v4.1/accounts/adunits/getAdCode

Required parameters: accountId, adClientId, adUnitId

Optional parameters: hostCustomChannelId Get ad code for the specified ad unit, attaching the specified host custom channels.

https://developers.google.com/adsense/host/api/reference/rest/v4.1/accounts/adunits/getAdCode

Required parameters: accountId, adClientId, adUnitId

Optional parameters: hostCustomChannelId
Get ad code for the specified ad unit, attaching the specified host custom channels.
sourceraw docstring

adunits-insert$clj

(adunits-insert$ auth args body)

https://developers.google.com/adsense/host/api/reference/rest/v4.1/accounts/adunits/insert

Required parameters: accountId, adClientId

Optional parameters: none

Body:

{:code string, :contentAdsSettings {:backupOption {:color string, :type string, :url string}, :size string, :type string}, :customStyle {:colors {:background string, :border string, :text string, :title string, :url string}, :corners string, :font {:family string, :size string}, :kind string}, :id string, :kind string, :mobileContentAdsSettings {:markupLanguage string, :scriptingLanguage string, :size string, :type string}, :name string, :status string}

Insert the supplied ad unit into the specified publisher AdSense account.

https://developers.google.com/adsense/host/api/reference/rest/v4.1/accounts/adunits/insert

Required parameters: accountId, adClientId

Optional parameters: none

Body: 

{:code string,
 :contentAdsSettings {:backupOption {:color string,
                                     :type string,
                                     :url string},
                      :size string,
                      :type string},
 :customStyle {:colors {:background string,
                        :border string,
                        :text string,
                        :title string,
                        :url string},
               :corners string,
               :font {:family string, :size string},
               :kind string},
 :id string,
 :kind string,
 :mobileContentAdsSettings {:markupLanguage string,
                            :scriptingLanguage string,
                            :size string,
                            :type string},
 :name string,
 :status string}

Insert the supplied ad unit into the specified publisher AdSense account.
sourceraw docstring

adunits-list$clj

(adunits-list$ auth args)

https://developers.google.com/adsense/host/api/reference/rest/v4.1/accounts/adunits/list

Required parameters: accountId, adClientId

Optional parameters: includeInactive, maxResults, pageToken List all ad units in the specified publisher's AdSense account.

https://developers.google.com/adsense/host/api/reference/rest/v4.1/accounts/adunits/list

Required parameters: accountId, adClientId

Optional parameters: includeInactive, maxResults, pageToken
List all ad units in the specified publisher's AdSense account.
sourceraw docstring

adunits-patch$clj

(adunits-patch$ auth args body)

https://developers.google.com/adsense/host/api/reference/rest/v4.1/accounts/adunits/patch

Required parameters: accountId, adClientId, adUnitId

Optional parameters: none

Body:

{:code string, :contentAdsSettings {:backupOption {:color string, :type string, :url string}, :size string, :type string}, :customStyle {:colors {:background string, :border string, :text string, :title string, :url string}, :corners string, :font {:family string, :size string}, :kind string}, :id string, :kind string, :mobileContentAdsSettings {:markupLanguage string, :scriptingLanguage string, :size string, :type string}, :name string, :status string}

Update the supplied ad unit in the specified publisher AdSense account. This method supports patch semantics.

https://developers.google.com/adsense/host/api/reference/rest/v4.1/accounts/adunits/patch

Required parameters: accountId, adClientId, adUnitId

Optional parameters: none

Body: 

{:code string,
 :contentAdsSettings {:backupOption {:color string,
                                     :type string,
                                     :url string},
                      :size string,
                      :type string},
 :customStyle {:colors {:background string,
                        :border string,
                        :text string,
                        :title string,
                        :url string},
               :corners string,
               :font {:family string, :size string},
               :kind string},
 :id string,
 :kind string,
 :mobileContentAdsSettings {:markupLanguage string,
                            :scriptingLanguage string,
                            :size string,
                            :type string},
 :name string,
 :status string}

Update the supplied ad unit in the specified publisher AdSense account. This method supports patch semantics.
sourceraw docstring

adunits-update$clj

(adunits-update$ auth args body)

https://developers.google.com/adsense/host/api/reference/rest/v4.1/accounts/adunits/update

Required parameters: accountId, adClientId

Optional parameters: none

Body:

{:code string, :contentAdsSettings {:backupOption {:color string, :type string, :url string}, :size string, :type string}, :customStyle {:colors {:background string, :border string, :text string, :title string, :url string}, :corners string, :font {:family string, :size string}, :kind string}, :id string, :kind string, :mobileContentAdsSettings {:markupLanguage string, :scriptingLanguage string, :size string, :type string}, :name string, :status string}

Update the supplied ad unit in the specified publisher AdSense account.

https://developers.google.com/adsense/host/api/reference/rest/v4.1/accounts/adunits/update

Required parameters: accountId, adClientId

Optional parameters: none

Body: 

{:code string,
 :contentAdsSettings {:backupOption {:color string,
                                     :type string,
                                     :url string},
                      :size string,
                      :type string},
 :customStyle {:colors {:background string,
                        :border string,
                        :text string,
                        :title string,
                        :url string},
               :corners string,
               :font {:family string, :size string},
               :kind string},
 :id string,
 :kind string,
 :mobileContentAdsSettings {:markupLanguage string,
                            :scriptingLanguage string,
                            :size string,
                            :type string},
 :name string,
 :status string}

Update the supplied ad unit in the specified publisher AdSense account.
sourceraw docstring

get$clj

(get$ auth args)

https://developers.google.com/adsense/host/api/reference/rest/v4.1/accounts/get

Required parameters: accountId

Optional parameters: none Get information about the selected associated AdSense account.

https://developers.google.com/adsense/host/api/reference/rest/v4.1/accounts/get

Required parameters: accountId

Optional parameters: none
Get information about the selected associated AdSense account.
sourceraw docstring

list$clj

(list$ auth args)

https://developers.google.com/adsense/host/api/reference/rest/v4.1/accounts/list

Required parameters: filterAdClientId

Optional parameters: none List hosted accounts associated with this AdSense account by ad client id.

https://developers.google.com/adsense/host/api/reference/rest/v4.1/accounts/list

Required parameters: filterAdClientId

Optional parameters: none
List hosted accounts associated with this AdSense account by ad client id.
sourceraw docstring

reports-generate$clj

(reports-generate$ auth args)

https://developers.google.com/adsense/host/api/reference/rest/v4.1/accounts/reports/generate

Required parameters: startDate, endDate, accountId

Optional parameters: locale, filter, dimension, startIndex, metric, sort, maxResults 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.

https://developers.google.com/adsense/host/api/reference/rest/v4.1/accounts/reports/generate

Required parameters: startDate, endDate, accountId

Optional parameters: locale, filter, dimension, startIndex, metric, sort, maxResults
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.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close