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 (deprecated: never populated, ignored).
Acceptable values are:
|
|
adStyle.font |
object |
The font which is included in the style. | |
adStyle.font.family |
string |
The family of the font.
Acceptable values are:
|
|
adStyle.font.size |
string |
The size of the font.
Acceptable values are:
|
|
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. |