Package google.ads.datamanager.v1

Индекс

Служба приема данных

Сервис для отправки данных об аудитории в поддерживаемые пункты назначения.

IngestAudienceMembers

rpc IngestAudienceMembers( IngestAudienceMembersRequest ) returns ( IngestAudienceMembersResponse )

Загружает список ресурсов AudienceMember в указанное Destination .

Области полномочий

Требуется следующая область действия OAuth:

  • https://www.googleapis.com/auth/datamanager
IngestEvents

rpc IngestEvents( IngestEventsRequest ) returns ( IngestEventsResponse )

Загружает список ресурсов Event из указанного Destination .

Области полномочий

Требуется следующая область действия OAuth:

  • https://www.googleapis.com/auth/datamanager
RemoveAudienceMembers

rpc RemoveAudienceMembers( RemoveAudienceMembersRequest ) returns ( RemoveAudienceMembersResponse )

Удаляет список ресурсов AudienceMember из указанного Destination .

Области полномочий

Требуется следующая область действия OAuth:

  • https://www.googleapis.com/auth/datamanager
RetrieveRequestStatus

rpc RetrieveRequestStatus( RetrieveRequestStatusRequest ) returns ( RetrieveRequestStatusResponse )

Получает статус запроса по заданному идентификатору запроса.

Области полномочий

Требуется следующая область действия OAuth:

  • https://www.googleapis.com/auth/datamanager

MarketingDataInsightsService

Сервис для предоставления аналитической информации на основе маркетинговых данных.

Эта функция доступна только партнерам по передаче данных.

RetrieveInsights

rpc RetrieveInsights( RetrieveInsightsRequest ) returns ( RetrieveInsightsResponse )

Получает маркетинговые данные и аналитику для заданного списка пользователей.

Эта функция доступна только партнерам по передаче данных.

Заголовки авторизации:

Этот метод поддерживает следующие необязательные заголовки, определяющие способ авторизации доступа к запросу через API:

  • login-account : (Необязательно) Имя ресурса учетной записи, пользователем которой является учетная запись Google, для которой были предоставлены учетные данные. Если не указано, используется учетная запись из запроса. Формат: accountTypes/{loginAccountType}/accounts/{loginAccountId}
  • linked-account : (Необязательно) Имя ресурса учетной записи с установленной связью продукта с login-account . Формат: accountTypes/{linkedAccountType}/accounts/{linkedAccountId}
Области полномочий

Требуется следующая область действия OAuth:

  • https://www.googleapis.com/auth/datamanager

PartnerLinkService

Сервис для управления партнерскими ссылками.

UserListDirectLicenseService

Сервис для управления прямыми лицензиями списка пользователей. Удаление не поддерживается для UserListDirectLicenses. Для деактивации лицензии следует изменить статус лицензии на DISABLED.

Эта функция доступна только партнерам по передаче данных.

CreateUserListDirectLicense

rpc CreateUserListDirectLicense( CreateUserListDirectLicenseRequest ) returns ( UserListDirectLicense )

Создает список пользователей и прямую лицензию.

Эта функция доступна только партнерам по передаче данных.

Области полномочий

Требуется следующая область действия OAuth:

  • https://www.googleapis.com/auth/datamanager
GetUserListDirectLicense

rpc GetUserListDirectLicense( GetUserListDirectLicenseRequest ) returns ( UserListDirectLicense )

Получает список пользователей и прямую лицензию.

Эта функция доступна только партнерам по передаче данных.

Области полномочий

Требуется следующая область действия OAuth:

  • https://www.googleapis.com/auth/datamanager
ListUserListDirectLicenses

rpc ListUserListDirectLicenses( ListUserListDirectLicensesRequest ) returns ( ListUserListDirectLicensesResponse )

Отображает список всех лицензий, принадлежащих родительской учетной записи.

Эта функция доступна только партнерам по передаче данных.

Области полномочий

Требуется следующая область действия OAuth:

  • https://www.googleapis.com/auth/datamanager
UpdateUserListDirectLicense

rpc UpdateUserListDirectLicense( UpdateUserListDirectLicenseRequest ) returns ( UserListDirectLicense )

Обновляет список пользователей, предоставляя прямую лицензию.

Эта функция доступна только партнерам по передаче данных.

Области полномочий

Требуется следующая область действия OAuth:

  • https://www.googleapis.com/auth/datamanager

UserListGlobalLicenseService

Сервис для управления глобальными лицензиями списка пользователей. Удаление не поддерживается для UserListGlobalLicenses. Для деактивации лицензии следует изменить статус лицензии на DISABLED.

Эта функция доступна только партнерам по передаче данных.

CreateUserListGlobalLicense

rpc CreateUserListGlobalLicense( CreateUserListGlobalLicenseRequest ) returns ( UserListGlobalLicense )

Создает глобальную лицензию для списка пользователей.

Эта функция доступна только партнерам по передаче данных.

Области полномочий

Требуется следующая область действия OAuth:

  • https://www.googleapis.com/auth/datamanager
GetUserListGlobalLicense

rpc GetUserListGlobalLicense( GetUserListGlobalLicenseRequest ) returns ( UserListGlobalLicense )

Получает список глобальных лицензий пользователей.

Эта функция доступна только партнерам по передаче данных.

Области полномочий

Требуется следующая область действия OAuth:

  • https://www.googleapis.com/auth/datamanager
ListUserListGlobalLicenseCustomerInfos

rpc ListUserListGlobalLicenseCustomerInfos( ListUserListGlobalLicenseCustomerInfosRequest ) returns ( ListUserListGlobalLicenseCustomerInfosResponse )

Отображает всю информацию о клиенте для глобальной лицензии, содержащей список пользователей.

Эта функция доступна только партнерам по передаче данных.

Области полномочий

Требуется следующая область действия OAuth:

  • https://www.googleapis.com/auth/datamanager
ListUserListGlobalLicenses

rpc ListUserListGlobalLicenses( ListUserListGlobalLicensesRequest ) returns ( ListUserListGlobalLicensesResponse )

Отображает список всех глобальных лицензий пользователей, принадлежащих родительской учетной записи.

Эта функция доступна только партнерам по передаче данных.

Области полномочий

Требуется следующая область действия OAuth:

  • https://www.googleapis.com/auth/datamanager
UpdateUserListGlobalLicense

rpc UpdateUserListGlobalLicense( UpdateUserListGlobalLicenseRequest ) returns ( UserListGlobalLicense )

Обновляет глобальную лицензию списка пользователей.

Эта функция доступна только партнерам по передаче данных.

Области полномочий

Требуется следующая область действия OAuth:

  • https://www.googleapis.com/auth/datamanager

UserListService

Сервис для управления ресурсами UserList.

CreateUserList

rpc CreateUserList( CreateUserListRequest ) returns ( UserList )

Создает список пользователей.

Заголовки авторизации:

Этот метод поддерживает следующие необязательные заголовки, определяющие способ авторизации доступа к запросу через API:

  • login-account : (Необязательно) Имя ресурса учетной записи, пользователем которой является учетная запись Google, для которой были предоставлены учетные данные. Если не указано, используется учетная запись из запроса. Формат: accountTypes/{loginAccountType}/accounts/{loginAccountId}
  • linked-account : (Необязательно) Имя ресурса учетной записи с установленной связью продукта с login-account . Формат: accountTypes/{linkedAccountType}/accounts/{linkedAccountId}
Области полномочий

Требуется следующая область действия OAuth:

  • https://www.googleapis.com/auth/datamanager
DeleteUserList

rpc DeleteUserList( DeleteUserListRequest ) returns ( Empty )

Удаляет список пользователей.

Заголовки авторизации:

Этот метод поддерживает следующие необязательные заголовки, определяющие способ авторизации доступа к запросу через API:

  • login-account : (Необязательно) Имя ресурса учетной записи, пользователем которой является учетная запись Google, для которой были предоставлены учетные данные. Если не указано, используется учетная запись из запроса. Формат: accountTypes/{loginAccountType}/accounts/{loginAccountId}
  • linked-account : (Необязательно) Имя ресурса учетной записи с установленной связью продукта с login-account . Формат: accountTypes/{linkedAccountType}/accounts/{linkedAccountId}
Области полномочий

Требуется следующая область действия OAuth:

  • https://www.googleapis.com/auth/datamanager
GetUserList

rpc GetUserList( GetUserListRequest ) returns ( UserList )

Получает список пользователей (UserList).

Заголовки авторизации:

Этот метод поддерживает следующие необязательные заголовки, определяющие способ авторизации доступа к запросу через API:

  • login-account : (Необязательно) Имя ресурса учетной записи, пользователем которой является учетная запись Google, для которой были предоставлены учетные данные. Если не указано, используется учетная запись из запроса. Формат: accountTypes/{loginAccountType}/accounts/{loginAccountId}
  • linked-account : (Необязательно) Имя ресурса учетной записи с установленной связью продукта с login-account . Формат: accountTypes/{linkedAccountType}/accounts/{linkedAccountId}
Области полномочий

Требуется следующая область действия OAuth:

  • https://www.googleapis.com/auth/datamanager
ListUserLists

rpc ListUserLists( ListUserListsRequest ) returns ( ListUserListsResponse )

Отображает списки пользователей.

Заголовки авторизации:

Этот метод поддерживает следующие необязательные заголовки, определяющие способ авторизации доступа к запросу через API:

  • login-account : (Необязательно) Имя ресурса учетной записи, пользователем которой является учетная запись Google, для которой были предоставлены учетные данные. Если не указано, используется учетная запись из запроса. Формат: accountTypes/{loginAccountType}/accounts/{loginAccountId}
  • linked-account : (Необязательно) Имя ресурса учетной записи с установленной связью продукта с login-account . Формат: accountTypes/{linkedAccountType}/accounts/{linkedAccountId}
Области полномочий

Требуется следующая область действия OAuth:

  • https://www.googleapis.com/auth/datamanager
Обновить список пользователей

rpc UpdateUserList( UpdateUserListRequest ) returns ( UserList )

Обновляет список пользователей.

Заголовки авторизации:

Этот метод поддерживает следующие необязательные заголовки, определяющие способ авторизации доступа к запросу через API:

  • login-account : (Необязательно) Имя ресурса учетной записи, пользователем которой является учетная запись Google, для которой были предоставлены учетные данные. Если не указано, используется учетная запись из запроса. Формат: accountTypes/{loginAccountType}/accounts/{loginAccountId}
  • linked-account : (Необязательно) Имя ресурса учетной записи с установленной связью продукта с login-account . Формат: accountTypes/{linkedAccountType}/accounts/{linkedAccountId}
Области полномочий

Требуется следующая область действия OAuth:

  • https://www.googleapis.com/auth/datamanager

AdIdentifiers

Идентификаторы и другая информация, используемая для сопоставления события конверсии с другой онлайн-активностью (например, кликами по рекламе).

Поля
session_attributes

string

Необязательно. Атрибуты сессии для атрибуции событий и моделирования.

gclid

string

Необязательно. Идентификатор клика Google (gclid), связанный с этим событием.

gbraid

string

Необязательный параметр. Идентификатор клика для кликов, связанных с событиями приложения и исходящих с устройств iOS, начиная с iOS 14.

wbraid

string

Необязательный параметр. Идентификатор клика для кликов, связанных с веб-событиями и происходящих на устройствах iOS, начиная с iOS 14.

landing_page_device_info

DeviceInfo

Необязательно. Информация, собираемая об используемом устройстве (если таковое имелось) в момент перехода на сайт рекламодателя после взаимодействия с рекламой.

Информация об адресе

Адресная информация для пользователя.

Поля
given_name

string

Обязательно. Укажите имя пользователя (в нижнем регистре), без знаков препинания, пробелов в начале и конце, хешированное как SHA-256.

family_name

string

Обязательно. Фамилия пользователя, все строчные буквы, без знаков препинания, без пробелов в начале и конце, хешированная как SHA-256.

region_code

string

Обязательно. Двухбуквенный региональный код адреса пользователя в формате ISO-3166-1 alpha-2.

postal_code

string

Обязательно. Почтовый индекс адреса пользователя.

Возрастной диапазон

Демографические возрастные диапазоны

Перечисления
AGE_RANGE_UNSPECIFIED Не указан.
AGE_RANGE_UNKNOWN Неизвестный.
AGE_RANGE_18_24 В возрасте от 18 до 24 лет.
AGE_RANGE_25_34 В возрасте от 25 до 34 лет.
AGE_RANGE_35_44 В возрасте от 35 до 44 лет.
AGE_RANGE_45_54 В возрасте от 45 до 54 лет.
AGE_RANGE_55_64 В возрасте от 55 до 64 лет.
AGE_RANGE_65_UP 65 лет и старше.

Участник аудитории

Участника аудитории, которому будет проведена операция.

Поля
destination_references[]

string

Необязательный параметр. Определяет, в какое Destination следует направить участника аудитории.

consent

Consent

Необязательно. Настройки согласия пользователя.

data поля объединения. Тип идентификационных данных, с которыми необходимо выполнить операцию. data могут быть только одним из следующих типов:
user_data

UserData

Данные, предоставленные пользователем, позволяющие идентифицировать пользователя.

pair_data

PairData

Идентификаторы PAIR (Publisher Advertiser Identity Reconciliation) .

Эта функция доступна только партнерам по передаче данных.

mobile_data

MobileData

Данные, идентифицирующие мобильные устройства пользователя.

user_id_data

UserIdData

Данные, относящиеся к уникальным идентификаторам пользователя, определенным рекламодателем.

ppid_data

PpidData

Данные, относящиеся к идентификаторам, предоставленным издателем.

Эта функция доступна только партнерам по передаче данных.

AwsWrappedKeyInfo

Ключ шифрования данных, упакованный в ключ AWS KMS.

Поля
key_type

KeyType

Обязательно. Тип алгоритма, используемого для шифрования данных.

role_arn

string

Обязательно. Имя ресурса Amazon для роли IAM, которая будет использоваться для доступа к расшифровке KMS. Должно быть в формате arn:{partition}:iam::{account_id}:role/{role_name}

kek_uri

string

Обязательно. URI ключа AWS KMS, используемого для расшифровки DEK. Должен быть в формате arn:{partition}:kms:{region}:{account_id}:key/{key_id} или aws-kms://arn:{partition}:kms:{region}:{account_id}:key/{key_id}

encrypted_dek

string

Обязательно. Ключ шифрования данных, закодированных в base64.

KeyType

Тип алгоритма, используемого для шифрования данных.

Перечисления
KEY_TYPE_UNSPECIFIED Тип ключа не указан. Использовать его не следует.
XCHACHA20_POLY1305 Алгоритм XChaCha20-Poly1305

Исходный уровень

Базовые критерии, с которыми сравниваются полученные результаты.

Поля
baseline поля объединения. Базовое местоположение, с которым сравниваются полученные данные. baseline может быть только одной из следующих:
baseline_location

Location

Базовое местоположение запроса. Базовое местоположение представляет собой список запрашиваемых регионов, заданный оператором ИЛИ.

location_auto_detection_enabled

bool

Если установить значение true, сервис попытается автоматически определить базовое местоположение для получения аналитических данных.

Расположение

Базовое местоположение запроса. Базовое местоположение указано в списке кодов регионов ISO 3166-1 alpha-2 (OR-list) для запрашиваемых регионов.

Поля
region_codes[]

string

Список кодов регионов ISO 3166-1 alpha-2.

CartData

Данные корзины, связанные с событием.

Поля
merchant_id

string

Необязательно. Идентификатор торгового центра, связанный с товарами.

merchant_feed_label

string

Необязательно. Метка фида Merchant Center, связанная с фидом товаров.

merchant_feed_language_code

string

Необязательно. Код языка в ISO 639-1, связанный с фидом товаров в Merchant Center, куда загружаются ваши товары.

transaction_discount

double

Необязательно. Сумма всех скидок, связанных с данной транзакцией.

items[]

Item

Необязательно. Список предметов, связанных с мероприятием.

Настройки согласия пользователя в соответствии с Законом о цифровых рынках (DMA) .

Поля
ad_user_data

ConsentStatus

Необязательный параметр. Указывает, согласен ли пользователь на предоставление данных о пользователе рекламной сети.

ad_personalization

ConsentStatus

Необязательный параметр. Указывает, согласен ли пользователь на персонализацию рекламы.

Статус согласия

Указывает, дал ли пользователь согласие, отклонил его или не указал явно.

Перечисления
CONSENT_STATUS_UNSPECIFIED Не указан.
CONSENT_GRANTED Предоставленный.
CONSENT_DENIED Отклонен.

ContactIdInfo

Дополнительная информация, если CONTACT_ID является одним из типов upload_key_types .

Поля
match_rate_percentage

int32

Только для вывода. Коэффициент совпадения для списков пользователей, соответствующих требованиям клиента.

data_source_type

DataSourceType

Необязательный. Неизменяемый. Источник данных для загрузки.

CreatePartnerLinkRequest

Запрос на создание ресурса PartnerLink . Возвращает объект PartnerLink .

Вы можете попробовать этот метод в обозревателе REST API:
Поля
parent

string

Обязательно. Родительский ресурс, которому принадлежит эта коллекция партнерских ссылок. Формат: accountTypes/{account_type}/accounts/{account}

CreateUserListDirectLicenseRequest

Запрос на создание ресурса UserListDirectLicense .

Вы можете попробовать этот метод в обозревателе REST API:
Поля
parent

string

Обязательно. Учетная запись, которой принадлежит лицензируемый список пользователей. Формат должен быть accountTypes/{ACCOUNT_TYPE}/accounts/{ACCOUNT_ID}.

user_list_direct_license

UserListDirectLicense

Обязательно. Для создания списка пользователей требуется прямая лицензия.

CreateUserListGlobalLicenseRequest

Запрос на создание ресурса UserListGlobalLicense .

Вы можете попробовать этот метод в обозревателе REST API:
Поля
parent

string

Обязательно. Учетная запись, которой принадлежит лицензируемый список пользователей. Формат должен быть accountTypes/{ACCOUNT_TYPE}/accounts/{ACCOUNT_ID}.

user_list_global_license

UserListGlobalLicense

Обязательно. Необходимо создать глобальную лицензию для списка пользователей.

CreateUserListRequest

Сообщение запроса для функции CreateUserList.

Вы можете попробовать этот метод в обозревателе REST API:
Поля
parent

string

Обязательно. Родительская учетная запись, в которой будет создан этот список пользователей. Формат: accountTypes/{account_type}/accounts/{account}

user_list

UserList

Обязательно. Список пользователей для создания.

validate_only

bool

Необязательный параметр. Если значение равно true, запрос проверяется, но не выполняется.

Пользовательская переменная

Пользовательская переменная для конверсий в рекламе.

Поля
variable

string

Необязательно. Имя пользовательской переменной для установки. Если переменная не найдена для указанного места назначения, она будет проигнорирована.

value

string

Необязательный параметр. Значение, которое будет сохранено для пользовательской переменной.

destination_references[]

string

Необязательный параметр. Строка-ссылка, используемая для определения того, в какой из объектов Event.destination_references следует отправить пользовательскую переменную. Если строка пустая, будет использован объект Event.destination_references .

Тип клиента

Тип клиента, участвующего в мероприятии.

Перечисления
CUSTOMER_TYPE_UNSPECIFIED Тип клиента не указан. Использовать его не следует.
NEW Клиент впервые обращается к рекламодателю.
RETURNING Клиент возвращается к рекламодателю.
REENGAGED Клиент возобновил взаимодействие с рекламодателем.

CustomerValueBucket

Оценочная стоимость клиента, определяемая рекламодателем.

Перечисления
CUSTOMER_VALUE_BUCKET_UNSPECIFIED Неуказанный CustomerValueBucket. Использовать его не следует.
LOW Клиент имеет низкую ценность.
MEDIUM Клиент относится к категории средней ценности.
HIGH Клиент имеет высокую ценность.

Тип источника данных

Указывает источник загружаемых данных.

Перечисления
DATA_SOURCE_TYPE_UNSPECIFIED Не указан.
DATA_SOURCE_TYPE_FIRST_PARTY Загруженные данные являются данными от первого лица.
DATA_SOURCE_TYPE_THIRD_PARTY_CREDIT_BUREAU Загруженные данные получены из стороннего кредитного бюро.
DATA_SOURCE_TYPE_THIRD_PARTY_VOTER_FILE Загруженные данные получены из базы данных избирателей, предоставленной третьей стороной.
DATA_SOURCE_TYPE_THIRD_PARTY_PARTNER_DATA Загруженные данные являются данными сторонних партнеров.

DeletePartnerLinkRequest

Запрос на удаление ресурса PartnerLink . Возвращает google.protobuf.Empty .

Вы можете попробовать этот метод в обозревателе REST API:
Поля
name

string

Обязательно. Имя ресурса партнерской ссылки для удаления. Формат: accountTypes/{account_type}/accounts/{account}/partnerLinks/{partner_link}

DeleteUserListRequest

Сообщение запроса для удаления списка пользователей (DeleteUserList).

Вы можете попробовать этот метод в обозревателе REST API:
Поля
name

string

Обязательно. Название списка пользователей для удаления. Формат: accountTypes/{account_type}/accounts/{account}/userLists/{user_list}

validate_only

bool

Необязательный параметр. Если значение равно true, запрос проверяется, но не выполняется.

Место назначения

Продукт Google, в который вы отправляете данные. Например, аккаунт Google Ads.

Поля
reference

string

Необязательный параметр. Идентификатор для этого ресурса Destination , уникальный в рамках запроса. Используется для ссылки на этот Destination в запросах IngestEventsRequest и IngestAudienceMembersRequest .

login_account

ProductAccount

Необязательно. Учетная запись, используемая для выполнения этого вызова API. Для добавления или удаления данных из operating_account эта login_account должна иметь права на запись в operating_account . Например, учетная запись менеджера operating_account или учетная запись с установленной связью с operating_account .

linked_account

ProductAccount

Необязательно. Учетная запись, к которой имеет доступ login_account пользователя, осуществляющего вход, через установленную связь учетных записей. Например, login_account партнера по данным может иметь доступ к linked_account клиента. Партнер может использовать это поле для отправки данных из linked_account в другую operating_account .

operating_account

ProductAccount

Обязательно. Учетная запись, на которую следует отправить данные или с которой следует удалить данные.

product_destination_id

string

Обязательно. Объект в аккаунте продукта, в который необходимо импортировать данные. Например, идентификатор аудитории Google Ads, идентификатор аудитории Display & Video 360 или идентификатор действия конверсии Google Ads.

Информация об устройстве

Информация об используемом устройстве (если таковое имелось) в момент происшествия.

Поля
user_agent

string

Необязательный параметр. Строка user-gent устройства для данного контекста.

ip_address

string

Необязательный параметр. IP-адрес устройства для данного контекста.

Примечание: Google Ads не поддерживает сопоставление IP-адресов конечных пользователей из Европейской экономической зоны (ЕЭЗ), Великобритании (UK) или Швейцарии (CH). Добавьте логику для условного исключения обмена IP-адресами пользователей из этих регионов и убедитесь, что вы предоставляете пользователям четкую и исчерпывающую информацию о данных, которые вы собираете на своих сайтах, в приложениях и других ресурсах, а также получаете согласие там, где это требуется по закону или в соответствии с применимыми политиками Google. Дополнительные сведения см. на странице «Об импорте данных о конверсиях в офлайн-режиме» .

Кодирование

Тип кодирования хешированной идентификационной информации.

Перечисления
ENCODING_UNSPECIFIED Тип кодировки не указан. Использовать его не следует.
HEX Шестнадцатеричное кодирование.
BASE64 Кодирование Base64.

EncryptionInfo

Информация для шифрования обрабатываемых данных.

Поля
Поле объединения wrapped_key . Зашифрованный ключ, используемый для шифрования данных. wrapped_key может принимать только одно из следующих значений:
gcp_wrapped_key_info

GcpWrappedKeyInfo

Платформа Google Cloud Platform скрыла ключевую информацию.

aws_wrapped_key_info

AwsWrappedKeyInfo

Amazon Web Services скрыла ключевую информацию.

ErrorCount

Количество ошибок по указанной причине.

Поля
record_count

int64

Количество записей, которые не удалось загрузить по указанной причине.

reason

ProcessingErrorReason

Причина ошибки, из-за которой не удалось записать данные.

ErrorInfo

Для каждого типа ошибок подсчитывается количество ошибок.

Поля
error_counts[]

ErrorCount

Список ошибок и количество ошибок по каждой причине. Может быть заполнено не во всех случаях.

Причина ошибки

Причины ошибок API менеджера данных. ПРИМЕЧАНИЕ: Данное перечисление не зафиксировано, и в будущем могут быть добавлены новые значения.

Перечисления
ERROR_REASON_UNSPECIFIED Не используйте это значение по умолчанию.
INTERNAL_ERROR Произошла внутренняя ошибка.
DEADLINE_EXCEEDED На обработку запроса потребовалось слишком много времени.
RESOURCE_EXHAUSTED Слишком много запросов.
NOT_FOUND Ресурс не найден.
PERMISSION_DENIED У пользователя нет необходимых прав или ресурс не найден.
INVALID_ARGUMENT Возникла проблема с запросом.
REQUIRED_FIELD_MISSING Отсутствует обязательное поле.
INVALID_FORMAT Неверный формат.
INVALID_HEX_ENCODING Значение в шестнадцатеричном формате некорректно.
INVALID_BASE64_ENCODING Закодированное в base64 значение имеет некорректный формат.
INVALID_SHA256_FORMAT Закодированное значение SHA256 имеет некорректный формат.
INVALID_POSTAL_CODE Почтовый индекс недействителен.
INVALID_COUNTRY_CODE

Устарело: Перечисление (Enum) не используется в API менеджера данных.

INVALID_ENUM_VALUE Значение перечисления использовать нельзя.
INVALID_USER_LIST_TYPE Тип списка пользователей не имеет значения для данного запроса.
INVALID_AUDIENCE_MEMBER Данный зритель недействителен.
TOO_MANY_AUDIENCE_MEMBERS Максимальное количество зрителей, допускаемых по одному запросу, составляет 10 000 человек.
TOO_MANY_USER_IDENTIFIERS Максимальное количество идентификаторов пользователей, разрешенных для одного участника аудитории, составляет 10.
TOO_MANY_DESTINATIONS Максимальное количество пунктов назначения, разрешенных для одного запроса, составляет 10.
INVALID_DESTINATION Этот пункт назначения недействителен.
DATA_PARTNER_USER_LIST_MUTATE_NOT_ALLOWED У партнера по данным нет доступа к списку пользователей, принадлежащих операционной учетной записи.
INVALID_MOBILE_ID_FORMAT Формат мобильного идентификатора недействителен.
INVALID_USER_LIST_ID Список пользователей недействителен.
MULTIPLE_DATA_TYPES_NOT_ALLOWED В одном запросе не допускается обработка данных нескольких типов.
DIFFERENT_LOGIN_ACCOUNTS_NOT_ALLOWED_FOR_DATA_PARTNER В конфигурациях назначения, содержащих учетную запись для входа в DataPartner, эта учетная запись должна быть одинаковой во всех конфигурациях назначения.
TERMS_AND_CONDITIONS_NOT_SIGNED Обязательные условия не принимаются.
INVALID_NUMBER_FORMAT Неверный формат числа.
INVALID_CONVERSION_ACTION_ID Идентификатор действия конверсии недействителен.
INVALID_CONVERSION_ACTION_TYPE Тип действия преобразования недопустим.
INVALID_CURRENCY_CODE Код валюты не поддерживается.
INVALID_EVENT Данное мероприятие недействительно.
TOO_MANY_EVENTS Максимальное количество событий, разрешенных для одного запроса, составляет 10 000.
DESTINATION_ACCOUNT_NOT_ENABLED_ENHANCED_CONVERSIONS_FOR_LEADS Для целевого аккаунта не активирована функция повышения конверсии лидов.
DESTINATION_ACCOUNT_DATA_POLICY_PROHIBITS_ENHANCED_CONVERSIONS Использование расширенных показателей конверсии для целевого аккаунта невозможно из-за политики Google в отношении данных клиентов. Обратитесь к представителю Google.
DESTINATION_ACCOUNT_ENHANCED_CONVERSIONS_TERMS_NOT_SIGNED Целевой аккаунт не согласился с условиями повышения конверсии.
DUPLICATE_DESTINATION_REFERENCE В запросе два или более пункта назначения имеют одинаковую ссылку.
UNSUPPORTED_OPERATING_ACCOUNT_FOR_DATA_PARTNER Неподдерживаемый операционный аккаунт для авторизации партнеров по передаче данных.
UNSUPPORTED_LINKED_ACCOUNT_FOR_DATA_PARTNER Неподдерживаемая связанная учетная запись для авторизации партнеров по данным.
NO_IDENTIFIERS_PROVIDED Данные о событиях не содержат идентификаторов пользователей или рекламных идентификаторов.
INVALID_PROPERTY_TYPE Данный тип свойства не поддерживается.
INVALID_STREAM_TYPE Тип потока не поддерживается.
LINKED_ACCOUNT_ONLY_ALLOWED_WITH_DATA_PARTNER_LOGIN_ACCOUNT Связанная учетная запись поддерживается только в том случае, если учетная запись для входа является учетной записью DATA_PARTNER .
OPERATING_ACCOUNT_LOGIN_ACCOUNT_MISMATCH Для данного сценария использования учетная запись для входа в систему должна совпадать с операционной учетной записью.
EVENT_TIME_INVALID Событие не произошло в допустимые сроки.
RESERVED_NAME_USED Параметр использует зарезервированное имя.
INVALID_EVENT_NAME Название события не поддерживается.
NOT_ALLOWLISTED Данная учетная запись не включена в список разрешенных для использования указанной функции.
INVALID_REQUEST_ID Идентификатор запроса, используемый для получения статуса запроса, недействителен. Статус можно получить только для запросов, которые успешно выполнены и не имеют validate_only=true .
MULTIPLE_DESTINATIONS_FOR_GOOGLE_ANALYTICS_EVENT В рамках мероприятия использовалось 2 или более точек доступа Google Analytics.
FIELD_VALUE_TOO_LONG Значение поля слишком длинное.
TOO_MANY_ELEMENTS В запросе слишком много элементов в списке.
ALREADY_EXISTS Ресурс уже существует.
IMMUTABLE_FIELD_FOR_UPDATE Была предпринята попытка установить неизменяемое поле для запроса на обновление.
INVALID_RESOURCE_NAME Недопустимое имя ресурса.
INVALID_FILTER Фильтр запроса недействителен.
INVALID_UPDATE_MASK Маска обновления недействительна.
INVALID_PAGE_TOKEN Токен страницы недействителен.
CANNOT_UPDATE_DISABLED_LICENSE Невозможно обновить отключенную лицензию.
CANNOT_CREATE_LICENSE_FOR_SENSITIVE_USERLIST Для данного клиента лицензирование списков конфиденциальных пользователей невозможно.
INSUFFICIENT_COST Стоимость этой лицензии слишком низкая.
CANNOT_DISABLE_LICENSE Лицензию реселлера нельзя отключить, поскольку она уже используется.
INVALID_CLIENT_ACCOUNT_ID Неверный идентификатор учетной записи клиента.
PRICING_ONLY_ZERO_COST_ALLOWED Для данного клиентского счета не допускается внесение ненулевых платежей.
PRICE_TOO_HIGH Стоимость этой лицензии слишком высока.
CUSTOMER_NOT_ALLOWED_TO_CREATE_LICENSE Клиенту не разрешено создавать лицензию.
INVALID_PRICING_END_DATE Дата окончания действия ценообразования для данной лицензии недействительна.
CANNOT_LICENSE_LOGICAL_LIST_WITH_LICENSED_OR_SHARED_SEGMENT Логический список пользователей с общим или лицензированным сегментом не может быть лицензирован.
MISMATCHED_ACCOUNT_TYPE Тип учетной записи клиента, указанный в запросе, не соответствует фактическому типу учетной записи клиента.
MEDIA_SHARE_COST_NOT_ALLOWED_FOR_LICENSE_TYPE Тип лицензии не поддерживает оплату за совместное использование медиафайлов.
MEDIA_SHARE_COST_NOT_ALLOWED_FOR_CLIENT_CUSTOMER Тип клиента «Клиент» не поддерживает оплату за размещение медиаконтента.
INVALID_MEDIA_SHARE_COST Неверная стоимость медиа-аккаунта.
INVALID_COST_TYPE Недопустимый тип затрат.
MEDIA_SHARE_COST_NOT_ALLOWED_FOR_NON_COMMERCE_USER_LIST Тип UserList не поддерживает стоимость совместного доступа к медиафайлам.
MAX_COST_NOT_ALLOWED Максимальная допустимая стоимость может быть установлена ​​только для типа стоимости MEDIA_SHARE.
COMMERCE_AUDIENCE_CAN_ONLY_BE_DIRECTLY_LICENSED Коммерческая аудитория может быть лицензирована только напрямую.
INVALID_DESCRIPTION Описание неверно.
INVALID_DISPLAY_NAME Отображаемое имя недопустимо.
DISPLAY_NAME_ALREADY_USED Отображаемое имя уже используется в другом списке пользователей для этой учетной записи.
OWNERSHIP_REQUIRED_FOR_UPDATE Для изменения списка пользователей необходимы права владельца.
USER_LIST_MUTATION_NOT_SUPPORTED Тип списка пользователей доступен только для чтения и не поддерживает изменение данных.
SENSITIVE_USER_LIST_IMMUTABLE Список пользователей, содержащий конфиденциальную информацию или отклоненный по закону, не может быть изменен внешними пользователями.
BILLABLE_RECORD_COUNT_IMMUTABLE Поле «Платная запись» в списке пользователей ремаркетинга нельзя изменить после того, как оно установлено.
USER_LIST_NAME_RESERVED Название списка пользователей зарезервировано для системных списков.
ADVERTISER_NOT_ALLOWLISTED_FOR_UPLOADED_DATA Для использования списков ремаркетинга, созданных на основе загруженных рекламодателем данных, рекламодатель должен быть включен в список разрешенных.
UNSUPPORTED_PARTNER_AUDIENCE_SOURCE Для типа списка пользователей источник аудитории партнеров не поддерживается.
COMMERCE_PARTNER_NOT_ALLOWED Установка значения поля commerce_partner поддерживается только в том случае, если partner_audience_source имеет COMMERCE_AUDIENCE .
UNSUPPORTED_PARTNER_AUDIENCE_INFO Поле partner_audience_info не поддерживается для типа списка пользователей.
PARTNER_MATCH_FOR_MANAGER_ACCOUNT_DISALLOWED Списки пользователей Partner Match нельзя создавать с помощью учетных записей менеджеров.
DATA_PARTNER_NOT_ALLOWLISTED_FOR_THIRD_PARTY_PARTNER_DATA Данный партнер по передаче данных не включен в список разрешенных для THIRD_PARTY_PARTNER_DATA.
ADVERTISER_TOS_NOT_ACCEPTED Рекламодатель не принял условия предоставления услуг партнера.
ADVERTISER_NOT_ALLOWLISTED_FOR_THIRD_PARTY_PARTNER_DATA Данный рекламодатель не включен в список разрешенных для использования в рамках проекта THIRD_PARTNER_DATA.
USER_LIST_TYPE_NOT_SUPPORTED_FOR_ACCOUNT Для данной учетной записи этот тип списка пользователей не поддерживается.
INVALID_COMMERCE_PARTNER Поле commerce_partner недействительно.
CUSTOMER_NOT_ALLOWLISTED_FOR_COMMERCE_AUDIENCE Поставщику данных запрещено создавать коммерческие аудитории.
UNSUPPORTED_USER_LIST_UPLOAD_KEY_TYPES Типы ключей для загрузки списка пользователей не поддерживаются.
UNSUPPORTED_INGESTED_USER_LIST_INFO_CONFIG Конфигурация списка пользователей, полученного из пользовательских файлов, не поддерживается.
UNSUPPORTED_ACCOUNT_TYPES_FOR_USER_LIST_TYPE Типы учетных записей не поддерживаются для типа списка пользователей.
MEMBERSHIP_DURATION_TOO_LONG Срок действия членства в списке пользователей слишком велик.

Событие

Событие, представляющее собой взаимодействие пользователя с веб-сайтом или приложением рекламодателя.

Поля
destination_references[]

string

Необязательный параметр. Строка-ссылка, используемая для определения пункта назначения. Если поле пустое, событие будет отправлено всем destinations в запросе.

transaction_id

string

Необязательный параметр. Уникальный идентификатор данного события. Обязателен для преобразований с использованием нескольких источников данных.

event_timestamp

Timestamp

Обязательно. Время, когда произошло событие.

last_updated_timestamp

Timestamp

Необязательно. Последнее обновление информации о событии.

user_data

UserData

Необязательно. Фрагменты предоставленных пользователем данных, представляющие пользователя, с которым связано событие.

consent

Consent

Необязательно. Информация о том, предоставил ли связанный пользователь различные типы согласия.

ad_identifiers

AdIdentifiers

Необязательно. Идентификаторы и другая информация, используемая для сопоставления события конверсии с другой онлайн-активностью (например, кликами по рекламе).

currency

string

Необязательно. Код валюты, связанный со всеми денежными значениями в рамках этого события.

event_source

EventSource

Необязательно. Указывает место проведения события (веб, приложение, магазин и т. д.).

event_device_info

DeviceInfo

Необязательно. Собирается информация об используемом устройстве (если таковое имелось) в момент происшествия.

cart_data

CartData

Необязательно. Информация о транзакции и товарах, связанных с мероприятием.

custom_variables[]

CustomVariable

Необязательно. Дополнительная информация в виде пар ключ/значение для отправки в контейнеры конверсии (действие конверсии или активность FL).

experimental_fields[]

ExperimentalField

Необязательно. Список пар ключ/значение для экспериментальных полей, которые в будущем могут быть включены в API.

user_properties

UserProperties

Необязательно. Информация о пользователе, оцененная рекламодателем на момент совершения события.

event_name

string

Необязательно. Название мероприятия. Обязательно для мероприятий GA4.

client_id

string

Необязательно. Уникальный идентификатор экземпляра веб-клиента пользователя для этого веб-потока GA4.

user_id

string

Необязательный параметр. Уникальный идентификатор пользователя, определяемый рекламодателем.

additional_event_parameters[]

EventParameter

Необязательно. Список любых параметров события , которые должны быть включены в событие и которые не были указаны ранее с помощью других структурированных полей.

conversion_value

double

Необязательно. Значение конверсии, связанное с событием, для конверсий, основанных на значении.

EventParameter

Параметр события для событий GA4.

Поля
parameter_name

string

Обязательно. Название используемого параметра.

value

string

Обязательно. Строковое представление значения параметра, который необходимо установить.

EventSource

Источник события.

Перечисления
EVENT_SOURCE_UNSPECIFIED Неуказанный EventSource. Использовать его не следует.
WEB Событие было сгенерировано из веб-браузера.
APP Событие было сгенерировано с помощью приложения.
IN_STORE Событие было инициировано транзакцией в магазине.
PHONE Идея мероприятия возникла после телефонного звонка.
OTHER Информация о мероприятии была получена из других источников.

Экспериментальная область

Экспериментальное поле, представляющее собой неофициальные поля.

Поля
field

string

Необязательно. Название используемого поля.

value

string

Необязательный параметр. Значение поля, которое необходимо установить.

GcpWrappedKeyInfo

Информация о зашифрованном ключе Google Cloud Platform.

Поля
key_type

KeyType

Обязательно. Тип алгоритма, используемого для шифрования данных.

wip_provider

string

Обязательно. Поставщик пула учетных данных рабочей нагрузки должен использовать KEK.

kek_uri

string

Обязательно. Идентификатор ресурса службы управления ключами Google Cloud Platform. Должен быть в формате projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key} или gcp-kms://projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key}

encrypted_dek

string

Обязательно. Ключ шифрования данных, закодированных в base64.

KeyType

Тип алгоритма, используемого для шифрования данных.

Перечисления
KEY_TYPE_UNSPECIFIED Тип ключа не указан. Использовать его не следует.
XCHACHA20_POLY1305 Алгоритм XChaCha20-Poly1305

Пол

Тип демографического пола (например, женский).

Перечисления
GENDER_UNSPECIFIED Не указан.
GENDER_UNKNOWN Неизвестный.
GENDER_MALE Мужской.
GENDER_FEMALE Женский.

GetUserListDirectLicenseRequest

Запрос на получение ресурса UserListDirectLicense .

Вы можете попробовать этот метод в обозревателе REST API:
Поля
name

string

Обязательно. Имя ресурса прямой лицензии списка пользователей.

GetUserListGlobalLicenseRequest

Запрос на получение ресурса UserListGlobalLicense .

Вы можете попробовать этот метод в обозревателе REST API:
Поля
name

string

Обязательно. Имя ресурса глобальной лицензии списка пользователей.

GetUserListRequest

Сообщение запроса для функции GetUserList.

Вы можете попробовать этот метод в обозревателе REST API:
Поля
name

string

Required. The resource name of the UserList to retrieve. Format: accountTypes/{account_type}/accounts/{account}/userLists/{user_list}

IngestAudienceMembersRequest

Request to upload audience members to the provided destinations. Returns an IngestAudienceMembersResponse .

You can try this method in the REST APIs explorer:
Поля
destinations[]

Destination

Required. The list of destinations to send the audience members to.

audience_members[]

AudienceMember

Required. The list of users to send to the specified destinations. At most 10000 AudienceMember resources can be sent in a single request.

consent

Consent

Optional. Request-level consent to apply to all users in the request. User-level consent overrides request-level consent, and can be specified in each AudienceMember .

validate_only

bool

Optional. For testing purposes. If true , the request is validated but not executed. Only errors are returned, not results.

encoding

Encoding

Optional. Required for UserData uploads. The encoding type of the user identifiers. For hashed user identifiers, this is the encoding type of the hashed string. For encrypted hashed user identifiers, this is the encoding type of the outer encrypted string, but not necessarily the inner hashed string, meaning the inner hashed string could be encoded in a different way than the outer encrypted string. For non UserData uploads, this field is ignored.

encryption_info

EncryptionInfo

Optional. Encryption information for UserData uploads. If not set, it's assumed that uploaded identifying information is hashed but not encrypted. For non UserData uploads, this field is ignored.

terms_of_service

TermsOfService

Optional. The terms of service that the user has accepted/rejected.

IngestAudienceMembersResponse

Response from the IngestAudienceMembersRequest .

Поля
request_id

string

The auto-generated ID of the request.

IngestEventsRequest

Request to upload audience members to the provided destinations. Returns an IngestEventsResponse .

You can try this method in the REST APIs explorer:
Поля
destinations[]

Destination

Required. The list of destinations to send the events to.

events[]

Event

Required. The list of events to send to the specified destinations. At most 2000 Event resources can be sent in a single request.

consent

Consent

Optional. Request-level consent to apply to all users in the request. User-level consent overrides request-level consent, and can be specified in each Event .

validate_only

bool

Optional. For testing purposes. If true , the request is validated but not executed. Only errors are returned, not results.

encoding

Encoding

Optional. Required for UserData uploads. The encoding type of the user identifiers. For hashed user identifiers, this is the encoding type of the hashed string. For encrypted hashed user identifiers, this is the encoding type of the outer encrypted string, but not necessarily the inner hashed string, meaning the inner hashed string could be encoded in a different way than the outer encrypted string. For non UserData uploads, this field is ignored.

encryption_info

EncryptionInfo

Optional. Encryption information for UserData uploads. If not set, it's assumed that uploaded identifying information is hashed but not encrypted. For non UserData uploads, this field is ignored.

IngestEventsResponse

Response from the IngestEventsRequest .

Поля
request_id

string

The auto-generated ID of the request.

IngestedUserListInfo

Represents a user list that is populated by user provided data.

Поля
upload_key_types[]

UploadKeyType

Required. Immutable. Upload key types of this user list.

contact_id_info

ContactIdInfo

Optional. Additional information when CONTACT_ID is one of the upload_key_types .

mobile_id_info

MobileIdInfo

Optional. Additional information when MOBILE_ID is one of the upload_key_types .

user_id_info

UserIdInfo

Optional. Additional information when USER_ID is one of the upload_key_types .

pair_id_info

PairIdInfo

Optional. Additional information when PAIR_ID is one of the upload_key_types .

This feature is only available to data partners.

pseudonymous_id_info

PseudonymousIdInfo

Optional. Additional information for PSEUDONYMOUS_ID is one of the upload_key_types .

partner_audience_info

PartnerAudienceInfo

Optional. Additional information for partner audiences.

This feature is only available to data partners.

UploadKeyType

Enum containing the possible upload key types of a user list.

Перечисления
UPLOAD_KEY_TYPE_UNSPECIFIED Не указан.
CONTACT_ID Customer info such as email address, phone number or physical address.
MOBILE_ID Mobile advertising ids.
USER_ID Third party provided user ids.
PAIR_ID Publisher advertiser identity reconciliation ids.
PSEUDONYMOUS_ID Data Management Platform IDs: - Google User ID - Partner Provided ID - Publisher Provided ID - iOS IDFA - Android advertising ID - Roku ID - Amazon Fire TV ID - Xbox or Microsoft ID

Элемент

Represents an item in the cart associated with the event.

Поля
merchant_product_id

string

Optional. The product ID within the Merchant Center account.

quantity

int64

Optional. The number of this item associated with the event.

unit_price

double

Optional. The unit price excluding tax, shipping, and any transaction level discounts.

item_id

string

Optional. A unique identifier to reference the item.

additional_item_parameters[]

ItemParameter

Optional. A bucket of any event parameters related to an item to be included within the event that were not already specified using other structured fields.

ItemParameter

A bucket of any event parameters related to an item to be included within the event that were not already specified using other structured fields.

Поля
parameter_name

string

Required. The name of the parameter to use.

value

string

Required. The string representation of the value of the parameter to set.

ListUserListDirectLicensesRequest

Request to list all UserListDirectLicense resources for a given account.

You can try this method in the REST APIs explorer:
Поля
parent

string

Required. The account whose licenses are being queried. Should be in the format accountTypes/{ACCOUNT_TYPE}/accounts/{ACCOUNT_ID}

filter

string

Optional. A filter string to apply to the list request. All fields need to be on the left hand side of each condition (for example: user_list_id = 123 ). Fields must be specified using either all camel case or all snake case . Don't use a combination of camel case and snake case.

Supported Operations:

  • AND
  • =
  • !=
  • >
  • >=
  • <
  • <=

Unsupported Fields:

  • name (use get method instead)
  • historical_pricings and all its subfields
  • pricing.start_time
  • pricing.end_time
page_size

int32

Optional. The maximum number of licenses to return per page. The service may return fewer than this value. If unspecified, at most 50 licenses will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

page_token

string

Optional. A page token, received from a previous ListUserListDirectLicense call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListUserListDirectLicense must match the call that provided the page token.

ListUserListDirectLicensesResponse

Response from the ListUserListDirectLicensesRequest .

Поля
user_list_direct_licenses[]

UserListDirectLicense

The licenses for the given user list in the request.

next_page_token

string

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

ListUserListGlobalLicenseCustomerInfosRequest

Request to list all UserListGlobalLicenseCustomerInfo resources for a given user list global license.

You can try this method in the REST APIs explorer:
Поля
parent

string

Required. The global license whose customer info are being queried. Should be in the format accountTypes/{ACCOUNT_TYPE}/accounts/{ACCOUNT_ID}/userListGlobalLicenses/{USER_LIST_GLOBAL_LICENSE_ID} . To list all global license customer info under an account, replace the user list global license id with a '-' (for example, accountTypes/DATA_PARTNER/accounts/123/userListGlobalLicenses/- )

filter

string

Optional. A filter string to apply to the list request. All fields need to be on the left hand side of each condition (for example: user_list_id = 123 ). Fields must be specified using either all camel case or all snake case . Don't use a combination of camel case and snake case.

Supported Operations:

  • AND
  • =
  • !=
  • >
  • >=
  • <
  • <=

Unsupported Fields:

  • name (use get method instead)
  • historical_pricings and all its subfields
  • pricing.start_time
  • pricing.end_time
page_size

int32

Optional. The maximum number of licenses to return. The service may return fewer than this value. If unspecified, at most 50 licenses will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

page_token

string

Optional. A page token, received from a previous ListUserListDirectLicense call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListUserListDirectLicense must match the call that provided the page token.

ListUserListGlobalLicenseCustomerInfosResponse

Response from the [ListUserListGlobalLicensesCustomerInfoRequest][google.ads.datamanager.v1.ListUserListGlobalLicensesCustomerInfoRequest].

Поля
user_list_global_license_customer_infos[]

UserListGlobalLicenseCustomerInfo

The customer information for the given license in the request.

next_page_token

string

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

ListUserListGlobalLicensesRequest

Request to list all UserListGlobalLicense resources for a given account.

You can try this method in the REST APIs explorer:
Поля
parent

string

Required. The account whose licenses are being queried. Should be in the format accountTypes/{ACCOUNT_TYPE}/accounts/{ACCOUNT_ID}

filter

string

Optional. A filter string to apply to the list request. All fields need to be on the left hand side of each condition (for example: user_list_id = 123 ). Fields must be specified using either all camel case or all snake case . Don't use a combination of camel case and snake case.

Supported Operations:

  • AND
  • =
  • !=
  • >
  • >=
  • <
  • <=

Unsupported Fields:

  • name (use get method instead)
  • historical_pricings and all its subfields
  • pricing.start_time
  • pricing.end_time
page_size

int32

Optional. The maximum number of licenses to return. The service may return fewer than this value. If unspecified, at most 50 licenses will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

page_token

string

Optional. A page token, received from a previous ListUserListGlobalLicense call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListUserListDirectLicense must match the call that provided the page token.

ListUserListGlobalLicensesResponse

Response from the ListUserListGlobalLicensesRequest .

Поля
user_list_global_licenses[]

UserListGlobalLicense

The licenses for the given user list in the request.

next_page_token

string

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

ListUserListsRequest

Request message for ListUserLists.

You can try this method in the REST APIs explorer:
Поля
parent

string

Required. The parent account which owns this collection of user lists. Format: accountTypes/{account_type}/accounts/{account}

page_size

int32

Optional. The maximum number of user lists to return. The service may return fewer than this value. If unspecified, at most 50 user lists will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

page_token

string

Optional. A page token, received from a previous ListUserLists call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListUserLists must match the call that provided the page token.

filter

string

Optional. A filter string . All fields need to be on the left hand side of each condition (for example: display_name = "list 1" ). Fields must be specified using either all camel case or all snake case . Don't use a combination of camel case and snake case.

Поддерживаемые операции:

  • AND
  • =
  • !=
  • >
  • >=
  • <
  • <=
  • : (имеет)

Supported fields:

  • id
  • display_name
  • description
  • membership_status
  • integration_code
  • access_reason
  • ingested_user_list_info.upload_key_types

ListUserListsResponse

Response message for ListUserLists.

Поля
user_lists[]

UserList

The user lists from the specified account.

next_page_token

string

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

MatchRateRange

The match rate range of the upload or userlist.

Перечисления
MATCH_RATE_RANGE_UNKNOWN The match rate range is unknown.
MATCH_RATE_RANGE_NOT_ELIGIBLE The match rate range is not eligible.
MATCH_RATE_RANGE_LESS_THAN_20 The match rate range is less than 20% (in the interval [0, 20) ).
MATCH_RATE_RANGE_20_TO_30 The match rate range is between 20% and 30% (in the interval [20, 31) ).
MATCH_RATE_RANGE_31_TO_40 The match rate range is between 31% and 40% (in the interval [31, 41) ).
MATCH_RATE_RANGE_41_TO_50 The match rate range is between 41% and 50% (in the interval [41, 51) ).
MATCH_RATE_RANGE_51_TO_60 The match rate range is between 51% and 60% (in the interval [51, 61) .
MATCH_RATE_RANGE_61_TO_70 The match rate range is between 61% and 70% (in the interval [61, 71) ).
MATCH_RATE_RANGE_71_TO_80 The match rate range is between 71% and 80% (in the interval [71, 81) ).
MATCH_RATE_RANGE_81_TO_90 The match rate range is between 81% and 90% (in the interval [81, 91) ).
MATCH_RATE_RANGE_91_TO_100

The match rate range is between 91% and 100% (in the interval [91, 100] ).

MobileData

Mobile IDs for the audience. At least one mobile ID is required.

Поля
mobile_ids[]

string

Required. The list of mobile device IDs (advertising ID/IDFA). At most 10 mobileIds can be provided in a single AudienceMember .

MobileIdInfo

Additional information when MOBILE_ID is one of the upload_key_types .

Поля
data_source_type

DataSourceType

Optional. Immutable. Source of the upload data.

key_space

KeySpace

Required. Immutable. The key space of mobile IDs.

app_id

string

Required. Immutable. A string that uniquely identifies a mobile application from which the data was collected.

Пространство клавиш

Key space for mobile ID.

Перечисления
KEY_SPACE_UNSPECIFIED Не указан.
IOS The iOS keyspace.
ANDROID The Android keyspace.

PairData

PAIR IDs for the audience. At least one PAIR ID is required.

This feature is only available to data partners.

Поля
pair_ids[]

string

Required. Cleanroom-provided PII data, hashed with SHA256, and encrypted with an EC commutative cipher using publisher key for the PAIR user list. At most 10 pairIds can be provided in a single AudienceMember .

PairIdInfo

Additional information when PAIR_ID is one of the upload_key_types .

This feature is only available to data partners.

Поля
publisher_id

int64

Required. Immutable. Identifies the publisher that the Publisher Advertiser Identity Reconciliation user list is reconciled with. This field is provided by the cleanroom provider and is only unique in the scope of that cleanroom. This cannot be used as a global identifier across multiple cleanrooms.

publisher_name

string

Required. Descriptive name of the publisher to be displayed in the UI for a better targeting experience.

match_rate_percentage

int32

Required. This field denotes the percentage of membership match of this user list with the corresponding publisher's first party data. Must be between 0 and 100 inclusive.

advertiser_identifier_count

int64

Optional. The count of the advertiser's first party data records that have been uploaded to a clean room provider. This does not signify the size of a PAIR user list.

clean_room_identifier

string

Required. Immutable. Identifies a unique advertiser to publisher relationship with one clean room provider or across multiple clean room providers.

PartnerAudienceInfo

Additional information for partner audiences.

This feature is only available to data partners.

Поля
partner_audience_source

PartnerAudienceSource

Required. Immutable. The source of the partner audience.

commerce_partner

string

Optional. The commerce partner name. Only allowed if partner_audience_source is COMMERCE_AUDIENCE .

PartnerAudienceSource

Partner audience source.

Перечисления
PARTNER_AUDIENCE_SOURCE_UNSPECIFIED Не указан.
COMMERCE_AUDIENCE Partner Audience source is commerce audience.
LINEAR_TV_AUDIENCE Partner Audience source is linear TV audience.
AGENCY_PROVIDER_AUDIENCE Partner Audience source is agency/provider audience.

PpidData

Publisher provided identifiers data holding the ppids. At least one ppid is required.

This feature is only available to data partners.

Поля
ppids[]

string

Required. The list of publisher provided identifiers for a user.

ProcessingErrorReason

The processing error reason.

Перечисления
PROCESSING_ERROR_REASON_UNSPECIFIED The processing error reason is unknown.
PROCESSING_ERROR_REASON_INVALID_CUSTOM_VARIABLE The custom variable is invalid.
PROCESSING_ERROR_REASON_CUSTOM_VARIABLE_NOT_ENABLED The status of the custom variable is not enabled.
PROCESSING_ERROR_REASON_EVENT_TOO_OLD The conversion is older than max supported age.
PROCESSING_ERROR_REASON_DUPLICATE_GCLID A conversion with the same GCLID and conversion time already exists in the system.
PROCESSING_ERROR_REASON_DUPLICATE_TRANSACTION_ID A conversion with the same order id and conversion action combination was already uploaded.
PROCESSING_ERROR_REASON_INVALID_GBRAID The gbraid could not be decoded.
PROCESSING_ERROR_REASON_INVALID_GCLID The google click ID could not be decoded.
PROCESSING_ERROR_REASON_INVALID_MERCHANT_ID Merchant id contains non-digit characters.
PROCESSING_ERROR_REASON_INVALID_WBRAID The wbraid could not be decoded.
PROCESSING_ERROR_REASON_INTERNAL_ERROR Внутренняя ошибка.
PROCESSING_ERROR_REASON_DESTINATION_ACCOUNT_ENHANCED_CONVERSIONS_TERMS_NOT_SIGNED Enhanced conversions terms are not signed in the destination account.
PROCESSING_ERROR_REASON_INVALID_EVENT The event is invalid.
PROCESSING_ERROR_REASON_INSUFFICIENT_MATCHED_TRANSACTIONS The matched transactions are less than the minimum threshold.
PROCESSING_ERROR_REASON_INSUFFICIENT_TRANSACTIONS The transactions are less than the minimum threshold.
PROCESSING_ERROR_REASON_INVALID_FORMAT The event has format error.
PROCESSING_ERROR_REASON_DECRYPTION_ERROR The event has a decryption error.
PROCESSING_ERROR_REASON_DEK_DECRYPTION_ERROR The DEK failed to be decrypted.
PROCESSING_ERROR_REASON_INVALID_WIP The WIP is formatted incorrectly or the WIP does not exist.
PROCESSING_ERROR_REASON_INVALID_KEK The KEK cannot decrypt data because it is the wrong KEK, or it does not exist.
PROCESSING_ERROR_REASON_WIP_AUTH_FAILED The WIP could not be used because it was rejected by its attestation condition.
PROCESSING_ERROR_REASON_KEK_PERMISSION_DENIED The system did not have the permissions needed to access the KEK.
PROCESSING_ERROR_REASON_AWS_AUTH_FAILED The system failed to authenticate with AWS.
PROCESSING_ERROR_REASON_USER_IDENTIFIER_DECRYPTION_ERROR Failed to decrypt the UserIdentifier data using the DEK.
PROCESSING_ERROR_OPERATING_ACCOUNT_MISMATCH_FOR_AD_IDENTIFIER The user attempted to ingest events with an ad identifier that isn't from the operating account's ads.

ProcessingWarningReason

The processing warning reason.

Перечисления
PROCESSING_WARNING_REASON_UNSPECIFIED The processing warning reason is unknown.
PROCESSING_WARNING_REASON_KEK_PERMISSION_DENIED The system did not have the permissions needed to access the KEK.
PROCESSING_WARNING_REASON_DEK_DECRYPTION_ERROR The DEK failed to be decrypted.
PROCESSING_WARNING_REASON_DECRYPTION_ERROR The event has a decryption error.
PROCESSING_WARNING_REASON_WIP_AUTH_FAILED The WIP could not be used because it was rejected by its attestation condition.
PROCESSING_WARNING_REASON_INVALID_WIP The WIP is formatted incorrectly or the WIP does not exist.
PROCESSING_WARNING_REASON_INVALID_KEK The KEK cannot decrypt data because it is the wrong KEK, or it does not exist.
PROCESSING_WARNING_REASON_USER_IDENTIFIER_DECRYPTION_ERROR Failed to decrypt th UserIdentifier data using the DEK.
PROCESSING_WARNING_REASON_INTERNAL_ERROR Внутренняя ошибка.
PROCESSING_WARNING_REASON_AWS_AUTH_FAILED The system failed to authenticate with AWS.

Продукт

Deprecated. Use AccountType instead. Represents a specific Google product.

Перечисления
PRODUCT_UNSPECIFIED Unspecified product. Should never be used.
GOOGLE_ADS Реклама Google.
DISPLAY_VIDEO_PARTNER Display & Video 360 partner.
DISPLAY_VIDEO_ADVERTISER Display & Video 360 advertiser.
DATA_PARTNER Data Partner.

ProductAccount

Represents a specific account.

Поля
product
(deprecated)

Product

Deprecated. Use account_type instead.

account_id

string

Required. The ID of the account. For example, your Google Ads account ID.

account_type

AccountType

Optional. The type of the account. For example, GOOGLE_ADS . Either account_type or the deprecated product is required. If both are set, the values must match.

AccountType

Represents Google account types. Used to locate accounts and destinations.

Перечисления
ACCOUNT_TYPE_UNSPECIFIED Unspecified product. Should never be used.
GOOGLE_ADS Реклама Google.
DISPLAY_VIDEO_PARTNER Display & Video 360 partner.
DISPLAY_VIDEO_ADVERTISER Display & Video 360 advertiser.
DATA_PARTNER Data Partner.
GOOGLE_ANALYTICS_PROPERTY Google Analytics.

PseudonymousIdInfo

Additional information when PSEUDONYMOUS_ID is one of the upload_key_types .

Поля
sync_status

SyncStatus

Output only. Sync status of the user list.

billable_record_count

int64

Optional. Immutable. The number of billable records (eg uploaded or matched).

SyncStatus

Sync status of the user list.

Перечисления
SYNC_STATUS_UNSPECIFIED Не указан.
CREATED The user list has been created as a placeholder. List contents and/or metadata are still being synced. The user list is not ready for use.
READY_FOR_USE The user list is ready for use. Contents and cookies have been synced correctly.
FAILED An error has occurred syncing user list contents and/or metadata. The user list cannot be used.

RemoveAudienceMembersRequest

Request to remove users from an audience in the provided destinations. Returns a RemoveAudienceMembersResponse .

You can try this method in the REST APIs explorer:
Поля
destinations[]

Destination

Required. The list of destinations to remove the users from.

audience_members[]

AudienceMember

Required. The list of users to remove.

validate_only

bool

Optional. For testing purposes. If true , the request is validated but not executed. Only errors are returned, not results.

encoding

Encoding

Optional. Required for UserData uploads. The encoding type of the user identifiers. Applies to only the outer encoding for encrypted user identifiers. For non UserData uploads, this field is ignored.

encryption_info

EncryptionInfo

Optional. Encryption information for UserData uploads. If not set, it's assumed that uploaded identifying information is hashed but not encrypted. For non UserData uploads, this field is ignored.

RemoveAudienceMembersResponse

Response from the RemoveAudienceMembersRequest .

Поля
request_id

string

The auto-generated ID of the request.

RequestStatusPerDestination

A request status per destination.

Поля
destination

Destination

A destination within a DM API request.

request_status

RequestStatus

The request status of the destination.

error_info

ErrorInfo

An error info error containing the error reason and error counts related to the upload.

warning_info

WarningInfo

A warning info containing the warning reason and warning counts related to the upload.

Union field status . The status of the destination. status can be only one of the following:
audience_members_ingestion_status

IngestAudienceMembersStatus

The status of the ingest audience members request.

events_ingestion_status

IngestEventsStatus

The status of the ingest events request.

audience_members_removal_status

RemoveAudienceMembersStatus

The status of the remove audience members request.

IngestAudienceMembersStatus

The status of the ingest audience members request.

Поля
Union field status . The status of the audience members ingestion to the destination. status can be only one of the following:
user_data_ingestion_status

IngestUserDataStatus

The status of the user data ingestion to the destination.

mobile_data_ingestion_status

IngestMobileDataStatus

The status of the mobile data ingestion to the destination.

pair_data_ingestion_status

IngestPairDataStatus

The status of the pair data ingestion to the destination.

user_id_data_ingestion_status

IngestUserIdDataStatus

The status of the user id data ingestion to the destination.

ppid_data_ingestion_status

IngestPpidDataStatus

The status of the ppid data ingestion to the destination.

IngestEventsStatus

The status of the events ingestion to the destination.

Поля
record_count

int64

The total count of events sent in the upload request. Includes all events in the request, regardless of whether they were successfully ingested or not.

IngestMobileDataStatus

The status of the mobile data ingestion to the destination containing stats related to the ingestion.

Поля
record_count

int64

The total count of audience members sent in the upload request for the destination. Includes all audience members in the request, regardless of whether they were successfully ingested or not.

mobile_id_count

int64

The total count of mobile ids sent in the upload request for the destination. Includes all mobile ids in the request, regardless of whether they were successfully ingested or not.

IngestPairDataStatus

The status of the pair data ingestion to the destination containing stats related to the ingestion.

Поля
record_count

int64

The total count of audience members sent in the upload request for the destination. Includes all audience members in the request, regardless of whether they were successfully ingested or not.

pair_id_count

int64

The total count of pair ids sent in the upload request for the destination. Includes all pair ids in the request, regardless of whether they were successfully ingested or not.

IngestPpidDataStatus

The status of the ppid data ingestion to the destination containing stats related to the ingestion.

Поля
record_count

int64

The total count of audience members sent in the upload request for the destination. Includes all audience members in the request, regardless of whether they were successfully ingested or not.

ppid_count

int64

The total count of ppids sent in the upload request for the destination. Includes all ppids in the request, regardless of whether they were successfully ingested or not.

IngestUserDataStatus

The status of the user data ingestion to the destination containing stats related to the ingestion.

Поля
record_count

int64

The total count of audience members sent in the upload request for the destination. Includes all audience members in the request, regardless of whether they were successfully ingested or not.

user_identifier_count

int64

The total count of user identifiers sent in the upload request for the destination. Includes all user identifiers in the request, regardless of whether they were successfully ingested or not.

upload_match_rate_range

MatchRateRange

The match rate range of the upload.

IngestUserIdDataStatus

The status of the user id data ingestion to the destination containing stats related to the ingestion.

Поля
record_count

int64

The total count of audience members sent in the upload request for the destination. Includes all audience members in the request, regardless of whether they were successfully ingested or not.

user_id_count

int64

The total count of user ids sent in the upload request for the destination. Includes all user ids in the request, regardless of whether they were successfully ingested or not.

RemoveAudienceMembersStatus

The status of the remove audience members request.

Поля
Union field status . The status of the audience members removal from the destination. status can be only one of the following:
user_data_removal_status

RemoveUserDataStatus

The status of the user data removal from the destination.

mobile_data_removal_status

RemoveMobileDataStatus

The status of the mobile data removal from the destination.

pair_data_removal_status

RemovePairDataStatus

The status of the pair data removal from the destination.

user_id_data_removal_status

RemoveUserIdDataStatus

The status of the user id data removal from the destination.

ppid_data_removal_status

RemovePpidDataStatus

The status of the ppid data removal from the destination.

RemoveMobileDataStatus

The status of the mobile data removal from the destination.

Поля
record_count

int64

The total count of audience members sent in the removal request. Includes all audience members in the request, regardless of whether they were successfully removed or not.

mobile_id_count

int64

The total count of mobile Ids sent in the removal request. Includes all mobile ids in the request, regardless of whether they were successfully removed or not.

RemovePairDataStatus

The status of the pair data removal from the destination.

Поля
record_count

int64

The total count of audience members sent in the removal request. Includes all audience members in the request, regardless of whether they were successfully removed or not.

pair_id_count

int64

The total count of pair ids sent in the removal request. Includes all pair ids in the request, regardless of whether they were successfully removed or not.

RemovePpidDataStatus

The status of the ppid data removal from the destination.

Поля
record_count

int64

The total count of audience members sent in the removal request. Includes all audience members in the request, regardless of whether they were successfully removed or not.

ppid_count

int64

The total count of ppids sent in the removal request. Includes all ppids in the request, regardless of whether they were successfully removed or not.

RemoveUserDataStatus

The status of the user data removal from the destination.

Поля
record_count

int64

The total count of audience members sent in the removal request. Includes all audience members in the request, regardless of whether they were successfully removed or not.

user_identifier_count

int64

The total count of user identifiers sent in the removal request. Includes all user identifiers in the request, regardless of whether they were successfully removed or not.

RemoveUserIdDataStatus

The status of the user id data removal from the destination.

Поля
record_count

int64

The total count of audience members sent in the removal request. Includes all audience members in the request, regardless of whether they were successfully removed or not.

user_id_count

int64

The total count of user ids sent in the removal request. Includes all user ids in the request, regardless of whether they were successfully removed or not.

RequestStatus

The request status.

Перечисления
REQUEST_STATUS_UNKNOWN The request status is unknown.
SUCCESS The request succeeded.
PROCESSING The request is processing.
FAILED Запрос не выполнен.
PARTIAL_SUCCESS The request partially succeeded.

RetrieveInsightsRequest

Request message for DM API MarketingDataInsightsService.RetrieveInsights

You can try this method in the REST APIs explorer:
Поля
parent

string

Required. The parent account that owns the user list. Format: accountTypes/{account_type}/accounts/{account}

baseline

Baseline

Required. Baseline for the insights requested.

user_list_id

string

Required. The user list ID for which insights are requested.

RetrieveInsightsResponse

Response message for DM API MarketingDataInsightsService.RetrieveInsights

Поля
marketing_data_insights[]

MarketingDataInsight

Contains the insights for the marketing data.

MarketingDataInsight

Insights for marketing data.

This feature is only available to data partners.

Поля
dimension

AudienceInsightsDimension

The dimension to which the insight belongs.

attributes[]

MarketingDataInsightsAttribute

Insights for values of a given dimension.

AudienceInsightsDimension

Possible dimensions for use in generating insights.

Перечисления
AUDIENCE_INSIGHTS_DIMENSION_UNSPECIFIED Не указан.
AUDIENCE_INSIGHTS_DIMENSION_UNKNOWN The value is unknown in this version.
AFFINITY_USER_INTEREST An Affinity UserInterest.
IN_MARKET_USER_INTEREST An In-Market UserInterest.
AGE_RANGE An age range.
GENDER A gender.

MarketingDataInsightsAttribute

Insights for a collection of related attributes of the same dimension.

Поля
user_interest_id

int64

The user interest ID.

lift

float

Measure of lift that the audience has for the attribute value as compared to the baseline. Range [0-1].

age_range

AgeRange

Age range of the audience for which the lift is provided.

gender

Gender

Gender of the audience for which the lift is provided.

RetrieveRequestStatusRequest

Request to get the status of request made to the DM API for a given request ID. Returns a RetrieveRequestStatusResponse .

You can try this method in the REST APIs explorer:
Поля
request_id

string

Required. Required. The request ID of the Data Manager API request.

RetrieveRequestStatusResponse

Response from the RetrieveRequestStatusRequest .

Поля
request_status_per_destination[]

RequestStatusPerDestination

A list of request statuses per destination. The order of the statuses matches the order of the destinations in the original request.

SearchPartnerLinksRequest

Request to search for PartnerLink resources. Returns a SearchPartnerLinksResponse .

You can try this method in the REST APIs explorer:
Поля
parent

string

Required. Account to search for partner links. If no filter is specified, all partner links where this account is either the owning_account or partner_account are returned.

Format: accountTypes/{account_type}/accounts/{account}

page_size

int32

The maximum number of partner links to return. The service may return fewer than this value. If unspecified, at most 10 partner links will be returned. The maximum value is 100; values above 100 will be coerced to 100.

page_token

string

A page token, received from a previous SearchPartnerLinks call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to SearchPartnerLinks must match the call that provided the page token.

filter

string

Optional. A filter string . All fields need to be on the left hand side of each condition (for example: partner_link_id = 123456789 ). Fields must be specified using either all camel case or all snake case . Don't use a combination of camel case and snake case.

Поддерживаемые операции:

  • AND
  • =
  • !=

Supported fields:

  • partner_link_id
  • owning_account.account_type
  • owning_account.account_id
  • partner_account.account_type
  • partner_account.account_id

Example: owning_account.account_type = "GOOGLE_ADS" AND partner_account.account_id = 987654321

SearchPartnerLinksResponse

Response from the SearchPartnerLinksRequest .

Поля
next_page_token

string

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

SizeInfo

Estimated number of members in this user list in different target networks.

Поля
display_network_members_count

int64

Output only. Estimated number of members in this user list, on the Google Display Network.

search_network_members_count

int64

Output only. Estimated number of members in this user list in the google.com domain. These are the members available for targeting in Search campaigns.

TargetNetworkInfo

Eligibility information for different target networks.

Поля
eligible_for_display

bool

Output only. Indicates this user list is eligible for Google Display Network.

TermsOfService

The terms of service that the user has accepted/rejected.

Поля
customer_match_terms_of_service_status

TermsOfServiceStatus

Optional. The Customer Match terms of service: https://support.google.com/adspolicy/answer/6299717 . This must be accepted when ingesting UserData or MobileData . This field is not required for Partner Match User list.

TermsOfServiceStatus

Represents the caller's decision to accept or reject the terms of service.

Перечисления
TERMS_OF_SERVICE_STATUS_UNSPECIFIED Не указан.
ACCEPTED Status indicating the caller has chosen to accept the terms of service.
REJECTED Status indicating the caller has chosen to reject the terms of service.

UpdateUserListDirectLicenseRequest

Request to update a UserListDirectLicense resource.

You can try this method in the REST APIs explorer:
Поля
user_list_direct_license

UserListDirectLicense

Required. The licenses' name field is used to identify the license to update.

update_mask

FieldMask

Optional. The list of fields to update. The special character * is not supported and an INVALID_UPDATE_MASK error will be thrown if used.

UpdateUserListGlobalLicenseRequest

Request to update a UserListGlobalLicense resource.

You can try this method in the REST APIs explorer:
Поля
user_list_global_license

UserListGlobalLicense

Required. The licenses' name field is used to identify the license to update.

update_mask

FieldMask

Optional. The list of fields to update. The special character * is not supported and an INVALID_UPDATE_MASK error will be thrown if used.

UpdateUserListRequest

Request message for UpdateUserList.

You can try this method in the REST APIs explorer:
Поля
user_list

UserList

Required. The user list to update.

The user list's name field is used to identify the user list to update. Format: accountTypes/{account_type}/accounts/{account}/userLists/{user_list}

update_mask

FieldMask

Необязательный параметр. Список полей для обновления.

validate_only

bool

Optional. If true, the request is validated but not executed.

Пользовательские данные

Data that identifies the user. At least one identifier is required.

Поля
user_identifiers[]

UserIdentifier

Required. The identifiers for the user. It's possible to provide multiple instances of the same type of data (for example, multiple email addresses). To increase the likelihood of a match, provide as many identifiers as possible. At most 10 userIdentifiers can be provided in a single AudienceMember or Event .

UserIdData

User id data holding the user id.

Поля
user_id

string

Required. A unique identifier for a user, as defined by the advertiser.

UserIdInfo

Additional information when USER_ID is one of the upload_key_types .

Поля
data_source_type

DataSourceType

Optional. Immutable. Source of the upload data.

Идентификатор пользователя

A single identifier for the user.

Поля
Union field identifier . Exactly one must be specified. identifier can be only one of the following:
email_address

string

Hashed email address using SHA-256 hash function after normalization.

phone_number

string

Hashed phone number using SHA-256 hash function after normalization (E164 standard).

address

AddressInfo

The known components of a user's address. Holds a grouping of identifiers that are matched all at once.

Список пользователей

A user list resource.

Поля
name

string

Identifier. The resource name of the user list. Format: accountTypes/{account_type}/accounts/{account}/userLists/{user_list}

id

int64

Output only. The unique ID of the user list.

read_only

bool

Output only. An option that indicates if a user may edit a list.

membership_duration

Duration

Optional. The duration a user remains in the user list. Valid durations are exact multiples of 24 hours (86400 seconds). Providing a value that is not an exact multiple of 24 hours will result in an INVALID_ARGUMENT error.

access_reason

AccessReason

Output only. The reason this account has been granted access to the list.

size_info

SizeInfo

Output only. Estimated number of members in this user list in different target networks.

target_network_info

TargetNetworkInfo

Optional. Eligibility information for different target networks.

display_name

string

Required. The display name of the user list.

description

string

Optional. A description of the user list.

membership_status

MembershipStatus

Optional. Membership status of this user list.

integration_code

string

Optional. An ID from external system. It is used by user list sellers to correlate IDs on their systems.

closing_reason

ClosingReason

Output only. The reason why this user list membership status is closed.

account_access_status

AccessStatus

Optional. Indicates if this share is still enabled. When a user list is shared with the account this field is set to ENABLED . Later the user list owner can decide to revoke the share and make it DISABLED .

Union field user_list_info . Additional information about the user list. user_list_info can be only one of the following:
ingested_user_list_info

IngestedUserListInfo

Optional. Represents a user list that is populated by user ingested data.

AccessReason

Enum describing possible access reasons.

Перечисления
ACCESS_REASON_UNSPECIFIED Не указан.
OWNED The resource is owned by the user.
SHARED The resource is shared to the user.
LICENSED The resource is licensed to the user.
SUBSCRIBED The user subscribed to the resource.
AFFILIATED The resource is accessible to the user.

AccessStatus

Indicates if this client still has access to the list.

Перечисления
ACCESS_STATUS_UNSPECIFIED Не указан.
ENABLED The access is enabled.
DISABLED The access is disabled.

ClosingReason

Indicates the reason why the user list was closed. This enum is only used when a list is auto-closed by the system.

Перечисления
CLOSING_REASON_UNSPECIFIED Не указан.
UNUSED The user list was closed because it has not been used in targeting recently. See https://support.google.com/google-ads/answer/2472738 for details.

MembershipStatus

Status of the user list.

Перечисления
MEMBERSHIP_STATUS_UNSPECIFIED Не указан.
OPEN Open status - User list is accruing members and can be targeted to.
CLOSED Closed status - No new members being added.

UserListDirectLicense

A user list direct license.

This feature is only available to data partners.

Поля
name

string

Identifier. The resource name of the user list direct license.

user_list_display_name

string

Output only. Name of the user list being licensed.

Это поле доступно только для чтения.

client_account_display_name

string

Output only. Name of client customer which the user list is being licensed to.

Это поле доступно только для чтения.

pricing

UserListLicensePricing

Optional. UserListDirectLicense pricing.

historical_pricings[]

UserListLicensePricing

Output only. Pricing history of this user list license.

Это поле доступно только для чтения.

metrics

UserListLicenseMetrics

Output only. Metrics related to this license

This field is read-only and only populated if the start and end dates are set in the ListUserListDirectLicenses call

user_list_id

int64

Immutable. ID of the user list being licensed.

client_account_type

UserListLicenseClientAccountType

Immutable. Account type of client customer which the user list is being licensed to.

client_account_id

int64

Immutable. ID of client customer which the user list is being licensed to.

status

UserListLicenseStatus

Optional. Status of UserListDirectLicense - ENABLED or DISABLED.

UserListGlobalLicense

A user list global license.

This feature is only available to data partners.

Поля
name

string

Identifier. The resource name of the user list global license.

user_list_display_name

string

Output only. Name of the user list being licensed.

Это поле доступно только для чтения.

pricing

UserListLicensePricing

Optional. UserListGlobalLicense pricing.

historical_pricings[]

UserListLicensePricing

Output only. Pricing history of this user list license.

Это поле доступно только для чтения.

metrics

UserListLicenseMetrics

Output only. Metrics related to this license

This field is read-only and only populated if the start and end dates are set in the ListUserListGlobalLicenses call

user_list_id

int64

Immutable. ID of the user list being licensed.

license_type

UserListGlobalLicenseType

Immutable. Product type of client customer which the user list is being licensed to.

status

UserListLicenseStatus

Optional. Status of UserListGlobalLicense - ENABLED or DISABLED.

UserListGlobalLicenseCustomerInfo

Information about a customer of a user list global license. This will automatically be created by the system when a customer purchases a global license.

Поля
name

string

Identifier. The resource name of the user list global license customer.

user_list_id

int64

Output only. ID of the user list being licensed.

user_list_display_name

string

Output only. Name of the user list being licensed.

license_type

UserListGlobalLicenseType

Output only. Product type of client customer which the user list is being licensed to.

status

UserListLicenseStatus

Output only. Status of UserListDirectLicense - ENABLED or DISABLED.

pricing

UserListLicensePricing

Output only. UserListDirectLicense pricing.

client_account_type

UserListLicenseClientAccountType

Output only. Product type of client customer which the user list is being licensed to.

client_account_id

int64

Output only. ID of client customer which the user list is being licensed to.

client_account_display_name

string

Output only. Name of client customer which the user list is being licensed to.

historical_pricings[]

UserListLicensePricing

Output only. Pricing history of this user list license.

metrics

UserListLicenseMetrics

Output only. Metrics related to this license

This field is only populated if the start and end dates are set in the ListUserListGlobalLicenseCustomerInfos call.

UserListGlobalLicenseType

User list global license types.

Перечисления
USER_LIST_GLOBAL_LICENSE_TYPE_UNSPECIFIED UNSPECIFIED.
USER_LIST_GLOBAL_LICENSE_TYPE_RESELLER Reseller license.
USER_LIST_GLOBAL_LICENSE_TYPE_DATA_MART_SELL_SIDE DataMart Sell Side license.
USER_LIST_GLOBAL_LICENSE_TYPE_DATA_MART_BUY_SIDE DataMart Buy Side license.

UserListLicenseClientAccountType

Possible product of a client account for a user list license.

Перечисления
USER_LIST_LICENSE_CLIENT_ACCOUNT_TYPE_UNKNOWN Неизвестный.
USER_LIST_LICENSE_CLIENT_ACCOUNT_TYPE_GOOGLE_ADS Google Ads customer.
USER_LIST_LICENSE_CLIENT_ACCOUNT_TYPE_DISPLAY_VIDEO_PARTNER Display & Video 360 partner.
USER_LIST_LICENSE_CLIENT_ACCOUNT_TYPE_DISPLAY_VIDEO_ADVERTISER Display & Video 360 advertiser.

UserListLicenseMetrics

Metrics related to a user list license.

Поля
click_count

int64

Output only. The number of clicks for the user list license.

impression_count

int64

Output only. The number of impressions for the user list license.

revenue_usd_micros

int64

Output only. The revenue for the user list license in USD micros.

start_date

int64

Output only. The start date (inclusive) of the metrics in the format YYYYMMDD. For example, 20260102 represents January 2, 2026. If end_date is used in the filter, start_date is also required. If neither start_date nor end_date are included in the filter, the UserListLicenseMetrics fields will not be populated in the response.

end_date

int64

Output only. The end date (inclusive) of the metrics in the format YYYYMMDD. For example, 20260102 represents January 2, 2026. If start_date is used in the filter, end_date is also required. If neither start_date nor end_date are included in the filter, the UserListLicenseMetrics fields will not be populated in the response.

UserListLicensePricing

A user list license pricing.

Поля
pricing_id

int64

Output only. The ID of this pricing.

start_time

Timestamp

Output only. Start time of the pricing.

end_time

Timestamp

Optional. End time of the pricing.

pricing_active

bool

Output only. Whether this pricing is active.

buyer_approval_state

UserListPricingBuyerApprovalState

Output only. The buyer approval state of this pricing.

Это поле доступно только для чтения.

cost_micros

int64

Optional. The cost associated with the model, in micro units (10^-6), in the currency specified by the currency_code field. For example, 2000000 means $2 if currency_code is USD .

currency_code

string

Optional. The currency in which cost and max_cost is specified. Must be a three-letter currency code defined in ISO 4217.

cost_type

UserListPricingCostType

Immutable. The cost type of this pricing.

Can be set only in the create operation. Can't be updated for an existing license.

max_cost_micros

int64

Optional. The maximum CPM a commerce audience can be charged when the MEDIA_SHARE cost type is used. The value is in micro units (10^-6) and in the currency specified by the currency_code field. For example, 2000000 means $2 if currency_code is USD .

This is only relevant when cost_type is MEDIA_SHARE. When cost_type is not MEDIA_SHARE, and this field is set, a MAX_COST_NOT_ALLOWED error will be returned. If not set or set to 0 , there is no cap.

UserListPricingBuyerApprovalState

User list pricing buyer approval state.

Перечисления
USER_LIST_PRICING_BUYER_APPROVAL_STATE_UNSPECIFIED UNSPECIFIED.
PENDING User list client has not yet accepted the pricing terms set by the user list owner.
APPROVED User list client has accepted the pricing terms set by the user list owner.
REJECTED User list client has rejected the pricing terms set by the user list owner.

UserListPricingCostType

User list pricing cost type.

Перечисления
USER_LIST_PRICING_COST_TYPE_UNSPECIFIED Не указано.
CPC Cost per click.
CPM Cost per mille (thousand impressions).
MEDIA_SHARE Media share.

UserListLicenseStatus

User list license status.

Перечисления
USER_LIST_LICENSE_STATUS_UNSPECIFIED Неизвестный.
USER_LIST_LICENSE_STATUS_ENABLED Active status - user list is still being licensed.
USER_LIST_LICENSE_STATUS_DISABLED Inactive status - user list is no longer being licensed.

Пользовательские свойства

Advertiser-assessed information about the user at the time that the event happened. See https://support.google.com/google-ads/answer/14007601 for more details.

Поля
customer_type

CustomerType

Optional. Type of the customer associated with the event.

customer_value_bucket

CustomerValueBucket

Optional. The advertiser-assessed value of the customer.

additional_user_properties[]

UserProperty

Optional. A bucket of any additional user properties for the user associated with this event.

UserProperty

A bucket of any additional user properties for the user associated with this event.

Поля
property_name

string

Required. The name of the user property to use.

value

string

Required. The string representation of the value of the user property to use.

WarningCount

The warning count for a given warning reason.

Поля
record_count

int64

The count of records that have a warning.

reason

ProcessingWarningReason

The warning reason.

WarningInfo

Warning counts for each type of warning.

Поля
warning_counts[]

WarningCount

A list of warnings and counts per warning reason.