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

Copy Markdown View Source

AdSense Management API v2 — AdUnits.

REST: accounts/{account}/adclients/{adClient}/adunits

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

Summary

Functions

GET a single ad unit by full resource name.

GET ad units for an ad client.

Types

opts()

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

result()

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

Functions

get(name, opts \\ [])

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

GET a single ad unit by full resource name.

list(parent, opts \\ [])

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

GET ad units for an ad client.

parent is typically accounts/{account}/adclients/{adClient}.