TargetingTemplate class Null safety

Contains properties of a targeting template.

A targeting template encapsulates targeting information which can be reused across multiple ads.


TargetingTemplate({String? accountId, String? advertiserId, DimensionValue? advertiserIdDimensionValue, DayPartTargeting? dayPartTargeting, GeoTargeting? geoTargeting, String? id, KeyValueTargetingExpression? keyValueTargetingExpression, String? kind, LanguageTargeting? languageTargeting, ListTargetingExpression? listTargetingExpression, String? name, String? subaccountId, TechnologyTargeting? technologyTargeting})
TargetingTemplate.fromJson(Map json_)


accountId String?
Account ID of this targeting template.
read / write
advertiserId String?
Advertiser ID of this targeting template.
read / write
advertiserIdDimensionValue DimensionValue?
Dimension value for the ID of the advertiser.
read / write
dayPartTargeting DayPartTargeting?
Time and day targeting criteria.
read / write
geoTargeting GeoTargeting?
Geographical targeting criteria.
read / write
hashCode int
The hash code for this object.
id String?
ID of this targeting template.
read / write
keyValueTargetingExpression KeyValueTargetingExpression?
Key-value targeting criteria.
read / write
kind String?
Identifies what kind of resource this is.
read / write
languageTargeting LanguageTargeting?
Language targeting criteria.
read / write
listTargetingExpression ListTargetingExpression?
Remarketing list targeting criteria.
read / write
name String?
Name of this targeting template.
read / write
runtimeType Type
A representation of the runtime type of the object.
subaccountId String?
Subaccount ID of this targeting template.
read / write
technologyTargeting TechnologyTargeting?
Technology platform targeting criteria.
read / write


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
toJson() Map<String, dynamic>
toString() String
A string representation of this object.


operator ==(Object other) bool
The equality operator.