Marketing
parse_ad_group_name (UDF)
Parse an ad group name. Extracts segments like region, country_code, and audience.
Parse Ad Group Name UDF
This function takes a ad group name and parses out known segments. These segments are things like country, language, or audience; multiple ad groups can share segments.
Currently supported formats are gads_v2 (9 segments, parsed into
ad_network, version, product, initiative, region, country_code, placement,
audience, targeting) and meta_v2 (5 segments, parsed into ad_network,
version, audience, placement, targeting).
We use versioned ad group names to define segments, where the ad network (e.g. gads) and the version (e.g. v1, v2) correspond to certain available segments in the ad group name. We track the versions in this spreadsheet.
For a history of this naming scheme, see the original proposal.
Parameters
INPUTS
ad_group_name STRING
OUTPUTS
ARRAY<STRUCT<key STRING, value STRING>>
parse_creative_name (UDF)
Parse segments from a creative name.
Parse Creative Name UDF
This function takes a creative name and parses out known segments. These segments are things like country, language, or audience; multiple creatives can share segments.
Currently supported formats are gads_v2 and meta_v2, each parsed as 7
underscore-separated segments into ad_network, version, creative, format,
dimension, length, cta.
We use versioned creative names to define segments, where the ad network (e.g. gads) and the version (e.g. v1, v2) correspond to certain available segments in the creative name. We track the versions in this spreadsheet.
For a history of this naming scheme, see the original proposal.
Parameters
INPUTS
creative_name STRING
OUTPUTS
ARRAY<STRUCT<key STRING, value STRING>>