Skip to content

Commit 9e775e3

Browse files
authored
Update UploadEnhancedConversionsForLeads.java
Add comment specifying that session attributes is only available by allowlist.
1 parent f799804 commit 9e775e3

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

google-ads-examples/src/main/java/com/google/ads/googleads/examples/remarketing/UploadEnhancedConversionsForLeads.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,8 @@ private void runExample(
308308

309309
// [START add_session_attributes]
310310
// Sets one of the sessionAttributesEncoded or sessionAttributesKeyValuePairs if either is
311-
// provided.
311+
// provided. The session attribute fields are only available to allowlisted users.
312+
// To include these fields in conversion imports, upgrade to the Data Manager API.
312313
if (rawRecord.containsKey("sessionAttributesEncoded")) {
313314
clickConversionBuilder.setSessionAttributesEncoded(
314315
ByteString.copyFromUtf8(rawRecord.get("sessionAttributesEncoded")));

0 commit comments

Comments
 (0)