AI-generated Key Takeaways
-
TargetingTemplate objects store reusable targeting information for multiple ads, including geographic, technology, time, and language criteria.
-
Each TargetingTemplate has a unique ID, name, and is associated with an advertiser and potentially a subaccount.
-
You can manage TargetingTemplates through methods like
get
,insert
,list
,patch
, andupdate
to retrieve, create, view, and modify them. -
The JSON representation of a TargetingTemplate includes fields for various targeting options and system-generated identifiers.
-
Key properties include
geoTargeting
,technologyTargeting
,dayPartTargeting
,keyValueTargetingExpression
,languageTargeting
, andlistTargetingExpression
for specifying targeting parameters.
Resource: TargetingTemplate
Contains properties of a targeting template. A targeting template encapsulates targeting information which can be reused across multiple ads.
JSON representation |
---|
{ "id": string, "accountId": string, "subaccountId": string, "advertiserId": string, "advertiserIdDimensionValue": { object ( |
Fields | |
---|---|
id |
ID of this targeting template. This is a read-only, auto-generated field. |
accountId |
Account ID of this targeting template. This field, if left unset, will be auto-generated on insert and is read-only after insert. |
subaccountId |
Subaccount ID of this targeting template. This field, if left unset, will be auto-generated on insert and is read-only after insert. |
advertiserId |
Advertiser ID of this targeting template. This is a required field on insert and is read-only after insert. |
advertiserIdDimensionValue |
Dimension value for the ID of the advertiser. This is a read-only, auto-generated field. |
name |
Name of this targeting template. This field is required. It must be less than 256 characters long and unique within an advertiser. |
geoTargeting |
Geographical targeting criteria. |
technologyTargeting |
Technology platform targeting criteria. |
dayPartTargeting |
Time and day targeting criteria. |
keyValueTargetingExpression |
Key-value targeting criteria. |
languageTargeting |
Language targeting criteria. |
listTargetingExpression |
Remarketing list targeting criteria. |
kind |
Identifies what kind of resource this is. Value: the fixed string
. |
Methods |
|
---|---|
|
Gets one targeting template by ID. |
|
Inserts a new targeting template. |
|
Retrieves a list of targeting templates, optionally filtered. |
|
Updates an existing targeting template. |
|
Updates an existing targeting template. |