diff --git a/AdsDataManager/metadata/V1/Audience.php b/AdsDataManager/metadata/V1/Audience.php index 412cc093b630..0b0441bfd9b4 100644 --- a/AdsDataManager/metadata/V1/Audience.php +++ b/AdsDataManager/metadata/V1/Audience.php @@ -17,8 +17,10 @@ public static function initOnce() { \GPBMetadata\Google\Ads\Datamanager\V1\Consent::initOnce(); \GPBMetadata\Google\Ads\Datamanager\V1\UserData::initOnce(); \GPBMetadata\Google\Api\FieldBehavior::initOnce(); + \GPBMetadata\Google\Api\FieldInfo::initOnce(); + \GPBMetadata\Google\Protobuf\Timestamp::initOnce(); $pool->internalAddGeneratedFile( - "\x0A\x99\x07\x0A(google/ads/datamanager/v1/audience.proto\x12\x19google.ads.datamanager.v1\x1A)google/ads/datamanager/v1/user_data.proto\x1A\x1Fgoogle/api/field_behavior.proto\"\xA2\x03\x0A\x0EAudienceMember\x12#\x0A\x16destination_references\x18\x01 \x03(\x09B\x03\xE0A\x01\x128\x0A\x09user_data\x18\x02 \x01(\x0B2#.google.ads.datamanager.v1.UserDataH\x00\x128\x0A\x09pair_data\x18\x04 \x01(\x0B2#.google.ads.datamanager.v1.PairDataH\x00\x12<\x0A\x0Bmobile_data\x18\x05 \x01(\x0B2%.google.ads.datamanager.v1.MobileDataH\x00\x12=\x0A\x0Cuser_id_data\x18\x06 \x01(\x0B2%.google.ads.datamanager.v1.UserIdDataH\x00\x128\x0A\x09ppid_data\x18\x07 \x01(\x0B2#.google.ads.datamanager.v1.PpidDataH\x00\x128\x0A\x07consent\x18\x03 \x01(\x0B2\".google.ads.datamanager.v1.ConsentB\x03\xE0A\x01B\x06\x0A\x04data\"!\x0A\x08PairData\x12\x15\x0A\x08pair_ids\x18\x01 \x03(\x09B\x03\xE0A\x02\"%\x0A\x0AMobileData\x12\x17\x0A\x0Amobile_ids\x18\x01 \x03(\x09B\x03\xE0A\x02\"\"\x0A\x0AUserIdData\x12\x14\x0A\x07user_id\x18\x01 \x01(\x09B\x03\xE0A\x02\"\x1E\x0A\x08PpidData\x12\x12\x0A\x05ppids\x18\x01 \x03(\x09B\x03\xE0A\x02B\xCA\x01\x0A\x1Dcom.google.ads.datamanager.v1B\x0DAudienceProtoP\x01ZAcloud.google.com/go/datamanager/apiv1/datamanagerpb;datamanagerpb\xAA\x02\x19Google.Ads.DataManager.V1\xCA\x02\x19Google\\Ads\\DataManager\\V1\xEA\x02\x1CGoogle::Ads::DataManager::V1b\x06proto3" + "\x0A\xC7\x0A\x0A(google/ads/datamanager/v1/audience.proto\x12\x19google.ads.datamanager.v1\x1A)google/ads/datamanager/v1/user_data.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x1Bgoogle/api/field_info.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xE6\x03\x0A\x0EAudienceMember\x12#\x0A\x16destination_references\x18\x01 \x03(\x09B\x03\xE0A\x01\x128\x0A\x09user_data\x18\x02 \x01(\x0B2#.google.ads.datamanager.v1.UserDataH\x00\x128\x0A\x09pair_data\x18\x04 \x01(\x0B2#.google.ads.datamanager.v1.PairDataH\x00\x12<\x0A\x0Bmobile_data\x18\x05 \x01(\x0B2%.google.ads.datamanager.v1.MobileDataH\x00\x12=\x0A\x0Cuser_id_data\x18\x06 \x01(\x0B2%.google.ads.datamanager.v1.UserIdDataH\x00\x128\x0A\x09ppid_data\x18\x07 \x01(\x0B2#.google.ads.datamanager.v1.PpidDataH\x00\x12B\x0A\x0Ecomposite_data\x18\x08 \x01(\x0B2(.google.ads.datamanager.v1.CompositeDataH\x00\x128\x0A\x07consent\x18\x03 \x01(\x0B2\".google.ads.datamanager.v1.ConsentB\x03\xE0A\x01B\x06\x0A\x04data\"!\x0A\x08PairData\x12\x15\x0A\x08pair_ids\x18\x01 \x03(\x09B\x03\xE0A\x02\"%\x0A\x0AMobileData\x12\x17\x0A\x0Amobile_ids\x18\x01 \x03(\x09B\x03\xE0A\x02\"\"\x0A\x0AUserIdData\x12\x14\x0A\x07user_id\x18\x01 \x01(\x09B\x03\xE0A\x02\"\x1E\x0A\x08PpidData\x12\x12\x0A\x05ppids\x18\x01 \x03(\x09B\x03\xE0A\x02\"\x85\x01\x0A\x0DCompositeData\x12;\x0A\x09user_data\x18\x01 \x01(\x0B2#.google.ads.datamanager.v1.UserDataB\x03\xE0A\x01\x127\x0A\x07ip_data\x18\x02 \x03(\x0B2!.google.ads.datamanager.v1.IpDataB\x03\xE0A\x01\"\xA1\x01\x0A\x06IpData\x12\x1F\x0A\x0Aip_address\x18\x01 \x01(\x09B\x0B\xE0A\x02\xE2\x8C\xCF\xD7\x08\x02\x08\x04\x12;\x0A\x12observe_start_time\x18\x02 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x01\x129\x0A\x10observe_end_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x01B\xCA\x01\x0A\x1Dcom.google.ads.datamanager.v1B\x0DAudienceProtoP\x01ZAcloud.google.com/go/datamanager/apiv1/datamanagerpb;datamanagerpb\xAA\x02\x19Google.Ads.DataManager.V1\xCA\x02\x19Google\\Ads\\DataManager\\V1\xEA\x02\x1CGoogle::Ads::DataManager::V1b\x06proto3" , true); static::$is_initialized = true; diff --git a/AdsDataManager/metadata/V1/CartData.php b/AdsDataManager/metadata/V1/CartData.php index dfef22bcd89d..809e45d7e659 100644 --- a/AdsDataManager/metadata/V1/CartData.php +++ b/AdsDataManager/metadata/V1/CartData.php @@ -17,7 +17,7 @@ public static function initOnce() { \GPBMetadata\Google\Ads\Datamanager\V1\ItemParameter::initOnce(); \GPBMetadata\Google\Api\FieldBehavior::initOnce(); $pool->internalAddGeneratedFile( - "\x0A\xCB\x05\x0A)google/ads/datamanager/v1/cart_data.proto\x12\x19google.ads.datamanager.v1\x1A\x1Fgoogle/api/field_behavior.proto\"\xC8\x01\x0A\x08CartData\x12\x18\x0A\x0Bmerchant_id\x18\x01 \x01(\x09B\x03\xE0A\x01\x12 \x0A\x13merchant_feed_label\x18\x02 \x01(\x09B\x03\xE0A\x01\x12(\x0A\x1Bmerchant_feed_language_code\x18\x03 \x01(\x09B\x03\xE0A\x01\x12!\x0A\x14transaction_discount\x18\x04 \x01(\x01B\x03\xE0A\x01\x123\x0A\x05items\x18\x05 \x03(\x0B2\x1F.google.ads.datamanager.v1.ItemB\x03\xE0A\x01\"\xC1\x01\x0A\x04Item\x12 \x0A\x13merchant_product_id\x18\x01 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08quantity\x18\x02 \x01(\x03B\x03\xE0A\x01\x12\x17\x0A\x0Aunit_price\x18\x03 \x01(\x01B\x03\xE0A\x01\x12\x14\x0A\x07item_id\x18\x04 \x01(\x09B\x03\xE0A\x01\x12Q\x0A\x1Aadditional_item_parameters\x18\x05 \x03(\x0B2(.google.ads.datamanager.v1.ItemParameterB\x03\xE0A\x01B\xCA\x01\x0A\x1Dcom.google.ads.datamanager.v1B\x0DCartDataProtoP\x01ZAcloud.google.com/go/datamanager/apiv1/datamanagerpb;datamanagerpb\xAA\x02\x19Google.Ads.DataManager.V1\xCA\x02\x19Google\\Ads\\DataManager\\V1\xEA\x02\x1CGoogle::Ads::DataManager::V1b\x06proto3" + "\x0A\xB9\x08\x0A)google/ads/datamanager/v1/cart_data.proto\x12\x19google.ads.datamanager.v1\x1A\x1Fgoogle/api/field_behavior.proto\"\xE3\x01\x0A\x08CartData\x12\x18\x0A\x0Bmerchant_id\x18\x01 \x01(\x09B\x03\xE0A\x01\x12 \x0A\x13merchant_feed_label\x18\x02 \x01(\x09B\x03\xE0A\x01\x12(\x0A\x1Bmerchant_feed_language_code\x18\x03 \x01(\x09B\x03\xE0A\x01\x12!\x0A\x14transaction_discount\x18\x04 \x01(\x01B\x03\xE0A\x01\x123\x0A\x05items\x18\x05 \x03(\x0B2\x1F.google.ads.datamanager.v1.ItemB\x03\xE0A\x01\x12\x19\x0A\x0Ccoupon_codes\x18\x06 \x03(\x09B\x03\xE0A\x01\"\xAE\x03\x0A\x04Item\x12 \x0A\x13merchant_product_id\x18\x01 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08quantity\x18\x02 \x01(\x03B\x03\xE0A\x01\x12\x17\x0A\x0Aunit_price\x18\x03 \x01(\x01B\x03\xE0A\x01\x12\x14\x0A\x07item_id\x18\x04 \x01(\x09B\x03\xE0A\x01\x12Q\x0A\x1Aadditional_item_parameters\x18\x05 \x03(\x0B2(.google.ads.datamanager.v1.ItemParameterB\x03\xE0A\x01\x12\x18\x0A\x0Bmerchant_id\x18\x06 \x01(\x09B\x03\xE0A\x01\x12 \x0A\x13merchant_feed_label\x18\x07 \x01(\x09B\x03\xE0A\x01\x12(\x0A\x1Bmerchant_feed_language_code\x18\x08 \x01(\x09B\x03\xE0A\x01\x12\"\x0A\x10conversion_value\x18\x09 \x01(\x01B\x03\xE0A\x01H\x00\x88\x01\x01\x12L\x0A\x10custom_variables\x18\x0A \x03(\x0B2-.google.ads.datamanager.v1.ItemCustomVariableB\x03\xE0A\x01B\x13\x0A\x11_conversion_value\"d\x0A\x12ItemCustomVariable\x12\x15\x0A\x08variable\x18\x01 \x01(\x09B\x03\xE0A\x01\x12\x12\x0A\x05value\x18\x02 \x01(\x09B\x03\xE0A\x01\x12#\x0A\x16destination_references\x18\x03 \x03(\x09B\x03\xE0A\x01B\xCA\x01\x0A\x1Dcom.google.ads.datamanager.v1B\x0DCartDataProtoP\x01ZAcloud.google.com/go/datamanager/apiv1/datamanagerpb;datamanagerpb\xAA\x02\x19Google.Ads.DataManager.V1\xCA\x02\x19Google\\Ads\\DataManager\\V1\xEA\x02\x1CGoogle::Ads::DataManager::V1b\x06proto3" , true); static::$is_initialized = true; diff --git a/AdsDataManager/metadata/V1/Destination.php b/AdsDataManager/metadata/V1/Destination.php index bc150a7a584c..98d5376d71c1 100644 --- a/AdsDataManager/metadata/V1/Destination.php +++ b/AdsDataManager/metadata/V1/Destination.php @@ -17,7 +17,7 @@ public static function initOnce() { \GPBMetadata\Google\Api\FieldBehavior::initOnce(); \GPBMetadata\Google\Api\Resource::initOnce(); $pool->internalAddGeneratedFile( - "\x0A\xC1\x09\x0A+google/ads/datamanager/v1/destination.proto\x12\x19google.ads.datamanager.v1\x1A\x19google/api/resource.proto\"\xA4\x02\x0A\x0BDestination\x12\x16\x0A\x09reference\x18\x01 \x01(\x09B\x03\xE0A\x01\x12E\x0A\x0Dlogin_account\x18\x02 \x01(\x0B2).google.ads.datamanager.v1.ProductAccountB\x03\xE0A\x01\x12F\x0A\x0Elinked_account\x18\x03 \x01(\x0B2).google.ads.datamanager.v1.ProductAccountB\x03\xE0A\x01\x12I\x0A\x11operating_account\x18\x04 \x01(\x0B2).google.ads.datamanager.v1.ProductAccountB\x03\xE0A\x02\x12#\x0A\x16product_destination_id\x18\x05 \x01(\x09B\x03\xE0A\x02\"\x81\x03\x0A\x0EProductAccount\x127\x0A\x07product\x18\x01 \x01(\x0E2\".google.ads.datamanager.v1.ProductB\x02\x18\x01\x12\x17\x0A\x0Aaccount_id\x18\x02 \x01(\x09B\x03\xE0A\x02\x12P\x0A\x0Caccount_type\x18\x03 \x01(\x0E25.google.ads.datamanager.v1.ProductAccount.AccountTypeB\x03\xE0A\x01\"\xCA\x01\x0A\x0BAccountType\x12\x1C\x0A\x18ACCOUNT_TYPE_UNSPECIFIED\x10\x00\x12\x0E\x0A\x0AGOOGLE_ADS\x10\x01\x12\x19\x0A\x15DISPLAY_VIDEO_PARTNER\x10\x02\x12\x1C\x0A\x18DISPLAY_VIDEO_ADVERTISER\x10\x03\x12\x10\x0A\x0CDATA_PARTNER\x10\x04\x12\x1D\x0A\x19GOOGLE_ANALYTICS_PROPERTY\x10\x05\x12#\x0A\x1FGOOGLE_AD_MANAGER_AUDIENCE_LINK\x10\x06*\x81\x01\x0A\x07Product\x12\x17\x0A\x13PRODUCT_UNSPECIFIED\x10\x00\x12\x0E\x0A\x0AGOOGLE_ADS\x10\x01\x12\x19\x0A\x15DISPLAY_VIDEO_PARTNER\x10\x02\x12\x1C\x0A\x18DISPLAY_VIDEO_ADVERTISER\x10\x03\x12\x10\x0A\x0CDATA_PARTNER\x10\x04\x1A\x02\x18\x01B\xA4\x02\x0A\x1Dcom.google.ads.datamanager.v1B\x10DestinationProtoP\x01ZAcloud.google.com/go/datamanager/apiv1/datamanagerpb;datamanagerpb\xAA\x02\x19Google.Ads.DataManager.V1\xCA\x02\x19Google\\Ads\\DataManager\\V1\xEA\x02\x1CGoogle::Ads::DataManager::V1\xEAAT\x0A\"datamanager.googleapis.com/Account\x12.accountTypes/{account_type}/accounts/{account}b\x06proto3" + "\x0A\xD8\x09\x0A+google/ads/datamanager/v1/destination.proto\x12\x19google.ads.datamanager.v1\x1A\x19google/api/resource.proto\"\xA4\x02\x0A\x0BDestination\x12\x16\x0A\x09reference\x18\x01 \x01(\x09B\x03\xE0A\x01\x12E\x0A\x0Dlogin_account\x18\x02 \x01(\x0B2).google.ads.datamanager.v1.ProductAccountB\x03\xE0A\x01\x12F\x0A\x0Elinked_account\x18\x03 \x01(\x0B2).google.ads.datamanager.v1.ProductAccountB\x03\xE0A\x01\x12I\x0A\x11operating_account\x18\x04 \x01(\x0B2).google.ads.datamanager.v1.ProductAccountB\x03\xE0A\x02\x12#\x0A\x16product_destination_id\x18\x05 \x01(\x09B\x03\xE0A\x02\"\x98\x03\x0A\x0EProductAccount\x127\x0A\x07product\x18\x01 \x01(\x0E2\".google.ads.datamanager.v1.ProductB\x02\x18\x01\x12\x17\x0A\x0Aaccount_id\x18\x02 \x01(\x09B\x03\xE0A\x02\x12P\x0A\x0Caccount_type\x18\x03 \x01(\x0E25.google.ads.datamanager.v1.ProductAccount.AccountTypeB\x03\xE0A\x01\"\xE1\x01\x0A\x0BAccountType\x12\x1C\x0A\x18ACCOUNT_TYPE_UNSPECIFIED\x10\x00\x12\x0E\x0A\x0AGOOGLE_ADS\x10\x01\x12\x19\x0A\x15DISPLAY_VIDEO_PARTNER\x10\x02\x12\x1C\x0A\x18DISPLAY_VIDEO_ADVERTISER\x10\x03\x12\x10\x0A\x0CDATA_PARTNER\x10\x04\x12\x1D\x0A\x19GOOGLE_ANALYTICS_PROPERTY\x10\x05\x12#\x0A\x1FGOOGLE_AD_MANAGER_AUDIENCE_LINK\x10\x06\x12\x15\x0A\x11FLOODLIGHT_CONFIG\x10\x07*\x81\x01\x0A\x07Product\x12\x17\x0A\x13PRODUCT_UNSPECIFIED\x10\x00\x12\x0E\x0A\x0AGOOGLE_ADS\x10\x01\x12\x19\x0A\x15DISPLAY_VIDEO_PARTNER\x10\x02\x12\x1C\x0A\x18DISPLAY_VIDEO_ADVERTISER\x10\x03\x12\x10\x0A\x0CDATA_PARTNER\x10\x04\x1A\x02\x18\x01B\xA4\x02\x0A\x1Dcom.google.ads.datamanager.v1B\x10DestinationProtoP\x01ZAcloud.google.com/go/datamanager/apiv1/datamanagerpb;datamanagerpb\xAA\x02\x19Google.Ads.DataManager.V1\xCA\x02\x19Google\\Ads\\DataManager\\V1\xEA\x02\x1CGoogle::Ads::DataManager::V1\xEAAT\x0A\"datamanager.googleapis.com/Account\x12.accountTypes/{account_type}/accounts/{account}b\x06proto3" , true); static::$is_initialized = true; diff --git a/AdsDataManager/metadata/V1/DeviceInfo.php b/AdsDataManager/metadata/V1/DeviceInfo.php index dad3314e6ca7..01002f727aa6 100644 --- a/AdsDataManager/metadata/V1/DeviceInfo.php +++ b/AdsDataManager/metadata/V1/DeviceInfo.php @@ -16,7 +16,7 @@ public static function initOnce() { } \GPBMetadata\Google\Api\FieldBehavior::initOnce(); $pool->internalAddGeneratedFile( - "\x0A\xDF\x02\x0A+google/ads/datamanager/v1/device_info.proto\x12\x19google.ads.datamanager.v1\">\x0A\x0ADeviceInfo\x12\x17\x0A\x0Auser_agent\x18\x01 \x01(\x09B\x03\xE0A\x01\x12\x17\x0A\x0Aip_address\x18\x02 \x01(\x09B\x03\xE0A\x01B\xCC\x01\x0A\x1Dcom.google.ads.datamanager.v1B\x0FDeviceInfoProtoP\x01ZAcloud.google.com/go/datamanager/apiv1/datamanagerpb;datamanagerpb\xAA\x02\x19Google.Ads.DataManager.V1\xCA\x02\x19Google\\Ads\\DataManager\\V1\xEA\x02\x1CGoogle::Ads::DataManager::V1b\x06proto3" + "\x0A\xEC\x04\x0A+google/ads/datamanager/v1/device_info.proto\x12\x19google.ads.datamanager.v1\"\xCA\x02\x0A\x0ADeviceInfo\x12\x17\x0A\x0Auser_agent\x18\x01 \x01(\x09B\x03\xE0A\x01\x12\x17\x0A\x0Aip_address\x18\x02 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08category\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x1A\x0A\x0Dlanguage_code\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x1A\x0A\x0Dscreen_height\x18\x05 \x01(\x05B\x03\xE0A\x01\x12\x19\x0A\x0Cscreen_width\x18\x06 \x01(\x05B\x03\xE0A\x01\x12\x1D\x0A\x10operating_system\x18\x07 \x01(\x09B\x03\xE0A\x01\x12%\x0A\x18operating_system_version\x18\x08 \x01(\x09B\x03\xE0A\x01\x12\x12\x0A\x05model\x18\x09 \x01(\x09B\x03\xE0A\x01\x12\x12\x0A\x05brand\x18\x0A \x01(\x09B\x03\xE0A\x01\x12\x14\x0A\x07browser\x18\x0B \x01(\x09B\x03\xE0A\x01\x12\x1C\x0A\x0Fbrowser_version\x18\x0C \x01(\x09B\x03\xE0A\x01B\xCC\x01\x0A\x1Dcom.google.ads.datamanager.v1B\x0FDeviceInfoProtoP\x01ZAcloud.google.com/go/datamanager/apiv1/datamanagerpb;datamanagerpb\xAA\x02\x19Google.Ads.DataManager.V1\xCA\x02\x19Google\\Ads\\DataManager\\V1\xEA\x02\x1CGoogle::Ads::DataManager::V1b\x06proto3" , true); static::$is_initialized = true; diff --git a/AdsDataManager/metadata/V1/EncryptedUserId.php b/AdsDataManager/metadata/V1/EncryptedUserId.php new file mode 100644 index 000000000000..334ea3c6aeb8 --- /dev/null +++ b/AdsDataManager/metadata/V1/EncryptedUserId.php @@ -0,0 +1,25 @@ +internalAddGeneratedFile( + "\x0A\xEE\x06\x0A1google/ads/datamanager/v1/encrypted_user_id.proto\x12\x19google.ads.datamanager.v1\"\xC1\x04\x0A\x0FEncryptedUserId\x12\x19\x0A\x0Cencrypted_id\x18\x01 \x01(\x09B\x03\xE0A\x02\x12Y\x0A\x0Bentity_type\x18\x02 \x01(\x0E2?.google.ads.datamanager.v1.EncryptedUserId.EncryptionEntityTypeB\x03\xE0A\x02\x12\x16\x0A\x09entity_id\x18\x03 \x01(\x03B\x03\xE0A\x02\x12P\x0A\x06source\x18\x04 \x01(\x0E2;.google.ads.datamanager.v1.EncryptedUserId.EncryptionSourceB\x03\xE0A\x02\"\xF3\x01\x0A\x14EncryptionEntityType\x12&\x0A\"ENCRYPTION_ENTITY_TYPE_UNSPECIFIED\x10\x00\x12\x1C\x0A\x18CAMPAIGN_MANAGER_ACCOUNT\x10\x01\x12\x1F\x0A\x1BCAMPAIGN_MANAGER_ADVERTISER\x10\x02\x12\x19\x0A\x15DISPLAY_VIDEO_PARTNER\x10\x03\x12\x1C\x0A\x18DISPLAY_VIDEO_ADVERTISER\x10\x04\x12\x17\x0A\x13GOOGLE_ADS_CUSTOMER\x10\x05\x12\"\x0A\x1EGOOGLE_AD_MANAGER_NETWORK_CODE\x10\x06\"X\x0A\x10EncryptionSource\x12!\x0A\x1DENCRYPTION_SOURCE_UNSPECIFIED\x10\x00\x12\x0E\x0A\x0AAD_SERVING\x10\x01\x12\x11\x0A\x0DDATA_TRANSFER\x10\x02B\xD1\x01\x0A\x1Dcom.google.ads.datamanager.v1B\x14EncryptedUserIdProtoP\x01ZAcloud.google.com/go/datamanager/apiv1/datamanagerpb;datamanagerpb\xAA\x02\x19Google.Ads.DataManager.V1\xCA\x02\x19Google\\Ads\\DataManager\\V1\xEA\x02\x1CGoogle::Ads::DataManager::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/AdsDataManager/metadata/V1/Error.php b/AdsDataManager/metadata/V1/Error.php index a54b7ed4779b..be1ba2bfc2f3 100644 --- a/AdsDataManager/metadata/V1/Error.php +++ b/AdsDataManager/metadata/V1/Error.php @@ -15,7 +15,7 @@ public static function initOnce() { return; } $pool->internalAddGeneratedFile( - "\x0A\x9E\x1E\x0A%google/ads/datamanager/v1/error.proto\x12\x19google.ads.datamanager.v1*\x87\x1C\x0A\x0BErrorReason\x12\x1C\x0A\x18ERROR_REASON_UNSPECIFIED\x10\x00\x12\x12\x0A\x0EINTERNAL_ERROR\x10\x01\x12\x15\x0A\x11DEADLINE_EXCEEDED\x10\x02\x12\x16\x0A\x12RESOURCE_EXHAUSTED\x10\x03\x12\x0D\x0A\x09NOT_FOUND\x10\x04\x12\x15\x0A\x11PERMISSION_DENIED\x10\x05\x12\x14\x0A\x10INVALID_ARGUMENT\x10\x06\x12\x1A\x0A\x16REQUIRED_FIELD_MISSING\x10\x07\x12\x12\x0A\x0EINVALID_FORMAT\x10\x08\x12\x18\x0A\x14INVALID_HEX_ENCODING\x10\x09\x12\x1B\x0A\x17INVALID_BASE64_ENCODING\x10\x0A\x12\x19\x0A\x15INVALID_SHA256_FORMAT\x10\x0B\x12\x17\x0A\x13INVALID_POSTAL_CODE\x10\x0C\x12\x1C\x0A\x14INVALID_COUNTRY_CODE\x10\x0D\x1A\x02\x08\x01\x12\x16\x0A\x12INVALID_ENUM_VALUE\x10\x0E\x12\x1A\x0A\x16INVALID_USER_LIST_TYPE\x10\x0F\x12\x1B\x0A\x17INVALID_AUDIENCE_MEMBER\x10\x10\x12\x1D\x0A\x19TOO_MANY_AUDIENCE_MEMBERS\x10\x11\x12\x1D\x0A\x19TOO_MANY_USER_IDENTIFIERS\x10\x12\x12\x19\x0A\x15TOO_MANY_DESTINATIONS\x10\x13\x12\x17\x0A\x13INVALID_DESTINATION\x10\x14\x12-\x0A)DATA_PARTNER_USER_LIST_MUTATE_NOT_ALLOWED\x10\x15\x12\x1C\x0A\x18INVALID_MOBILE_ID_FORMAT\x10\x16\x12\x18\x0A\x14INVALID_USER_LIST_ID\x10\x17\x12#\x0A\x1FMULTIPLE_DATA_TYPES_NOT_ALLOWED\x10\x18\x129\x0A5DIFFERENT_LOGIN_ACCOUNTS_NOT_ALLOWED_FOR_DATA_PARTNER\x10\x19\x12#\x0A\x1FTERMS_AND_CONDITIONS_NOT_SIGNED\x10\x1A\x12\x19\x0A\x15INVALID_NUMBER_FORMAT\x10\x1B\x12 \x0A\x1CINVALID_CONVERSION_ACTION_ID\x10\x1C\x12\"\x0A\x1EINVALID_CONVERSION_ACTION_TYPE\x10\x1D\x12\x19\x0A\x15INVALID_CURRENCY_CODE\x10\x1E\x12\x11\x0A\x0DINVALID_EVENT\x10\x1F\x12\x13\x0A\x0FTOO_MANY_EVENTS\x10 \x12B\x0A>DESTINATION_ACCOUNT_NOT_ENABLED_ENHANCED_CONVERSIONS_FOR_LEADS\x10!\x12B\x0A>DESTINATION_ACCOUNT_DATA_POLICY_PROHIBITS_ENHANCED_CONVERSIONS\x10\"\x12=\x0A9DESTINATION_ACCOUNT_ENHANCED_CONVERSIONS_TERMS_NOT_SIGNED\x10#\x12#\x0A\x1FDUPLICATE_DESTINATION_REFERENCE\x10\$\x122\x0A.UNSUPPORTED_OPERATING_ACCOUNT_FOR_DATA_PARTNER\x10%\x12/\x0A+UNSUPPORTED_LINKED_ACCOUNT_FOR_DATA_PARTNER\x10&\x12\x1B\x0A\x17NO_IDENTIFIERS_PROVIDED\x10'\x12\x19\x0A\x15INVALID_PROPERTY_TYPE\x10(\x12\x17\x0A\x13INVALID_STREAM_TYPE\x10)\x12?\x0A;LINKED_ACCOUNT_ONLY_ALLOWED_WITH_DATA_PARTNER_LOGIN_ACCOUNT\x10*\x12,\x0A(OPERATING_ACCOUNT_LOGIN_ACCOUNT_MISMATCH\x10+\x12\x16\x0A\x12EVENT_TIME_INVALID\x10,\x12\x16\x0A\x12RESERVED_NAME_USED\x10-\x12\x16\x0A\x12INVALID_EVENT_NAME\x10.\x12\x13\x0A\x0FNOT_ALLOWLISTED\x10/\x12\x16\x0A\x12INVALID_REQUEST_ID\x100\x124\x0A0MULTIPLE_DESTINATIONS_FOR_GOOGLE_ANALYTICS_EVENT\x101\x12\x18\x0A\x14FIELD_VALUE_TOO_LONG\x102\x12\x15\x0A\x11TOO_MANY_ELEMENTS\x103\x12\x12\x0A\x0EALREADY_EXISTS\x104\x12\x1E\x0A\x1AIMMUTABLE_FIELD_FOR_UPDATE\x105\x12\x19\x0A\x15INVALID_RESOURCE_NAME\x106\x12\x12\x0A\x0EINVALID_FILTER\x107\x12\x17\x0A\x13INVALID_UPDATE_MASK\x108\x12\x16\x0A\x12INVALID_PAGE_TOKEN\x109\x12\"\x0A\x1ECANNOT_UPDATE_DISABLED_LICENSE\x10:\x120\x0A,CANNOT_CREATE_LICENSE_FOR_SENSITIVE_USERLIST\x10;\x12\x15\x0A\x11INSUFFICIENT_COST\x10<\x12\x1A\x0A\x16CANNOT_DISABLE_LICENSE\x10=\x12\x1D\x0A\x19INVALID_CLIENT_ACCOUNT_ID\x10>\x12\"\x0A\x1EPRICING_ONLY_ZERO_COST_ALLOWED\x10?\x12\x12\x0A\x0EPRICE_TOO_HIGH\x10@\x12*\x0A&CUSTOMER_NOT_ALLOWED_TO_CREATE_LICENSE\x10A\x12\x1C\x0A\x18INVALID_PRICING_END_DATE\x10B\x12?\x0A;CANNOT_LICENSE_LOGICAL_LIST_WITH_LICENSED_OR_SHARED_SEGMENT\x10C\x12\x1B\x0A\x17MISMATCHED_ACCOUNT_TYPE\x10D\x121\x0A-MEDIA_SHARE_COST_NOT_ALLOWED_FOR_LICENSE_TYPE\x10E\x124\x0A0MEDIA_SHARE_COST_NOT_ALLOWED_FOR_CLIENT_CUSTOMER\x10F\x12\x1C\x0A\x18INVALID_MEDIA_SHARE_COST\x10G\x12\x15\x0A\x11INVALID_COST_TYPE\x10H\x12;\x0A7MEDIA_SHARE_COST_NOT_ALLOWED_FOR_NON_COMMERCE_USER_LIST\x10I\x12\x18\x0A\x14MAX_COST_NOT_ALLOWED\x10J\x123\x0A/COMMERCE_AUDIENCE_CAN_ONLY_BE_DIRECTLY_LICENSED\x10K\x12\x17\x0A\x13INVALID_DESCRIPTION\x10L\x12\x18\x0A\x14INVALID_DISPLAY_NAME\x10M\x12\x1D\x0A\x19DISPLAY_NAME_ALREADY_USED\x10N\x12!\x0A\x1DOWNERSHIP_REQUIRED_FOR_UPDATE\x10O\x12\$\x0A USER_LIST_MUTATION_NOT_SUPPORTED\x10P\x12!\x0A\x1DSENSITIVE_USER_LIST_IMMUTABLE\x10Q\x12#\x0A\x1FBILLABLE_RECORD_COUNT_IMMUTABLE\x10R\x12\x1B\x0A\x17USER_LIST_NAME_RESERVED\x10S\x120\x0A,ADVERTISER_NOT_ALLOWLISTED_FOR_UPLOADED_DATA\x10T\x12'\x0A#UNSUPPORTED_PARTNER_AUDIENCE_SOURCE\x10U\x12 \x0A\x1CCOMMERCE_PARTNER_NOT_ALLOWED\x10V\x12%\x0A!UNSUPPORTED_PARTNER_AUDIENCE_INFO\x10W\x120\x0A,PARTNER_MATCH_FOR_MANAGER_ACCOUNT_DISALLOWED\x10X\x12=\x0A9DATA_PARTNER_NOT_ALLOWLISTED_FOR_THIRD_PARTY_PARTNER_DATA\x10Y\x12\x1F\x0A\x1BADVERTISER_TOS_NOT_ACCEPTED\x10Z\x12;\x0A7ADVERTISER_NOT_ALLOWLISTED_FOR_THIRD_PARTY_PARTNER_DATA\x10[\x12,\x0A(USER_LIST_TYPE_NOT_SUPPORTED_FOR_ACCOUNT\x10\\\x12\x1C\x0A\x18INVALID_COMMERCE_PARTNER\x10]\x122\x0A.CUSTOMER_NOT_ALLOWLISTED_FOR_COMMERCE_AUDIENCE\x10^\x12*\x0A&UNSUPPORTED_USER_LIST_UPLOAD_KEY_TYPES\x10_\x12.\x0A*UNSUPPORTED_INGESTED_USER_LIST_INFO_CONFIG\x10`\x120\x0A,UNSUPPORTED_ACCOUNT_TYPES_FOR_USER_LIST_TYPE\x10a\x12-\x0A)UNSUPPORTED_ACCOUNT_TYPE_FOR_PARTNER_LINK\x10b\x12 \x0A\x1CMEMBERSHIP_DURATION_TOO_LONG\x10c\x12\x17\x0A\x13INVALID_MERCHANT_ID\x10d\x121\x0A-EU_POLITICAL_ADVERTISING_DECLARATION_REQUIRED\x10eB\xC7\x01\x0A\x1Dcom.google.ads.datamanager.v1B\x0AErrorProtoP\x01ZAcloud.google.com/go/datamanager/apiv1/datamanagerpb;datamanagerpb\xAA\x02\x19Google.Ads.DataManager.V1\xCA\x02\x19Google\\Ads\\DataManager\\V1\xEA\x02\x1CGoogle::Ads::DataManager::V1b\x06proto3" + "\x0A\x92\$\x0A%google/ads/datamanager/v1/error.proto\x12\x19google.ads.datamanager.v1*\xFB!\x0A\x0BErrorReason\x12\x1C\x0A\x18ERROR_REASON_UNSPECIFIED\x10\x00\x12\x12\x0A\x0EINTERNAL_ERROR\x10\x01\x12\x15\x0A\x11DEADLINE_EXCEEDED\x10\x02\x12\x16\x0A\x12RESOURCE_EXHAUSTED\x10\x03\x12\x0D\x0A\x09NOT_FOUND\x10\x04\x12\x15\x0A\x11PERMISSION_DENIED\x10\x05\x12\x14\x0A\x10INVALID_ARGUMENT\x10\x06\x12\x1A\x0A\x16REQUIRED_FIELD_MISSING\x10\x07\x12\x12\x0A\x0EINVALID_FORMAT\x10\x08\x12\x18\x0A\x14INVALID_HEX_ENCODING\x10\x09\x12\x1B\x0A\x17INVALID_BASE64_ENCODING\x10\x0A\x12\x19\x0A\x15INVALID_SHA256_FORMAT\x10\x0B\x12\x17\x0A\x13INVALID_POSTAL_CODE\x10\x0C\x12\x1C\x0A\x14INVALID_COUNTRY_CODE\x10\x0D\x1A\x02\x08\x01\x12\x16\x0A\x12INVALID_ENUM_VALUE\x10\x0E\x12\x1A\x0A\x16INVALID_USER_LIST_TYPE\x10\x0F\x12\x1B\x0A\x17INVALID_AUDIENCE_MEMBER\x10\x10\x12\x1D\x0A\x19TOO_MANY_AUDIENCE_MEMBERS\x10\x11\x12\x1D\x0A\x19TOO_MANY_USER_IDENTIFIERS\x10\x12\x12\x19\x0A\x15TOO_MANY_DESTINATIONS\x10\x13\x12\x17\x0A\x13INVALID_DESTINATION\x10\x14\x12-\x0A)DATA_PARTNER_USER_LIST_MUTATE_NOT_ALLOWED\x10\x15\x12\x1C\x0A\x18INVALID_MOBILE_ID_FORMAT\x10\x16\x12\x18\x0A\x14INVALID_USER_LIST_ID\x10\x17\x12#\x0A\x1FMULTIPLE_DATA_TYPES_NOT_ALLOWED\x10\x18\x129\x0A5DIFFERENT_LOGIN_ACCOUNTS_NOT_ALLOWED_FOR_DATA_PARTNER\x10\x19\x12#\x0A\x1FTERMS_AND_CONDITIONS_NOT_SIGNED\x10\x1A\x12\x19\x0A\x15INVALID_NUMBER_FORMAT\x10\x1B\x12 \x0A\x1CINVALID_CONVERSION_ACTION_ID\x10\x1C\x12\"\x0A\x1EINVALID_CONVERSION_ACTION_TYPE\x10\x1D\x12\x19\x0A\x15INVALID_CURRENCY_CODE\x10\x1E\x12\x11\x0A\x0DINVALID_EVENT\x10\x1F\x12\x13\x0A\x0FTOO_MANY_EVENTS\x10 \x12B\x0A>DESTINATION_ACCOUNT_NOT_ENABLED_ENHANCED_CONVERSIONS_FOR_LEADS\x10!\x12B\x0A>DESTINATION_ACCOUNT_DATA_POLICY_PROHIBITS_ENHANCED_CONVERSIONS\x10\"\x12=\x0A9DESTINATION_ACCOUNT_ENHANCED_CONVERSIONS_TERMS_NOT_SIGNED\x10#\x12#\x0A\x1FDUPLICATE_DESTINATION_REFERENCE\x10\$\x122\x0A.UNSUPPORTED_OPERATING_ACCOUNT_FOR_DATA_PARTNER\x10%\x12/\x0A+UNSUPPORTED_LINKED_ACCOUNT_FOR_DATA_PARTNER\x10&\x12\x1B\x0A\x17NO_IDENTIFIERS_PROVIDED\x10'\x12\x19\x0A\x15INVALID_PROPERTY_TYPE\x10(\x12\x17\x0A\x13INVALID_STREAM_TYPE\x10)\x12?\x0A;LINKED_ACCOUNT_ONLY_ALLOWED_WITH_DATA_PARTNER_LOGIN_ACCOUNT\x10*\x12,\x0A(OPERATING_ACCOUNT_LOGIN_ACCOUNT_MISMATCH\x10+\x12\x16\x0A\x12EVENT_TIME_INVALID\x10,\x12\x16\x0A\x12RESERVED_NAME_USED\x10-\x12\x16\x0A\x12INVALID_EVENT_NAME\x10.\x12\x13\x0A\x0FNOT_ALLOWLISTED\x10/\x12\x16\x0A\x12INVALID_REQUEST_ID\x100\x124\x0A0MULTIPLE_DESTINATIONS_FOR_GOOGLE_ANALYTICS_EVENT\x101\x12\x18\x0A\x14FIELD_VALUE_TOO_LONG\x102\x12\x19\x0A\x15FIELD_VALUE_TOO_SHORT\x10j\x12\x15\x0A\x11TOO_MANY_ELEMENTS\x103\x12\x14\x0A\x10TOO_FEW_ELEMENTS\x10i\x12\x12\x0A\x0EALREADY_EXISTS\x104\x12\x1E\x0A\x1AIMMUTABLE_FIELD_FOR_UPDATE\x105\x12\x19\x0A\x15INVALID_RESOURCE_NAME\x106\x12\x12\x0A\x0EINVALID_FILTER\x107\x12\x17\x0A\x13INVALID_UPDATE_MASK\x108\x12\x16\x0A\x12INVALID_PAGE_TOKEN\x109\x12\"\x0A\x1ECANNOT_UPDATE_DISABLED_LICENSE\x10:\x120\x0A,CANNOT_CREATE_LICENSE_FOR_SENSITIVE_USERLIST\x10;\x12\x15\x0A\x11INSUFFICIENT_COST\x10<\x12\x1A\x0A\x16CANNOT_DISABLE_LICENSE\x10=\x12\x1D\x0A\x19INVALID_CLIENT_ACCOUNT_ID\x10>\x12\"\x0A\x1EPRICING_ONLY_ZERO_COST_ALLOWED\x10?\x12\x12\x0A\x0EPRICE_TOO_HIGH\x10@\x12*\x0A&CUSTOMER_NOT_ALLOWED_TO_CREATE_LICENSE\x10A\x12\x1C\x0A\x18INVALID_PRICING_END_DATE\x10B\x12?\x0A;CANNOT_LICENSE_LOGICAL_LIST_WITH_LICENSED_OR_SHARED_SEGMENT\x10C\x12\x1B\x0A\x17MISMATCHED_ACCOUNT_TYPE\x10D\x121\x0A-MEDIA_SHARE_COST_NOT_ALLOWED_FOR_LICENSE_TYPE\x10E\x124\x0A0MEDIA_SHARE_COST_NOT_ALLOWED_FOR_CLIENT_CUSTOMER\x10F\x12\x1C\x0A\x18INVALID_MEDIA_SHARE_COST\x10G\x12\x15\x0A\x11INVALID_COST_TYPE\x10H\x12;\x0A7MEDIA_SHARE_COST_NOT_ALLOWED_FOR_NON_COMMERCE_USER_LIST\x10I\x12\x18\x0A\x14MAX_COST_NOT_ALLOWED\x10J\x123\x0A/COMMERCE_AUDIENCE_CAN_ONLY_BE_DIRECTLY_LICENSED\x10K\x12\x17\x0A\x13INVALID_DESCRIPTION\x10L\x12\x18\x0A\x14INVALID_DISPLAY_NAME\x10M\x12\x1D\x0A\x19DISPLAY_NAME_ALREADY_USED\x10N\x12!\x0A\x1DOWNERSHIP_REQUIRED_FOR_UPDATE\x10O\x12\$\x0A USER_LIST_MUTATION_NOT_SUPPORTED\x10P\x12!\x0A\x1DSENSITIVE_USER_LIST_IMMUTABLE\x10Q\x12#\x0A\x1FBILLABLE_RECORD_COUNT_IMMUTABLE\x10R\x12\x1B\x0A\x17USER_LIST_NAME_RESERVED\x10S\x120\x0A,ADVERTISER_NOT_ALLOWLISTED_FOR_UPLOADED_DATA\x10T\x12'\x0A#UNSUPPORTED_PARTNER_AUDIENCE_SOURCE\x10U\x12 \x0A\x1CCOMMERCE_PARTNER_NOT_ALLOWED\x10V\x12%\x0A!UNSUPPORTED_PARTNER_AUDIENCE_INFO\x10W\x120\x0A,PARTNER_MATCH_FOR_MANAGER_ACCOUNT_DISALLOWED\x10X\x12=\x0A9DATA_PARTNER_NOT_ALLOWLISTED_FOR_THIRD_PARTY_PARTNER_DATA\x10Y\x12\x1F\x0A\x1BADVERTISER_TOS_NOT_ACCEPTED\x10Z\x12;\x0A7ADVERTISER_NOT_ALLOWLISTED_FOR_THIRD_PARTY_PARTNER_DATA\x10[\x12,\x0A(USER_LIST_TYPE_NOT_SUPPORTED_FOR_ACCOUNT\x10\\\x12\x1C\x0A\x18INVALID_COMMERCE_PARTNER\x10]\x122\x0A.CUSTOMER_NOT_ALLOWLISTED_FOR_COMMERCE_AUDIENCE\x10^\x12*\x0A&UNSUPPORTED_USER_LIST_UPLOAD_KEY_TYPES\x10_\x12.\x0A*UNSUPPORTED_INGESTED_USER_LIST_INFO_CONFIG\x10`\x120\x0A,UNSUPPORTED_ACCOUNT_TYPES_FOR_USER_LIST_TYPE\x10a\x12-\x0A)UNSUPPORTED_ACCOUNT_TYPE_FOR_PARTNER_LINK\x10b\x12 \x0A\x1CMEMBERSHIP_DURATION_TOO_LONG\x10c\x12\x17\x0A\x13INVALID_MERCHANT_ID\x10d\x121\x0A-EU_POLITICAL_ADVERTISING_DECLARATION_REQUIRED\x10e\x12&\x0A\"ACCOUNT_INELIGIBLE_FOR_STORE_SALES\x10f\x12'\x0A#INVALID_MERCHANT_FEED_LANGUAGE_CODE\x10g\x12\x17\x0A\x13INVALID_REGION_CODE\x10h\x12\x1C\x0A\x18INVALID_SUBDIVISION_CODE\x10k\x12\x1D\x0A\x19INVALID_SUBCONTINENT_CODE\x10l\x12\x1A\x0A\x16INVALID_CONTINENT_CODE\x10m\x12\x1B\x0A\x17INVALID_DEVICE_CATEGORY\x10n\x122\x0A.BOTH_CLIENT_ID_AND_APP_INSTANCE_ID_NOT_ALLOWED\x10o\x12?\x0A;GOOGLE_ANALYTICS_SUBPROPERTY_OR_ROLLUP_PROPERTY_NOT_ALLOWED\x10p\x12%\x0A!THIRD_PARTY_USER_DATA_NOT_ALLOWED\x10q\x12\x17\x0A\x13INVALID_COUPON_CODE\x10r\x12)\x0A%EVENT_SOURCE_AND_DESTINATION_MISMATCH\x10s\x12%\x0A!DESTINATION_ACCOUNT_TYPE_MISMATCH\x10t\x12&\x0A\"CUSTOM_VARIABLE_VALUE_CONTAINS_PII\x10u\x12\x1F\x0A\x1BCUSTOM_VARIABLE_NOT_ENABLED\x10v\x12!\x0A\x1DINVALID_CUSTOM_VARIABLE_VALUE\x10w\x12\x1D\x0A\x19CUSTOM_VARIABLE_NOT_FOUND\x10x\x12+\x0A'BASELINE_LOCATION_AUTO_DETECTION_FAILED\x10z\x12\"\x0A\x1EINSIGHTS_MISSING_FOR_DIMENSION\x10{B\xC7\x01\x0A\x1Dcom.google.ads.datamanager.v1B\x0AErrorProtoP\x01ZAcloud.google.com/go/datamanager/apiv1/datamanagerpb;datamanagerpb\xAA\x02\x19Google.Ads.DataManager.V1\xCA\x02\x19Google\\Ads\\DataManager\\V1\xEA\x02\x1CGoogle::Ads::DataManager::V1b\x06proto3" , true); static::$is_initialized = true; diff --git a/AdsDataManager/metadata/V1/Event.php b/AdsDataManager/metadata/V1/Event.php index 595cda5e9279..1342b3bcef23 100644 --- a/AdsDataManager/metadata/V1/Event.php +++ b/AdsDataManager/metadata/V1/Event.php @@ -17,13 +17,14 @@ public static function initOnce() { \GPBMetadata\Google\Ads\Datamanager\V1\CartData::initOnce(); \GPBMetadata\Google\Ads\Datamanager\V1\Consent::initOnce(); \GPBMetadata\Google\Ads\Datamanager\V1\DeviceInfo::initOnce(); + \GPBMetadata\Google\Ads\Datamanager\V1\EncryptedUserId::initOnce(); \GPBMetadata\Google\Ads\Datamanager\V1\ExperimentalField::initOnce(); \GPBMetadata\Google\Ads\Datamanager\V1\UserData::initOnce(); \GPBMetadata\Google\Ads\Datamanager\V1\UserProperties::initOnce(); \GPBMetadata\Google\Api\FieldBehavior::initOnce(); \GPBMetadata\Google\Protobuf\Timestamp::initOnce(); $pool->internalAddGeneratedFile( - "\x0A\x9E\x10\x0A%google/ads/datamanager/v1/event.proto\x12\x19google.ads.datamanager.v1\x1A'google/ads/datamanager/v1/consent.proto\x1A+google/ads/datamanager/v1/device_info.proto\x1A2google/ads/datamanager/v1/experimental_field.proto\x1A)google/ads/datamanager/v1/user_data.proto\x1A/google/ads/datamanager/v1/user_properties.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\x98\x08\x0A\x05Event\x12#\x0A\x16destination_references\x18\x01 \x03(\x09B\x03\xE0A\x01\x12\x1B\x0A\x0Etransaction_id\x18\x02 \x01(\x09B\x03\xE0A\x01\x128\x0A\x0Fevent_timestamp\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x02\x12?\x0A\x16last_updated_timestamp\x18\x04 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x01\x12;\x0A\x09user_data\x18\x05 \x01(\x0B2#.google.ads.datamanager.v1.UserDataB\x03\xE0A\x01\x128\x0A\x07consent\x18\x06 \x01(\x0B2\".google.ads.datamanager.v1.ConsentB\x03\xE0A\x01\x12E\x0A\x0Ead_identifiers\x18\x07 \x01(\x0B2(.google.ads.datamanager.v1.AdIdentifiersB\x03\xE0A\x01\x12\x15\x0A\x08currency\x18\x08 \x01(\x09B\x03\xE0A\x01\x12\"\x0A\x10conversion_value\x18\x09 \x01(\x01B\x03\xE0A\x01H\x00\x88\x01\x01\x12A\x0A\x0Cevent_source\x18\x0A \x01(\x0E2&.google.ads.datamanager.v1.EventSourceB\x03\xE0A\x01\x12E\x0A\x11event_device_info\x18\x0B \x01(\x0B2%.google.ads.datamanager.v1.DeviceInfoB\x03\xE0A\x01\x12;\x0A\x09cart_data\x18\x0C \x01(\x0B2#.google.ads.datamanager.v1.CartDataB\x03\xE0A\x01\x12H\x0A\x10custom_variables\x18\x0D \x03(\x0B2).google.ads.datamanager.v1.CustomVariableB\x03\xE0A\x01\x12N\x0A\x13experimental_fields\x18\x0E \x03(\x0B2,.google.ads.datamanager.v1.ExperimentalFieldB\x03\xE0A\x01\x12G\x0A\x0Fuser_properties\x18\x0F \x01(\x0B2).google.ads.datamanager.v1.UserPropertiesB\x03\xE0A\x01\x12\x17\x0A\x0Aevent_name\x18\x10 \x01(\x09B\x03\xE0A\x01\x12\x16\x0A\x09client_id\x18\x11 \x01(\x09B\x03\xE0A\x01\x12\x14\x0A\x07user_id\x18\x12 \x01(\x09B\x03\xE0A\x01\x12S\x0A\x1Badditional_event_parameters\x18\x13 \x03(\x0B2).google.ads.datamanager.v1.EventParameterB\x03\xE0A\x01B\x13\x0A\x11_conversion_value\"\xBC\x01\x0A\x0DAdIdentifiers\x12\x1F\x0A\x12session_attributes\x18\x01 \x01(\x09B\x03\xE0A\x01\x12\x12\x0A\x05gclid\x18\x02 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06gbraid\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06wbraid\x18\x04 \x01(\x09B\x03\xE0A\x01\x12L\x0A\x18landing_page_device_info\x18\x05 \x01(\x0B2%.google.ads.datamanager.v1.DeviceInfoB\x03\xE0A\x01\"`\x0A\x0ECustomVariable\x12\x15\x0A\x08variable\x18\x01 \x01(\x09B\x03\xE0A\x01\x12\x12\x0A\x05value\x18\x02 \x01(\x09B\x03\xE0A\x01\x12#\x0A\x16destination_references\x18\x03 \x03(\x09B\x03\xE0A\x01\"A\x0A\x0EEventParameter\x12\x1B\x0A\x0Eparameter_name\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x12\x0A\x05value\x18\x02 \x01(\x09B\x03\xE0A\x02*a\x0A\x0BEventSource\x12\x1C\x0A\x18EVENT_SOURCE_UNSPECIFIED\x10\x00\x12\x07\x0A\x03WEB\x10\x01\x12\x07\x0A\x03APP\x10\x02\x12\x0C\x0A\x08IN_STORE\x10\x03\x12\x09\x0A\x05PHONE\x10\x04\x12\x09\x0A\x05OTHER\x10\x05B\xC7\x01\x0A\x1Dcom.google.ads.datamanager.v1B\x0AEventProtoP\x01ZAcloud.google.com/go/datamanager/apiv1/datamanagerpb;datamanagerpb\xAA\x02\x19Google.Ads.DataManager.V1\xCA\x02\x19Google\\Ads\\DataManager\\V1\xEA\x02\x1CGoogle::Ads::DataManager::V1b\x06proto3" + "\x0A\xAA\x15\x0A%google/ads/datamanager/v1/event.proto\x12\x19google.ads.datamanager.v1\x1A'google/ads/datamanager/v1/consent.proto\x1A+google/ads/datamanager/v1/device_info.proto\x1A1google/ads/datamanager/v1/encrypted_user_id.proto\x1A2google/ads/datamanager/v1/experimental_field.proto\x1A)google/ads/datamanager/v1/user_data.proto\x1A/google/ads/datamanager/v1/user_properties.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xFF\x09\x0A\x05Event\x12#\x0A\x16destination_references\x18\x01 \x03(\x09B\x03\xE0A\x01\x12\x1B\x0A\x0Etransaction_id\x18\x02 \x01(\x09B\x03\xE0A\x01\x128\x0A\x0Fevent_timestamp\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x02\x12?\x0A\x16last_updated_timestamp\x18\x04 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x01\x12;\x0A\x09user_data\x18\x05 \x01(\x0B2#.google.ads.datamanager.v1.UserDataB\x03\xE0A\x01\x128\x0A\x07consent\x18\x06 \x01(\x0B2\".google.ads.datamanager.v1.ConsentB\x03\xE0A\x01\x12E\x0A\x0Ead_identifiers\x18\x07 \x01(\x0B2(.google.ads.datamanager.v1.AdIdentifiersB\x03\xE0A\x01\x12\x15\x0A\x08currency\x18\x08 \x01(\x09B\x03\xE0A\x01\x12\"\x0A\x10conversion_value\x18\x09 \x01(\x01B\x03\xE0A\x01H\x00\x88\x01\x01\x12\"\x0A\x10conversion_count\x18\x17 \x01(\x01B\x03\xE0A\x01H\x01\x88\x01\x01\x12A\x0A\x0Cevent_source\x18\x0A \x01(\x0E2&.google.ads.datamanager.v1.EventSourceB\x03\xE0A\x01\x12E\x0A\x11event_device_info\x18\x0B \x01(\x0B2%.google.ads.datamanager.v1.DeviceInfoB\x03\xE0A\x01\x12;\x0A\x09cart_data\x18\x0C \x01(\x0B2#.google.ads.datamanager.v1.CartDataB\x03\xE0A\x01\x12H\x0A\x10custom_variables\x18\x0D \x03(\x0B2).google.ads.datamanager.v1.CustomVariableB\x03\xE0A\x01\x12N\x0A\x13experimental_fields\x18\x0E \x03(\x0B2,.google.ads.datamanager.v1.ExperimentalFieldB\x03\xE0A\x01\x12G\x0A\x0Fuser_properties\x18\x0F \x01(\x0B2).google.ads.datamanager.v1.UserPropertiesB\x03\xE0A\x01\x12\x17\x0A\x0Aevent_name\x18\x10 \x01(\x09B\x03\xE0A\x01\x12\x16\x0A\x09client_id\x18\x11 \x01(\x09B\x03\xE0A\x01\x12\x14\x0A\x07user_id\x18\x12 \x01(\x09B\x03\xE0A\x01\x12S\x0A\x1Badditional_event_parameters\x18\x13 \x03(\x0B2).google.ads.datamanager.v1.EventParameterB\x03\xE0A\x01\x12G\x0A\x15third_party_user_data\x18\x14 \x01(\x0B2#.google.ads.datamanager.v1.UserDataB\x03\xE0A\x01\x12E\x0A\x0Eevent_location\x18\x15 \x01(\x0B2(.google.ads.datamanager.v1.EventLocationB\x03\xE0A\x01\x12\x1C\x0A\x0Fapp_instance_id\x18\x16 \x01(\x09B\x03\xE0A\x01B\x13\x0A\x11_conversion_valueB\x13\x0A\x11_conversion_count\"\xEF\x02\x0A\x0DAdIdentifiers\x12\x1F\x0A\x12session_attributes\x18\x01 \x01(\x09B\x03\xE0A\x01\x12\x12\x0A\x05gclid\x18\x02 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06gbraid\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06wbraid\x18\x04 \x01(\x09B\x03\xE0A\x01\x12L\x0A\x18landing_page_device_info\x18\x05 \x01(\x0B2%.google.ads.datamanager.v1.DeviceInfoB\x03\xE0A\x01\x12\x1D\x0A\x10mobile_device_id\x18\x06 \x01(\x09B\x03\xE0A\x01\x12\x12\x0A\x05dclid\x18\x07 \x01(\x09B\x03\xE0A\x01\x12\x1A\x0A\x0Dimpression_id\x18\x08 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08match_id\x18\x09 \x01(\x09B\x03\xE0A\x01\x12K\x0A\x12encrypted_user_ids\x18\x0A \x03(\x0B2*.google.ads.datamanager.v1.EncryptedUserIdB\x03\xE0A\x01\"`\x0A\x0ECustomVariable\x12\x15\x0A\x08variable\x18\x01 \x01(\x09B\x03\xE0A\x01\x12\x12\x0A\x05value\x18\x02 \x01(\x09B\x03\xE0A\x01\x12#\x0A\x16destination_references\x18\x03 \x03(\x09B\x03\xE0A\x01\"A\x0A\x0EEventParameter\x12\x1B\x0A\x0Eparameter_name\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x12\x0A\x05value\x18\x02 \x01(\x09B\x03\xE0A\x02\"\xAF\x01\x0A\x0DEventLocation\x12\x15\x0A\x08store_id\x18\x01 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04city\x18\x02 \x01(\x09B\x03\xE0A\x01\x12\x1D\x0A\x10subdivision_code\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x18\x0A\x0Bregion_code\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x1E\x0A\x11subcontinent_code\x18\x05 \x01(\x09B\x03\xE0A\x01\x12\x1B\x0A\x0Econtinent_code\x18\x06 \x01(\x09B\x03\xE0A\x01*n\x0A\x0BEventSource\x12\x1C\x0A\x18EVENT_SOURCE_UNSPECIFIED\x10\x00\x12\x07\x0A\x03WEB\x10\x01\x12\x07\x0A\x03APP\x10\x02\x12\x0C\x0A\x08IN_STORE\x10\x03\x12\x09\x0A\x05PHONE\x10\x04\x12\x0B\x0A\x07MESSAGE\x10\x06\x12\x09\x0A\x05OTHER\x10\x05B\xC7\x01\x0A\x1Dcom.google.ads.datamanager.v1B\x0AEventProtoP\x01ZAcloud.google.com/go/datamanager/apiv1/datamanagerpb;datamanagerpb\xAA\x02\x19Google.Ads.DataManager.V1\xCA\x02\x19Google\\Ads\\DataManager\\V1\xEA\x02\x1CGoogle::Ads::DataManager::V1b\x06proto3" , true); static::$is_initialized = true; diff --git a/AdsDataManager/metadata/V1/PartnerLinkService.php b/AdsDataManager/metadata/V1/PartnerLinkService.php index 1b278dd38421..d8c306255310 100644 --- a/AdsDataManager/metadata/V1/PartnerLinkService.php +++ b/AdsDataManager/metadata/V1/PartnerLinkService.php @@ -21,7 +21,7 @@ public static function initOnce() { \GPBMetadata\Google\Api\Resource::initOnce(); \GPBMetadata\Google\Protobuf\GPBEmpty::initOnce(); $pool->internalAddGeneratedFile( - "\x0A\xE2\x0F\x0A4google/ads/datamanager/v1/partner_link_service.proto\x12\x19google.ads.datamanager.v1\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A\x1Bgoogle/protobuf/empty.proto\"\x9D\x01\x0A\x18CreatePartnerLinkRequest\x12>\x0A\x06parent\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x12&datamanager.googleapis.com/PartnerLink\x12A\x0A\x0Cpartner_link\x18\x02 \x01(\x0B2&.google.ads.datamanager.v1.PartnerLinkB\x03\xE0A\x02\"X\x0A\x18DeletePartnerLinkRequest\x12<\x0A\x04name\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&datamanager.googleapis.com/PartnerLink\"\x97\x01\x0A\x19SearchPartnerLinksRequest\x12>\x0A\x06parent\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x12&datamanager.googleapis.com/PartnerLink\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\"t\x0A\x1ASearchPartnerLinksResponse\x12=\x0A\x0Dpartner_links\x18\x01 \x03(\x0B2&.google.ads.datamanager.v1.PartnerLink\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xE5\x02\x0A\x0BPartnerLink\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x1C\x0A\x0Fpartner_link_id\x18\x02 \x01(\x09B\x03\xE0A\x03\x12F\x0A\x0Eowning_account\x18\x03 \x01(\x0B2).google.ads.datamanager.v1.ProductAccountB\x03\xE0A\x02\x12G\x0A\x0Fpartner_account\x18\x04 \x01(\x0B2).google.ads.datamanager.v1.ProductAccountB\x03\xE0A\x02:\x93\x01\xEAA\x8F\x01\x0A&datamanager.googleapis.com/PartnerLink\x12JaccountTypes/{account_type}/accounts/{account}/partnerLinks/{partner_link}*\x0CpartnerLinks2\x0BpartnerLink2\xAD\x05\x0A\x12PartnerLinkService\x12\xD1\x01\x0A\x11CreatePartnerLink\x123.google.ads.datamanager.v1.CreatePartnerLinkRequest\x1A&.google.ads.datamanager.v1.PartnerLink\"_\xDAA\x13parent,partner_link\x82\xD3\xE4\x93\x02C\"3/v1/{parent=accountTypes/*/accounts/*}/partnerLinks:\x0Cpartner_link\x12\xA4\x01\x0A\x11DeletePartnerLink\x123.google.ads.datamanager.v1.DeletePartnerLinkRequest\x1A\x16.google.protobuf.Empty\"B\xDAA\x04name\x82\xD3\xE4\x93\x025*3/v1/{name=accountTypes/*/accounts/*/partnerLinks/*}\x12\xCE\x01\x0A\x12SearchPartnerLinks\x124.google.ads.datamanager.v1.SearchPartnerLinksRequest\x1A5.google.ads.datamanager.v1.SearchPartnerLinksResponse\"K\xDAA\x06parent\x82\xD3\xE4\x93\x02<\x12:/v1/{parent=accountTypes/*/accounts/*}/partnerLinks:search\x1AK\xCAA\x1Adatamanager.googleapis.com\xD2A+https://www.googleapis.com/auth/datamanagerB\xD4\x01\x0A\x1Dcom.google.ads.datamanager.v1B\x17PartnerLinkServiceProtoP\x01ZAcloud.google.com/go/datamanager/apiv1/datamanagerpb;datamanagerpb\xAA\x02\x19Google.Ads.DataManager.V1\xCA\x02\x19Google\\Ads\\DataManager\\V1\xEA\x02\x1CGoogle::Ads::DataManager::V1b\x06proto3" + "\x0A\x9B\x10\x0A4google/ads/datamanager/v1/partner_link_service.proto\x12\x19google.ads.datamanager.v1\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A\x1Bgoogle/protobuf/empty.proto\"\x9D\x01\x0A\x18CreatePartnerLinkRequest\x12>\x0A\x06parent\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x12&datamanager.googleapis.com/PartnerLink\x12A\x0A\x0Cpartner_link\x18\x02 \x01(\x0B2&.google.ads.datamanager.v1.PartnerLinkB\x03\xE0A\x02\"X\x0A\x18DeletePartnerLinkRequest\x12<\x0A\x04name\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&datamanager.googleapis.com/PartnerLink\"\x97\x01\x0A\x19SearchPartnerLinksRequest\x12>\x0A\x06parent\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x12&datamanager.googleapis.com/PartnerLink\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\"t\x0A\x1ASearchPartnerLinksResponse\x12=\x0A\x0Dpartner_links\x18\x01 \x03(\x0B2&.google.ads.datamanager.v1.PartnerLink\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xE5\x02\x0A\x0BPartnerLink\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x1C\x0A\x0Fpartner_link_id\x18\x02 \x01(\x09B\x03\xE0A\x03\x12F\x0A\x0Eowning_account\x18\x03 \x01(\x0B2).google.ads.datamanager.v1.ProductAccountB\x03\xE0A\x02\x12G\x0A\x0Fpartner_account\x18\x04 \x01(\x0B2).google.ads.datamanager.v1.ProductAccountB\x03\xE0A\x02:\x93\x01\xEAA\x8F\x01\x0A&datamanager.googleapis.com/PartnerLink\x12JaccountTypes/{account_type}/accounts/{account}/partnerLinks/{partner_link}*\x0CpartnerLinks2\x0BpartnerLink2\xE6\x05\x0A\x12PartnerLinkService\x12\xD1\x01\x0A\x11CreatePartnerLink\x123.google.ads.datamanager.v1.CreatePartnerLinkRequest\x1A&.google.ads.datamanager.v1.PartnerLink\"_\xDAA\x13parent,partner_link\x82\xD3\xE4\x93\x02C\"3/v1/{parent=accountTypes/*/accounts/*}/partnerLinks:\x0Cpartner_link\x12\xA4\x01\x0A\x11DeletePartnerLink\x123.google.ads.datamanager.v1.DeletePartnerLinkRequest\x1A\x16.google.protobuf.Empty\"B\xDAA\x04name\x82\xD3\xE4\x93\x025*3/v1/{name=accountTypes/*/accounts/*/partnerLinks/*}\x12\xCE\x01\x0A\x12SearchPartnerLinks\x124.google.ads.datamanager.v1.SearchPartnerLinksRequest\x1A5.google.ads.datamanager.v1.SearchPartnerLinksResponse\"K\xDAA\x06parent\x82\xD3\xE4\x93\x02<\x12:/v1/{parent=accountTypes/*/accounts/*}/partnerLinks:search\x1A\x83\x01\xCAA\x1Adatamanager.googleapis.com\xD2Achttps://www.googleapis.com/auth/datamanager,https://www.googleapis.com/auth/datamanager.partnerlinkB\xD4\x01\x0A\x1Dcom.google.ads.datamanager.v1B\x17PartnerLinkServiceProtoP\x01ZAcloud.google.com/go/datamanager/apiv1/datamanagerpb;datamanagerpb\xAA\x02\x19Google.Ads.DataManager.V1\xCA\x02\x19Google\\Ads\\DataManager\\V1\xEA\x02\x1CGoogle::Ads::DataManager::V1b\x06proto3" , true); static::$is_initialized = true; diff --git a/AdsDataManager/metadata/V1/ProcessingErrors.php b/AdsDataManager/metadata/V1/ProcessingErrors.php index 681c869b797a..2c5902a8133b 100644 --- a/AdsDataManager/metadata/V1/ProcessingErrors.php +++ b/AdsDataManager/metadata/V1/ProcessingErrors.php @@ -15,7 +15,7 @@ public static function initOnce() { return; } $pool->internalAddGeneratedFile( - "\x0A\x9B\x14\x0A1google/ads/datamanager/v1/processing_errors.proto\x12\x19google.ads.datamanager.v1\"H\x0A\x09ErrorInfo\x12;\x0A\x0Cerror_counts\x18\x01 \x03(\x0B2%.google.ads.datamanager.v1.ErrorCount\"d\x0A\x0AErrorCount\x12\x14\x0A\x0Crecord_count\x18\x01 \x01(\x03\x12@\x0A\x06reason\x18\x02 \x01(\x0E20.google.ads.datamanager.v1.ProcessingErrorReason\"N\x0A\x0BWarningInfo\x12?\x0A\x0Ewarning_counts\x18\x01 \x03(\x0B2'.google.ads.datamanager.v1.WarningCount\"h\x0A\x0CWarningCount\x12\x14\x0A\x0Crecord_count\x18\x01 \x01(\x03\x12B\x0A\x06reason\x18\x02 \x01(\x0E22.google.ads.datamanager.v1.ProcessingWarningReason*\x81\x0B\x0A\x15ProcessingErrorReason\x12'\x0A#PROCESSING_ERROR_REASON_UNSPECIFIED\x10\x00\x123\x0A/PROCESSING_ERROR_REASON_INVALID_CUSTOM_VARIABLE\x10\x01\x127\x0A3PROCESSING_ERROR_REASON_CUSTOM_VARIABLE_NOT_ENABLED\x10\x02\x12)\x0A%PROCESSING_ERROR_REASON_EVENT_TOO_OLD\x10\x03\x12*\x0A&PROCESSING_ERROR_REASON_DENIED_CONSENT\x10\x04\x12&\x0A\"PROCESSING_ERROR_REASON_NO_CONSENT\x10\x05\x12+\x0A'PROCESSING_ERROR_REASON_UNKNOWN_CONSENT\x10\x06\x12+\x0A'PROCESSING_ERROR_REASON_DUPLICATE_GCLID\x10\x07\x124\x0A0PROCESSING_ERROR_REASON_DUPLICATE_TRANSACTION_ID\x10\x08\x12*\x0A&PROCESSING_ERROR_REASON_INVALID_GBRAID\x10\x09\x12)\x0A%PROCESSING_ERROR_REASON_INVALID_GCLID\x10\x0A\x12/\x0A+PROCESSING_ERROR_REASON_INVALID_MERCHANT_ID\x10\x0B\x12*\x0A&PROCESSING_ERROR_REASON_INVALID_WBRAID\x10\x0C\x12*\x0A&PROCESSING_ERROR_REASON_INTERNAL_ERROR\x10\x0D\x12U\x0AQPROCESSING_ERROR_REASON_DESTINATION_ACCOUNT_ENHANCED_CONVERSIONS_TERMS_NOT_SIGNED\x10\x0E\x12)\x0A%PROCESSING_ERROR_REASON_INVALID_EVENT\x10\x0F\x12=\x0A9PROCESSING_ERROR_REASON_INSUFFICIENT_MATCHED_TRANSACTIONS\x10\x10\x125\x0A1PROCESSING_ERROR_REASON_INSUFFICIENT_TRANSACTIONS\x10\x11\x12*\x0A&PROCESSING_ERROR_REASON_INVALID_FORMAT\x10\x12\x12,\x0A(PROCESSING_ERROR_REASON_DECRYPTION_ERROR\x10\x13\x120\x0A,PROCESSING_ERROR_REASON_DEK_DECRYPTION_ERROR\x10\x14\x12'\x0A#PROCESSING_ERROR_REASON_INVALID_WIP\x10\x15\x12'\x0A#PROCESSING_ERROR_REASON_INVALID_KEK\x10\x16\x12+\x0A'PROCESSING_ERROR_REASON_WIP_AUTH_FAILED\x10\x17\x121\x0A-PROCESSING_ERROR_REASON_KEK_PERMISSION_DENIED\x10\x18\x12+\x0A'PROCESSING_ERROR_REASON_AWS_AUTH_FAILED\x10\x1B\x12<\x0A8PROCESSING_ERROR_REASON_USER_IDENTIFIER_DECRYPTION_ERROR\x10\x19\x12A\x0A=PROCESSING_ERROR_OPERATING_ACCOUNT_MISMATCH_FOR_AD_IDENTIFIER\x10\x1A*\xFF\x03\x0A\x17ProcessingWarningReason\x12)\x0A%PROCESSING_WARNING_REASON_UNSPECIFIED\x10\x00\x123\x0A/PROCESSING_WARNING_REASON_KEK_PERMISSION_DENIED\x10\x01\x122\x0A.PROCESSING_WARNING_REASON_DEK_DECRYPTION_ERROR\x10\x02\x12.\x0A*PROCESSING_WARNING_REASON_DECRYPTION_ERROR\x10\x03\x12-\x0A)PROCESSING_WARNING_REASON_WIP_AUTH_FAILED\x10\x04\x12)\x0A%PROCESSING_WARNING_REASON_INVALID_WIP\x10\x05\x12)\x0A%PROCESSING_WARNING_REASON_INVALID_KEK\x10\x06\x12>\x0A:PROCESSING_WARNING_REASON_USER_IDENTIFIER_DECRYPTION_ERROR\x10\x07\x12,\x0A(PROCESSING_WARNING_REASON_INTERNAL_ERROR\x10\x08\x12-\x0A)PROCESSING_WARNING_REASON_AWS_AUTH_FAILED\x10\x09B\xD2\x01\x0A\x1Dcom.google.ads.datamanager.v1B\x15ProcessingErrorsProtoP\x01ZAcloud.google.com/go/datamanager/apiv1/datamanagerpb;datamanagerpb\xAA\x02\x19Google.Ads.DataManager.V1\xCA\x02\x19Google\\Ads\\DataManager\\V1\xEA\x02\x1CGoogle::Ads::DataManager::V1b\x06proto3" + "\x0A\x96\x1B\x0A1google/ads/datamanager/v1/processing_errors.proto\x12\x19google.ads.datamanager.v1\"H\x0A\x09ErrorInfo\x12;\x0A\x0Cerror_counts\x18\x01 \x03(\x0B2%.google.ads.datamanager.v1.ErrorCount\"d\x0A\x0AErrorCount\x12\x14\x0A\x0Crecord_count\x18\x01 \x01(\x03\x12@\x0A\x06reason\x18\x02 \x01(\x0E20.google.ads.datamanager.v1.ProcessingErrorReason\"N\x0A\x0BWarningInfo\x12?\x0A\x0Ewarning_counts\x18\x01 \x03(\x0B2'.google.ads.datamanager.v1.WarningCount\"h\x0A\x0CWarningCount\x12\x14\x0A\x0Crecord_count\x18\x01 \x01(\x03\x12B\x0A\x06reason\x18\x02 \x01(\x0E22.google.ads.datamanager.v1.ProcessingWarningReason*\xFC\x11\x0A\x15ProcessingErrorReason\x12'\x0A#PROCESSING_ERROR_REASON_UNSPECIFIED\x10\x00\x123\x0A/PROCESSING_ERROR_REASON_INVALID_CUSTOM_VARIABLE\x10\x01\x127\x0A3PROCESSING_ERROR_REASON_CUSTOM_VARIABLE_NOT_ENABLED\x10\x02\x12)\x0A%PROCESSING_ERROR_REASON_EVENT_TOO_OLD\x10\x03\x12*\x0A&PROCESSING_ERROR_REASON_DENIED_CONSENT\x10\x04\x12&\x0A\"PROCESSING_ERROR_REASON_NO_CONSENT\x10\x05\x12+\x0A'PROCESSING_ERROR_REASON_UNKNOWN_CONSENT\x10\x06\x12+\x0A'PROCESSING_ERROR_REASON_DUPLICATE_GCLID\x10\x07\x124\x0A0PROCESSING_ERROR_REASON_DUPLICATE_TRANSACTION_ID\x10\x08\x12*\x0A&PROCESSING_ERROR_REASON_INVALID_GBRAID\x10\x09\x12)\x0A%PROCESSING_ERROR_REASON_INVALID_GCLID\x10\x0A\x12/\x0A+PROCESSING_ERROR_REASON_INVALID_MERCHANT_ID\x10\x0B\x12*\x0A&PROCESSING_ERROR_REASON_INVALID_WBRAID\x10\x0C\x12*\x0A&PROCESSING_ERROR_REASON_INTERNAL_ERROR\x10\x0D\x12U\x0AQPROCESSING_ERROR_REASON_DESTINATION_ACCOUNT_ENHANCED_CONVERSIONS_TERMS_NOT_SIGNED\x10\x0E\x12)\x0A%PROCESSING_ERROR_REASON_INVALID_EVENT\x10\x0F\x12=\x0A9PROCESSING_ERROR_REASON_INSUFFICIENT_MATCHED_TRANSACTIONS\x10\x10\x125\x0A1PROCESSING_ERROR_REASON_INSUFFICIENT_TRANSACTIONS\x10\x11\x12*\x0A&PROCESSING_ERROR_REASON_INVALID_FORMAT\x10\x12\x12,\x0A(PROCESSING_ERROR_REASON_DECRYPTION_ERROR\x10\x13\x120\x0A,PROCESSING_ERROR_REASON_DEK_DECRYPTION_ERROR\x10\x14\x12'\x0A#PROCESSING_ERROR_REASON_INVALID_WIP\x10\x15\x12'\x0A#PROCESSING_ERROR_REASON_INVALID_KEK\x10\x16\x12+\x0A'PROCESSING_ERROR_REASON_WIP_AUTH_FAILED\x10\x17\x121\x0A-PROCESSING_ERROR_REASON_KEK_PERMISSION_DENIED\x10\x18\x12+\x0A'PROCESSING_ERROR_REASON_AWS_AUTH_FAILED\x10\x1B\x12<\x0A8PROCESSING_ERROR_REASON_USER_IDENTIFIER_DECRYPTION_ERROR\x10\x19\x12A\x0A=PROCESSING_ERROR_OPERATING_ACCOUNT_MISMATCH_FOR_AD_IDENTIFIER\x10\x1A\x12T\x0APPROCESSING_ERROR_REASON_ONE_PER_CLICK_CONVERSION_ACTION_NOT_PERMITTED_WITH_BRAID\x10\x1C\x12.\x0A*PROCESSING_ERROR_REASON_MATCH_ID_NOT_FOUND\x10\x1D\x12:\x0A6PROCESSING_ERROR_REASON_USER_ID_NOT_FOUND_FOR_MATCH_ID\x10\x1E\x127\x0A3PROCESSING_ERROR_REASON_USER_ID_NOT_FOUND_FOR_GCLID\x10\x1F\x127\x0A3PROCESSING_ERROR_REASON_USER_ID_NOT_FOUND_FOR_DCLID\x10 \x122\x0A.PROCESSING_ERROR_REASON_INVALID_AD_IDENTIFIERS\x10!\x124\x0A0PROCESSING_ERROR_REASON_INVALID_MOBILE_ID_FORMAT\x10\"\x12:\x0A6PROCESSING_ERROR_REASON_ORIGINAL_CONVERSIONS_NOT_FOUND\x10#\x121\x0A-PROCESSING_ERROR_REASON_EVENT_ID_DECODE_ERROR\x10\$\x12?\x0A;PROCESSING_ERROR_REASON_USER_ID_NOT_FOUND_FOR_IMPRESSION_ID\x10%\x12-\x0A)PROCESSING_ERROR_REASON_USER_ID_NOT_FOUND\x10&\x125\x0A1PROCESSING_ERROR_REASON_CONVERSION_PRECEDES_CLICK\x10'\x12,\x0A(PROCESSING_ERROR_REASON_TOO_RECENT_CLICK\x10(\x12)\x0A%PROCESSING_ERROR_REASON_INVALID_CLICK\x10)\x12?\x0A;PROCESSING_ERROR_REASON_INVALID_OPERATING_ACCOUNT_FOR_CLICK\x10*\x12+\x0A'PROCESSING_ERROR_REASON_CLICK_NOT_FOUND\x10+*\xFF\x03\x0A\x17ProcessingWarningReason\x12)\x0A%PROCESSING_WARNING_REASON_UNSPECIFIED\x10\x00\x123\x0A/PROCESSING_WARNING_REASON_KEK_PERMISSION_DENIED\x10\x01\x122\x0A.PROCESSING_WARNING_REASON_DEK_DECRYPTION_ERROR\x10\x02\x12.\x0A*PROCESSING_WARNING_REASON_DECRYPTION_ERROR\x10\x03\x12-\x0A)PROCESSING_WARNING_REASON_WIP_AUTH_FAILED\x10\x04\x12)\x0A%PROCESSING_WARNING_REASON_INVALID_WIP\x10\x05\x12)\x0A%PROCESSING_WARNING_REASON_INVALID_KEK\x10\x06\x12>\x0A:PROCESSING_WARNING_REASON_USER_IDENTIFIER_DECRYPTION_ERROR\x10\x07\x12,\x0A(PROCESSING_WARNING_REASON_INTERNAL_ERROR\x10\x08\x12-\x0A)PROCESSING_WARNING_REASON_AWS_AUTH_FAILED\x10\x09B\xD2\x01\x0A\x1Dcom.google.ads.datamanager.v1B\x15ProcessingErrorsProtoP\x01ZAcloud.google.com/go/datamanager/apiv1/datamanagerpb;datamanagerpb\xAA\x02\x19Google.Ads.DataManager.V1\xCA\x02\x19Google\\Ads\\DataManager\\V1\xEA\x02\x1CGoogle::Ads::DataManager::V1b\x06proto3" , true); static::$is_initialized = true; diff --git a/AdsDataManager/metadata/V1/RequestStatusPerDestination.php b/AdsDataManager/metadata/V1/RequestStatusPerDestination.php index 15b95044d09b..b7ed92f0f0d8 100644 --- a/AdsDataManager/metadata/V1/RequestStatusPerDestination.php +++ b/AdsDataManager/metadata/V1/RequestStatusPerDestination.php @@ -18,7 +18,7 @@ public static function initOnce() { \GPBMetadata\Google\Ads\Datamanager\V1\MatchRate::initOnce(); \GPBMetadata\Google\Ads\Datamanager\V1\ProcessingErrors::initOnce(); $pool->internalAddGeneratedFile( - "\x0A\xD3\x19\x0A>google/ads/datamanager/v1/request_status_per_destination.proto\x12\x19google.ads.datamanager.v1\x1A*google/ads/datamanager/v1/match_rate.proto\x1A1google/ads/datamanager/v1/processing_errors.proto\"\xAE\x16\x0A\x1BRequestStatusPerDestination\x12;\x0A\x0Bdestination\x18\x01 \x01(\x0B2&.google.ads.datamanager.v1.Destination\x12\\\x0A\x0Erequest_status\x18\x02 \x01(\x0E2D.google.ads.datamanager.v1.RequestStatusPerDestination.RequestStatus\x128\x0A\x0Aerror_info\x18\x03 \x01(\x0B2\$.google.ads.datamanager.v1.ErrorInfo\x12<\x0A\x0Cwarning_info\x18\x07 \x01(\x0B2&.google.ads.datamanager.v1.WarningInfo\x12\x7F\x0A!audience_members_ingestion_status\x18\x04 \x01(\x0B2R.google.ads.datamanager.v1.RequestStatusPerDestination.IngestAudienceMembersStatusH\x00\x12l\x0A\x17events_ingestion_status\x18\x05 \x01(\x0B2I.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatusH\x00\x12}\x0A\x1Faudience_members_removal_status\x18\x06 \x01(\x0B2R.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveAudienceMembersStatusH\x00\x1A\xEF\x04\x0A\x1BIngestAudienceMembersStatus\x12q\x0A\x1Auser_data_ingestion_status\x18\x01 \x01(\x0B2K.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatusH\x00\x12u\x0A\x1Cmobile_data_ingestion_status\x18\x02 \x01(\x0B2M.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatusH\x00\x12q\x0A\x1Apair_data_ingestion_status\x18\x03 \x01(\x0B2K.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatusH\x00\x12v\x0A\x1Duser_id_data_ingestion_status\x18\x04 \x01(\x0B2M.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatusH\x00\x12q\x0A\x1Appid_data_ingestion_status\x18\x05 \x01(\x0B2K.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatusH\x00B\x08\x0A\x06status\x1A\xE5\x04\x0A\x1BRemoveAudienceMembersStatus\x12o\x0A\x18user_data_removal_status\x18\x01 \x01(\x0B2K.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatusH\x00\x12s\x0A\x1Amobile_data_removal_status\x18\x02 \x01(\x0B2M.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatusH\x00\x12o\x0A\x18pair_data_removal_status\x18\x03 \x01(\x0B2K.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatusH\x00\x12t\x0A\x1Buser_id_data_removal_status\x18\x04 \x01(\x0B2M.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatusH\x00\x12o\x0A\x18ppid_data_removal_status\x18\x05 \x01(\x0B2K.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatusH\x00B\x08\x0A\x06status\x1A*\x0A\x12IngestEventsStatus\x12\x14\x0A\x0Crecord_count\x18\x01 \x01(\x03\x1A\x97\x01\x0A\x14IngestUserDataStatus\x12\x14\x0A\x0Crecord_count\x18\x01 \x01(\x03\x12\x1D\x0A\x15user_identifier_count\x18\x02 \x01(\x03\x12J\x0A\x17upload_match_rate_range\x18\x03 \x01(\x0E2).google.ads.datamanager.v1.MatchRateRange\x1AK\x0A\x14RemoveUserDataStatus\x12\x14\x0A\x0Crecord_count\x18\x01 \x01(\x03\x12\x1D\x0A\x15user_identifier_count\x18\x02 \x01(\x03\x1AG\x0A\x16IngestMobileDataStatus\x12\x14\x0A\x0Crecord_count\x18\x01 \x01(\x03\x12\x17\x0A\x0Fmobile_id_count\x18\x02 \x01(\x03\x1AG\x0A\x16RemoveMobileDataStatus\x12\x14\x0A\x0Crecord_count\x18\x01 \x01(\x03\x12\x17\x0A\x0Fmobile_id_count\x18\x02 \x01(\x03\x1AC\x0A\x14IngestPairDataStatus\x12\x14\x0A\x0Crecord_count\x18\x01 \x01(\x03\x12\x15\x0A\x0Dpair_id_count\x18\x02 \x01(\x03\x1AC\x0A\x14RemovePairDataStatus\x12\x14\x0A\x0Crecord_count\x18\x01 \x01(\x03\x12\x15\x0A\x0Dpair_id_count\x18\x02 \x01(\x03\x1AE\x0A\x16IngestUserIdDataStatus\x12\x14\x0A\x0Crecord_count\x18\x01 \x01(\x03\x12\x15\x0A\x0Duser_id_count\x18\x02 \x01(\x03\x1AE\x0A\x16RemoveUserIdDataStatus\x12\x14\x0A\x0Crecord_count\x18\x01 \x01(\x03\x12\x15\x0A\x0Duser_id_count\x18\x02 \x01(\x03\x1A@\x0A\x14IngestPpidDataStatus\x12\x14\x0A\x0Crecord_count\x18\x01 \x01(\x03\x12\x12\x0A\x0Appid_count\x18\x02 \x01(\x03\x1A@\x0A\x14RemovePpidDataStatus\x12\x14\x0A\x0Crecord_count\x18\x01 \x01(\x03\x12\x12\x0A\x0Appid_count\x18\x02 \x01(\x03\"i\x0A\x0DRequestStatus\x12\x1A\x0A\x16REQUEST_STATUS_UNKNOWN\x10\x00\x12\x0B\x0A\x07SUCCESS\x10\x01\x12\x0E\x0A\x0APROCESSING\x10\x02\x12\x0A\x0A\x06FAILED\x10\x03\x12\x13\x0A\x0FPARTIAL_SUCCESS\x10\x04B\x08\x0A\x06statusB\xDD\x01\x0A\x1Dcom.google.ads.datamanager.v1B RequestStatusPerDestinationProtoP\x01ZAcloud.google.com/go/datamanager/apiv1/datamanagerpb;datamanagerpb\xAA\x02\x19Google.Ads.DataManager.V1\xCA\x02\x19Google\\Ads\\DataManager\\V1\xEA\x02\x1CGoogle::Ads::DataManager::V1b\x06proto3" + "\x0A\x8F \x0A>google/ads/datamanager/v1/request_status_per_destination.proto\x12\x19google.ads.datamanager.v1\x1A*google/ads/datamanager/v1/match_rate.proto\x1A1google/ads/datamanager/v1/processing_errors.proto\"\xEA\x1C\x0A\x1BRequestStatusPerDestination\x12;\x0A\x0Bdestination\x18\x01 \x01(\x0B2&.google.ads.datamanager.v1.Destination\x12\\\x0A\x0Erequest_status\x18\x02 \x01(\x0E2D.google.ads.datamanager.v1.RequestStatusPerDestination.RequestStatus\x128\x0A\x0Aerror_info\x18\x03 \x01(\x0B2\$.google.ads.datamanager.v1.ErrorInfo\x12<\x0A\x0Cwarning_info\x18\x07 \x01(\x0B2&.google.ads.datamanager.v1.WarningInfo\x12\x7F\x0A!audience_members_ingestion_status\x18\x04 \x01(\x0B2R.google.ads.datamanager.v1.RequestStatusPerDestination.IngestAudienceMembersStatusH\x00\x12l\x0A\x17events_ingestion_status\x18\x05 \x01(\x0B2I.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatusH\x00\x12}\x0A\x1Faudience_members_removal_status\x18\x06 \x01(\x0B2R.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveAudienceMembersStatusH\x00\x1A\xEC\x05\x0A\x1BIngestAudienceMembersStatus\x12q\x0A\x1Auser_data_ingestion_status\x18\x01 \x01(\x0B2K.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatusH\x00\x12u\x0A\x1Cmobile_data_ingestion_status\x18\x02 \x01(\x0B2M.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatusH\x00\x12q\x0A\x1Apair_data_ingestion_status\x18\x03 \x01(\x0B2K.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatusH\x00\x12v\x0A\x1Duser_id_data_ingestion_status\x18\x04 \x01(\x0B2M.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatusH\x00\x12q\x0A\x1Appid_data_ingestion_status\x18\x05 \x01(\x0B2K.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatusH\x00\x12{\x0A\x1Fcomposite_data_ingestion_status\x18\x06 \x01(\x0B2P.google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatusH\x00B\x08\x0A\x06status\x1A\xE0\x05\x0A\x1BRemoveAudienceMembersStatus\x12o\x0A\x18user_data_removal_status\x18\x01 \x01(\x0B2K.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatusH\x00\x12s\x0A\x1Amobile_data_removal_status\x18\x02 \x01(\x0B2M.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatusH\x00\x12o\x0A\x18pair_data_removal_status\x18\x03 \x01(\x0B2K.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatusH\x00\x12t\x0A\x1Buser_id_data_removal_status\x18\x04 \x01(\x0B2M.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatusH\x00\x12o\x0A\x18ppid_data_removal_status\x18\x05 \x01(\x0B2K.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatusH\x00\x12y\x0A\x1Dcomposite_data_removal_status\x18\x06 \x01(\x0B2P.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatusH\x00B\x08\x0A\x06status\x1A*\x0A\x12IngestEventsStatus\x12\x14\x0A\x0Crecord_count\x18\x01 \x01(\x03\x1A\x97\x01\x0A\x14IngestUserDataStatus\x12\x14\x0A\x0Crecord_count\x18\x01 \x01(\x03\x12\x1D\x0A\x15user_identifier_count\x18\x02 \x01(\x03\x12J\x0A\x17upload_match_rate_range\x18\x03 \x01(\x0E2).google.ads.datamanager.v1.MatchRateRange\x1AK\x0A\x14RemoveUserDataStatus\x12\x14\x0A\x0Crecord_count\x18\x01 \x01(\x03\x12\x1D\x0A\x15user_identifier_count\x18\x02 \x01(\x03\x1AG\x0A\x16IngestMobileDataStatus\x12\x14\x0A\x0Crecord_count\x18\x01 \x01(\x03\x12\x17\x0A\x0Fmobile_id_count\x18\x02 \x01(\x03\x1AG\x0A\x16RemoveMobileDataStatus\x12\x14\x0A\x0Crecord_count\x18\x01 \x01(\x03\x12\x17\x0A\x0Fmobile_id_count\x18\x02 \x01(\x03\x1AC\x0A\x14IngestPairDataStatus\x12\x14\x0A\x0Crecord_count\x18\x01 \x01(\x03\x12\x15\x0A\x0Dpair_id_count\x18\x02 \x01(\x03\x1AC\x0A\x14RemovePairDataStatus\x12\x14\x0A\x0Crecord_count\x18\x01 \x01(\x03\x12\x15\x0A\x0Dpair_id_count\x18\x02 \x01(\x03\x1AE\x0A\x16IngestUserIdDataStatus\x12\x14\x0A\x0Crecord_count\x18\x01 \x01(\x03\x12\x15\x0A\x0Duser_id_count\x18\x02 \x01(\x03\x1AE\x0A\x16RemoveUserIdDataStatus\x12\x14\x0A\x0Crecord_count\x18\x01 \x01(\x03\x12\x15\x0A\x0Duser_id_count\x18\x02 \x01(\x03\x1A@\x0A\x14IngestPpidDataStatus\x12\x14\x0A\x0Crecord_count\x18\x01 \x01(\x03\x12\x12\x0A\x0Appid_count\x18\x02 \x01(\x03\x1A@\x0A\x14RemovePpidDataStatus\x12\x14\x0A\x0Crecord_count\x18\x01 \x01(\x03\x12\x12\x0A\x0Appid_count\x18\x02 \x01(\x03\x1A\xDD\x01\x0A\x19IngestCompositeDataStatus\x12\x14\x0A\x0Crecord_count\x18\x01 \x01(\x03\x12^\x0A\x10data_type_counts\x18\x02 \x03(\x0B2D.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount\x12J\x0A\x17upload_match_rate_range\x18\x03 \x01(\x0E2).google.ads.datamanager.v1.MatchRateRange\x1A\x91\x01\x0A\x19RemoveCompositeDataStatus\x12\x14\x0A\x0Crecord_count\x18\x01 \x01(\x03\x12^\x0A\x10data_type_counts\x18\x02 \x03(\x0B2D.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount\x1Am\x0A\x0DDataTypeCount\x12M\x0A\x04type\x18\x01 \x01(\x0E2?.google.ads.datamanager.v1.RequestStatusPerDestination.DataType\x12\x0D\x0A\x05count\x18\x02 \x01(\x03\"i\x0A\x0DRequestStatus\x12\x1A\x0A\x16REQUEST_STATUS_UNKNOWN\x10\x00\x12\x0B\x0A\x07SUCCESS\x10\x01\x12\x0E\x0A\x0APROCESSING\x10\x02\x12\x0A\x0A\x06FAILED\x10\x03\x12\x13\x0A\x0FPARTIAL_SUCCESS\x10\x04\"_\x0A\x08DataType\x12\x19\x0A\x15DATA_TYPE_UNSPECIFIED\x10\x00\x12\x09\x0A\x05EMAIL\x10\x01\x12\x10\x0A\x0CPHONE_NUMBER\x10\x02\x12\x0B\x0A\x07ADDRESS\x10\x03\x12\x0E\x0A\x0AIP_ADDRESS\x10\x04B\x08\x0A\x06statusB\xDD\x01\x0A\x1Dcom.google.ads.datamanager.v1B RequestStatusPerDestinationProtoP\x01ZAcloud.google.com/go/datamanager/apiv1/datamanagerpb;datamanagerpb\xAA\x02\x19Google.Ads.DataManager.V1\xCA\x02\x19Google\\Ads\\DataManager\\V1\xEA\x02\x1CGoogle::Ads::DataManager::V1b\x06proto3" , true); static::$is_initialized = true; diff --git a/AdsDataManager/metadata/V1/UserList.php b/AdsDataManager/metadata/V1/UserList.php index c35003b13c8c..a3c19d3c09f0 100644 --- a/AdsDataManager/metadata/V1/UserList.php +++ b/AdsDataManager/metadata/V1/UserList.php @@ -18,7 +18,7 @@ public static function initOnce() { \GPBMetadata\Google\Api\Resource::initOnce(); \GPBMetadata\Google\Protobuf\Duration::initOnce(); $pool->internalAddGeneratedFile( - "\x0A\xF4\"\x0A)google/ads/datamanager/v1/user_list.proto\x12\x19google.ads.datamanager.v1\x1A\x19google/api/resource.proto\x1A\x1Egoogle/protobuf/duration.proto\"\xFF\x0A\x0A\x08UserList\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x0F\x0A\x02id\x18\x02 \x01(\x03B\x03\xE0A\x03\x12\x16\x0A\x09read_only\x18\x03 \x01(\x08B\x03\xE0A\x03\x12\x1E\x0A\x0Cdisplay_name\x18\x04 \x01(\x09B\x03\xE0A\x02H\x01\x88\x01\x01\x12\x1D\x0A\x0Bdescription\x18\x05 \x01(\x09B\x03\xE0A\x01H\x02\x88\x01\x01\x12Y\x0A\x11membership_status\x18\x06 \x01(\x0E24.google.ads.datamanager.v1.UserList.MembershipStatusB\x03\xE0A\x01H\x03\x88\x01\x01\x12\"\x0A\x10integration_code\x18\x07 \x01(\x09B\x03\xE0A\x01H\x04\x88\x01\x01\x12;\x0A\x13membership_duration\x18\x08 \x01(\x0B2\x19.google.protobuf.DurationB\x03\xE0A\x01\x12S\x0A\x0Eclosing_reason\x18\x09 \x01(\x0E21.google.ads.datamanager.v1.UserList.ClosingReasonB\x03\xE0A\x03H\x05\x88\x01\x01\x12L\x0A\x0Daccess_reason\x18\x0A \x01(\x0E20.google.ads.datamanager.v1.UserList.AccessReasonB\x03\xE0A\x03\x12Y\x0A\x15account_access_status\x18\x0B \x01(\x0E20.google.ads.datamanager.v1.UserList.AccessStatusB\x03\xE0A\x01H\x06\x88\x01\x01\x12;\x0A\x09size_info\x18\x0C \x01(\x0B2#.google.ads.datamanager.v1.SizeInfoB\x03\xE0A\x03\x12N\x0A\x13target_network_info\x18\x0D \x01(\x0B2,.google.ads.datamanager.v1.TargetNetworkInfoB\x03\xE0A\x01\x12W\x0A\x17ingested_user_list_info\x18\x0E \x01(\x0B2/.google.ads.datamanager.v1.IngestedUserListInfoB\x03\xE0A\x01H\x00\"K\x0A\x10MembershipStatus\x12!\x0A\x1DMEMBERSHIP_STATUS_UNSPECIFIED\x10\x00\x12\x08\x0A\x04OPEN\x10\x01\x12\x0A\x0A\x06CLOSED\x10\x02\";\x0A\x0DClosingReason\x12\x1E\x0A\x1ACLOSING_REASON_UNSPECIFIED\x10\x00\x12\x0A\x0A\x06UNUSED\x10\x01\"r\x0A\x0CAccessReason\x12\x1D\x0A\x19ACCESS_REASON_UNSPECIFIED\x10\x00\x12\x09\x0A\x05OWNED\x10\x01\x12\x0A\x0A\x06SHARED\x10\x02\x12\x0C\x0A\x08LICENSED\x10\x03\x12\x0E\x0A\x0ASUBSCRIBED\x10\x04\x12\x0E\x0A\x0AAFFILIATED\x10\x05\"H\x0A\x0CAccessStatus\x12\x1D\x0A\x19ACCESS_STATUS_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07ENABLED\x10\x01\x12\x0C\x0A\x08DISABLED\x10\x02:\x84\x01\xEAA\x80\x01\x0A#datamanager.googleapis.com/UserList\x12DaccountTypes/{account_type}/accounts/{account}/userLists/{user_list}*\x09userLists2\x08userListB\x10\x0A\x0Euser_list_infoB\x0F\x0A\x0D_display_nameB\x0E\x0A\x0C_descriptionB\x14\x0A\x12_membership_statusB\x13\x0A\x11_integration_codeB\x11\x0A\x0F_closing_reasonB\x18\x0A\x16_account_access_status\"a\x0A\x08SizeInfo\x12*\x0A\x1Ddisplay_network_members_count\x18\x01 \x01(\x03B\x03\xE0A\x03\x12)\x0A\x1Csearch_network_members_count\x18\x02 \x01(\x03B\x03\xE0A\x03\"u\x0A\x11TargetNetworkInfo\x12!\x0A\x14eligible_for_display\x18\x01 \x01(\x08B\x03\xE0A\x03\x12%\x0A\x13eligible_for_search\x18\x02 \x01(\x08B\x03\xE0A\x01H\x00\x88\x01\x01B\x16\x0A\x14_eligible_for_search\"\xAF\x05\x0A\x14IngestedUserListInfo\x12_\x0A\x10upload_key_types\x18\x01 \x03(\x0E2=.google.ads.datamanager.v1.IngestedUserListInfo.UploadKeyTypeB\x06\xE0A\x02\xE0A\x05\x12F\x0A\x0Fcontact_id_info\x18\x02 \x01(\x0B2(.google.ads.datamanager.v1.ContactIdInfoB\x03\xE0A\x01\x12D\x0A\x0Emobile_id_info\x18\x03 \x01(\x0B2'.google.ads.datamanager.v1.MobileIdInfoB\x03\xE0A\x01\x12@\x0A\x0Cuser_id_info\x18\x04 \x01(\x0B2%.google.ads.datamanager.v1.UserIdInfoB\x03\xE0A\x01\x12@\x0A\x0Cpair_id_info\x18\x05 \x01(\x0B2%.google.ads.datamanager.v1.PairIdInfoB\x03\xE0A\x01\x12P\x0A\x14pseudonymous_id_info\x18\x06 \x01(\x0B2-.google.ads.datamanager.v1.PseudonymousIdInfoB\x03\xE0A\x01\x12R\x0A\x15partner_audience_info\x18\x07 \x01(\x0B2..google.ads.datamanager.v1.PartnerAudienceInfoB\x03\xE0A\x01\"~\x0A\x0DUploadKeyType\x12\x1F\x0A\x1BUPLOAD_KEY_TYPE_UNSPECIFIED\x10\x00\x12\x0E\x0A\x0ACONTACT_ID\x10\x01\x12\x0D\x0A\x09MOBILE_ID\x10\x02\x12\x0B\x0A\x07USER_ID\x10\x03\x12\x0B\x0A\x07PAIR_ID\x10\x04\x12\x13\x0A\x0FPSEUDONYMOUS_ID\x10\x05\"\x9A\x01\x0A\x0DContactIdInfo\x12P\x0A\x10data_source_type\x18\x01 \x01(\x0E2).google.ads.datamanager.v1.DataSourceTypeB\x06\xE0A\x01\xE0A\x05H\x00\x88\x01\x01\x12\"\x0A\x15match_rate_percentage\x18\x02 \x01(\x05B\x03\xE0A\x03B\x13\x0A\x11_data_source_type\"\xBA\x02\x0A\x0CMobileIdInfo\x12P\x0A\x10data_source_type\x18\x01 \x01(\x0E2).google.ads.datamanager.v1.DataSourceTypeB\x06\xE0A\x01\xE0A\x05H\x00\x88\x01\x01\x12P\x0A\x09key_space\x18\x02 \x01(\x0E20.google.ads.datamanager.v1.MobileIdInfo.KeySpaceB\x06\xE0A\x02\xE0A\x05H\x01\x88\x01\x01\x12\x1B\x0A\x06app_id\x18\x03 \x01(\x09B\x06\xE0A\x02\xE0A\x05H\x02\x88\x01\x01\";\x0A\x08KeySpace\x12\x19\x0A\x15KEY_SPACE_UNSPECIFIED\x10\x00\x12\x07\x0A\x03IOS\x10\x01\x12\x0B\x0A\x07ANDROID\x10\x02B\x13\x0A\x11_data_source_typeB\x0C\x0A\x0A_key_spaceB\x09\x0A\x07_app_id\"s\x0A\x0AUserIdInfo\x12P\x0A\x10data_source_type\x18\x01 \x01(\x0E2).google.ads.datamanager.v1.DataSourceTypeB\x06\xE0A\x01\xE0A\x05H\x00\x88\x01\x01B\x13\x0A\x11_data_source_type\"\xCD\x02\x0A\x0APairIdInfo\x12!\x0A\x0Cpublisher_id\x18\x01 \x01(\x03B\x06\xE0A\x02\xE0A\x05H\x00\x88\x01\x01\x12 \x0A\x0Epublisher_name\x18\x02 \x01(\x09B\x03\xE0A\x02H\x01\x88\x01\x01\x12'\x0A\x15match_rate_percentage\x18\x03 \x01(\x05B\x03\xE0A\x02H\x02\x88\x01\x01\x12-\x0A\x1Badvertiser_identifier_count\x18\x04 \x01(\x03B\x03\xE0A\x01H\x03\x88\x01\x01\x12*\x0A\x15clean_room_identifier\x18\x05 \x01(\x09B\x06\xE0A\x02\xE0A\x05H\x04\x88\x01\x01B\x0F\x0A\x0D_publisher_idB\x11\x0A\x0F_publisher_nameB\x18\x0A\x16_match_rate_percentageB\x1E\x0A\x1C_advertiser_identifier_countB\x18\x0A\x16_clean_room_identifier\"\xEE\x02\x0A\x13PartnerAudienceInfo\x12r\x0A\x17partner_audience_source\x18\x01 \x01(\x0E2D.google.ads.datamanager.v1.PartnerAudienceInfo.PartnerAudienceSourceB\x06\xE0A\x02\xE0A\x05H\x00\x88\x01\x01\x12\"\x0A\x10commerce_partner\x18\x02 \x01(\x09B\x03\xE0A\x01H\x01\x88\x01\x01\"\x8D\x01\x0A\x15PartnerAudienceSource\x12'\x0A#PARTNER_AUDIENCE_SOURCE_UNSPECIFIED\x10\x00\x12\x15\x0A\x11COMMERCE_AUDIENCE\x10\x01\x12\x16\x0A\x12LINEAR_TV_AUDIENCE\x10\x02\x12\x1C\x0A\x18AGENCY_PROVIDER_AUDIENCE\x10\x03B\x1A\x0A\x18_partner_audience_sourceB\x13\x0A\x11_commerce_partner\"\x9A\x02\x0A\x12PseudonymousIdInfo\x12W\x0A\x0Bsync_status\x18\x01 \x01(\x0E28.google.ads.datamanager.v1.PseudonymousIdInfo.SyncStatusB\x03\xE0A\x03H\x00\x88\x01\x01\x12*\x0A\x15billable_record_count\x18\x02 \x01(\x03B\x06\xE0A\x01\xE0A\x05H\x01\x88\x01\x01\"U\x0A\x0ASyncStatus\x12\x1B\x0A\x17SYNC_STATUS_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07CREATED\x10\x01\x12\x11\x0A\x0DREADY_FOR_USE\x10\x02\x12\x0A\x0A\x06FAILED\x10\x03B\x0E\x0A\x0C_sync_statusB\x18\x0A\x16_billable_record_count*\xE0\x01\x0A\x0EDataSourceType\x12 \x0A\x1CDATA_SOURCE_TYPE_UNSPECIFIED\x10\x00\x12 \x0A\x1CDATA_SOURCE_TYPE_FIRST_PARTY\x10\x01\x12.\x0A*DATA_SOURCE_TYPE_THIRD_PARTY_CREDIT_BUREAU\x10\x02\x12+\x0A'DATA_SOURCE_TYPE_THIRD_PARTY_VOTER_FILE\x10\x03\x12-\x0A)DATA_SOURCE_TYPE_THIRD_PARTY_PARTNER_DATA\x10\x04B\xCA\x01\x0A\x1Dcom.google.ads.datamanager.v1B\x0DUserListProtoP\x01ZAcloud.google.com/go/datamanager/apiv1/datamanagerpb;datamanagerpb\xAA\x02\x19Google.Ads.DataManager.V1\xCA\x02\x19Google\\Ads\\DataManager\\V1\xEA\x02\x1CGoogle::Ads::DataManager::V1b\x06proto3" + "\x0A\xBB#\x0A)google/ads/datamanager/v1/user_list.proto\x12\x19google.ads.datamanager.v1\x1A\x19google/api/resource.proto\x1A\x1Egoogle/protobuf/duration.proto\"\xFF\x0A\x0A\x08UserList\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x0F\x0A\x02id\x18\x02 \x01(\x03B\x03\xE0A\x03\x12\x16\x0A\x09read_only\x18\x03 \x01(\x08B\x03\xE0A\x03\x12\x1E\x0A\x0Cdisplay_name\x18\x04 \x01(\x09B\x03\xE0A\x02H\x01\x88\x01\x01\x12\x1D\x0A\x0Bdescription\x18\x05 \x01(\x09B\x03\xE0A\x01H\x02\x88\x01\x01\x12Y\x0A\x11membership_status\x18\x06 \x01(\x0E24.google.ads.datamanager.v1.UserList.MembershipStatusB\x03\xE0A\x01H\x03\x88\x01\x01\x12\"\x0A\x10integration_code\x18\x07 \x01(\x09B\x03\xE0A\x01H\x04\x88\x01\x01\x12;\x0A\x13membership_duration\x18\x08 \x01(\x0B2\x19.google.protobuf.DurationB\x03\xE0A\x01\x12S\x0A\x0Eclosing_reason\x18\x09 \x01(\x0E21.google.ads.datamanager.v1.UserList.ClosingReasonB\x03\xE0A\x03H\x05\x88\x01\x01\x12L\x0A\x0Daccess_reason\x18\x0A \x01(\x0E20.google.ads.datamanager.v1.UserList.AccessReasonB\x03\xE0A\x03\x12Y\x0A\x15account_access_status\x18\x0B \x01(\x0E20.google.ads.datamanager.v1.UserList.AccessStatusB\x03\xE0A\x01H\x06\x88\x01\x01\x12;\x0A\x09size_info\x18\x0C \x01(\x0B2#.google.ads.datamanager.v1.SizeInfoB\x03\xE0A\x03\x12N\x0A\x13target_network_info\x18\x0D \x01(\x0B2,.google.ads.datamanager.v1.TargetNetworkInfoB\x03\xE0A\x01\x12W\x0A\x17ingested_user_list_info\x18\x0E \x01(\x0B2/.google.ads.datamanager.v1.IngestedUserListInfoB\x03\xE0A\x01H\x00\"K\x0A\x10MembershipStatus\x12!\x0A\x1DMEMBERSHIP_STATUS_UNSPECIFIED\x10\x00\x12\x08\x0A\x04OPEN\x10\x01\x12\x0A\x0A\x06CLOSED\x10\x02\";\x0A\x0DClosingReason\x12\x1E\x0A\x1ACLOSING_REASON_UNSPECIFIED\x10\x00\x12\x0A\x0A\x06UNUSED\x10\x01\"r\x0A\x0CAccessReason\x12\x1D\x0A\x19ACCESS_REASON_UNSPECIFIED\x10\x00\x12\x09\x0A\x05OWNED\x10\x01\x12\x0A\x0A\x06SHARED\x10\x02\x12\x0C\x0A\x08LICENSED\x10\x03\x12\x0E\x0A\x0ASUBSCRIBED\x10\x04\x12\x0E\x0A\x0AAFFILIATED\x10\x05\"H\x0A\x0CAccessStatus\x12\x1D\x0A\x19ACCESS_STATUS_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07ENABLED\x10\x01\x12\x0C\x0A\x08DISABLED\x10\x02:\x84\x01\xEAA\x80\x01\x0A#datamanager.googleapis.com/UserList\x12DaccountTypes/{account_type}/accounts/{account}/userLists/{user_list}*\x09userLists2\x08userListB\x10\x0A\x0Euser_list_infoB\x0F\x0A\x0D_display_nameB\x0E\x0A\x0C_descriptionB\x14\x0A\x12_membership_statusB\x13\x0A\x11_integration_codeB\x11\x0A\x0F_closing_reasonB\x18\x0A\x16_account_access_status\"\xA7\x01\x0A\x08SizeInfo\x12*\x0A\x1Ddisplay_network_members_count\x18\x01 \x01(\x03B\x03\xE0A\x03\x12)\x0A\x1Csearch_network_members_count\x18\x02 \x01(\x03B\x03\xE0A\x03\x12\"\x0A\x15youtube_members_count\x18\x03 \x01(\x03B\x03\xE0A\x03\x12 \x0A\x13gmail_members_count\x18\x04 \x01(\x03B\x03\xE0A\x03\"u\x0A\x11TargetNetworkInfo\x12!\x0A\x14eligible_for_display\x18\x01 \x01(\x08B\x03\xE0A\x03\x12%\x0A\x13eligible_for_search\x18\x02 \x01(\x08B\x03\xE0A\x01H\x00\x88\x01\x01B\x16\x0A\x14_eligible_for_search\"\xAF\x05\x0A\x14IngestedUserListInfo\x12_\x0A\x10upload_key_types\x18\x01 \x03(\x0E2=.google.ads.datamanager.v1.IngestedUserListInfo.UploadKeyTypeB\x06\xE0A\x02\xE0A\x05\x12F\x0A\x0Fcontact_id_info\x18\x02 \x01(\x0B2(.google.ads.datamanager.v1.ContactIdInfoB\x03\xE0A\x01\x12D\x0A\x0Emobile_id_info\x18\x03 \x01(\x0B2'.google.ads.datamanager.v1.MobileIdInfoB\x03\xE0A\x01\x12@\x0A\x0Cuser_id_info\x18\x04 \x01(\x0B2%.google.ads.datamanager.v1.UserIdInfoB\x03\xE0A\x01\x12@\x0A\x0Cpair_id_info\x18\x05 \x01(\x0B2%.google.ads.datamanager.v1.PairIdInfoB\x03\xE0A\x01\x12P\x0A\x14pseudonymous_id_info\x18\x06 \x01(\x0B2-.google.ads.datamanager.v1.PseudonymousIdInfoB\x03\xE0A\x01\x12R\x0A\x15partner_audience_info\x18\x07 \x01(\x0B2..google.ads.datamanager.v1.PartnerAudienceInfoB\x03\xE0A\x01\"~\x0A\x0DUploadKeyType\x12\x1F\x0A\x1BUPLOAD_KEY_TYPE_UNSPECIFIED\x10\x00\x12\x0E\x0A\x0ACONTACT_ID\x10\x01\x12\x0D\x0A\x09MOBILE_ID\x10\x02\x12\x0B\x0A\x07USER_ID\x10\x03\x12\x0B\x0A\x07PAIR_ID\x10\x04\x12\x13\x0A\x0FPSEUDONYMOUS_ID\x10\x05\"\x9A\x01\x0A\x0DContactIdInfo\x12P\x0A\x10data_source_type\x18\x01 \x01(\x0E2).google.ads.datamanager.v1.DataSourceTypeB\x06\xE0A\x01\xE0A\x05H\x00\x88\x01\x01\x12\"\x0A\x15match_rate_percentage\x18\x02 \x01(\x05B\x03\xE0A\x03B\x13\x0A\x11_data_source_type\"\xBA\x02\x0A\x0CMobileIdInfo\x12P\x0A\x10data_source_type\x18\x01 \x01(\x0E2).google.ads.datamanager.v1.DataSourceTypeB\x06\xE0A\x01\xE0A\x05H\x00\x88\x01\x01\x12P\x0A\x09key_space\x18\x02 \x01(\x0E20.google.ads.datamanager.v1.MobileIdInfo.KeySpaceB\x06\xE0A\x02\xE0A\x05H\x01\x88\x01\x01\x12\x1B\x0A\x06app_id\x18\x03 \x01(\x09B\x06\xE0A\x02\xE0A\x05H\x02\x88\x01\x01\";\x0A\x08KeySpace\x12\x19\x0A\x15KEY_SPACE_UNSPECIFIED\x10\x00\x12\x07\x0A\x03IOS\x10\x01\x12\x0B\x0A\x07ANDROID\x10\x02B\x13\x0A\x11_data_source_typeB\x0C\x0A\x0A_key_spaceB\x09\x0A\x07_app_id\"s\x0A\x0AUserIdInfo\x12P\x0A\x10data_source_type\x18\x01 \x01(\x0E2).google.ads.datamanager.v1.DataSourceTypeB\x06\xE0A\x01\xE0A\x05H\x00\x88\x01\x01B\x13\x0A\x11_data_source_type\"\xCD\x02\x0A\x0APairIdInfo\x12!\x0A\x0Cpublisher_id\x18\x01 \x01(\x03B\x06\xE0A\x02\xE0A\x05H\x00\x88\x01\x01\x12 \x0A\x0Epublisher_name\x18\x02 \x01(\x09B\x03\xE0A\x02H\x01\x88\x01\x01\x12'\x0A\x15match_rate_percentage\x18\x03 \x01(\x05B\x03\xE0A\x02H\x02\x88\x01\x01\x12-\x0A\x1Badvertiser_identifier_count\x18\x04 \x01(\x03B\x03\xE0A\x01H\x03\x88\x01\x01\x12*\x0A\x15clean_room_identifier\x18\x05 \x01(\x09B\x06\xE0A\x02\xE0A\x05H\x04\x88\x01\x01B\x0F\x0A\x0D_publisher_idB\x11\x0A\x0F_publisher_nameB\x18\x0A\x16_match_rate_percentageB\x1E\x0A\x1C_advertiser_identifier_countB\x18\x0A\x16_clean_room_identifier\"\xEE\x02\x0A\x13PartnerAudienceInfo\x12r\x0A\x17partner_audience_source\x18\x01 \x01(\x0E2D.google.ads.datamanager.v1.PartnerAudienceInfo.PartnerAudienceSourceB\x06\xE0A\x02\xE0A\x05H\x00\x88\x01\x01\x12\"\x0A\x10commerce_partner\x18\x02 \x01(\x09B\x03\xE0A\x01H\x01\x88\x01\x01\"\x8D\x01\x0A\x15PartnerAudienceSource\x12'\x0A#PARTNER_AUDIENCE_SOURCE_UNSPECIFIED\x10\x00\x12\x15\x0A\x11COMMERCE_AUDIENCE\x10\x01\x12\x16\x0A\x12LINEAR_TV_AUDIENCE\x10\x02\x12\x1C\x0A\x18AGENCY_PROVIDER_AUDIENCE\x10\x03B\x1A\x0A\x18_partner_audience_sourceB\x13\x0A\x11_commerce_partner\"\x9A\x02\x0A\x12PseudonymousIdInfo\x12W\x0A\x0Bsync_status\x18\x01 \x01(\x0E28.google.ads.datamanager.v1.PseudonymousIdInfo.SyncStatusB\x03\xE0A\x03H\x00\x88\x01\x01\x12*\x0A\x15billable_record_count\x18\x02 \x01(\x03B\x06\xE0A\x01\xE0A\x05H\x01\x88\x01\x01\"U\x0A\x0ASyncStatus\x12\x1B\x0A\x17SYNC_STATUS_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07CREATED\x10\x01\x12\x11\x0A\x0DREADY_FOR_USE\x10\x02\x12\x0A\x0A\x06FAILED\x10\x03B\x0E\x0A\x0C_sync_statusB\x18\x0A\x16_billable_record_count*\xE0\x01\x0A\x0EDataSourceType\x12 \x0A\x1CDATA_SOURCE_TYPE_UNSPECIFIED\x10\x00\x12 \x0A\x1CDATA_SOURCE_TYPE_FIRST_PARTY\x10\x01\x12.\x0A*DATA_SOURCE_TYPE_THIRD_PARTY_CREDIT_BUREAU\x10\x02\x12+\x0A'DATA_SOURCE_TYPE_THIRD_PARTY_VOTER_FILE\x10\x03\x12-\x0A)DATA_SOURCE_TYPE_THIRD_PARTY_PARTNER_DATA\x10\x04B\xCA\x01\x0A\x1Dcom.google.ads.datamanager.v1B\x0DUserListProtoP\x01ZAcloud.google.com/go/datamanager/apiv1/datamanagerpb;datamanagerpb\xAA\x02\x19Google.Ads.DataManager.V1\xCA\x02\x19Google\\Ads\\DataManager\\V1\xEA\x02\x1CGoogle::Ads::DataManager::V1b\x06proto3" , true); static::$is_initialized = true; diff --git a/AdsDataManager/src/V1/AdIdentifiers.php b/AdsDataManager/src/V1/AdIdentifiers.php index 8c319b3f9dce..1915c6e9cf71 100644 --- a/AdsDataManager/src/V1/AdIdentifiers.php +++ b/AdsDataManager/src/V1/AdIdentifiers.php @@ -49,6 +49,37 @@ class AdIdentifiers extends \Google\Protobuf\Internal\Message * Generated from protobuf field .google.ads.datamanager.v1.DeviceInfo landing_page_device_info = 5 [(.google.api.field_behavior) = OPTIONAL]; */ protected $landing_page_device_info = null; + /** + * Optional. The mobile identifier for advertisers. This would be IDFA on iOS, + * AdID on Android, or other platforms’ identifiers for advertisers. + * + * Generated from protobuf field string mobile_device_id = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $mobile_device_id = ''; + /** + * Optional. The display click ID associated with this event. + * + * Generated from protobuf field string dclid = 7 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $dclid = ''; + /** + * Optional. The impression ID associated with this event. + * + * Generated from protobuf field string impression_id = 8 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $impression_id = ''; + /** + * Optional. The match ID field used to join this event with a previous event. + * + * Generated from protobuf field string match_id = 9 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $match_id = ''; + /** + * Optional. Any number of encrypted user IDs. + * + * Generated from protobuf field repeated .google.ads.datamanager.v1.EncryptedUserId encrypted_user_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $encrypted_user_ids; /** * Constructor. @@ -69,6 +100,17 @@ class AdIdentifiers extends \Google\Protobuf\Internal\Message * @type \Google\Ads\DataManager\V1\DeviceInfo $landing_page_device_info * Optional. Information gathered about the device being used (if any) at the * time of landing onto the advertiser’s site after interacting with the ad. + * @type string $mobile_device_id + * Optional. The mobile identifier for advertisers. This would be IDFA on iOS, + * AdID on Android, or other platforms’ identifiers for advertisers. + * @type string $dclid + * Optional. The display click ID associated with this event. + * @type string $impression_id + * Optional. The impression ID associated with this event. + * @type string $match_id + * Optional. The match ID field used to join this event with a previous event. + * @type \Google\Ads\DataManager\V1\EncryptedUserId[] $encrypted_user_ids + * Optional. Any number of encrypted user IDs. * } */ public function __construct($data = NULL) { @@ -222,5 +264,137 @@ public function setLandingPageDeviceInfo($var) return $this; } + /** + * Optional. The mobile identifier for advertisers. This would be IDFA on iOS, + * AdID on Android, or other platforms’ identifiers for advertisers. + * + * Generated from protobuf field string mobile_device_id = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getMobileDeviceId() + { + return $this->mobile_device_id; + } + + /** + * Optional. The mobile identifier for advertisers. This would be IDFA on iOS, + * AdID on Android, or other platforms’ identifiers for advertisers. + * + * Generated from protobuf field string mobile_device_id = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setMobileDeviceId($var) + { + GPBUtil::checkString($var, True); + $this->mobile_device_id = $var; + + return $this; + } + + /** + * Optional. The display click ID associated with this event. + * + * Generated from protobuf field string dclid = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getDclid() + { + return $this->dclid; + } + + /** + * Optional. The display click ID associated with this event. + * + * Generated from protobuf field string dclid = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setDclid($var) + { + GPBUtil::checkString($var, True); + $this->dclid = $var; + + return $this; + } + + /** + * Optional. The impression ID associated with this event. + * + * Generated from protobuf field string impression_id = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getImpressionId() + { + return $this->impression_id; + } + + /** + * Optional. The impression ID associated with this event. + * + * Generated from protobuf field string impression_id = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setImpressionId($var) + { + GPBUtil::checkString($var, True); + $this->impression_id = $var; + + return $this; + } + + /** + * Optional. The match ID field used to join this event with a previous event. + * + * Generated from protobuf field string match_id = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getMatchId() + { + return $this->match_id; + } + + /** + * Optional. The match ID field used to join this event with a previous event. + * + * Generated from protobuf field string match_id = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setMatchId($var) + { + GPBUtil::checkString($var, True); + $this->match_id = $var; + + return $this; + } + + /** + * Optional. Any number of encrypted user IDs. + * + * Generated from protobuf field repeated .google.ads.datamanager.v1.EncryptedUserId encrypted_user_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField<\Google\Ads\DataManager\V1\EncryptedUserId> + */ + public function getEncryptedUserIds() + { + return $this->encrypted_user_ids; + } + + /** + * Optional. Any number of encrypted user IDs. + * + * Generated from protobuf field repeated .google.ads.datamanager.v1.EncryptedUserId encrypted_user_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\DataManager\V1\EncryptedUserId[] $var + * @return $this + */ + public function setEncryptedUserIds($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\DataManager\V1\EncryptedUserId::class); + $this->encrypted_user_ids = $arr; + + return $this; + } + } diff --git a/AdsDataManager/src/V1/AudienceMember.php b/AdsDataManager/src/V1/AudienceMember.php index 719bf758179d..2c2ac4bdf33e 100644 --- a/AdsDataManager/src/V1/AudienceMember.php +++ b/AdsDataManager/src/V1/AudienceMember.php @@ -55,6 +55,8 @@ class AudienceMember extends \Google\Protobuf\Internal\Message * @type \Google\Ads\DataManager\V1\PpidData $ppid_data * Data related to publisher provided identifiers. * This feature is only available to data partners. + * @type \Google\Ads\DataManager\V1\CompositeData $composite_data + * Group of multiple identifier types. * @type \Google\Ads\DataManager\V1\Consent $consent * Optional. The consent setting for the user. * } @@ -257,6 +259,37 @@ public function setPpidData($var) return $this; } + /** + * Group of multiple identifier types. + * + * Generated from protobuf field .google.ads.datamanager.v1.CompositeData composite_data = 8; + * @return \Google\Ads\DataManager\V1\CompositeData|null + */ + public function getCompositeData() + { + return $this->readOneof(8); + } + + public function hasCompositeData() + { + return $this->hasOneof(8); + } + + /** + * Group of multiple identifier types. + * + * Generated from protobuf field .google.ads.datamanager.v1.CompositeData composite_data = 8; + * @param \Google\Ads\DataManager\V1\CompositeData $var + * @return $this + */ + public function setCompositeData($var) + { + GPBUtil::checkMessage($var, \Google\Ads\DataManager\V1\CompositeData::class); + $this->writeOneof(8, $var); + + return $this; + } + /** * Optional. The consent setting for the user. * diff --git a/AdsDataManager/src/V1/CartData.php b/AdsDataManager/src/V1/CartData.php index ecb31c0dd747..124623e35513 100644 --- a/AdsDataManager/src/V1/CartData.php +++ b/AdsDataManager/src/V1/CartData.php @@ -47,6 +47,15 @@ class CartData extends \Google\Protobuf\Internal\Message * Generated from protobuf field repeated .google.ads.datamanager.v1.Item items = 5 [(.google.api.field_behavior) = OPTIONAL]; */ private $items; + /** + * Optional. The list of coupon codes that were applied to the cart. + * Cart-level and item-level coupon codes are independent. + * If the event is for a Google Analytics destination, only provide a single + * coupon code. Google Analytics ignores additional coupon codes. + * + * Generated from protobuf field repeated string coupon_codes = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $coupon_codes; /** * Constructor. @@ -66,6 +75,11 @@ class CartData extends \Google\Protobuf\Internal\Message * Optional. The sum of all discounts associated with the transaction. * @type \Google\Ads\DataManager\V1\Item[] $items * Optional. The list of items associated with the event. + * @type string[] $coupon_codes + * Optional. The list of coupon codes that were applied to the cart. + * Cart-level and item-level coupon codes are independent. + * If the event is for a Google Analytics destination, only provide a single + * coupon code. Google Analytics ignores additional coupon codes. * } */ public function __construct($data = NULL) { @@ -207,5 +221,37 @@ public function setItems($var) return $this; } + /** + * Optional. The list of coupon codes that were applied to the cart. + * Cart-level and item-level coupon codes are independent. + * If the event is for a Google Analytics destination, only provide a single + * coupon code. Google Analytics ignores additional coupon codes. + * + * Generated from protobuf field repeated string coupon_codes = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField + */ + public function getCouponCodes() + { + return $this->coupon_codes; + } + + /** + * Optional. The list of coupon codes that were applied to the cart. + * Cart-level and item-level coupon codes are independent. + * If the event is for a Google Analytics destination, only provide a single + * coupon code. Google Analytics ignores additional coupon codes. + * + * Generated from protobuf field repeated string coupon_codes = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param string[] $var + * @return $this + */ + public function setCouponCodes($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->coupon_codes = $arr; + + return $this; + } + } diff --git a/AdsDataManager/src/V1/Client/PartnerLinkServiceClient.php b/AdsDataManager/src/V1/Client/PartnerLinkServiceClient.php index b55ea509ee2a..14bbd7cbffb1 100644 --- a/AdsDataManager/src/V1/Client/PartnerLinkServiceClient.php +++ b/AdsDataManager/src/V1/Client/PartnerLinkServiceClient.php @@ -81,7 +81,10 @@ final class PartnerLinkServiceClient private const CODEGEN_NAME = 'gapic'; /** The default scopes required by the service. */ - public static $serviceScopes = ['https://www.googleapis.com/auth/datamanager']; + public static $serviceScopes = [ + 'https://www.googleapis.com/auth/datamanager', + 'https://www.googleapis.com/auth/datamanager.partnerlink', + ]; private static function getClientDefaults() { diff --git a/AdsDataManager/src/V1/CompositeData.php b/AdsDataManager/src/V1/CompositeData.php new file mode 100644 index 000000000000..bb4a75faf676 --- /dev/null +++ b/AdsDataManager/src/V1/CompositeData.php @@ -0,0 +1,116 @@ +google.ads.datamanager.v1.CompositeData + */ +class CompositeData extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. User-provided data that identifies the user. + * + * Generated from protobuf field .google.ads.datamanager.v1.UserData user_data = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $user_data = null; + /** + * Optional. IP address data representing customer interaction used to build + * the audience. + * + * Generated from protobuf field repeated .google.ads.datamanager.v1.IpData ip_data = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $ip_data; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\DataManager\V1\UserData $user_data + * Optional. User-provided data that identifies the user. + * @type \Google\Ads\DataManager\V1\IpData[] $ip_data + * Optional. IP address data representing customer interaction used to build + * the audience. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Datamanager\V1\Audience::initOnce(); + parent::__construct($data); + } + + /** + * Optional. User-provided data that identifies the user. + * + * Generated from protobuf field .google.ads.datamanager.v1.UserData user_data = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Ads\DataManager\V1\UserData|null + */ + public function getUserData() + { + return $this->user_data; + } + + public function hasUserData() + { + return isset($this->user_data); + } + + public function clearUserData() + { + unset($this->user_data); + } + + /** + * Optional. User-provided data that identifies the user. + * + * Generated from protobuf field .google.ads.datamanager.v1.UserData user_data = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\DataManager\V1\UserData $var + * @return $this + */ + public function setUserData($var) + { + GPBUtil::checkMessage($var, \Google\Ads\DataManager\V1\UserData::class); + $this->user_data = $var; + + return $this; + } + + /** + * Optional. IP address data representing customer interaction used to build + * the audience. + * + * Generated from protobuf field repeated .google.ads.datamanager.v1.IpData ip_data = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField<\Google\Ads\DataManager\V1\IpData> + */ + public function getIpData() + { + return $this->ip_data; + } + + /** + * Optional. IP address data representing customer interaction used to build + * the audience. + * + * Generated from protobuf field repeated .google.ads.datamanager.v1.IpData ip_data = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\DataManager\V1\IpData[] $var + * @return $this + */ + public function setIpData($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\DataManager\V1\IpData::class); + $this->ip_data = $arr; + + return $this; + } + +} + diff --git a/AdsDataManager/src/V1/DeviceInfo.php b/AdsDataManager/src/V1/DeviceInfo.php index c8f416f4e4d7..605b0015b66c 100644 --- a/AdsDataManager/src/V1/DeviceInfo.php +++ b/AdsDataManager/src/V1/DeviceInfo.php @@ -36,6 +36,67 @@ class DeviceInfo extends \Google\Protobuf\Internal\Message * Generated from protobuf field string ip_address = 2 [(.google.api.field_behavior) = OPTIONAL]; */ protected $ip_address = ''; + /** + * Optional. The category of device. For example, “desktop”, “tablet”, + * “mobile”, “smart TV”. + * + * Generated from protobuf field string category = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $category = ''; + /** + * Optional. The language the device uses in ISO 639-1 format. + * + * Generated from protobuf field string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $language_code = ''; + /** + * Optional. The height of the screen in pixels. + * + * Generated from protobuf field int32 screen_height = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $screen_height = 0; + /** + * Optional. The width of the screen in pixels. + * + * Generated from protobuf field int32 screen_width = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $screen_width = 0; + /** + * Optional. The operating system or platform of the device. + * + * Generated from protobuf field string operating_system = 7 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $operating_system = ''; + /** + * Optional. The version of the operating system or platform. + * + * Generated from protobuf field string operating_system_version = 8 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $operating_system_version = ''; + /** + * Optional. The model of the device. + * + * Generated from protobuf field string model = 9 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $model = ''; + /** + * Optional. The brand of the device. + * + * Generated from protobuf field string brand = 10 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $brand = ''; + /** + * Optional. The brand or type of the browser. + * + * Generated from protobuf field string browser = 11 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $browser = ''; + /** + * Optional. The version of the browser. + * + * Generated from protobuf field string browser_version = 12 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $browser_version = ''; /** * Constructor. @@ -56,6 +117,27 @@ class DeviceInfo extends \Google\Protobuf\Internal\Message * applicable Google policies. See the [About offline conversion * imports](https://support.google.com/google-ads/answer/2998031) page for * more details. + * @type string $category + * Optional. The category of device. For example, “desktop”, “tablet”, + * “mobile”, “smart TV”. + * @type string $language_code + * Optional. The language the device uses in ISO 639-1 format. + * @type int $screen_height + * Optional. The height of the screen in pixels. + * @type int $screen_width + * Optional. The width of the screen in pixels. + * @type string $operating_system + * Optional. The operating system or platform of the device. + * @type string $operating_system_version + * Optional. The version of the operating system or platform. + * @type string $model + * Optional. The model of the device. + * @type string $brand + * Optional. The brand of the device. + * @type string $browser + * Optional. The brand or type of the browser. + * @type string $browser_version + * Optional. The version of the browser. * } */ public function __construct($data = NULL) { @@ -133,5 +215,267 @@ public function setIpAddress($var) return $this; } + /** + * Optional. The category of device. For example, “desktop”, “tablet”, + * “mobile”, “smart TV”. + * + * Generated from protobuf field string category = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getCategory() + { + return $this->category; + } + + /** + * Optional. The category of device. For example, “desktop”, “tablet”, + * “mobile”, “smart TV”. + * + * Generated from protobuf field string category = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setCategory($var) + { + GPBUtil::checkString($var, True); + $this->category = $var; + + return $this; + } + + /** + * Optional. The language the device uses in ISO 639-1 format. + * + * Generated from protobuf field string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getLanguageCode() + { + return $this->language_code; + } + + /** + * Optional. The language the device uses in ISO 639-1 format. + * + * Generated from protobuf field string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setLanguageCode($var) + { + GPBUtil::checkString($var, True); + $this->language_code = $var; + + return $this; + } + + /** + * Optional. The height of the screen in pixels. + * + * Generated from protobuf field int32 screen_height = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getScreenHeight() + { + return $this->screen_height; + } + + /** + * Optional. The height of the screen in pixels. + * + * Generated from protobuf field int32 screen_height = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setScreenHeight($var) + { + GPBUtil::checkInt32($var); + $this->screen_height = $var; + + return $this; + } + + /** + * Optional. The width of the screen in pixels. + * + * Generated from protobuf field int32 screen_width = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getScreenWidth() + { + return $this->screen_width; + } + + /** + * Optional. The width of the screen in pixels. + * + * Generated from protobuf field int32 screen_width = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setScreenWidth($var) + { + GPBUtil::checkInt32($var); + $this->screen_width = $var; + + return $this; + } + + /** + * Optional. The operating system or platform of the device. + * + * Generated from protobuf field string operating_system = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOperatingSystem() + { + return $this->operating_system; + } + + /** + * Optional. The operating system or platform of the device. + * + * Generated from protobuf field string operating_system = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOperatingSystem($var) + { + GPBUtil::checkString($var, True); + $this->operating_system = $var; + + return $this; + } + + /** + * Optional. The version of the operating system or platform. + * + * Generated from protobuf field string operating_system_version = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOperatingSystemVersion() + { + return $this->operating_system_version; + } + + /** + * Optional. The version of the operating system or platform. + * + * Generated from protobuf field string operating_system_version = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOperatingSystemVersion($var) + { + GPBUtil::checkString($var, True); + $this->operating_system_version = $var; + + return $this; + } + + /** + * Optional. The model of the device. + * + * Generated from protobuf field string model = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getModel() + { + return $this->model; + } + + /** + * Optional. The model of the device. + * + * Generated from protobuf field string model = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setModel($var) + { + GPBUtil::checkString($var, True); + $this->model = $var; + + return $this; + } + + /** + * Optional. The brand of the device. + * + * Generated from protobuf field string brand = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getBrand() + { + return $this->brand; + } + + /** + * Optional. The brand of the device. + * + * Generated from protobuf field string brand = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setBrand($var) + { + GPBUtil::checkString($var, True); + $this->brand = $var; + + return $this; + } + + /** + * Optional. The brand or type of the browser. + * + * Generated from protobuf field string browser = 11 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getBrowser() + { + return $this->browser; + } + + /** + * Optional. The brand or type of the browser. + * + * Generated from protobuf field string browser = 11 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setBrowser($var) + { + GPBUtil::checkString($var, True); + $this->browser = $var; + + return $this; + } + + /** + * Optional. The version of the browser. + * + * Generated from protobuf field string browser_version = 12 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getBrowserVersion() + { + return $this->browser_version; + } + + /** + * Optional. The version of the browser. + * + * Generated from protobuf field string browser_version = 12 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setBrowserVersion($var) + { + GPBUtil::checkString($var, True); + $this->browser_version = $var; + + return $this; + } + } diff --git a/AdsDataManager/src/V1/EncryptedUserId.php b/AdsDataManager/src/V1/EncryptedUserId.php new file mode 100644 index 000000000000..8ce3f008aed4 --- /dev/null +++ b/AdsDataManager/src/V1/EncryptedUserId.php @@ -0,0 +1,182 @@ +google.ads.datamanager.v1.EncryptedUserId + */ +class EncryptedUserId extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The alphanumeric encrypted id. + * + * Generated from protobuf field string encrypted_id = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $encrypted_id = ''; + /** + * Required. The encryption entity type. This should match the encryption + * configuration for ad serving or Data Transfer. + * + * Generated from protobuf field .google.ads.datamanager.v1.EncryptedUserId.EncryptionEntityType entity_type = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $entity_type = 0; + /** + * Required. The encryption entity ID. This should match the encryption + * configuration for ad serving or Data Transfer. + * + * Generated from protobuf field int64 entity_id = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $entity_id = 0; + /** + * Required. Describes whether the encrypted cookie was received from ad + * serving (the %m macro) or from Data Transfer. + * + * Generated from protobuf field .google.ads.datamanager.v1.EncryptedUserId.EncryptionSource source = 4 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $source = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $encrypted_id + * Required. The alphanumeric encrypted id. + * @type int $entity_type + * Required. The encryption entity type. This should match the encryption + * configuration for ad serving or Data Transfer. + * @type int|string $entity_id + * Required. The encryption entity ID. This should match the encryption + * configuration for ad serving or Data Transfer. + * @type int $source + * Required. Describes whether the encrypted cookie was received from ad + * serving (the %m macro) or from Data Transfer. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Datamanager\V1\EncryptedUserId::initOnce(); + parent::__construct($data); + } + + /** + * Required. The alphanumeric encrypted id. + * + * Generated from protobuf field string encrypted_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getEncryptedId() + { + return $this->encrypted_id; + } + + /** + * Required. The alphanumeric encrypted id. + * + * Generated from protobuf field string encrypted_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setEncryptedId($var) + { + GPBUtil::checkString($var, True); + $this->encrypted_id = $var; + + return $this; + } + + /** + * Required. The encryption entity type. This should match the encryption + * configuration for ad serving or Data Transfer. + * + * Generated from protobuf field .google.ads.datamanager.v1.EncryptedUserId.EncryptionEntityType entity_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return int + */ + public function getEntityType() + { + return $this->entity_type; + } + + /** + * Required. The encryption entity type. This should match the encryption + * configuration for ad serving or Data Transfer. + * + * Generated from protobuf field .google.ads.datamanager.v1.EncryptedUserId.EncryptionEntityType entity_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param int $var + * @return $this + */ + public function setEntityType($var) + { + GPBUtil::checkEnum($var, \Google\Ads\DataManager\V1\EncryptedUserId\EncryptionEntityType::class); + $this->entity_type = $var; + + return $this; + } + + /** + * Required. The encryption entity ID. This should match the encryption + * configuration for ad serving or Data Transfer. + * + * Generated from protobuf field int64 entity_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return int|string + */ + public function getEntityId() + { + return $this->entity_id; + } + + /** + * Required. The encryption entity ID. This should match the encryption + * configuration for ad serving or Data Transfer. + * + * Generated from protobuf field int64 entity_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param int|string $var + * @return $this + */ + public function setEntityId($var) + { + GPBUtil::checkInt64($var); + $this->entity_id = $var; + + return $this; + } + + /** + * Required. Describes whether the encrypted cookie was received from ad + * serving (the %m macro) or from Data Transfer. + * + * Generated from protobuf field .google.ads.datamanager.v1.EncryptedUserId.EncryptionSource source = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return int + */ + public function getSource() + { + return $this->source; + } + + /** + * Required. Describes whether the encrypted cookie was received from ad + * serving (the %m macro) or from Data Transfer. + * + * Generated from protobuf field .google.ads.datamanager.v1.EncryptedUserId.EncryptionSource source = 4 [(.google.api.field_behavior) = REQUIRED]; + * @param int $var + * @return $this + */ + public function setSource($var) + { + GPBUtil::checkEnum($var, \Google\Ads\DataManager\V1\EncryptedUserId\EncryptionSource::class); + $this->source = $var; + + return $this; + } + +} + diff --git a/AdsDataManager/src/V1/EncryptedUserId/EncryptionEntityType.php b/AdsDataManager/src/V1/EncryptedUserId/EncryptionEntityType.php new file mode 100644 index 000000000000..7cb121a1ad87 --- /dev/null +++ b/AdsDataManager/src/V1/EncryptedUserId/EncryptionEntityType.php @@ -0,0 +1,89 @@ +google.ads.datamanager.v1.EncryptedUserId.EncryptionEntityType + */ +class EncryptionEntityType +{ + /** + * Unspecified encryption entity type. + * + * Generated from protobuf enum ENCRYPTION_ENTITY_TYPE_UNSPECIFIED = 0; + */ + const ENCRYPTION_ENTITY_TYPE_UNSPECIFIED = 0; + /** + * Campaign Manager 360 account. + * + * Generated from protobuf enum CAMPAIGN_MANAGER_ACCOUNT = 1; + */ + const CAMPAIGN_MANAGER_ACCOUNT = 1; + /** + * Campaign Manager 360 advertiser. + * + * Generated from protobuf enum CAMPAIGN_MANAGER_ADVERTISER = 2; + */ + const CAMPAIGN_MANAGER_ADVERTISER = 2; + /** + * Display & Video 360 partner. + * + * Generated from protobuf enum DISPLAY_VIDEO_PARTNER = 3; + */ + const DISPLAY_VIDEO_PARTNER = 3; + /** + * Display & Video 360 advertiser. + * + * Generated from protobuf enum DISPLAY_VIDEO_ADVERTISER = 4; + */ + const DISPLAY_VIDEO_ADVERTISER = 4; + /** + * Google Ads customer. + * + * Generated from protobuf enum GOOGLE_ADS_CUSTOMER = 5; + */ + const GOOGLE_ADS_CUSTOMER = 5; + /** + * Google Ad Manager network code. + * + * Generated from protobuf enum GOOGLE_AD_MANAGER_NETWORK_CODE = 6; + */ + const GOOGLE_AD_MANAGER_NETWORK_CODE = 6; + + private static $valueToName = [ + self::ENCRYPTION_ENTITY_TYPE_UNSPECIFIED => 'ENCRYPTION_ENTITY_TYPE_UNSPECIFIED', + self::CAMPAIGN_MANAGER_ACCOUNT => 'CAMPAIGN_MANAGER_ACCOUNT', + self::CAMPAIGN_MANAGER_ADVERTISER => 'CAMPAIGN_MANAGER_ADVERTISER', + self::DISPLAY_VIDEO_PARTNER => 'DISPLAY_VIDEO_PARTNER', + self::DISPLAY_VIDEO_ADVERTISER => 'DISPLAY_VIDEO_ADVERTISER', + self::GOOGLE_ADS_CUSTOMER => 'GOOGLE_ADS_CUSTOMER', + self::GOOGLE_AD_MANAGER_NETWORK_CODE => 'GOOGLE_AD_MANAGER_NETWORK_CODE', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/AdsDataManager/src/V1/EncryptedUserId/EncryptionSource.php b/AdsDataManager/src/V1/EncryptedUserId/EncryptionSource.php new file mode 100644 index 000000000000..e0eb1f0a7805 --- /dev/null +++ b/AdsDataManager/src/V1/EncryptedUserId/EncryptionSource.php @@ -0,0 +1,61 @@ +google.ads.datamanager.v1.EncryptedUserId.EncryptionSource + */ +class EncryptionSource +{ + /** + * Unspecified encryption source. + * + * Generated from protobuf enum ENCRYPTION_SOURCE_UNSPECIFIED = 0; + */ + const ENCRYPTION_SOURCE_UNSPECIFIED = 0; + /** + * Ad serving encryption source. + * + * Generated from protobuf enum AD_SERVING = 1; + */ + const AD_SERVING = 1; + /** + * Data transfer encryption source. + * + * Generated from protobuf enum DATA_TRANSFER = 2; + */ + const DATA_TRANSFER = 2; + + private static $valueToName = [ + self::ENCRYPTION_SOURCE_UNSPECIFIED => 'ENCRYPTION_SOURCE_UNSPECIFIED', + self::AD_SERVING => 'AD_SERVING', + self::DATA_TRANSFER => 'DATA_TRANSFER', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/AdsDataManager/src/V1/ErrorReason.php b/AdsDataManager/src/V1/ErrorReason.php index 69c6574d6d8e..193b44c9cab6 100644 --- a/AdsDataManager/src/V1/ErrorReason.php +++ b/AdsDataManager/src/V1/ErrorReason.php @@ -322,17 +322,29 @@ class ErrorReason */ const MULTIPLE_DESTINATIONS_FOR_GOOGLE_ANALYTICS_EVENT = 49; /** - * The field value is too long. + * Length of the field value is too long. * * Generated from protobuf enum FIELD_VALUE_TOO_LONG = 50; */ const FIELD_VALUE_TOO_LONG = 50; + /** + * Length of the field value is too short. + * + * Generated from protobuf enum FIELD_VALUE_TOO_SHORT = 106; + */ + const FIELD_VALUE_TOO_SHORT = 106; /** * Too many elements in a list in the request. * * Generated from protobuf enum TOO_MANY_ELEMENTS = 51; */ const TOO_MANY_ELEMENTS = 51; + /** + * Too few elements in a list in the request. + * + * Generated from protobuf enum TOO_FEW_ELEMENTS = 105; + */ + const TOO_FEW_ELEMENTS = 105; /** * The resource already exists. * @@ -640,6 +652,125 @@ class ErrorReason * Generated from protobuf enum EU_POLITICAL_ADVERTISING_DECLARATION_REQUIRED = 101; */ const EU_POLITICAL_ADVERTISING_DECLARATION_REQUIRED = 101; + /** + * Account is not eligible for Store Sales. + * + * Generated from protobuf enum ACCOUNT_INELIGIBLE_FOR_STORE_SALES = 102; + */ + const ACCOUNT_INELIGIBLE_FOR_STORE_SALES = 102; + /** + * The merchant feed language code is not valid. + * + * Generated from protobuf enum INVALID_MERCHANT_FEED_LANGUAGE_CODE = 103; + */ + const INVALID_MERCHANT_FEED_LANGUAGE_CODE = 103; + /** + * The region code is not valid. + * + * Generated from protobuf enum INVALID_REGION_CODE = 104; + */ + const INVALID_REGION_CODE = 104; + /** + * The subdivision code is not valid. + * + * Generated from protobuf enum INVALID_SUBDIVISION_CODE = 107; + */ + const INVALID_SUBDIVISION_CODE = 107; + /** + * The subcontinent code is not valid. + * + * Generated from protobuf enum INVALID_SUBCONTINENT_CODE = 108; + */ + const INVALID_SUBCONTINENT_CODE = 108; + /** + * The continent code is not valid. + * + * Generated from protobuf enum INVALID_CONTINENT_CODE = 109; + */ + const INVALID_CONTINENT_CODE = 109; + /** + * The device category is not valid. + * + * Generated from protobuf enum INVALID_DEVICE_CATEGORY = 110; + */ + const INVALID_DEVICE_CATEGORY = 110; + /** + * Both app_instance_id and client_id are set. + * + * Generated from protobuf enum BOTH_CLIENT_ID_AND_APP_INSTANCE_ID_NOT_ALLOWED = 111; + */ + const BOTH_CLIENT_ID_AND_APP_INSTANCE_ID_NOT_ALLOWED = 111; + /** + * The Google Analytics property is a subproperty or rollup property. + * + * Generated from protobuf enum GOOGLE_ANALYTICS_SUBPROPERTY_OR_ROLLUP_PROPERTY_NOT_ALLOWED = 112; + */ + const GOOGLE_ANALYTICS_SUBPROPERTY_OR_ROLLUP_PROPERTY_NOT_ALLOWED = 112; + /** + * Third party user data can only be set by data partners. + * + * Generated from protobuf enum THIRD_PARTY_USER_DATA_NOT_ALLOWED = 113; + */ + const THIRD_PARTY_USER_DATA_NOT_ALLOWED = 113; + /** + * The coupon code is not valid. + * + * Generated from protobuf enum INVALID_COUPON_CODE = 114; + */ + const INVALID_COUPON_CODE = 114; + /** + * The event source type does not match the destination type. + * + * Generated from protobuf enum EVENT_SOURCE_AND_DESTINATION_MISMATCH = 115; + */ + const EVENT_SOURCE_AND_DESTINATION_MISMATCH = 115; + /** + * The destination account type does not match the specified account id. + * + * Generated from protobuf enum DESTINATION_ACCOUNT_TYPE_MISMATCH = 116; + */ + const DESTINATION_ACCOUNT_TYPE_MISMATCH = 116; + /** + * The custom variable value contains personally identifiable information + * (PII). + * + * Generated from protobuf enum CUSTOM_VARIABLE_VALUE_CONTAINS_PII = 117; + */ + const CUSTOM_VARIABLE_VALUE_CONTAINS_PII = 117; + /** + * The custom variable is not enabled. + * + * Generated from protobuf enum CUSTOM_VARIABLE_NOT_ENABLED = 118; + */ + const CUSTOM_VARIABLE_NOT_ENABLED = 118; + /** + * The custom variable's value is invalid. + * + * Generated from protobuf enum INVALID_CUSTOM_VARIABLE_VALUE = 119; + */ + const INVALID_CUSTOM_VARIABLE_VALUE = 119; + /** + * The destination does not have a custom variable with a name that matches + * the specified `variable`. + * + * Generated from protobuf enum CUSTOM_VARIABLE_NOT_FOUND = 120; + */ + const CUSTOM_VARIABLE_NOT_FOUND = 120; + /** + * The + * [location_auto_detection_enabled][google.ads.datamanager.v1.Baseline.location_auto_detection_enabled] + * field of the request was set to `true`, but auto detection of baseline + * location failed. + * + * Generated from protobuf enum BASELINE_LOCATION_AUTO_DETECTION_FAILED = 122; + */ + const BASELINE_LOCATION_AUTO_DETECTION_FAILED = 122; + /** + * Insights missing for this dimension. + * + * Generated from protobuf enum INSIGHTS_MISSING_FOR_DIMENSION = 123; + */ + const INSIGHTS_MISSING_FOR_DIMENSION = 123; private static $valueToName = [ self::ERROR_REASON_UNSPECIFIED => 'ERROR_REASON_UNSPECIFIED', @@ -693,7 +824,9 @@ class ErrorReason self::INVALID_REQUEST_ID => 'INVALID_REQUEST_ID', self::MULTIPLE_DESTINATIONS_FOR_GOOGLE_ANALYTICS_EVENT => 'MULTIPLE_DESTINATIONS_FOR_GOOGLE_ANALYTICS_EVENT', self::FIELD_VALUE_TOO_LONG => 'FIELD_VALUE_TOO_LONG', + self::FIELD_VALUE_TOO_SHORT => 'FIELD_VALUE_TOO_SHORT', self::TOO_MANY_ELEMENTS => 'TOO_MANY_ELEMENTS', + self::TOO_FEW_ELEMENTS => 'TOO_FEW_ELEMENTS', self::ALREADY_EXISTS => 'ALREADY_EXISTS', self::IMMUTABLE_FIELD_FOR_UPDATE => 'IMMUTABLE_FIELD_FOR_UPDATE', self::INVALID_RESOURCE_NAME => 'INVALID_RESOURCE_NAME', @@ -744,6 +877,25 @@ class ErrorReason self::MEMBERSHIP_DURATION_TOO_LONG => 'MEMBERSHIP_DURATION_TOO_LONG', self::INVALID_MERCHANT_ID => 'INVALID_MERCHANT_ID', self::EU_POLITICAL_ADVERTISING_DECLARATION_REQUIRED => 'EU_POLITICAL_ADVERTISING_DECLARATION_REQUIRED', + self::ACCOUNT_INELIGIBLE_FOR_STORE_SALES => 'ACCOUNT_INELIGIBLE_FOR_STORE_SALES', + self::INVALID_MERCHANT_FEED_LANGUAGE_CODE => 'INVALID_MERCHANT_FEED_LANGUAGE_CODE', + self::INVALID_REGION_CODE => 'INVALID_REGION_CODE', + self::INVALID_SUBDIVISION_CODE => 'INVALID_SUBDIVISION_CODE', + self::INVALID_SUBCONTINENT_CODE => 'INVALID_SUBCONTINENT_CODE', + self::INVALID_CONTINENT_CODE => 'INVALID_CONTINENT_CODE', + self::INVALID_DEVICE_CATEGORY => 'INVALID_DEVICE_CATEGORY', + self::BOTH_CLIENT_ID_AND_APP_INSTANCE_ID_NOT_ALLOWED => 'BOTH_CLIENT_ID_AND_APP_INSTANCE_ID_NOT_ALLOWED', + self::GOOGLE_ANALYTICS_SUBPROPERTY_OR_ROLLUP_PROPERTY_NOT_ALLOWED => 'GOOGLE_ANALYTICS_SUBPROPERTY_OR_ROLLUP_PROPERTY_NOT_ALLOWED', + self::THIRD_PARTY_USER_DATA_NOT_ALLOWED => 'THIRD_PARTY_USER_DATA_NOT_ALLOWED', + self::INVALID_COUPON_CODE => 'INVALID_COUPON_CODE', + self::EVENT_SOURCE_AND_DESTINATION_MISMATCH => 'EVENT_SOURCE_AND_DESTINATION_MISMATCH', + self::DESTINATION_ACCOUNT_TYPE_MISMATCH => 'DESTINATION_ACCOUNT_TYPE_MISMATCH', + self::CUSTOM_VARIABLE_VALUE_CONTAINS_PII => 'CUSTOM_VARIABLE_VALUE_CONTAINS_PII', + self::CUSTOM_VARIABLE_NOT_ENABLED => 'CUSTOM_VARIABLE_NOT_ENABLED', + self::INVALID_CUSTOM_VARIABLE_VALUE => 'INVALID_CUSTOM_VARIABLE_VALUE', + self::CUSTOM_VARIABLE_NOT_FOUND => 'CUSTOM_VARIABLE_NOT_FOUND', + self::BASELINE_LOCATION_AUTO_DETECTION_FAILED => 'BASELINE_LOCATION_AUTO_DETECTION_FAILED', + self::INSIGHTS_MISSING_FOR_DIMENSION => 'INSIGHTS_MISSING_FOR_DIMENSION', ]; public static function name($value) diff --git a/AdsDataManager/src/V1/Event.php b/AdsDataManager/src/V1/Event.php index 86b1bba87409..9780c86ca109 100644 --- a/AdsDataManager/src/V1/Event.php +++ b/AdsDataManager/src/V1/Event.php @@ -25,8 +25,8 @@ class Event extends \Google\Protobuf\Internal\Message */ private $destination_references; /** - * Optional. The unique identifier for this event. Required for conversions - * using multiple data sources. + * Optional. The unique identifier for this event. Required for events sent as + * an additional data source for tag conversions. * * Generated from protobuf field string transaction_id = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @@ -78,6 +78,13 @@ class Event extends \Google\Protobuf\Internal\Message * Generated from protobuf field optional double conversion_value = 9 [(.google.api.field_behavior) = OPTIONAL]; */ protected $conversion_value = null; + /** + * Optional. The conversion quantity associated with the event, for + * counting-based conversions. + * + * Generated from protobuf field optional double conversion_count = 23 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $conversion_count = null; /** * Optional. Signal for where the event happened (web, app, in-store, etc.). * @@ -147,6 +154,28 @@ class Event extends \Google\Protobuf\Internal\Message * Generated from protobuf field repeated .google.ads.datamanager.v1.EventParameter additional_event_parameters = 19 [(.google.api.field_behavior) = OPTIONAL]; */ private $additional_event_parameters; + /** + * Optional. The same type of data provided in user_data, but explicitly + * flagged as being provided as owned by a third-party and not first-party + * advertiser data. + * + * Generated from protobuf field .google.ads.datamanager.v1.UserData third_party_user_data = 20 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $third_party_user_data = null; + /** + * Optional. Information gathered about the location of the user when this + * event occurred. + * + * Generated from protobuf field .google.ads.datamanager.v1.EventLocation event_location = 21 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $event_location = null; + /** + * Optional. A unique identifier for the user instance of an app client for + * this GA4 app stream. + * + * Generated from protobuf field string app_instance_id = 22 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $app_instance_id = ''; /** * Constructor. @@ -160,8 +189,8 @@ class Event extends \Google\Protobuf\Internal\Message * [destinations][google.ads.datamanager.v1.IngestEventsRequest.destinations] * in the request. * @type string $transaction_id - * Optional. The unique identifier for this event. Required for conversions - * using multiple data sources. + * Optional. The unique identifier for this event. Required for events sent as + * an additional data source for tag conversions. * @type \Google\Protobuf\Timestamp $event_timestamp * Required. The time the event occurred. * @type \Google\Protobuf\Timestamp $last_updated_timestamp @@ -181,6 +210,9 @@ class Event extends \Google\Protobuf\Internal\Message * @type float $conversion_value * Optional. The conversion value associated with the event, for value-based * conversions. + * @type float $conversion_count + * Optional. The conversion quantity associated with the event, for + * counting-based conversions. * @type int $event_source * Optional. Signal for where the event happened (web, app, in-store, etc.). * @type \Google\Ads\DataManager\V1\DeviceInfo $event_device_info @@ -210,6 +242,16 @@ class Event extends \Google\Protobuf\Internal\Message * parameters](https://developers.google.com/analytics/devguides/collection/protocol/ga4/reference/events) * to be included within the event that were not already specified using other * structured fields. + * @type \Google\Ads\DataManager\V1\UserData $third_party_user_data + * Optional. The same type of data provided in user_data, but explicitly + * flagged as being provided as owned by a third-party and not first-party + * advertiser data. + * @type \Google\Ads\DataManager\V1\EventLocation $event_location + * Optional. Information gathered about the location of the user when this + * event occurred. + * @type string $app_instance_id + * Optional. A unique identifier for the user instance of an app client for + * this GA4 app stream. * } */ public function __construct($data = NULL) { @@ -250,8 +292,8 @@ public function setDestinationReferences($var) } /** - * Optional. The unique identifier for this event. Required for conversions - * using multiple data sources. + * Optional. The unique identifier for this event. Required for events sent as + * an additional data source for tag conversions. * * Generated from protobuf field string transaction_id = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return string @@ -262,8 +304,8 @@ public function getTransactionId() } /** - * Optional. The unique identifier for this event. Required for conversions - * using multiple data sources. + * Optional. The unique identifier for this event. Required for events sent as + * an additional data source for tag conversions. * * Generated from protobuf field string transaction_id = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param string $var @@ -529,6 +571,44 @@ public function setConversionValue($var) return $this; } + /** + * Optional. The conversion quantity associated with the event, for + * counting-based conversions. + * + * Generated from protobuf field optional double conversion_count = 23 [(.google.api.field_behavior) = OPTIONAL]; + * @return float + */ + public function getConversionCount() + { + return isset($this->conversion_count) ? $this->conversion_count : 0.0; + } + + public function hasConversionCount() + { + return isset($this->conversion_count); + } + + public function clearConversionCount() + { + unset($this->conversion_count); + } + + /** + * Optional. The conversion quantity associated with the event, for + * counting-based conversions. + * + * Generated from protobuf field optional double conversion_count = 23 [(.google.api.field_behavior) = OPTIONAL]; + * @param float $var + * @return $this + */ + public function setConversionCount($var) + { + GPBUtil::checkDouble($var); + $this->conversion_count = $var; + + return $this; + } + /** * Optional. Signal for where the event happened (web, app, in-store, etc.). * @@ -837,5 +917,111 @@ public function setAdditionalEventParameters($var) return $this; } + /** + * Optional. The same type of data provided in user_data, but explicitly + * flagged as being provided as owned by a third-party and not first-party + * advertiser data. + * + * Generated from protobuf field .google.ads.datamanager.v1.UserData third_party_user_data = 20 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Ads\DataManager\V1\UserData|null + */ + public function getThirdPartyUserData() + { + return $this->third_party_user_data; + } + + public function hasThirdPartyUserData() + { + return isset($this->third_party_user_data); + } + + public function clearThirdPartyUserData() + { + unset($this->third_party_user_data); + } + + /** + * Optional. The same type of data provided in user_data, but explicitly + * flagged as being provided as owned by a third-party and not first-party + * advertiser data. + * + * Generated from protobuf field .google.ads.datamanager.v1.UserData third_party_user_data = 20 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\DataManager\V1\UserData $var + * @return $this + */ + public function setThirdPartyUserData($var) + { + GPBUtil::checkMessage($var, \Google\Ads\DataManager\V1\UserData::class); + $this->third_party_user_data = $var; + + return $this; + } + + /** + * Optional. Information gathered about the location of the user when this + * event occurred. + * + * Generated from protobuf field .google.ads.datamanager.v1.EventLocation event_location = 21 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Ads\DataManager\V1\EventLocation|null + */ + public function getEventLocation() + { + return $this->event_location; + } + + public function hasEventLocation() + { + return isset($this->event_location); + } + + public function clearEventLocation() + { + unset($this->event_location); + } + + /** + * Optional. Information gathered about the location of the user when this + * event occurred. + * + * Generated from protobuf field .google.ads.datamanager.v1.EventLocation event_location = 21 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\DataManager\V1\EventLocation $var + * @return $this + */ + public function setEventLocation($var) + { + GPBUtil::checkMessage($var, \Google\Ads\DataManager\V1\EventLocation::class); + $this->event_location = $var; + + return $this; + } + + /** + * Optional. A unique identifier for the user instance of an app client for + * this GA4 app stream. + * + * Generated from protobuf field string app_instance_id = 22 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getAppInstanceId() + { + return $this->app_instance_id; + } + + /** + * Optional. A unique identifier for the user instance of an app client for + * this GA4 app stream. + * + * Generated from protobuf field string app_instance_id = 22 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setAppInstanceId($var) + { + GPBUtil::checkString($var, True); + $this->app_instance_id = $var; + + return $this; + } + } diff --git a/AdsDataManager/src/V1/EventLocation.php b/AdsDataManager/src/V1/EventLocation.php new file mode 100644 index 000000000000..b25e5a6438d5 --- /dev/null +++ b/AdsDataManager/src/V1/EventLocation.php @@ -0,0 +1,241 @@ +google.ads.datamanager.v1.EventLocation + */ +class EventLocation extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. Required for Store Sales. The identifier to represent a physical + * store where the event happened. + * + * Generated from protobuf field string store_id = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $store_id = ''; + /** + * Optional. The name of the city where the event occurred. + * + * Generated from protobuf field string city = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $city = ''; + /** + * Optional. The ISO 3166-2 subdivision code where the event occurred. + * + * Generated from protobuf field string subdivision_code = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $subdivision_code = ''; + /** + * Optional. The 2-letter CLDR region code of the user's address. + * + * Generated from protobuf field string region_code = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $region_code = ''; + /** + * Optional. The subcontinent code in UN M49 format where the event occurred. + * + * Generated from protobuf field string subcontinent_code = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $subcontinent_code = ''; + /** + * Optional. The continent code in UN M49 format where the event occurred. + * + * Generated from protobuf field string continent_code = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $continent_code = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $store_id + * Optional. Required for Store Sales. The identifier to represent a physical + * store where the event happened. + * @type string $city + * Optional. The name of the city where the event occurred. + * @type string $subdivision_code + * Optional. The ISO 3166-2 subdivision code where the event occurred. + * @type string $region_code + * Optional. The 2-letter CLDR region code of the user's address. + * @type string $subcontinent_code + * Optional. The subcontinent code in UN M49 format where the event occurred. + * @type string $continent_code + * Optional. The continent code in UN M49 format where the event occurred. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Datamanager\V1\Event::initOnce(); + parent::__construct($data); + } + + /** + * Optional. Required for Store Sales. The identifier to represent a physical + * store where the event happened. + * + * Generated from protobuf field string store_id = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getStoreId() + { + return $this->store_id; + } + + /** + * Optional. Required for Store Sales. The identifier to represent a physical + * store where the event happened. + * + * Generated from protobuf field string store_id = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setStoreId($var) + { + GPBUtil::checkString($var, True); + $this->store_id = $var; + + return $this; + } + + /** + * Optional. The name of the city where the event occurred. + * + * Generated from protobuf field string city = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getCity() + { + return $this->city; + } + + /** + * Optional. The name of the city where the event occurred. + * + * Generated from protobuf field string city = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setCity($var) + { + GPBUtil::checkString($var, True); + $this->city = $var; + + return $this; + } + + /** + * Optional. The ISO 3166-2 subdivision code where the event occurred. + * + * Generated from protobuf field string subdivision_code = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getSubdivisionCode() + { + return $this->subdivision_code; + } + + /** + * Optional. The ISO 3166-2 subdivision code where the event occurred. + * + * Generated from protobuf field string subdivision_code = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setSubdivisionCode($var) + { + GPBUtil::checkString($var, True); + $this->subdivision_code = $var; + + return $this; + } + + /** + * Optional. The 2-letter CLDR region code of the user's address. + * + * Generated from protobuf field string region_code = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getRegionCode() + { + return $this->region_code; + } + + /** + * Optional. The 2-letter CLDR region code of the user's address. + * + * Generated from protobuf field string region_code = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setRegionCode($var) + { + GPBUtil::checkString($var, True); + $this->region_code = $var; + + return $this; + } + + /** + * Optional. The subcontinent code in UN M49 format where the event occurred. + * + * Generated from protobuf field string subcontinent_code = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getSubcontinentCode() + { + return $this->subcontinent_code; + } + + /** + * Optional. The subcontinent code in UN M49 format where the event occurred. + * + * Generated from protobuf field string subcontinent_code = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setSubcontinentCode($var) + { + GPBUtil::checkString($var, True); + $this->subcontinent_code = $var; + + return $this; + } + + /** + * Optional. The continent code in UN M49 format where the event occurred. + * + * Generated from protobuf field string continent_code = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getContinentCode() + { + return $this->continent_code; + } + + /** + * Optional. The continent code in UN M49 format where the event occurred. + * + * Generated from protobuf field string continent_code = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setContinentCode($var) + { + GPBUtil::checkString($var, True); + $this->continent_code = $var; + + return $this; + } + +} + diff --git a/AdsDataManager/src/V1/EventSource.php b/AdsDataManager/src/V1/EventSource.php index 50253e5b10f7..e3857cf92325 100644 --- a/AdsDataManager/src/V1/EventSource.php +++ b/AdsDataManager/src/V1/EventSource.php @@ -43,6 +43,12 @@ class EventSource * Generated from protobuf enum PHONE = 4; */ const PHONE = 4; + /** + * The event was generated from a message. + * + * Generated from protobuf enum MESSAGE = 6; + */ + const MESSAGE = 6; /** * The event was generated from other sources. * @@ -56,6 +62,7 @@ class EventSource self::APP => 'APP', self::IN_STORE => 'IN_STORE', self::PHONE => 'PHONE', + self::MESSAGE => 'MESSAGE', self::OTHER => 'OTHER', ]; diff --git a/AdsDataManager/src/V1/IpData.php b/AdsDataManager/src/V1/IpData.php new file mode 100644 index 000000000000..4a663fc85128 --- /dev/null +++ b/AdsDataManager/src/V1/IpData.php @@ -0,0 +1,165 @@ +google.ads.datamanager.v1.IpData + */ +class IpData extends \Google\Protobuf\Internal\Message +{ + /** + * Required. IP address captured at the time of customer interaction. + * Accepts standard string formats for both IPv4 and IPv6. + * + * Generated from protobuf field string ip_address = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_info) = { + */ + protected $ip_address = ''; + /** + * Optional. First recorded interaction time from this IP address in a + * session. + * + * Generated from protobuf field .google.protobuf.Timestamp observe_start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $observe_start_time = null; + /** + * Optional. Last recorded interaction time from this IP address in a session. + * + * Generated from protobuf field .google.protobuf.Timestamp observe_end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $observe_end_time = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $ip_address + * Required. IP address captured at the time of customer interaction. + * Accepts standard string formats for both IPv4 and IPv6. + * @type \Google\Protobuf\Timestamp $observe_start_time + * Optional. First recorded interaction time from this IP address in a + * session. + * @type \Google\Protobuf\Timestamp $observe_end_time + * Optional. Last recorded interaction time from this IP address in a session. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Datamanager\V1\Audience::initOnce(); + parent::__construct($data); + } + + /** + * Required. IP address captured at the time of customer interaction. + * Accepts standard string formats for both IPv4 and IPv6. + * + * Generated from protobuf field string ip_address = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_info) = { + * @return string + */ + public function getIpAddress() + { + return $this->ip_address; + } + + /** + * Required. IP address captured at the time of customer interaction. + * Accepts standard string formats for both IPv4 and IPv6. + * + * Generated from protobuf field string ip_address = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_info) = { + * @param string $var + * @return $this + */ + public function setIpAddress($var) + { + GPBUtil::checkString($var, True); + $this->ip_address = $var; + + return $this; + } + + /** + * Optional. First recorded interaction time from this IP address in a + * session. + * + * Generated from protobuf field .google.protobuf.Timestamp observe_start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Protobuf\Timestamp|null + */ + public function getObserveStartTime() + { + return $this->observe_start_time; + } + + public function hasObserveStartTime() + { + return isset($this->observe_start_time); + } + + public function clearObserveStartTime() + { + unset($this->observe_start_time); + } + + /** + * Optional. First recorded interaction time from this IP address in a + * session. + * + * Generated from protobuf field .google.protobuf.Timestamp observe_start_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setObserveStartTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->observe_start_time = $var; + + return $this; + } + + /** + * Optional. Last recorded interaction time from this IP address in a session. + * + * Generated from protobuf field .google.protobuf.Timestamp observe_end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Protobuf\Timestamp|null + */ + public function getObserveEndTime() + { + return $this->observe_end_time; + } + + public function hasObserveEndTime() + { + return isset($this->observe_end_time); + } + + public function clearObserveEndTime() + { + unset($this->observe_end_time); + } + + /** + * Optional. Last recorded interaction time from this IP address in a session. + * + * Generated from protobuf field .google.protobuf.Timestamp observe_end_time = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setObserveEndTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->observe_end_time = $var; + + return $this; + } + +} + diff --git a/AdsDataManager/src/V1/Item.php b/AdsDataManager/src/V1/Item.php index 372489234fa2..728df364286a 100644 --- a/AdsDataManager/src/V1/Item.php +++ b/AdsDataManager/src/V1/Item.php @@ -49,6 +49,46 @@ class Item extends \Google\Protobuf\Internal\Message * Generated from protobuf field repeated .google.ads.datamanager.v1.ItemParameter additional_item_parameters = 5 [(.google.api.field_behavior) = OPTIONAL]; */ private $additional_item_parameters; + /** + * Optional. The Merchant Center ID associated with the item. For Store Sales + * events this will override the value set at the cart level. This field is + * ignored for other events. + * + * Generated from protobuf field string merchant_id = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $merchant_id = ''; + /** + * Optional. The feed label of the Merchant Center feed. If countries are + * still being used, the 2-letter country code in ISO-3166-1 alpha-2 can be + * used instead. For Store Sales events this will override the value set at + * the cart level. This field is ignored for other events. + * + * Generated from protobuf field string merchant_feed_label = 7 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $merchant_feed_label = ''; + /** + * Optional. The language code in ISO 639-1 associated with the Merchant + * Center feed where your items are uploaded. + * + * Generated from protobuf field string merchant_feed_language_code = 8 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $merchant_feed_language_code = ''; + /** + * Optional. The conversion value associated with this item within the event, + * for cases where the conversion value is different for each item. + * + * Generated from protobuf field optional double conversion_value = 9 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $conversion_value = null; + /** + * Optional. Additional key/value pair information to send to the conversion + * containers (conversion action or Floodlight activity), when tracking + * per-item + * conversions. + * + * Generated from protobuf field repeated .google.ads.datamanager.v1.ItemCustomVariable custom_variables = 10 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $custom_variables; /** * Constructor. @@ -70,6 +110,26 @@ class Item extends \Google\Protobuf\Internal\Message * item](https://developers.google.com/analytics/devguides/collection/protocol/ga4/reference/events) * to be included within the event that were not already specified using other * structured fields. + * @type string $merchant_id + * Optional. The Merchant Center ID associated with the item. For Store Sales + * events this will override the value set at the cart level. This field is + * ignored for other events. + * @type string $merchant_feed_label + * Optional. The feed label of the Merchant Center feed. If countries are + * still being used, the 2-letter country code in ISO-3166-1 alpha-2 can be + * used instead. For Store Sales events this will override the value set at + * the cart level. This field is ignored for other events. + * @type string $merchant_feed_language_code + * Optional. The language code in ISO 639-1 associated with the Merchant + * Center feed where your items are uploaded. + * @type float $conversion_value + * Optional. The conversion value associated with this item within the event, + * for cases where the conversion value is different for each item. + * @type \Google\Ads\DataManager\V1\ItemCustomVariable[] $custom_variables + * Optional. Additional key/value pair information to send to the conversion + * containers (conversion action or Floodlight activity), when tracking + * per-item + * conversions. * } */ public function __construct($data = NULL) { @@ -215,5 +275,165 @@ public function setAdditionalItemParameters($var) return $this; } + /** + * Optional. The Merchant Center ID associated with the item. For Store Sales + * events this will override the value set at the cart level. This field is + * ignored for other events. + * + * Generated from protobuf field string merchant_id = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getMerchantId() + { + return $this->merchant_id; + } + + /** + * Optional. The Merchant Center ID associated with the item. For Store Sales + * events this will override the value set at the cart level. This field is + * ignored for other events. + * + * Generated from protobuf field string merchant_id = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setMerchantId($var) + { + GPBUtil::checkString($var, True); + $this->merchant_id = $var; + + return $this; + } + + /** + * Optional. The feed label of the Merchant Center feed. If countries are + * still being used, the 2-letter country code in ISO-3166-1 alpha-2 can be + * used instead. For Store Sales events this will override the value set at + * the cart level. This field is ignored for other events. + * + * Generated from protobuf field string merchant_feed_label = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getMerchantFeedLabel() + { + return $this->merchant_feed_label; + } + + /** + * Optional. The feed label of the Merchant Center feed. If countries are + * still being used, the 2-letter country code in ISO-3166-1 alpha-2 can be + * used instead. For Store Sales events this will override the value set at + * the cart level. This field is ignored for other events. + * + * Generated from protobuf field string merchant_feed_label = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setMerchantFeedLabel($var) + { + GPBUtil::checkString($var, True); + $this->merchant_feed_label = $var; + + return $this; + } + + /** + * Optional. The language code in ISO 639-1 associated with the Merchant + * Center feed where your items are uploaded. + * + * Generated from protobuf field string merchant_feed_language_code = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getMerchantFeedLanguageCode() + { + return $this->merchant_feed_language_code; + } + + /** + * Optional. The language code in ISO 639-1 associated with the Merchant + * Center feed where your items are uploaded. + * + * Generated from protobuf field string merchant_feed_language_code = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setMerchantFeedLanguageCode($var) + { + GPBUtil::checkString($var, True); + $this->merchant_feed_language_code = $var; + + return $this; + } + + /** + * Optional. The conversion value associated with this item within the event, + * for cases where the conversion value is different for each item. + * + * Generated from protobuf field optional double conversion_value = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @return float + */ + public function getConversionValue() + { + return isset($this->conversion_value) ? $this->conversion_value : 0.0; + } + + public function hasConversionValue() + { + return isset($this->conversion_value); + } + + public function clearConversionValue() + { + unset($this->conversion_value); + } + + /** + * Optional. The conversion value associated with this item within the event, + * for cases where the conversion value is different for each item. + * + * Generated from protobuf field optional double conversion_value = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @param float $var + * @return $this + */ + public function setConversionValue($var) + { + GPBUtil::checkDouble($var); + $this->conversion_value = $var; + + return $this; + } + + /** + * Optional. Additional key/value pair information to send to the conversion + * containers (conversion action or Floodlight activity), when tracking + * per-item + * conversions. + * + * Generated from protobuf field repeated .google.ads.datamanager.v1.ItemCustomVariable custom_variables = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField<\Google\Ads\DataManager\V1\ItemCustomVariable> + */ + public function getCustomVariables() + { + return $this->custom_variables; + } + + /** + * Optional. Additional key/value pair information to send to the conversion + * containers (conversion action or Floodlight activity), when tracking + * per-item + * conversions. + * + * Generated from protobuf field repeated .google.ads.datamanager.v1.ItemCustomVariable custom_variables = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Ads\DataManager\V1\ItemCustomVariable[] $var + * @return $this + */ + public function setCustomVariables($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\DataManager\V1\ItemCustomVariable::class); + $this->custom_variables = $arr; + + return $this; + } + } diff --git a/AdsDataManager/src/V1/ItemCustomVariable.php b/AdsDataManager/src/V1/ItemCustomVariable.php new file mode 100644 index 000000000000..2935a4a89f95 --- /dev/null +++ b/AdsDataManager/src/V1/ItemCustomVariable.php @@ -0,0 +1,155 @@ +google.ads.datamanager.v1.ItemCustomVariable + */ +class ItemCustomVariable extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. The name of the custom variable to set. If the variable is not + * found for the given destination, it will be ignored. + * + * Generated from protobuf field string variable = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $variable = ''; + /** + * Optional. The value to store for the custom variable. + * + * Generated from protobuf field string value = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $value = ''; + /** + * Optional. Reference string used to determine which of the + * [Event.destination_references][google.ads.datamanager.v1.Event.destination_references] + * the custom variable should be sent to. If empty, the + * [Event.destination_references][google.ads.datamanager.v1.Event.destination_references] + * will be used. + * + * Generated from protobuf field repeated string destination_references = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $destination_references; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $variable + * Optional. The name of the custom variable to set. If the variable is not + * found for the given destination, it will be ignored. + * @type string $value + * Optional. The value to store for the custom variable. + * @type string[] $destination_references + * Optional. Reference string used to determine which of the + * [Event.destination_references][google.ads.datamanager.v1.Event.destination_references] + * the custom variable should be sent to. If empty, the + * [Event.destination_references][google.ads.datamanager.v1.Event.destination_references] + * will be used. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Datamanager\V1\CartData::initOnce(); + parent::__construct($data); + } + + /** + * Optional. The name of the custom variable to set. If the variable is not + * found for the given destination, it will be ignored. + * + * Generated from protobuf field string variable = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getVariable() + { + return $this->variable; + } + + /** + * Optional. The name of the custom variable to set. If the variable is not + * found for the given destination, it will be ignored. + * + * Generated from protobuf field string variable = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setVariable($var) + { + GPBUtil::checkString($var, True); + $this->variable = $var; + + return $this; + } + + /** + * Optional. The value to store for the custom variable. + * + * Generated from protobuf field string value = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getValue() + { + return $this->value; + } + + /** + * Optional. The value to store for the custom variable. + * + * Generated from protobuf field string value = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setValue($var) + { + GPBUtil::checkString($var, True); + $this->value = $var; + + return $this; + } + + /** + * Optional. Reference string used to determine which of the + * [Event.destination_references][google.ads.datamanager.v1.Event.destination_references] + * the custom variable should be sent to. If empty, the + * [Event.destination_references][google.ads.datamanager.v1.Event.destination_references] + * will be used. + * + * Generated from protobuf field repeated string destination_references = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField + */ + public function getDestinationReferences() + { + return $this->destination_references; + } + + /** + * Optional. Reference string used to determine which of the + * [Event.destination_references][google.ads.datamanager.v1.Event.destination_references] + * the custom variable should be sent to. If empty, the + * [Event.destination_references][google.ads.datamanager.v1.Event.destination_references] + * will be used. + * + * Generated from protobuf field repeated string destination_references = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string[] $var + * @return $this + */ + public function setDestinationReferences($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->destination_references = $arr; + + return $this; + } + +} + diff --git a/AdsDataManager/src/V1/ProcessingErrorReason.php b/AdsDataManager/src/V1/ProcessingErrorReason.php index e557b43f62d1..5ed7cda5085a 100644 --- a/AdsDataManager/src/V1/ProcessingErrorReason.php +++ b/AdsDataManager/src/V1/ProcessingErrorReason.php @@ -8,6 +8,7 @@ /** * The processing error reason. + * New reasons may be added in the future. * * Protobuf type google.ads.datamanager.v1.ProcessingErrorReason */ @@ -190,6 +191,105 @@ class ProcessingErrorReason * Generated from protobuf enum PROCESSING_ERROR_OPERATING_ACCOUNT_MISMATCH_FOR_AD_IDENTIFIER = 26; */ const PROCESSING_ERROR_OPERATING_ACCOUNT_MISMATCH_FOR_AD_IDENTIFIER = 26; + /** + * One-per-click conversion actions cannot be used with BRAIDs. + * + * Generated from protobuf enum PROCESSING_ERROR_REASON_ONE_PER_CLICK_CONVERSION_ACTION_NOT_PERMITTED_WITH_BRAID = 28; + */ + const PROCESSING_ERROR_REASON_ONE_PER_CLICK_CONVERSION_ACTION_NOT_PERMITTED_WITH_BRAID = 28; + /** + * The match ID can not be found. + * + * Generated from protobuf enum PROCESSING_ERROR_REASON_MATCH_ID_NOT_FOUND = 29; + */ + const PROCESSING_ERROR_REASON_MATCH_ID_NOT_FOUND = 29; + /** + * The user ID can not be found for the match ID. + * + * Generated from protobuf enum PROCESSING_ERROR_REASON_USER_ID_NOT_FOUND_FOR_MATCH_ID = 30; + */ + const PROCESSING_ERROR_REASON_USER_ID_NOT_FOUND_FOR_MATCH_ID = 30; + /** + * The user ID can not be found for the GCLID. + * + * Generated from protobuf enum PROCESSING_ERROR_REASON_USER_ID_NOT_FOUND_FOR_GCLID = 31; + */ + const PROCESSING_ERROR_REASON_USER_ID_NOT_FOUND_FOR_GCLID = 31; + /** + * The user ID can not be found for the DCLID. + * + * Generated from protobuf enum PROCESSING_ERROR_REASON_USER_ID_NOT_FOUND_FOR_DCLID = 32; + */ + const PROCESSING_ERROR_REASON_USER_ID_NOT_FOUND_FOR_DCLID = 32; + /** + * There are ad identifiers that are invalid. + * + * Generated from protobuf enum PROCESSING_ERROR_REASON_INVALID_AD_IDENTIFIERS = 33; + */ + const PROCESSING_ERROR_REASON_INVALID_AD_IDENTIFIERS = 33; + /** + * The mobile ID format is invalid. + * + * Generated from protobuf enum PROCESSING_ERROR_REASON_INVALID_MOBILE_ID_FORMAT = 34; + */ + const PROCESSING_ERROR_REASON_INVALID_MOBILE_ID_FORMAT = 34; + /** + * The original conversions can't be found. + * + * Generated from protobuf enum PROCESSING_ERROR_REASON_ORIGINAL_CONVERSIONS_NOT_FOUND = 35; + */ + const PROCESSING_ERROR_REASON_ORIGINAL_CONVERSIONS_NOT_FOUND = 35; + /** + * The event ID (dclid or impression ID) cannot be decoded. + * + * Generated from protobuf enum PROCESSING_ERROR_REASON_EVENT_ID_DECODE_ERROR = 36; + */ + const PROCESSING_ERROR_REASON_EVENT_ID_DECODE_ERROR = 36; + /** + * The user ID cannot be found for the given impression ID. + * + * Generated from protobuf enum PROCESSING_ERROR_REASON_USER_ID_NOT_FOUND_FOR_IMPRESSION_ID = 37; + */ + const PROCESSING_ERROR_REASON_USER_ID_NOT_FOUND_FOR_IMPRESSION_ID = 37; + /** + * The user ID cannot be found. + * + * Generated from protobuf enum PROCESSING_ERROR_REASON_USER_ID_NOT_FOUND = 38; + */ + const PROCESSING_ERROR_REASON_USER_ID_NOT_FOUND = 38; + /** + * The event timestamp on the event was earlier than the associated click. + * + * Generated from protobuf enum PROCESSING_ERROR_REASON_CONVERSION_PRECEDES_CLICK = 39; + */ + const PROCESSING_ERROR_REASON_CONVERSION_PRECEDES_CLICK = 39; + /** + * The click occurred too recently. + * + * Generated from protobuf enum PROCESSING_ERROR_REASON_TOO_RECENT_CLICK = 40; + */ + const PROCESSING_ERROR_REASON_TOO_RECENT_CLICK = 40; + /** + * The event can't be attributed to a click (GCLID). This may be because the + * click did not come from a Google Ads campaign, for example. + * + * Generated from protobuf enum PROCESSING_ERROR_REASON_INVALID_CLICK = 41; + */ + const PROCESSING_ERROR_REASON_INVALID_CLICK = 41; + /** + * The click from the event isn't associated with the + * [`operating_account`][google.ads.datamanager.v1.Destination.operating_account] + * of the destination. + * + * Generated from protobuf enum PROCESSING_ERROR_REASON_INVALID_OPERATING_ACCOUNT_FOR_CLICK = 42; + */ + const PROCESSING_ERROR_REASON_INVALID_OPERATING_ACCOUNT_FOR_CLICK = 42; + /** + * A corresponding click can't be found that matches the provided attributes. + * + * Generated from protobuf enum PROCESSING_ERROR_REASON_CLICK_NOT_FOUND = 43; + */ + const PROCESSING_ERROR_REASON_CLICK_NOT_FOUND = 43; private static $valueToName = [ self::PROCESSING_ERROR_REASON_UNSPECIFIED => 'PROCESSING_ERROR_REASON_UNSPECIFIED', @@ -220,6 +320,22 @@ class ProcessingErrorReason self::PROCESSING_ERROR_REASON_AWS_AUTH_FAILED => 'PROCESSING_ERROR_REASON_AWS_AUTH_FAILED', self::PROCESSING_ERROR_REASON_USER_IDENTIFIER_DECRYPTION_ERROR => 'PROCESSING_ERROR_REASON_USER_IDENTIFIER_DECRYPTION_ERROR', self::PROCESSING_ERROR_OPERATING_ACCOUNT_MISMATCH_FOR_AD_IDENTIFIER => 'PROCESSING_ERROR_OPERATING_ACCOUNT_MISMATCH_FOR_AD_IDENTIFIER', + self::PROCESSING_ERROR_REASON_ONE_PER_CLICK_CONVERSION_ACTION_NOT_PERMITTED_WITH_BRAID => 'PROCESSING_ERROR_REASON_ONE_PER_CLICK_CONVERSION_ACTION_NOT_PERMITTED_WITH_BRAID', + self::PROCESSING_ERROR_REASON_MATCH_ID_NOT_FOUND => 'PROCESSING_ERROR_REASON_MATCH_ID_NOT_FOUND', + self::PROCESSING_ERROR_REASON_USER_ID_NOT_FOUND_FOR_MATCH_ID => 'PROCESSING_ERROR_REASON_USER_ID_NOT_FOUND_FOR_MATCH_ID', + self::PROCESSING_ERROR_REASON_USER_ID_NOT_FOUND_FOR_GCLID => 'PROCESSING_ERROR_REASON_USER_ID_NOT_FOUND_FOR_GCLID', + self::PROCESSING_ERROR_REASON_USER_ID_NOT_FOUND_FOR_DCLID => 'PROCESSING_ERROR_REASON_USER_ID_NOT_FOUND_FOR_DCLID', + self::PROCESSING_ERROR_REASON_INVALID_AD_IDENTIFIERS => 'PROCESSING_ERROR_REASON_INVALID_AD_IDENTIFIERS', + self::PROCESSING_ERROR_REASON_INVALID_MOBILE_ID_FORMAT => 'PROCESSING_ERROR_REASON_INVALID_MOBILE_ID_FORMAT', + self::PROCESSING_ERROR_REASON_ORIGINAL_CONVERSIONS_NOT_FOUND => 'PROCESSING_ERROR_REASON_ORIGINAL_CONVERSIONS_NOT_FOUND', + self::PROCESSING_ERROR_REASON_EVENT_ID_DECODE_ERROR => 'PROCESSING_ERROR_REASON_EVENT_ID_DECODE_ERROR', + self::PROCESSING_ERROR_REASON_USER_ID_NOT_FOUND_FOR_IMPRESSION_ID => 'PROCESSING_ERROR_REASON_USER_ID_NOT_FOUND_FOR_IMPRESSION_ID', + self::PROCESSING_ERROR_REASON_USER_ID_NOT_FOUND => 'PROCESSING_ERROR_REASON_USER_ID_NOT_FOUND', + self::PROCESSING_ERROR_REASON_CONVERSION_PRECEDES_CLICK => 'PROCESSING_ERROR_REASON_CONVERSION_PRECEDES_CLICK', + self::PROCESSING_ERROR_REASON_TOO_RECENT_CLICK => 'PROCESSING_ERROR_REASON_TOO_RECENT_CLICK', + self::PROCESSING_ERROR_REASON_INVALID_CLICK => 'PROCESSING_ERROR_REASON_INVALID_CLICK', + self::PROCESSING_ERROR_REASON_INVALID_OPERATING_ACCOUNT_FOR_CLICK => 'PROCESSING_ERROR_REASON_INVALID_OPERATING_ACCOUNT_FOR_CLICK', + self::PROCESSING_ERROR_REASON_CLICK_NOT_FOUND => 'PROCESSING_ERROR_REASON_CLICK_NOT_FOUND', ]; public static function name($value) diff --git a/AdsDataManager/src/V1/ProcessingWarningReason.php b/AdsDataManager/src/V1/ProcessingWarningReason.php index 157441cb12f7..46bf76bde5a1 100644 --- a/AdsDataManager/src/V1/ProcessingWarningReason.php +++ b/AdsDataManager/src/V1/ProcessingWarningReason.php @@ -58,7 +58,7 @@ class ProcessingWarningReason */ const PROCESSING_WARNING_REASON_INVALID_KEK = 6; /** - * Failed to decrypt th + * Failed to decrypt the * [UserIdentifier][google.ads.datamanager.v1.UserIdentifier] data using the * DEK. * diff --git a/AdsDataManager/src/V1/ProductAccount/AccountType.php b/AdsDataManager/src/V1/ProductAccount/AccountType.php index 043d6827abf0..e85641d9332c 100644 --- a/AdsDataManager/src/V1/ProductAccount/AccountType.php +++ b/AdsDataManager/src/V1/ProductAccount/AccountType.php @@ -56,6 +56,12 @@ class AccountType * Generated from protobuf enum GOOGLE_AD_MANAGER_AUDIENCE_LINK = 6; */ const GOOGLE_AD_MANAGER_AUDIENCE_LINK = 6; + /** + * Floodlight configuration. + * + * Generated from protobuf enum FLOODLIGHT_CONFIG = 7; + */ + const FLOODLIGHT_CONFIG = 7; private static $valueToName = [ self::ACCOUNT_TYPE_UNSPECIFIED => 'ACCOUNT_TYPE_UNSPECIFIED', @@ -65,6 +71,7 @@ class AccountType self::DATA_PARTNER => 'DATA_PARTNER', self::GOOGLE_ANALYTICS_PROPERTY => 'GOOGLE_ANALYTICS_PROPERTY', self::GOOGLE_AD_MANAGER_AUDIENCE_LINK => 'GOOGLE_AD_MANAGER_AUDIENCE_LINK', + self::FLOODLIGHT_CONFIG => 'FLOODLIGHT_CONFIG', ]; public static function name($value) diff --git a/AdsDataManager/src/V1/RequestStatusPerDestination.php b/AdsDataManager/src/V1/RequestStatusPerDestination.php index ea54b59130b2..02ba6b154530 100644 --- a/AdsDataManager/src/V1/RequestStatusPerDestination.php +++ b/AdsDataManager/src/V1/RequestStatusPerDestination.php @@ -29,14 +29,26 @@ class RequestStatusPerDestination extends \Google\Protobuf\Internal\Message protected $request_status = 0; /** * An error info error containing the error reason and error counts related to - * the upload. + * the upload. Only populated if the + * [`request_status`][google.ads.datamanager.v1.RequestStatusPerDestination.request_status] + * is + * [`FAILED`][google.ads.datamanager.v1.RequestStatusPerDestination.RequestStatus.FAILED] + * or + * [`PARTIAL_SUCCESS`][google.ads.datamanager.v1.RequestStatusPerDestination.RequestStatus.PARTIAL_SUCCESS]. + * This field isn't populated while the request has + * [`request_status`][google.ads.datamanager.v1.RequestStatusPerDestination.request_status] + * of + * [`PROCESSING`][google.ads.datamanager.v1.RequestStatusPerDestination.RequestStatus.PROCESSING]. * * Generated from protobuf field .google.ads.datamanager.v1.ErrorInfo error_info = 3; */ protected $error_info = null; /** * A warning info containing the warning reason and warning counts related to - * the upload. + * the upload. This field isn't populated while the request has + * [`request_status`][google.ads.datamanager.v1.RequestStatusPerDestination.request_status] + * of + * [`PROCESSING`][google.ads.datamanager.v1.RequestStatusPerDestination.RequestStatus.PROCESSING]. * * Generated from protobuf field .google.ads.datamanager.v1.WarningInfo warning_info = 7; */ @@ -55,10 +67,22 @@ class RequestStatusPerDestination extends \Google\Protobuf\Internal\Message * The request status of the destination. * @type \Google\Ads\DataManager\V1\ErrorInfo $error_info * An error info error containing the error reason and error counts related to - * the upload. + * the upload. Only populated if the + * [`request_status`][google.ads.datamanager.v1.RequestStatusPerDestination.request_status] + * is + * [`FAILED`][google.ads.datamanager.v1.RequestStatusPerDestination.RequestStatus.FAILED] + * or + * [`PARTIAL_SUCCESS`][google.ads.datamanager.v1.RequestStatusPerDestination.RequestStatus.PARTIAL_SUCCESS]. + * This field isn't populated while the request has + * [`request_status`][google.ads.datamanager.v1.RequestStatusPerDestination.request_status] + * of + * [`PROCESSING`][google.ads.datamanager.v1.RequestStatusPerDestination.RequestStatus.PROCESSING]. * @type \Google\Ads\DataManager\V1\WarningInfo $warning_info * A warning info containing the warning reason and warning counts related to - * the upload. + * the upload. This field isn't populated while the request has + * [`request_status`][google.ads.datamanager.v1.RequestStatusPerDestination.request_status] + * of + * [`PROCESSING`][google.ads.datamanager.v1.RequestStatusPerDestination.RequestStatus.PROCESSING]. * @type \Google\Ads\DataManager\V1\RequestStatusPerDestination\IngestAudienceMembersStatus $audience_members_ingestion_status * The status of the ingest audience members request. * @type \Google\Ads\DataManager\V1\RequestStatusPerDestination\IngestEventsStatus $events_ingestion_status @@ -136,7 +160,16 @@ public function setRequestStatus($var) /** * An error info error containing the error reason and error counts related to - * the upload. + * the upload. Only populated if the + * [`request_status`][google.ads.datamanager.v1.RequestStatusPerDestination.request_status] + * is + * [`FAILED`][google.ads.datamanager.v1.RequestStatusPerDestination.RequestStatus.FAILED] + * or + * [`PARTIAL_SUCCESS`][google.ads.datamanager.v1.RequestStatusPerDestination.RequestStatus.PARTIAL_SUCCESS]. + * This field isn't populated while the request has + * [`request_status`][google.ads.datamanager.v1.RequestStatusPerDestination.request_status] + * of + * [`PROCESSING`][google.ads.datamanager.v1.RequestStatusPerDestination.RequestStatus.PROCESSING]. * * Generated from protobuf field .google.ads.datamanager.v1.ErrorInfo error_info = 3; * @return \Google\Ads\DataManager\V1\ErrorInfo|null @@ -158,7 +191,16 @@ public function clearErrorInfo() /** * An error info error containing the error reason and error counts related to - * the upload. + * the upload. Only populated if the + * [`request_status`][google.ads.datamanager.v1.RequestStatusPerDestination.request_status] + * is + * [`FAILED`][google.ads.datamanager.v1.RequestStatusPerDestination.RequestStatus.FAILED] + * or + * [`PARTIAL_SUCCESS`][google.ads.datamanager.v1.RequestStatusPerDestination.RequestStatus.PARTIAL_SUCCESS]. + * This field isn't populated while the request has + * [`request_status`][google.ads.datamanager.v1.RequestStatusPerDestination.request_status] + * of + * [`PROCESSING`][google.ads.datamanager.v1.RequestStatusPerDestination.RequestStatus.PROCESSING]. * * Generated from protobuf field .google.ads.datamanager.v1.ErrorInfo error_info = 3; * @param \Google\Ads\DataManager\V1\ErrorInfo $var @@ -174,7 +216,10 @@ public function setErrorInfo($var) /** * A warning info containing the warning reason and warning counts related to - * the upload. + * the upload. This field isn't populated while the request has + * [`request_status`][google.ads.datamanager.v1.RequestStatusPerDestination.request_status] + * of + * [`PROCESSING`][google.ads.datamanager.v1.RequestStatusPerDestination.RequestStatus.PROCESSING]. * * Generated from protobuf field .google.ads.datamanager.v1.WarningInfo warning_info = 7; * @return \Google\Ads\DataManager\V1\WarningInfo|null @@ -196,7 +241,10 @@ public function clearWarningInfo() /** * A warning info containing the warning reason and warning counts related to - * the upload. + * the upload. This field isn't populated while the request has + * [`request_status`][google.ads.datamanager.v1.RequestStatusPerDestination.request_status] + * of + * [`PROCESSING`][google.ads.datamanager.v1.RequestStatusPerDestination.RequestStatus.PROCESSING]. * * Generated from protobuf field .google.ads.datamanager.v1.WarningInfo warning_info = 7; * @param \Google\Ads\DataManager\V1\WarningInfo $var diff --git a/AdsDataManager/src/V1/RequestStatusPerDestination/DataType.php b/AdsDataManager/src/V1/RequestStatusPerDestination/DataType.php new file mode 100644 index 000000000000..f5dfe2317def --- /dev/null +++ b/AdsDataManager/src/V1/RequestStatusPerDestination/DataType.php @@ -0,0 +1,75 @@ +google.ads.datamanager.v1.RequestStatusPerDestination.DataType + */ +class DataType +{ + /** + * The data type is unspecified. + * + * Generated from protobuf enum DATA_TYPE_UNSPECIFIED = 0; + */ + const DATA_TYPE_UNSPECIFIED = 0; + /** + * The data is an email address. + * + * Generated from protobuf enum EMAIL = 1; + */ + const EMAIL = 1; + /** + * The data is a phone number. + * + * Generated from protobuf enum PHONE_NUMBER = 2; + */ + const PHONE_NUMBER = 2; + /** + * The data is a physical address. + * + * Generated from protobuf enum ADDRESS = 3; + */ + const ADDRESS = 3; + /** + * The data is an IP address. + * + * Generated from protobuf enum IP_ADDRESS = 4; + */ + const IP_ADDRESS = 4; + + private static $valueToName = [ + self::DATA_TYPE_UNSPECIFIED => 'DATA_TYPE_UNSPECIFIED', + self::EMAIL => 'EMAIL', + self::PHONE_NUMBER => 'PHONE_NUMBER', + self::ADDRESS => 'ADDRESS', + self::IP_ADDRESS => 'IP_ADDRESS', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/AdsDataManager/src/V1/RequestStatusPerDestination/DataTypeCount.php b/AdsDataManager/src/V1/RequestStatusPerDestination/DataTypeCount.php new file mode 100644 index 000000000000..56e42fef4cad --- /dev/null +++ b/AdsDataManager/src/V1/RequestStatusPerDestination/DataTypeCount.php @@ -0,0 +1,101 @@ +google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount + */ +class DataTypeCount extends \Google\Protobuf\Internal\Message +{ + /** + * The type of data. + * + * Generated from protobuf field .google.ads.datamanager.v1.RequestStatusPerDestination.DataType type = 1; + */ + protected $type = 0; + /** + * The count for this data type. + * + * Generated from protobuf field int64 count = 2; + */ + protected $count = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $type + * The type of data. + * @type int|string $count + * The count for this data type. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Datamanager\V1\RequestStatusPerDestination::initOnce(); + parent::__construct($data); + } + + /** + * The type of data. + * + * Generated from protobuf field .google.ads.datamanager.v1.RequestStatusPerDestination.DataType type = 1; + * @return int + */ + public function getType() + { + return $this->type; + } + + /** + * The type of data. + * + * Generated from protobuf field .google.ads.datamanager.v1.RequestStatusPerDestination.DataType type = 1; + * @param int $var + * @return $this + */ + public function setType($var) + { + GPBUtil::checkEnum($var, \Google\Ads\DataManager\V1\RequestStatusPerDestination\DataType::class); + $this->type = $var; + + return $this; + } + + /** + * The count for this data type. + * + * Generated from protobuf field int64 count = 2; + * @return int|string + */ + public function getCount() + { + return $this->count; + } + + /** + * The count for this data type. + * + * Generated from protobuf field int64 count = 2; + * @param int|string $var + * @return $this + */ + public function setCount($var) + { + GPBUtil::checkInt64($var); + $this->count = $var; + + return $this; + } + +} + diff --git a/AdsDataManager/src/V1/RequestStatusPerDestination/IngestAudienceMembersStatus.php b/AdsDataManager/src/V1/RequestStatusPerDestination/IngestAudienceMembersStatus.php index 29c6d6a26142..a6937bb27b8f 100644 --- a/AdsDataManager/src/V1/RequestStatusPerDestination/IngestAudienceMembersStatus.php +++ b/AdsDataManager/src/V1/RequestStatusPerDestination/IngestAudienceMembersStatus.php @@ -33,6 +33,8 @@ class IngestAudienceMembersStatus extends \Google\Protobuf\Internal\Message * The status of the user id data ingestion to the destination. * @type \Google\Ads\DataManager\V1\RequestStatusPerDestination\IngestPpidDataStatus $ppid_data_ingestion_status * The status of the ppid data ingestion to the destination. + * @type \Google\Ads\DataManager\V1\RequestStatusPerDestination\IngestCompositeDataStatus $composite_data_ingestion_status + * The status of the composite data ingestion to the destination. * } */ public function __construct($data = NULL) { @@ -195,6 +197,37 @@ public function setPpidDataIngestionStatus($var) return $this; } + /** + * The status of the composite data ingestion to the destination. + * + * Generated from protobuf field .google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus composite_data_ingestion_status = 6; + * @return \Google\Ads\DataManager\V1\RequestStatusPerDestination\IngestCompositeDataStatus|null + */ + public function getCompositeDataIngestionStatus() + { + return $this->readOneof(6); + } + + public function hasCompositeDataIngestionStatus() + { + return $this->hasOneof(6); + } + + /** + * The status of the composite data ingestion to the destination. + * + * Generated from protobuf field .google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus composite_data_ingestion_status = 6; + * @param \Google\Ads\DataManager\V1\RequestStatusPerDestination\IngestCompositeDataStatus $var + * @return $this + */ + public function setCompositeDataIngestionStatus($var) + { + GPBUtil::checkMessage($var, \Google\Ads\DataManager\V1\RequestStatusPerDestination\IngestCompositeDataStatus::class); + $this->writeOneof(6, $var); + + return $this; + } + /** * @return string */ diff --git a/AdsDataManager/src/V1/RequestStatusPerDestination/IngestCompositeDataStatus.php b/AdsDataManager/src/V1/RequestStatusPerDestination/IngestCompositeDataStatus.php new file mode 100644 index 000000000000..daef0d7ee651 --- /dev/null +++ b/AdsDataManager/src/V1/RequestStatusPerDestination/IngestCompositeDataStatus.php @@ -0,0 +1,156 @@ +google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus + */ +class IngestCompositeDataStatus extends \Google\Protobuf\Internal\Message +{ + /** + * 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. + * + * Generated from protobuf field int64 record_count = 1; + */ + protected $record_count = 0; + /** + * The total count of data types sent in the upload request for the + * destination, broken down by data type. Includes all data types in + * the request, regardless of whether they were successfully ingested or + * not. + * + * Generated from protobuf field repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2; + */ + private $data_type_counts; + /** + * The match rate range of the upload. + * + * Generated from protobuf field .google.ads.datamanager.v1.MatchRateRange upload_match_rate_range = 3; + */ + protected $upload_match_rate_range = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int|string $record_count + * 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. + * @type \Google\Ads\DataManager\V1\RequestStatusPerDestination\DataTypeCount[] $data_type_counts + * The total count of data types sent in the upload request for the + * destination, broken down by data type. Includes all data types in + * the request, regardless of whether they were successfully ingested or + * not. + * @type int $upload_match_rate_range + * The match rate range of the upload. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Datamanager\V1\RequestStatusPerDestination::initOnce(); + parent::__construct($data); + } + + /** + * 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. + * + * Generated from protobuf field int64 record_count = 1; + * @return int|string + */ + public function getRecordCount() + { + return $this->record_count; + } + + /** + * 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. + * + * Generated from protobuf field int64 record_count = 1; + * @param int|string $var + * @return $this + */ + public function setRecordCount($var) + { + GPBUtil::checkInt64($var); + $this->record_count = $var; + + return $this; + } + + /** + * The total count of data types sent in the upload request for the + * destination, broken down by data type. Includes all data types in + * the request, regardless of whether they were successfully ingested or + * not. + * + * Generated from protobuf field repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2; + * @return RepeatedField<\Google\Ads\DataManager\V1\RequestStatusPerDestination\DataTypeCount> + */ + public function getDataTypeCounts() + { + return $this->data_type_counts; + } + + /** + * The total count of data types sent in the upload request for the + * destination, broken down by data type. Includes all data types in + * the request, regardless of whether they were successfully ingested or + * not. + * + * Generated from protobuf field repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2; + * @param \Google\Ads\DataManager\V1\RequestStatusPerDestination\DataTypeCount[] $var + * @return $this + */ + public function setDataTypeCounts($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\DataManager\V1\RequestStatusPerDestination\DataTypeCount::class); + $this->data_type_counts = $arr; + + return $this; + } + + /** + * The match rate range of the upload. + * + * Generated from protobuf field .google.ads.datamanager.v1.MatchRateRange upload_match_rate_range = 3; + * @return int + */ + public function getUploadMatchRateRange() + { + return $this->upload_match_rate_range; + } + + /** + * The match rate range of the upload. + * + * Generated from protobuf field .google.ads.datamanager.v1.MatchRateRange upload_match_rate_range = 3; + * @param int $var + * @return $this + */ + public function setUploadMatchRateRange($var) + { + GPBUtil::checkEnum($var, \Google\Ads\DataManager\V1\MatchRateRange::class); + $this->upload_match_rate_range = $var; + + return $this; + } + +} + diff --git a/AdsDataManager/src/V1/RequestStatusPerDestination/RemoveAudienceMembersStatus.php b/AdsDataManager/src/V1/RequestStatusPerDestination/RemoveAudienceMembersStatus.php index 632d35be6652..fe037b7f3c82 100644 --- a/AdsDataManager/src/V1/RequestStatusPerDestination/RemoveAudienceMembersStatus.php +++ b/AdsDataManager/src/V1/RequestStatusPerDestination/RemoveAudienceMembersStatus.php @@ -33,6 +33,8 @@ class RemoveAudienceMembersStatus extends \Google\Protobuf\Internal\Message * The status of the user id data removal from the destination. * @type \Google\Ads\DataManager\V1\RequestStatusPerDestination\RemovePpidDataStatus $ppid_data_removal_status * The status of the ppid data removal from the destination. + * @type \Google\Ads\DataManager\V1\RequestStatusPerDestination\RemoveCompositeDataStatus $composite_data_removal_status + * The status of the composite data removal from the destination. * } */ public function __construct($data = NULL) { @@ -195,6 +197,37 @@ public function setPpidDataRemovalStatus($var) return $this; } + /** + * The status of the composite data removal from the destination. + * + * Generated from protobuf field .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus composite_data_removal_status = 6; + * @return \Google\Ads\DataManager\V1\RequestStatusPerDestination\RemoveCompositeDataStatus|null + */ + public function getCompositeDataRemovalStatus() + { + return $this->readOneof(6); + } + + public function hasCompositeDataRemovalStatus() + { + return $this->hasOneof(6); + } + + /** + * The status of the composite data removal from the destination. + * + * Generated from protobuf field .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus composite_data_removal_status = 6; + * @param \Google\Ads\DataManager\V1\RequestStatusPerDestination\RemoveCompositeDataStatus $var + * @return $this + */ + public function setCompositeDataRemovalStatus($var) + { + GPBUtil::checkMessage($var, \Google\Ads\DataManager\V1\RequestStatusPerDestination\RemoveCompositeDataStatus::class); + $this->writeOneof(6, $var); + + return $this; + } + /** * @return string */ diff --git a/AdsDataManager/src/V1/RequestStatusPerDestination/RemoveCompositeDataStatus.php b/AdsDataManager/src/V1/RequestStatusPerDestination/RemoveCompositeDataStatus.php new file mode 100644 index 000000000000..ae6d47a6f9fc --- /dev/null +++ b/AdsDataManager/src/V1/RequestStatusPerDestination/RemoveCompositeDataStatus.php @@ -0,0 +1,117 @@ +google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus + */ +class RemoveCompositeDataStatus extends \Google\Protobuf\Internal\Message +{ + /** + * 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. + * + * Generated from protobuf field int64 record_count = 1; + */ + protected $record_count = 0; + /** + * The total count of data types sent in the removal request, broken down + * by data type. Includes all data types in the request, regardless + * of whether they were successfully removed or not. + * + * Generated from protobuf field repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2; + */ + private $data_type_counts; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int|string $record_count + * 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. + * @type \Google\Ads\DataManager\V1\RequestStatusPerDestination\DataTypeCount[] $data_type_counts + * The total count of data types sent in the removal request, broken down + * by data type. Includes all data types in the request, regardless + * of whether they were successfully removed or not. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Datamanager\V1\RequestStatusPerDestination::initOnce(); + parent::__construct($data); + } + + /** + * 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. + * + * Generated from protobuf field int64 record_count = 1; + * @return int|string + */ + public function getRecordCount() + { + return $this->record_count; + } + + /** + * 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. + * + * Generated from protobuf field int64 record_count = 1; + * @param int|string $var + * @return $this + */ + public function setRecordCount($var) + { + GPBUtil::checkInt64($var); + $this->record_count = $var; + + return $this; + } + + /** + * The total count of data types sent in the removal request, broken down + * by data type. Includes all data types in the request, regardless + * of whether they were successfully removed or not. + * + * Generated from protobuf field repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2; + * @return RepeatedField<\Google\Ads\DataManager\V1\RequestStatusPerDestination\DataTypeCount> + */ + public function getDataTypeCounts() + { + return $this->data_type_counts; + } + + /** + * The total count of data types sent in the removal request, broken down + * by data type. Includes all data types in the request, regardless + * of whether they were successfully removed or not. + * + * Generated from protobuf field repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2; + * @param \Google\Ads\DataManager\V1\RequestStatusPerDestination\DataTypeCount[] $var + * @return $this + */ + public function setDataTypeCounts($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\DataManager\V1\RequestStatusPerDestination\DataTypeCount::class); + $this->data_type_counts = $arr; + + return $this; + } + +} + diff --git a/AdsDataManager/src/V1/RequestStatusPerDestination/RequestStatus.php b/AdsDataManager/src/V1/RequestStatusPerDestination/RequestStatus.php index 8247d6272ce6..802bb660e294 100644 --- a/AdsDataManager/src/V1/RequestStatusPerDestination/RequestStatus.php +++ b/AdsDataManager/src/V1/RequestStatusPerDestination/RequestStatus.php @@ -20,7 +20,10 @@ class RequestStatus */ const REQUEST_STATUS_UNKNOWN = 0; /** - * The request succeeded. + * Processing succeeded for all records without any errors. However, there + * may be warnings in the + * [`warning_info`][google.ads.datamanager.v1.RequestStatusPerDestination.warning_info] + * field. * * Generated from protobuf enum SUCCESS = 1; */ @@ -32,13 +35,22 @@ class RequestStatus */ const PROCESSING = 2; /** - * The request failed. + * Processing failed for all records. Check the + * [`error_info`][google.ads.datamanager.v1.RequestStatusPerDestination.error_info] + * field for error details, and check the + * [`warning_info`][google.ads.datamanager.v1.RequestStatusPerDestination.warning_info] + * field for warning details. * * Generated from protobuf enum FAILED = 3; */ const FAILED = 3; /** - * The request partially succeeded. + * Processing completed successfully without errors for some records, but + * failed with errors for other records. Check the + * [`error_info`][google.ads.datamanager.v1.RequestStatusPerDestination.error_info] + * field for error details, and check the + * [`warning_info`][google.ads.datamanager.v1.RequestStatusPerDestination.warning_info] + * field for warning details. * * Generated from protobuf enum PARTIAL_SUCCESS = 4; */ diff --git a/AdsDataManager/src/V1/SizeInfo.php b/AdsDataManager/src/V1/SizeInfo.php index 4f14959e5ac8..6b158b6ba226 100644 --- a/AdsDataManager/src/V1/SizeInfo.php +++ b/AdsDataManager/src/V1/SizeInfo.php @@ -30,6 +30,18 @@ class SizeInfo extends \Google\Protobuf\Internal\Message * Generated from protobuf field int64 search_network_members_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ protected $search_network_members_count = 0; + /** + * Output only. Estimated number of members in this user list on YouTube. + * + * Generated from protobuf field int64 youtube_members_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $youtube_members_count = 0; + /** + * Output only. Estimated number of members in this user list on Gmail. + * + * Generated from protobuf field int64 gmail_members_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $gmail_members_count = 0; /** * Constructor. @@ -44,6 +56,10 @@ class SizeInfo extends \Google\Protobuf\Internal\Message * 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. + * @type int|string $youtube_members_count + * Output only. Estimated number of members in this user list on YouTube. + * @type int|string $gmail_members_count + * Output only. Estimated number of members in this user list on Gmail. * } */ public function __construct($data = NULL) { @@ -109,5 +125,57 @@ public function setSearchNetworkMembersCount($var) return $this; } + /** + * Output only. Estimated number of members in this user list on YouTube. + * + * Generated from protobuf field int64 youtube_members_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int|string + */ + public function getYoutubeMembersCount() + { + return $this->youtube_members_count; + } + + /** + * Output only. Estimated number of members in this user list on YouTube. + * + * Generated from protobuf field int64 youtube_members_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int|string $var + * @return $this + */ + public function setYoutubeMembersCount($var) + { + GPBUtil::checkInt64($var); + $this->youtube_members_count = $var; + + return $this; + } + + /** + * Output only. Estimated number of members in this user list on Gmail. + * + * Generated from protobuf field int64 gmail_members_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int|string + */ + public function getGmailMembersCount() + { + return $this->gmail_members_count; + } + + /** + * Output only. Estimated number of members in this user list on Gmail. + * + * Generated from protobuf field int64 gmail_members_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int|string $var + * @return $this + */ + public function setGmailMembersCount($var) + { + GPBUtil::checkInt64($var); + $this->gmail_members_count = $var; + + return $this; + } + }