Get

Get a specific saved ad style from the user's account

1 variables
15 variables

Get a specific saved ad style from the user's account

Authorization

To use this building block you will have to grant access to at least one of the following scopes:

  • View and manage your AdSense data
  • View your AdSense data

Input

This building block consumes 1 input parameters

  = Parameter name
  = Format

savedAdStyleId STRING Required

Saved ad style to retrieve

Output

This building block provides 15 output parameters

  = Parameter name
  = Format

adStyle OBJECT

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)

adStyle.font OBJECT

The font which is included in the style

adStyle.font.family STRING

The family of the font

adStyle.font.size STRING

The size of the font

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