Noizu.Google.Api.AdSense.Accounts (Noizu Google v0.2.3)

Copy Markdown View Source

AdSense Management API v2 — Accounts.

REST: https://adsense.googleapis.com/v2/accounts

Docs: https://developers.google.com/adsense/management/reference/rest/v2/accounts

Summary

Functions

GET accounts/{account} — get an account.

GET accounts — list AdSense accounts.

Types

opts()

@type opts() :: keyword() | map()

result()

@type result() :: {:ok, term()} | {:error, Noizu.Google.Error.t()}

Functions

get(account, opts \\ [])

@spec get(String.t(), opts()) :: result()

GET accounts/{account} — get an account.

account may be "accounts/pub-…" or "pub-…".

list(opts \\ [])

@spec list(opts()) :: result()

GET accounts — list AdSense accounts.