Represents an ad customizer data source for expanded text ads as seen in the
"Data feeds" section of Business data. Each ad customizer source has a unique
name and a set of attributes. The attributes are defined by an attribute
name, which must be unique across attributes within the data source, and a
type, which must be one of the following:
text, number, price,
date
. An ad customizer source can have zero or more
AdCustomizerItems in it.
Methods:
adCustomizerItemBuilder()
Returns a builder for a new item in this data source.
Return values:
getAttributes()
Returns a map from attribute name to attribute type. Contains all of the
attributes in this ad customizer data source. For instance, a data source
that contains the item attributes
item
(of type
text
),
numLeft
(of type
number
), and
lowCost
(of type
price
) would return
{item:
'text', numLeft: 'number', lowCost: 'price'}
.
Return values:
Type | Description |
Object |
The name-type pairs of the ad customizer source's item attributes. |
getEntityType()
Returns the type of this entity as a
String
, in this case,
"AdCustomizerSource"
.
Return values:
Type | Description |
String |
Type of this entity: "AdCustomizerSource" . |
getName()
Returns the name of the ad customizer source.
Return values:
Type | Description |
String |
The name of the ad customizer source. |
items()
Returns the selector of all items in this ad customizer data source.
Return values: