google-apis-dfareporting_v4 0.8.0 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6e1140c6888e494bc69e53718b31810bcb32341e906dbe4fa1b225829db629fe
|
4
|
+
data.tar.gz: 126a817ba118b4e46d948b7d6779c7ec953a2dddb5386f4b9f51450d42d3ea6b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f6f71f8a8bab94ccec0ff7101e35d00fb8ae7c01a39e6d0d972060042e587d6257adf0b7e9153c1f6d11787235e40925b716205df40cae149303fb689b54b8c
|
7
|
+
data.tar.gz: bcdf7311f79ad9d82cb39bd15990b0b6ed907ea9cc1e904987c4fb5b348d7fc080c993cfc6c115701d0e5d27e6a3b2834b78a14e44ee8f45a2a0c87e0df55e36
|
data/CHANGELOG.md
CHANGED
@@ -2887,6 +2887,12 @@ module Google
|
|
2887
2887
|
attr_accessor :treatment_for_underage
|
2888
2888
|
alias_method :treatment_for_underage?, :treatment_for_underage
|
2889
2889
|
|
2890
|
+
# The user identifiers to enhance the conversion. The maximum number of user
|
2891
|
+
# identifiers for each conversion is 5.
|
2892
|
+
# Corresponds to the JSON property `userIdentifiers`
|
2893
|
+
# @return [Array<Google::Apis::DfareportingV4::UserIdentifier>]
|
2894
|
+
attr_accessor :user_identifiers
|
2895
|
+
|
2890
2896
|
# The value of the conversion.
|
2891
2897
|
# Corresponds to the JSON property `value`
|
2892
2898
|
# @return [Float]
|
@@ -2916,6 +2922,7 @@ module Google
|
|
2916
2922
|
@quantity = args[:quantity] if args.key?(:quantity)
|
2917
2923
|
@timestamp_micros = args[:timestamp_micros] if args.key?(:timestamp_micros)
|
2918
2924
|
@treatment_for_underage = args[:treatment_for_underage] if args.key?(:treatment_for_underage)
|
2925
|
+
@user_identifiers = args[:user_identifiers] if args.key?(:user_identifiers)
|
2919
2926
|
@value = args[:value] if args.key?(:value)
|
2920
2927
|
end
|
2921
2928
|
end
|
@@ -8202,6 +8209,64 @@ module Google
|
|
8202
8209
|
end
|
8203
8210
|
end
|
8204
8211
|
|
8212
|
+
# Identify a user by name and address.
|
8213
|
+
class OfflineUserAddressInfo
|
8214
|
+
include Google::Apis::Core::Hashable
|
8215
|
+
|
8216
|
+
# City of the address.
|
8217
|
+
# Corresponds to the JSON property `city`
|
8218
|
+
# @return [String]
|
8219
|
+
attr_accessor :city
|
8220
|
+
|
8221
|
+
# 2-letter country code in ISO-3166-1 alpha-2 of the user's address.
|
8222
|
+
# Corresponds to the JSON property `countryCode`
|
8223
|
+
# @return [String]
|
8224
|
+
attr_accessor :country_code
|
8225
|
+
|
8226
|
+
# First name of the user, which is hashed as SHA-256 after normalized (Lowercase
|
8227
|
+
# all characters; Remove any extra spaces before, after, and in between).
|
8228
|
+
# Corresponds to the JSON property `hashedFirstName`
|
8229
|
+
# @return [String]
|
8230
|
+
attr_accessor :hashed_first_name
|
8231
|
+
|
8232
|
+
# Last name of the user, which is hashed as SHA-256 after normalized (lower case
|
8233
|
+
# only and no punctuation).
|
8234
|
+
# Corresponds to the JSON property `hashedLastName`
|
8235
|
+
# @return [String]
|
8236
|
+
attr_accessor :hashed_last_name
|
8237
|
+
|
8238
|
+
# The street address of the user hashed using SHA-256 hash function after
|
8239
|
+
# normalization (lower case only).
|
8240
|
+
# Corresponds to the JSON property `hashedStreetAddress`
|
8241
|
+
# @return [String]
|
8242
|
+
attr_accessor :hashed_street_address
|
8243
|
+
|
8244
|
+
# Postal code of the user's address.
|
8245
|
+
# Corresponds to the JSON property `postalCode`
|
8246
|
+
# @return [String]
|
8247
|
+
attr_accessor :postal_code
|
8248
|
+
|
8249
|
+
# State code of the address.
|
8250
|
+
# Corresponds to the JSON property `state`
|
8251
|
+
# @return [String]
|
8252
|
+
attr_accessor :state
|
8253
|
+
|
8254
|
+
def initialize(**args)
|
8255
|
+
update!(**args)
|
8256
|
+
end
|
8257
|
+
|
8258
|
+
# Update properties of this object
|
8259
|
+
def update!(**args)
|
8260
|
+
@city = args[:city] if args.key?(:city)
|
8261
|
+
@country_code = args[:country_code] if args.key?(:country_code)
|
8262
|
+
@hashed_first_name = args[:hashed_first_name] if args.key?(:hashed_first_name)
|
8263
|
+
@hashed_last_name = args[:hashed_last_name] if args.key?(:hashed_last_name)
|
8264
|
+
@hashed_street_address = args[:hashed_street_address] if args.key?(:hashed_street_address)
|
8265
|
+
@postal_code = args[:postal_code] if args.key?(:postal_code)
|
8266
|
+
@state = args[:state] if args.key?(:state)
|
8267
|
+
end
|
8268
|
+
end
|
8269
|
+
|
8205
8270
|
# Offset Position.
|
8206
8271
|
class OffsetPosition
|
8207
8272
|
include Google::Apis::Core::Hashable
|
@@ -12842,6 +12907,38 @@ module Google
|
|
12842
12907
|
end
|
12843
12908
|
end
|
12844
12909
|
|
12910
|
+
# User identifying information. Exactly one type of identifier must be specified.
|
12911
|
+
class UserIdentifier
|
12912
|
+
include Google::Apis::Core::Hashable
|
12913
|
+
|
12914
|
+
# Identify a user by name and address.
|
12915
|
+
# Corresponds to the JSON property `addressInfo`
|
12916
|
+
# @return [Google::Apis::DfareportingV4::OfflineUserAddressInfo]
|
12917
|
+
attr_accessor :address_info
|
12918
|
+
|
12919
|
+
# Hashed email address using SHA-256 hash function after normalization.
|
12920
|
+
# Corresponds to the JSON property `hashedEmail`
|
12921
|
+
# @return [String]
|
12922
|
+
attr_accessor :hashed_email
|
12923
|
+
|
12924
|
+
# Hashed phone number using SHA-256 hash function after normalization (E164
|
12925
|
+
# standard).
|
12926
|
+
# Corresponds to the JSON property `hashedPhoneNumber`
|
12927
|
+
# @return [String]
|
12928
|
+
attr_accessor :hashed_phone_number
|
12929
|
+
|
12930
|
+
def initialize(**args)
|
12931
|
+
update!(**args)
|
12932
|
+
end
|
12933
|
+
|
12934
|
+
# Update properties of this object
|
12935
|
+
def update!(**args)
|
12936
|
+
@address_info = args[:address_info] if args.key?(:address_info)
|
12937
|
+
@hashed_email = args[:hashed_email] if args.key?(:hashed_email)
|
12938
|
+
@hashed_phone_number = args[:hashed_phone_number] if args.key?(:hashed_phone_number)
|
12939
|
+
end
|
12940
|
+
end
|
12941
|
+
|
12845
12942
|
# A UserProfile resource lets you list all DFA user profiles that are associated
|
12846
12943
|
# with a Google user account. The profile_id needs to be specified in other API
|
12847
12944
|
# requests.
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DfareportingV4
|
18
18
|
# Version of the google-apis-dfareporting_v4 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.9.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230425"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -922,6 +922,12 @@ module Google
|
|
922
922
|
include Google::Apis::Core::JsonObjectSupport
|
923
923
|
end
|
924
924
|
|
925
|
+
class OfflineUserAddressInfo
|
926
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
927
|
+
|
928
|
+
include Google::Apis::Core::JsonObjectSupport
|
929
|
+
end
|
930
|
+
|
925
931
|
class OffsetPosition
|
926
932
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
927
933
|
|
@@ -1444,6 +1450,12 @@ module Google
|
|
1444
1450
|
include Google::Apis::Core::JsonObjectSupport
|
1445
1451
|
end
|
1446
1452
|
|
1453
|
+
class UserIdentifier
|
1454
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1455
|
+
|
1456
|
+
include Google::Apis::Core::JsonObjectSupport
|
1457
|
+
end
|
1458
|
+
|
1447
1459
|
class UserProfile
|
1448
1460
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1449
1461
|
|
@@ -2242,6 +2254,8 @@ module Google
|
|
2242
2254
|
property :quantity, :numeric_string => true, as: 'quantity'
|
2243
2255
|
property :timestamp_micros, :numeric_string => true, as: 'timestampMicros'
|
2244
2256
|
property :treatment_for_underage, as: 'treatmentForUnderage'
|
2257
|
+
collection :user_identifiers, as: 'userIdentifiers', class: Google::Apis::DfareportingV4::UserIdentifier, decorator: Google::Apis::DfareportingV4::UserIdentifier::Representation
|
2258
|
+
|
2245
2259
|
property :value, as: 'value'
|
2246
2260
|
end
|
2247
2261
|
end
|
@@ -3533,6 +3547,19 @@ module Google
|
|
3533
3547
|
end
|
3534
3548
|
end
|
3535
3549
|
|
3550
|
+
class OfflineUserAddressInfo
|
3551
|
+
# @private
|
3552
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3553
|
+
property :city, as: 'city'
|
3554
|
+
property :country_code, as: 'countryCode'
|
3555
|
+
property :hashed_first_name, as: 'hashedFirstName'
|
3556
|
+
property :hashed_last_name, as: 'hashedLastName'
|
3557
|
+
property :hashed_street_address, as: 'hashedStreetAddress'
|
3558
|
+
property :postal_code, as: 'postalCode'
|
3559
|
+
property :state, as: 'state'
|
3560
|
+
end
|
3561
|
+
end
|
3562
|
+
|
3536
3563
|
class OffsetPosition
|
3537
3564
|
# @private
|
3538
3565
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4748,6 +4775,16 @@ module Google
|
|
4748
4775
|
end
|
4749
4776
|
end
|
4750
4777
|
|
4778
|
+
class UserIdentifier
|
4779
|
+
# @private
|
4780
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4781
|
+
property :address_info, as: 'addressInfo', class: Google::Apis::DfareportingV4::OfflineUserAddressInfo, decorator: Google::Apis::DfareportingV4::OfflineUserAddressInfo::Representation
|
4782
|
+
|
4783
|
+
property :hashed_email, as: 'hashedEmail'
|
4784
|
+
property :hashed_phone_number, as: 'hashedPhoneNumber'
|
4785
|
+
end
|
4786
|
+
end
|
4787
|
+
|
4751
4788
|
class UserProfile
|
4752
4789
|
# @private
|
4753
4790
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-dfareporting_v4
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-04-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dfareporting_v4/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dfareporting_v4/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dfareporting_v4/v0.9.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dfareporting_v4
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|