Version 1.2 of the API has been sunset, please move to version 1.4. Version 1.3 will be removed in February 2017.


Deprecated: Due to the possibility of ambiguity, accounts with both an AdSense publisher account and an AdExchange account will throw an error when trying to use the default account. Always use accounts.list to check if there's more than one account and let the user choose in that case. After that, specify the account ID on every call using the /accounts/ namespace.

For a list of methods for this resource, see the end of this page.

Resource representations

  "kind": "adsense#savedAdStyle",
  "id": string,
  "name": string,
  "adStyle": {
    "kind": "adsense#adStyle",
    "colors": {
      "border": string,
      "title": string,
      "background": string,
      "text": string,
      "url": string
    "corners": string,
    "font": {
      "family": string,
      "size": string
Property name Value Description Notes
adStyle nested object The AdStyle itself.
adStyle.colors object The colors which are included in the style. These are represented as six hexadecimal characters, similar to HTML color codes, but without the leading hash.
adStyle.colors.background string The color of the ad background.
adStyle.colors.border string The color of the ad border.
adStyle.colors.text string The color of the ad text.
adStyle.colors.title string The color of the ad title.
adStyle.colors.url string The color of the ad url.
adStyle.corners string The style of the corners in the ad.

Acceptable values are:
  • "SQUARE"
adStyle.font object The font which is included in the style. string The family of the font.

Acceptable values are:
  • "ARIAL"
  • "LORA"
  • "SLABO_27"
  • "TIMES"
adStyle.font.size string The size of the font.

Acceptable values are:
  • "LARGE"
  • "MEDIUM"
  • "SMALL"
adStyle.kind string Kind this is, in this case adsense#adStyle.
id string Unique identifier of this saved ad style. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format.
kind string Kind of resource this is, in this case adsense#savedAdStyle.
name string The user selected name of this SavedAdStyle.


Get a specific saved ad style from the user's account.
List all saved ad styles in the user's account.

Send feedback about...

AdSense Management API
AdSense Management API