Loading...
Loading...
Provides technical specifications and implementation details for uploading audience members to Google products using the Data Manager API /v1/audienceMembers/ingest endpoint and its associated client libraries. Use this skill when the user wants to upload audience members for Customer Match, mobile device ID audiences, or any other audience use case supported by the Data Manager API. Don't use for uploading events or conversions (use the data-manager-api-event-ingestion skill).
npx skill4agent add google/skills data-manager-api-audience-ingestion.md.txtaccount_typeoperating_accountDestinationgcloud auth application-default loginhttps://www.googleapis.com/auth/datamanagerhttps://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/adwordsService Usage Consumergcloudroles/iam.serviceAccountTokenCreatorgcloud| Language | Installation Instructions |
|---|---|
| Python | |
| Java | Follow the quickstart instructions to install the Maven/Gradle dependency. |
| Node | |
| PHP | Install the |
| .NET | Install the |
VERSIONpyproject.tomlutil/package.jsonversioncomposer.jsonversionVERSION| Language | Git Clone Command |
|---|---|
| Python | |
| Java | |
| Node | |
| PHP | |
| .NET | |
data-manager-pythonpip install .requirements.txtVERSIONundefineddata-manager-java./gradlew data-manager-util:installVERSIONimplementation 'com.google.api-ads:data-manager-util:VERSION'<dependency>
<groupId>com.google.api-ads</groupId>
<artifactId>data-manager-util</artifactId>
<version>VERSION</version>
</dependency>data-manager-nodenpm installutilcd util.tgznpm packpackage.json.tgzVERSION{
"dependencies": {
"@google-ads/data-manager-util": "file:/path/to/google-ads-datamanager-util-VERSION.tgz"
}
}data-manager-phpcomposer update --prefer-distcomposer.json {
"repositories": [
{
"type": "path",
"url": "/path/to/cloned/data-manager-php"
}
],
"require": {
"googleads/data-manager-util": "@dev"
}
}ProjectReference.csproj<ProjectReference Include="\path\to\cloned\Google.Ads.DataManager.Util\src\Google.Ads.DataManager.Util.csproj" />| Language | Sample |
|---|---|
| Python | |
| Java | |
| PHP | |
| Node | |
| .NET | |
IngestionServiceClientDestinationproduct_destination_idoperating_accountlogin_accountlinked_accountIngestAudienceMembersRequestingest_audience_membersfrom google.ads.datamanager_util import Formatter
from google.ads.datamanager_util.format import Encoding
formatter: Formatter = Formatter()
processed_email: str = formatter.process_email_address(
email, Encoding.HEX
)addressUserIdentifierpostal_codefamily_namegiven_nameregion_codeproduct_destination_idConsentStatusCONSENT_GRANTEDCONSENT_DENIEDGRANTEDDENIEDUserIdentifieremail_addressphone_numberhashed_emailhashed_phone_number