From 7f80a191e9e33a7994b2991592389a0b6170f24e Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Wed, 24 May 2023 18:27:06 +0000 Subject: [PATCH] feat(dfareporting): update the api #### dfareporting:v4 The following keys were added: - schemas.Conversion.properties.userIdentifiers (Total Keys: 2) - schemas.OfflineUserAddressInfo (Total Keys: 9) - schemas.UserIdentifier (Total Keys: 4) --- docs/dyn/dfareporting_v4.conversions.html | 60 ++++++++++++++++++ .../documents/dfareporting.v3.5.json | 2 +- .../documents/dfareporting.v4.json | 63 ++++++++++++++++++- 3 files changed, 123 insertions(+), 2 deletions(-) diff --git a/docs/dyn/dfareporting_v4.conversions.html b/docs/dyn/dfareporting_v4.conversions.html index 2363edc9eb5..80313b994ce 100644 --- a/docs/dyn/dfareporting_v4.conversions.html +++ b/docs/dyn/dfareporting_v4.conversions.html @@ -122,6 +122,21 @@

Method Details

"quantity": "A String", # The quantity of the conversion. "timestampMicros": "A String", # The timestamp of conversion, in Unix epoch micros. This is a required field. "treatmentForUnderage": True or False, # Whether this particular request may come from a user under the age of 16 (may differ by country), under compliance with the European Union's General Data Protection Regulation (GDPR). + "userIdentifiers": [ # The user identifiers to enhance the conversion. The maximum number of user identifiers for each conversion is 5. + { # User identifying information. Exactly one type of identifier must be specified. + "addressInfo": { # Identify a user by name and address. # Address information. + "city": "A String", # City of the address. + "countryCode": "A String", # 2-letter country code in ISO-3166-1 alpha-2 of the user's address. + "hashedFirstName": "A String", # First name of the user, which is hashed as SHA-256 after normalized (Lowercase all characters; Remove any extra spaces before, after, and in between). + "hashedLastName": "A String", # Last name of the user, which is hashed as SHA-256 after normalized (lower case only and no punctuation). + "hashedStreetAddress": "A String", # The street address of the user hashed using SHA-256 hash function after normalization (lower case only). + "postalCode": "A String", # Postal code of the user's address. + "state": "A String", # State code of the address. + }, + "hashedEmail": "A String", # Hashed email address using SHA-256 hash function after normalization. + "hashedPhoneNumber": "A String", # Hashed phone number using SHA-256 hash function after normalization (E164 standard). + }, + ], "value": 3.14, # The value of the conversion. }, ], @@ -174,6 +189,21 @@

Method Details

"quantity": "A String", # The quantity of the conversion. "timestampMicros": "A String", # The timestamp of conversion, in Unix epoch micros. This is a required field. "treatmentForUnderage": True or False, # Whether this particular request may come from a user under the age of 16 (may differ by country), under compliance with the European Union's General Data Protection Regulation (GDPR). + "userIdentifiers": [ # The user identifiers to enhance the conversion. The maximum number of user identifiers for each conversion is 5. + { # User identifying information. Exactly one type of identifier must be specified. + "addressInfo": { # Identify a user by name and address. # Address information. + "city": "A String", # City of the address. + "countryCode": "A String", # 2-letter country code in ISO-3166-1 alpha-2 of the user's address. + "hashedFirstName": "A String", # First name of the user, which is hashed as SHA-256 after normalized (Lowercase all characters; Remove any extra spaces before, after, and in between). + "hashedLastName": "A String", # Last name of the user, which is hashed as SHA-256 after normalized (lower case only and no punctuation). + "hashedStreetAddress": "A String", # The street address of the user hashed using SHA-256 hash function after normalization (lower case only). + "postalCode": "A String", # Postal code of the user's address. + "state": "A String", # State code of the address. + }, + "hashedEmail": "A String", # Hashed email address using SHA-256 hash function after normalization. + "hashedPhoneNumber": "A String", # Hashed phone number using SHA-256 hash function after normalization (E164 standard). + }, + ], "value": 3.14, # The value of the conversion. }, "errors": [ # A list of errors related to this conversion. @@ -227,6 +257,21 @@

Method Details

"quantity": "A String", # The quantity of the conversion. "timestampMicros": "A String", # The timestamp of conversion, in Unix epoch micros. This is a required field. "treatmentForUnderage": True or False, # Whether this particular request may come from a user under the age of 16 (may differ by country), under compliance with the European Union's General Data Protection Regulation (GDPR). + "userIdentifiers": [ # The user identifiers to enhance the conversion. The maximum number of user identifiers for each conversion is 5. + { # User identifying information. Exactly one type of identifier must be specified. + "addressInfo": { # Identify a user by name and address. # Address information. + "city": "A String", # City of the address. + "countryCode": "A String", # 2-letter country code in ISO-3166-1 alpha-2 of the user's address. + "hashedFirstName": "A String", # First name of the user, which is hashed as SHA-256 after normalized (Lowercase all characters; Remove any extra spaces before, after, and in between). + "hashedLastName": "A String", # Last name of the user, which is hashed as SHA-256 after normalized (lower case only and no punctuation). + "hashedStreetAddress": "A String", # The street address of the user hashed using SHA-256 hash function after normalization (lower case only). + "postalCode": "A String", # Postal code of the user's address. + "state": "A String", # State code of the address. + }, + "hashedEmail": "A String", # Hashed email address using SHA-256 hash function after normalization. + "hashedPhoneNumber": "A String", # Hashed phone number using SHA-256 hash function after normalization (E164 standard). + }, + ], "value": 3.14, # The value of the conversion. }, ], @@ -279,6 +324,21 @@

Method Details

"quantity": "A String", # The quantity of the conversion. "timestampMicros": "A String", # The timestamp of conversion, in Unix epoch micros. This is a required field. "treatmentForUnderage": True or False, # Whether this particular request may come from a user under the age of 16 (may differ by country), under compliance with the European Union's General Data Protection Regulation (GDPR). + "userIdentifiers": [ # The user identifiers to enhance the conversion. The maximum number of user identifiers for each conversion is 5. + { # User identifying information. Exactly one type of identifier must be specified. + "addressInfo": { # Identify a user by name and address. # Address information. + "city": "A String", # City of the address. + "countryCode": "A String", # 2-letter country code in ISO-3166-1 alpha-2 of the user's address. + "hashedFirstName": "A String", # First name of the user, which is hashed as SHA-256 after normalized (Lowercase all characters; Remove any extra spaces before, after, and in between). + "hashedLastName": "A String", # Last name of the user, which is hashed as SHA-256 after normalized (lower case only and no punctuation). + "hashedStreetAddress": "A String", # The street address of the user hashed using SHA-256 hash function after normalization (lower case only). + "postalCode": "A String", # Postal code of the user's address. + "state": "A String", # State code of the address. + }, + "hashedEmail": "A String", # Hashed email address using SHA-256 hash function after normalization. + "hashedPhoneNumber": "A String", # Hashed phone number using SHA-256 hash function after normalization (E164 standard). + }, + ], "value": 3.14, # The value of the conversion. }, "errors": [ # A list of errors related to this conversion. diff --git a/googleapiclient/discovery_cache/documents/dfareporting.v3.5.json b/googleapiclient/discovery_cache/documents/dfareporting.v3.5.json index 4fb1d1bc820..883405e6ee2 100644 --- a/googleapiclient/discovery_cache/documents/dfareporting.v3.5.json +++ b/googleapiclient/discovery_cache/documents/dfareporting.v3.5.json @@ -9659,7 +9659,7 @@ } } }, - "revision": "20230417", + "revision": "20230425", "rootUrl": "https://dfareporting.googleapis.com/", "schemas": { "Account": { diff --git a/googleapiclient/discovery_cache/documents/dfareporting.v4.json b/googleapiclient/discovery_cache/documents/dfareporting.v4.json index c66776264aa..c51a7cde24b 100644 --- a/googleapiclient/discovery_cache/documents/dfareporting.v4.json +++ b/googleapiclient/discovery_cache/documents/dfareporting.v4.json @@ -10032,7 +10032,7 @@ } } }, - "revision": "20230417", + "revision": "20230425", "rootUrl": "https://dfareporting.googleapis.com/", "schemas": { "Account": { @@ -12142,6 +12142,13 @@ "description": "Whether this particular request may come from a user under the age of 16 (may differ by country), under compliance with the European Union's General Data Protection Regulation (GDPR).", "type": "boolean" }, + "userIdentifiers": { + "description": "The user identifiers to enhance the conversion. The maximum number of user identifiers for each conversion is 5.", + "items": { + "$ref": "UserIdentifier" + }, + "type": "array" + }, "value": { "description": "The value of the conversion.", "format": "double", @@ -17233,6 +17240,41 @@ }, "type": "object" }, + "OfflineUserAddressInfo": { + "description": "Identify a user by name and address.", + "id": "OfflineUserAddressInfo", + "properties": { + "city": { + "description": "City of the address.", + "type": "string" + }, + "countryCode": { + "description": "2-letter country code in ISO-3166-1 alpha-2 of the user's address.", + "type": "string" + }, + "hashedFirstName": { + "description": "First name of the user, which is hashed as SHA-256 after normalized (Lowercase all characters; Remove any extra spaces before, after, and in between).", + "type": "string" + }, + "hashedLastName": { + "description": "Last name of the user, which is hashed as SHA-256 after normalized (lower case only and no punctuation).", + "type": "string" + }, + "hashedStreetAddress": { + "description": "The street address of the user hashed using SHA-256 hash function after normalization (lower case only).", + "type": "string" + }, + "postalCode": { + "description": "Postal code of the user's address.", + "type": "string" + }, + "state": { + "description": "State code of the address.", + "type": "string" + } + }, + "type": "object" + }, "OffsetPosition": { "description": "Offset Position.", "id": "OffsetPosition", @@ -21113,6 +21155,25 @@ }, "type": "object" }, + "UserIdentifier": { + "description": "User identifying information. Exactly one type of identifier must be specified.", + "id": "UserIdentifier", + "properties": { + "addressInfo": { + "$ref": "OfflineUserAddressInfo", + "description": "Address information." + }, + "hashedEmail": { + "description": "Hashed email address using SHA-256 hash function after normalization.", + "type": "string" + }, + "hashedPhoneNumber": { + "description": "Hashed phone number using SHA-256 hash function after normalization (E164 standard).", + "type": "string" + } + }, + "type": "object" + }, "UserProfile": { "description": "A UserProfile resource lets you list all DFA user profiles that are associated with a Google user account. The profile_id needs to be specified in other API requests. ", "id": "UserProfile",