diff --git a/AdsDataManager/metadata/V1/AdEvent.php b/AdsDataManager/metadata/V1/AdEvent.php index 3b318dc0117c..50d4e10c6391 100644 --- a/AdsDataManager/metadata/V1/AdEvent.php +++ b/AdsDataManager/metadata/V1/AdEvent.php @@ -20,7 +20,7 @@ public static function initOnce() { \GPBMetadata\Google\Api\FieldBehavior::initOnce(); \GPBMetadata\Google\Protobuf\Timestamp::initOnce(); $pool->internalAddGeneratedFile( - "\x0A\xA7\x1E\x0A(google/ads/datamanager/v1/ad_event.proto\x12\x19google.ads.datamanager.v1\x1A)google/ads/datamanager/v1/user_data.proto\x1A0google/ads/datamanager/v1/viewability_info.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xA0\x0E\x0A\x07AdEvent\x12\x1A\x0A\x0Dadvertiser_id\x18\x01 \x01(\x09B\x03\xE0A\x02\x12E\x0A\x0Aevent_type\x18\x02 \x01(\x0E2,.google.ads.datamanager.v1.AdEvent.EventTypeB\x03\xE0A\x02\x12H\x0A\x0Devent_subtype\x18\x03 \x01(\x0E2/.google.ads.datamanager.v1.AdEvent.EventSubtypeH\x00\x12\x1E\x0A\x14event_subtype_string\x18\x04 \x01(\x09H\x00\x122\x0A\x09timestamp\x18\x05 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x02\x12\x15\x0A\x08event_id\x18\x06 \x01(\x09B\x03\xE0A\x01\x12;\x0A\x09user_data\x18\x07 \x01(\x0B2#.google.ads.datamanager.v1.UserDataB\x03\xE0A\x01\x12?\x0A\x0Bdevice_info\x18\x08 \x01(\x0B2%.google.ads.datamanager.v1.DeviceInfoB\x03\xE0A\x01\x12\x1D\x0A\x10mobile_device_id\x18\x09 \x01(\x09B\x03\xE0A\x01\x12\x18\x0A\x0Bcampaign_id\x18\x0A \x01(\x09B\x03\xE0A\x02\x12\x1A\x0A\x0Dcampaign_name\x18\x0B \x01(\x09B\x03\xE0A\x02\x12\x18\x0A\x0Bad_group_id\x18\x0C \x01(\x09B\x03\xE0A\x01\x12\x12\x0A\x05ad_id\x18\x0D \x01(\x09B\x03\xE0A\x01\x124\x0A\x07ad_type\x18\x0E \x01(\x0E2!.google.ads.datamanager.v1.AdTypeH\x01\x12\x18\x0A\x0Ead_type_string\x18\x0F \x01(\x09H\x01\x128\x0A\x09ad_format\x18\x10 \x01(\x0E2#.google.ads.datamanager.v1.AdFormatH\x02\x12\x1A\x0A\x10ad_format_string\x18\x11 \x01(\x09H\x02\x12>\x0A\x0Cad_placement\x18\x12 \x01(\x0E2&.google.ads.datamanager.v1.AdPlacementH\x03\x12\x1D\x0A\x13ad_placement_string\x18\x13 \x01(\x09H\x03\x12\x16\x0A\x09ad_height\x18\x14 \x01(\x05B\x03\xE0A\x01\x12\x15\x0A\x08ad_width\x18\x15 \x01(\x05B\x03\xE0A\x01\x12\x18\x0A\x0Bregion_code\x18\x16 \x01(\x09B\x03\xE0A\x02\x12\x13\x0A\x06source\x18\x17 \x01(\x09B\x03\xE0A\x02\x12\x13\x0A\x06medium\x18\x18 \x01(\x09B\x03\xE0A\x02\x12B\x0A\x0Etargeting_type\x18\x19 \x01(\x0E2(.google.ads.datamanager.v1.TargetingTypeH\x04\x12\x1F\x0A\x15targeting_type_string\x18\x1A \x01(\x09H\x04\x12@\x0A\x0Dplatform_type\x18\x1B \x01(\x0E2'.google.ads.datamanager.v1.PlatformTypeH\x05\x12\x1E\x0A\x14platform_type_string\x18\x1C \x01(\x09H\x05\x127\x0A\x08platform\x18\x1D \x01(\x0E2#.google.ads.datamanager.v1.PlatformH\x06\x12\x19\x0A\x0Fplatform_string\x18\x1E \x01(\x09H\x06\x12I\x0A\x10attribution_hint\x18\x1F \x01(\x0E2*.google.ads.datamanager.v1.AttributionHintB\x03\xE0A\x01\x12I\x0A\x10viewability_info\x18 \x01(\x0B2*.google.ads.datamanager.v1.ViewabilityInfoB\x03\xE0A\x02\x12%\x0A\x13measurement_allowed\x18! \x01(\x08B\x03\xE0A\x01H\x07\x88\x01\x01\"R\x0A\x09EventType\x12\x1A\x0A\x16EVENT_TYPE_UNSPECIFIED\x10\x00\x12\x13\x0A\x0FEVENT_TYPE_VIEW\x10\x01\x12\x14\x0A\x10EVENT_TYPE_CLICK\x10\x02\"\xAD\x01\x0A\x0CEventSubtype\x12\x1D\x0A\x19EVENT_SUBTYPE_UNSPECIFIED\x10\x00\x12\x1C\x0A\x18EVENT_SUBTYPE_IMPRESSION\x10\x01\x12\x1E\x0A\x1AEVENT_SUBTYPE_ENGAGED_VIEW\x10\x02\x12\x1E\x0A\x1AEVENT_SUBTYPE_ONSITE_CLICK\x10\x03\x12 \x0A\x1CEVENT_SUBTYPE_OUTBOUND_CLICK\x10\x04B\x15\x0A\x13event_subtype_oneofB\x0F\x0A\x0Dad_type_oneofB\x11\x0A\x0Fad_format_oneofB\x14\x0A\x12ad_placement_oneofB\x16\x0A\x14targeting_type_oneofB\x15\x0A\x13platform_type_oneofB\x10\x0A\x0Eplatform_oneofB\x16\x0A\x14_measurement_allowed*\xAB\x01\x0A\x06AdType\x12\x17\x0A\x13AD_TYPE_UNSPECIFIED\x10\x00\x12\x13\x0A\x0FAD_TYPE_DISPLAY\x10\x01\x12\x10\x0A\x0CAD_TYPE_TEXT\x10\x02\x12\x11\x0A\x0DAD_TYPE_IMAGE\x10\x03\x12\x16\x0A\x12AD_TYPE_RICH_MEDIA\x10\x04\x12\x10\x0A\x0CAD_TYPE_HTML\x10\x05\x12\x11\x0A\x0DAD_TYPE_AUDIO\x10\x06\x12\x11\x0A\x0DAD_TYPE_VIDEO\x10\x07*\xDF\x03\x0A\x08AdFormat\x12\x19\x0A\x15AD_FORMAT_UNSPECIFIED\x10\x00\x12\x10\x0A\x0CAD_FORMAT_AR\x10\x01\x12\x13\x0A\x0FAD_FORMAT_AUDIO\x10\x02\x12\x14\x0A\x10AD_FORMAT_BANNER\x10\x03\x12\x14\x0A\x10AD_FORMAT_BUMPER\x10\x04\x12\x16\x0A\x12AD_FORMAT_CAROUSEL\x10\x05\x12\x18\x0A\x14AD_FORMAT_COLLECTION\x10\x06\x12\x13\x0A\x0FAD_FORMAT_IMAGE\x10\x07\x12\x19\x0A\x15AD_FORMAT_INTERACTIVE\x10\x08\x12\x1A\x0A\x16AD_FORMAT_INTERSTITIAL\x10\x09\x12\x15\x0A\x11AD_FORMAT_IN_FEED\x10\x0A\x12\x17\x0A\x13AD_FORMAT_IN_STREAM\x10\x0B\x12!\x0A\x1DAD_FORMAT_IN_STREAM_SKIPPABLE\x10\x0C\x12%\x0A!AD_FORMAT_IN_STREAM_NON_SKIPPABLE\x10\x0D\x12\x14\x0A\x10AD_FORMAT_NATIVE\x10\x0E\x12\x14\x0A\x10AD_FORMAT_SHORTS\x10\x0F\x12\x13\x0A\x0FAD_FORMAT_STORY\x10\x10\x12\x17\x0A\x13AD_FORMAT_SPONSORED\x10\x11\x12\x13\x0A\x0FAD_FORMAT_VIDEO\x10\x12*\x8F\x02\x0A\x0BAdPlacement\x12\x1C\x0A\x18AD_PLACEMENT_UNSPECIFIED\x10\x00\x12\x19\x0A\x15AD_PLACEMENT_DISCOVER\x10\x01\x12\x15\x0A\x11AD_PLACEMENT_FEED\x10\x02\x12\x17\x0A\x13AD_PLACEMENT_FOOTER\x10\x03\x12\x17\x0A\x13AD_PLACEMENT_HEADER\x10\x04\x12\x15\x0A\x11AD_PLACEMENT_HOME\x10\x05\x12\x1B\x0A\x17AD_PLACEMENT_IN_CONTENT\x10\x06\x12\x19\x0A\x15AD_PLACEMENT_PROMOTED\x10\x07\x12\x17\x0A\x13AD_PLACEMENT_SEARCH\x10\x08\x12\x16\x0A\x12AD_PLACEMENT_STORY\x10\x09*\x9F\x02\x0A\x0DTargetingType\x12\x1E\x0A\x1ATARGETING_TYPE_UNSPECIFIED\x10\x00\x12\x1B\x0A\x17TARGETING_TYPE_AUDIENCE\x10\x01\x12\x1D\x0A\x19TARGETING_TYPE_CONTEXTUAL\x10\x02\x12\x1E\x0A\x1ATARGETING_TYPE_DEMOGRAPHIC\x10\x03\x12\x19\x0A\x15TARGETING_TYPE_DEVICE\x10\x04\x12\x16\x0A\x12TARGETING_TYPE_GEO\x10\x05\x12\x1B\x0A\x17TARGETING_TYPE_INTEREST\x10\x06\x12\"\x0A\x1ETARGETING_TYPE_PURCHASE_INTENT\x10\x07\x12\x1E\x0A\x1ATARGETING_TYPE_REMARKETING\x10\x08*\xAC\x01\x0A\x0CPlatformType\x12\x1D\x0A\x19PLATFORM_TYPE_UNSPECIFIED\x10\x00\x12\x18\x0A\x14PLATFORM_TYPE_MOBILE\x10\x01\x12\x19\x0A\x15PLATFORM_TYPE_DESKTOP\x10\x02\x12\x15\x0A\x11PLATFORM_TYPE_CTV\x10\x03\x12\x17\x0A\x13PLATFORM_TYPE_PHONE\x10\x04\x12\x18\x0A\x14PLATFORM_TYPE_TABLET\x10\x05*^\x0A\x08Platform\x12\x18\x0A\x14PLATFORM_UNSPECIFIED\x10\x00\x12\x10\x0A\x0CPLATFORM_IOS\x10\x01\x12\x14\x0A\x10PLATFORM_ANDROID\x10\x02\x12\x10\x0A\x0CPLATFORM_WEB\x10\x03*w\x0A\x0FAttributionHint\x12 \x0A\x1CATTRIBUTION_HINT_UNSPECIFIED\x10\x00\x12\x1E\x0A\x1AATTRIBUTION_HINT_CONVERTED\x10\x01\x12\"\x0A\x1EATTRIBUTION_HINT_NOT_CONVERTED\x10\x02B\xC9\x01\x0A\x1Dcom.google.ads.datamanager.v1B\x0CAdEventProtoP\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\xA7\x1E\x0A(google/ads/datamanager/v1/ad_event.proto\x12\x19google.ads.datamanager.v1\x1A)google/ads/datamanager/v1/user_data.proto\x1A0google/ads/datamanager/v1/viewability_info.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xA0\x0E\x0A\x07AdEvent\x12\x1A\x0A\x0Dadvertiser_id\x18\x01 \x01(\x09B\x03\xE0A\x02\x12E\x0A\x0Aevent_type\x18\x02 \x01(\x0E2,.google.ads.datamanager.v1.AdEvent.EventTypeB\x03\xE0A\x02\x12H\x0A\x0Devent_subtype\x18\x03 \x01(\x0E2/.google.ads.datamanager.v1.AdEvent.EventSubtypeH\x00\x12\x1E\x0A\x14event_subtype_string\x18\x04 \x01(\x09H\x00\x122\x0A\x09timestamp\x18\x05 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x02\x12\x15\x0A\x08event_id\x18\x06 \x01(\x09B\x03\xE0A\x01\x12;\x0A\x09user_data\x18\x07 \x01(\x0B2#.google.ads.datamanager.v1.UserDataB\x03\xE0A\x01\x12?\x0A\x0Bdevice_info\x18\x08 \x01(\x0B2%.google.ads.datamanager.v1.DeviceInfoB\x03\xE0A\x02\x12\x1D\x0A\x10mobile_device_id\x18\x09 \x01(\x09B\x03\xE0A\x01\x12\x18\x0A\x0Bcampaign_id\x18\x0A \x01(\x09B\x03\xE0A\x02\x12\x1A\x0A\x0Dcampaign_name\x18\x0B \x01(\x09B\x03\xE0A\x02\x12\x18\x0A\x0Bad_group_id\x18\x0C \x01(\x09B\x03\xE0A\x01\x12\x12\x0A\x05ad_id\x18\x0D \x01(\x09B\x03\xE0A\x01\x124\x0A\x07ad_type\x18\x0E \x01(\x0E2!.google.ads.datamanager.v1.AdTypeH\x01\x12\x18\x0A\x0Ead_type_string\x18\x0F \x01(\x09H\x01\x128\x0A\x09ad_format\x18\x10 \x01(\x0E2#.google.ads.datamanager.v1.AdFormatH\x02\x12\x1A\x0A\x10ad_format_string\x18\x11 \x01(\x09H\x02\x12>\x0A\x0Cad_placement\x18\x12 \x01(\x0E2&.google.ads.datamanager.v1.AdPlacementH\x03\x12\x1D\x0A\x13ad_placement_string\x18\x13 \x01(\x09H\x03\x12\x16\x0A\x09ad_height\x18\x14 \x01(\x05B\x03\xE0A\x01\x12\x15\x0A\x08ad_width\x18\x15 \x01(\x05B\x03\xE0A\x01\x12\x18\x0A\x0Bregion_code\x18\x16 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06source\x18\x17 \x01(\x09B\x03\xE0A\x02\x12\x13\x0A\x06medium\x18\x18 \x01(\x09B\x03\xE0A\x02\x12B\x0A\x0Etargeting_type\x18\x19 \x01(\x0E2(.google.ads.datamanager.v1.TargetingTypeH\x04\x12\x1F\x0A\x15targeting_type_string\x18\x1A \x01(\x09H\x04\x12@\x0A\x0Dplatform_type\x18\x1B \x01(\x0E2'.google.ads.datamanager.v1.PlatformTypeH\x05\x12\x1E\x0A\x14platform_type_string\x18\x1C \x01(\x09H\x05\x127\x0A\x08platform\x18\x1D \x01(\x0E2#.google.ads.datamanager.v1.PlatformH\x06\x12\x19\x0A\x0Fplatform_string\x18\x1E \x01(\x09H\x06\x12I\x0A\x10attribution_hint\x18\x1F \x01(\x0E2*.google.ads.datamanager.v1.AttributionHintB\x03\xE0A\x01\x12I\x0A\x10viewability_info\x18 \x01(\x0B2*.google.ads.datamanager.v1.ViewabilityInfoB\x03\xE0A\x02\x12%\x0A\x13measurement_allowed\x18! \x01(\x08B\x03\xE0A\x01H\x07\x88\x01\x01\"R\x0A\x09EventType\x12\x1A\x0A\x16EVENT_TYPE_UNSPECIFIED\x10\x00\x12\x13\x0A\x0FEVENT_TYPE_VIEW\x10\x01\x12\x14\x0A\x10EVENT_TYPE_CLICK\x10\x02\"\xAD\x01\x0A\x0CEventSubtype\x12\x1D\x0A\x19EVENT_SUBTYPE_UNSPECIFIED\x10\x00\x12\x1C\x0A\x18EVENT_SUBTYPE_IMPRESSION\x10\x01\x12\x1E\x0A\x1AEVENT_SUBTYPE_ENGAGED_VIEW\x10\x02\x12\x1E\x0A\x1AEVENT_SUBTYPE_ONSITE_CLICK\x10\x03\x12 \x0A\x1CEVENT_SUBTYPE_OUTBOUND_CLICK\x10\x04B\x15\x0A\x13event_subtype_oneofB\x0F\x0A\x0Dad_type_oneofB\x11\x0A\x0Fad_format_oneofB\x14\x0A\x12ad_placement_oneofB\x16\x0A\x14targeting_type_oneofB\x15\x0A\x13platform_type_oneofB\x10\x0A\x0Eplatform_oneofB\x16\x0A\x14_measurement_allowed*\xAB\x01\x0A\x06AdType\x12\x17\x0A\x13AD_TYPE_UNSPECIFIED\x10\x00\x12\x13\x0A\x0FAD_TYPE_DISPLAY\x10\x01\x12\x10\x0A\x0CAD_TYPE_TEXT\x10\x02\x12\x11\x0A\x0DAD_TYPE_IMAGE\x10\x03\x12\x16\x0A\x12AD_TYPE_RICH_MEDIA\x10\x04\x12\x10\x0A\x0CAD_TYPE_HTML\x10\x05\x12\x11\x0A\x0DAD_TYPE_AUDIO\x10\x06\x12\x11\x0A\x0DAD_TYPE_VIDEO\x10\x07*\xDF\x03\x0A\x08AdFormat\x12\x19\x0A\x15AD_FORMAT_UNSPECIFIED\x10\x00\x12\x10\x0A\x0CAD_FORMAT_AR\x10\x01\x12\x13\x0A\x0FAD_FORMAT_AUDIO\x10\x02\x12\x14\x0A\x10AD_FORMAT_BANNER\x10\x03\x12\x14\x0A\x10AD_FORMAT_BUMPER\x10\x04\x12\x16\x0A\x12AD_FORMAT_CAROUSEL\x10\x05\x12\x18\x0A\x14AD_FORMAT_COLLECTION\x10\x06\x12\x13\x0A\x0FAD_FORMAT_IMAGE\x10\x07\x12\x19\x0A\x15AD_FORMAT_INTERACTIVE\x10\x08\x12\x1A\x0A\x16AD_FORMAT_INTERSTITIAL\x10\x09\x12\x15\x0A\x11AD_FORMAT_IN_FEED\x10\x0A\x12\x17\x0A\x13AD_FORMAT_IN_STREAM\x10\x0B\x12!\x0A\x1DAD_FORMAT_IN_STREAM_SKIPPABLE\x10\x0C\x12%\x0A!AD_FORMAT_IN_STREAM_NON_SKIPPABLE\x10\x0D\x12\x14\x0A\x10AD_FORMAT_NATIVE\x10\x0E\x12\x14\x0A\x10AD_FORMAT_SHORTS\x10\x0F\x12\x13\x0A\x0FAD_FORMAT_STORY\x10\x10\x12\x17\x0A\x13AD_FORMAT_SPONSORED\x10\x11\x12\x13\x0A\x0FAD_FORMAT_VIDEO\x10\x12*\x8F\x02\x0A\x0BAdPlacement\x12\x1C\x0A\x18AD_PLACEMENT_UNSPECIFIED\x10\x00\x12\x19\x0A\x15AD_PLACEMENT_DISCOVER\x10\x01\x12\x15\x0A\x11AD_PLACEMENT_FEED\x10\x02\x12\x17\x0A\x13AD_PLACEMENT_FOOTER\x10\x03\x12\x17\x0A\x13AD_PLACEMENT_HEADER\x10\x04\x12\x15\x0A\x11AD_PLACEMENT_HOME\x10\x05\x12\x1B\x0A\x17AD_PLACEMENT_IN_CONTENT\x10\x06\x12\x19\x0A\x15AD_PLACEMENT_PROMOTED\x10\x07\x12\x17\x0A\x13AD_PLACEMENT_SEARCH\x10\x08\x12\x16\x0A\x12AD_PLACEMENT_STORY\x10\x09*\x9F\x02\x0A\x0DTargetingType\x12\x1E\x0A\x1ATARGETING_TYPE_UNSPECIFIED\x10\x00\x12\x1B\x0A\x17TARGETING_TYPE_AUDIENCE\x10\x01\x12\x1D\x0A\x19TARGETING_TYPE_CONTEXTUAL\x10\x02\x12\x1E\x0A\x1ATARGETING_TYPE_DEMOGRAPHIC\x10\x03\x12\x19\x0A\x15TARGETING_TYPE_DEVICE\x10\x04\x12\x16\x0A\x12TARGETING_TYPE_GEO\x10\x05\x12\x1B\x0A\x17TARGETING_TYPE_INTEREST\x10\x06\x12\"\x0A\x1ETARGETING_TYPE_PURCHASE_INTENT\x10\x07\x12\x1E\x0A\x1ATARGETING_TYPE_REMARKETING\x10\x08*\xAC\x01\x0A\x0CPlatformType\x12\x1D\x0A\x19PLATFORM_TYPE_UNSPECIFIED\x10\x00\x12\x18\x0A\x14PLATFORM_TYPE_MOBILE\x10\x01\x12\x19\x0A\x15PLATFORM_TYPE_DESKTOP\x10\x02\x12\x15\x0A\x11PLATFORM_TYPE_CTV\x10\x03\x12\x17\x0A\x13PLATFORM_TYPE_PHONE\x10\x04\x12\x18\x0A\x14PLATFORM_TYPE_TABLET\x10\x05*^\x0A\x08Platform\x12\x18\x0A\x14PLATFORM_UNSPECIFIED\x10\x00\x12\x10\x0A\x0CPLATFORM_IOS\x10\x01\x12\x14\x0A\x10PLATFORM_ANDROID\x10\x02\x12\x10\x0A\x0CPLATFORM_WEB\x10\x03*w\x0A\x0FAttributionHint\x12 \x0A\x1CATTRIBUTION_HINT_UNSPECIFIED\x10\x00\x12\x1E\x0A\x1AATTRIBUTION_HINT_CONVERTED\x10\x01\x12\"\x0A\x1EATTRIBUTION_HINT_NOT_CONVERTED\x10\x02B\xC9\x01\x0A\x1Dcom.google.ads.datamanager.v1B\x0CAdEventProtoP\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/Audience.php b/AdsDataManager/metadata/V1/Audience.php index 0b0441bfd9b4..30036b593602 100644 --- a/AdsDataManager/metadata/V1/Audience.php +++ b/AdsDataManager/metadata/V1/Audience.php @@ -20,7 +20,7 @@ public static function initOnce() { \GPBMetadata\Google\Api\FieldInfo::initOnce(); \GPBMetadata\Google\Protobuf\Timestamp::initOnce(); $pool->internalAddGeneratedFile( - "\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" + "\x0A\xD7\x0C\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\"\x88\x05\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\x12J\x0A\x13google_user_id_data\x18\x09 \x01(\x0B2+.google.ads.datamanager.v1.GoogleUserIdDataH\x00\x12T\x0A\x18partner_provided_id_data\x18\x0A \x01(\x0B20.google.ads.datamanager.v1.PartnerProvidedIdDataH\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\x01\"0\x0A\x10GoogleUserIdData\x12\x1C\x0A\x0Fgoogle_user_ids\x18\x01 \x03(\x09B\x03\xE0A\x02\":\x0A\x15PartnerProvidedIdData\x12!\x0A\x14partner_provided_ids\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" , true); static::$is_initialized = true; diff --git a/AdsDataManager/metadata/V1/Error.php b/AdsDataManager/metadata/V1/Error.php index be1ba2bfc2f3..541c759d8573 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\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" + "\x0A\xD9\$\x0A%google/ads/datamanager/v1/error.proto\x12\x19google.ads.datamanager.v1*\xC2\"\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{\x12&\x0A\"REQUIRED_PREREQUISITE_LINK_MISSING\x10|\x12\x1D\x0A\x19INVALID_REMOVE_AS_OF_TIME\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/IngestionService.php b/AdsDataManager/metadata/V1/IngestionService.php index 068efaef16d2..d1871d9f7c21 100644 --- a/AdsDataManager/metadata/V1/IngestionService.php +++ b/AdsDataManager/metadata/V1/IngestionService.php @@ -20,13 +20,15 @@ public static function initOnce() { \GPBMetadata\Google\Ads\Datamanager\V1\Destination::initOnce(); \GPBMetadata\Google\Ads\Datamanager\V1\EncryptionInfo::initOnce(); \GPBMetadata\Google\Ads\Datamanager\V1\Event::initOnce(); + \GPBMetadata\Google\Ads\Datamanager\V1\ProcessingErrors::initOnce(); \GPBMetadata\Google\Ads\Datamanager\V1\RequestStatusPerDestination::initOnce(); \GPBMetadata\Google\Ads\Datamanager\V1\TermsOfService::initOnce(); \GPBMetadata\Google\Api\Annotations::initOnce(); \GPBMetadata\Google\Api\Client::initOnce(); \GPBMetadata\Google\Api\FieldBehavior::initOnce(); + \GPBMetadata\Google\Protobuf\Timestamp::initOnce(); $pool->internalAddGeneratedFile( - "\x0A\xDF\x1A\x0A1google/ads/datamanager/v1/ingestion_service.proto\x12\x19google.ads.datamanager.v1\x1A(google/ads/datamanager/v1/audience.proto\x1A'google/ads/datamanager/v1/consent.proto\x1A+google/ads/datamanager/v1/destination.proto\x1A/google/ads/datamanager/v1/encryption_info.proto\x1A%google/ads/datamanager/v1/event.proto\x1A>google/ads/datamanager/v1/request_status_per_destination.proto\x1A0google/ads/datamanager/v1/terms_of_service.proto\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\"\xD0\x03\x0A\x1CIngestAudienceMembersRequest\x12A\x0A\x0Cdestinations\x18\x01 \x03(\x0B2&.google.ads.datamanager.v1.DestinationB\x03\xE0A\x02\x12H\x0A\x10audience_members\x18\x02 \x03(\x0B2).google.ads.datamanager.v1.AudienceMemberB\x03\xE0A\x02\x128\x0A\x07consent\x18\x03 \x01(\x0B2\".google.ads.datamanager.v1.ConsentB\x03\xE0A\x01\x12\x1A\x0A\x0Dvalidate_only\x18\x04 \x01(\x08B\x03\xE0A\x01\x12:\x0A\x08encoding\x18\x05 \x01(\x0E2#.google.ads.datamanager.v1.EncodingB\x03\xE0A\x01\x12G\x0A\x0Fencryption_info\x18\x06 \x01(\x0B2).google.ads.datamanager.v1.EncryptionInfoB\x03\xE0A\x01\x12H\x0A\x10terms_of_service\x18\x07 \x01(\x0B2).google.ads.datamanager.v1.TermsOfServiceB\x03\xE0A\x01\"3\x0A\x1DIngestAudienceMembersResponse\x12\x12\x0A\x0Arequest_id\x18\x01 \x01(\x09\"\xCC\x02\x0A\x1CRemoveAudienceMembersRequest\x12A\x0A\x0Cdestinations\x18\x01 \x03(\x0B2&.google.ads.datamanager.v1.DestinationB\x03\xE0A\x02\x12H\x0A\x10audience_members\x18\x02 \x03(\x0B2).google.ads.datamanager.v1.AudienceMemberB\x03\xE0A\x02\x12\x1A\x0A\x0Dvalidate_only\x18\x03 \x01(\x08B\x03\xE0A\x01\x12:\x0A\x08encoding\x18\x04 \x01(\x0E2#.google.ads.datamanager.v1.EncodingB\x03\xE0A\x01\x12G\x0A\x0Fencryption_info\x18\x05 \x01(\x0B2).google.ads.datamanager.v1.EncryptionInfoB\x03\xE0A\x01\"3\x0A\x1DRemoveAudienceMembersResponse\x12\x12\x0A\x0Arequest_id\x18\x01 \x01(\x09\"\xEA\x02\x0A\x13IngestEventsRequest\x12A\x0A\x0Cdestinations\x18\x01 \x03(\x0B2&.google.ads.datamanager.v1.DestinationB\x03\xE0A\x02\x125\x0A\x06events\x18\x02 \x03(\x0B2 .google.ads.datamanager.v1.EventB\x03\xE0A\x02\x128\x0A\x07consent\x18\x03 \x01(\x0B2\".google.ads.datamanager.v1.ConsentB\x03\xE0A\x01\x12\x1A\x0A\x0Dvalidate_only\x18\x04 \x01(\x08B\x03\xE0A\x01\x12:\x0A\x08encoding\x18\x05 \x01(\x0E2#.google.ads.datamanager.v1.EncodingB\x03\xE0A\x01\x12G\x0A\x0Fencryption_info\x18\x06 \x01(\x0B2).google.ads.datamanager.v1.EncryptionInfoB\x03\xE0A\x01\"*\x0A\x14IngestEventsResponse\x12\x12\x0A\x0Arequest_id\x18\x01 \x01(\x09\"\xB8\x01\x0A\x15IngestAdEventsRequest\x12:\x0A\x09ad_events\x18\x01 \x03(\x0B2\".google.ads.datamanager.v1.AdEventB\x03\xE0A\x02\x12G\x0A\x0Fencryption_info\x18\x02 \x01(\x0B2).google.ads.datamanager.v1.EncryptionInfoB\x03\xE0A\x01\x12\x1A\x0A\x0Dvalidate_only\x18\x03 \x01(\x08B\x03\xE0A\x01\"\x18\x0A\x16IngestAdEventsResponse\"7\x0A\x1CRetrieveRequestStatusRequest\x12\x17\x0A\x0Arequest_id\x18\x01 \x01(\x09B\x03\xE0A\x02\"\x7F\x0A\x1DRetrieveRequestStatusResponse\x12^\x0A\x1Erequest_status_per_destination\x18\x01 \x03(\x0B26.google.ads.datamanager.v1.RequestStatusPerDestination*9\x0A\x08Encoding\x12\x18\x0A\x14ENCODING_UNSPECIFIED\x10\x00\x12\x07\x0A\x03HEX\x10\x01\x12\x0A\x0A\x06BASE64\x10\x022\xA0\x07\x0A\x10IngestionService\x12\xB1\x01\x0A\x15IngestAudienceMembers\x127.google.ads.datamanager.v1.IngestAudienceMembersRequest\x1A8.google.ads.datamanager.v1.IngestAudienceMembersResponse\"%\x82\xD3\xE4\x93\x02\x1F\"\x1A/v1/audienceMembers:ingest:\x01*\x12\xB1\x01\x0A\x15RemoveAudienceMembers\x127.google.ads.datamanager.v1.RemoveAudienceMembersRequest\x1A8.google.ads.datamanager.v1.RemoveAudienceMembersResponse\"%\x82\xD3\xE4\x93\x02\x1F\"\x1A/v1/audienceMembers:remove:\x01*\x12\x8D\x01\x0A\x0CIngestEvents\x12..google.ads.datamanager.v1.IngestEventsRequest\x1A/.google.ads.datamanager.v1.IngestEventsResponse\"\x1C\x82\xD3\xE4\x93\x02\x16\"\x11/v1/events:ingest:\x01*\x12\x95\x01\x0A\x0EIngestAdEvents\x120.google.ads.datamanager.v1.IngestAdEventsRequest\x1A1.google.ads.datamanager.v1.IngestAdEventsResponse\"\x1E\x82\xD3\xE4\x93\x02\x18\"\x13/v1/adEvents:ingest:\x01*\x12\xAE\x01\x0A\x15RetrieveRequestStatus\x127.google.ads.datamanager.v1.RetrieveRequestStatusRequest\x1A8.google.ads.datamanager.v1.RetrieveRequestStatusResponse\"\"\x82\xD3\xE4\x93\x02\x1C\x12\x1A/v1/requestStatus:retrieve\x1AK\xCAA\x1Adatamanager.googleapis.com\xD2A+https://www.googleapis.com/auth/datamanagerB\xD2\x01\x0A\x1Dcom.google.ads.datamanager.v1B\x15IngestionServiceProtoP\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\xEE\x1F\x0A1google/ads/datamanager/v1/ingestion_service.proto\x12\x19google.ads.datamanager.v1\x1A(google/ads/datamanager/v1/audience.proto\x1A'google/ads/datamanager/v1/consent.proto\x1A+google/ads/datamanager/v1/destination.proto\x1A/google/ads/datamanager/v1/encryption_info.proto\x1A%google/ads/datamanager/v1/event.proto\x1A1google/ads/datamanager/v1/processing_errors.proto\x1A>google/ads/datamanager/v1/request_status_per_destination.proto\x1A0google/ads/datamanager/v1/terms_of_service.proto\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xD0\x03\x0A\x1CIngestAudienceMembersRequest\x12A\x0A\x0Cdestinations\x18\x01 \x03(\x0B2&.google.ads.datamanager.v1.DestinationB\x03\xE0A\x02\x12H\x0A\x10audience_members\x18\x02 \x03(\x0B2).google.ads.datamanager.v1.AudienceMemberB\x03\xE0A\x02\x128\x0A\x07consent\x18\x03 \x01(\x0B2\".google.ads.datamanager.v1.ConsentB\x03\xE0A\x01\x12\x1A\x0A\x0Dvalidate_only\x18\x04 \x01(\x08B\x03\xE0A\x01\x12:\x0A\x08encoding\x18\x05 \x01(\x0E2#.google.ads.datamanager.v1.EncodingB\x03\xE0A\x01\x12G\x0A\x0Fencryption_info\x18\x06 \x01(\x0B2).google.ads.datamanager.v1.EncryptionInfoB\x03\xE0A\x01\x12H\x0A\x10terms_of_service\x18\x07 \x01(\x0B2).google.ads.datamanager.v1.TermsOfServiceB\x03\xE0A\x01\"t\x0A\x1DIngestAudienceMembersResponse\x12\x12\x0A\x0Arequest_id\x18\x01 \x01(\x09\x12?\x0A\x0Efield_warnings\x18\x02 \x03(\x0B2'.google.ads.datamanager.v1.FieldWarning\"\xCC\x02\x0A\x1CRemoveAudienceMembersRequest\x12A\x0A\x0Cdestinations\x18\x01 \x03(\x0B2&.google.ads.datamanager.v1.DestinationB\x03\xE0A\x02\x12H\x0A\x10audience_members\x18\x02 \x03(\x0B2).google.ads.datamanager.v1.AudienceMemberB\x03\xE0A\x02\x12\x1A\x0A\x0Dvalidate_only\x18\x03 \x01(\x08B\x03\xE0A\x01\x12:\x0A\x08encoding\x18\x04 \x01(\x0E2#.google.ads.datamanager.v1.EncodingB\x03\xE0A\x01\x12G\x0A\x0Fencryption_info\x18\x05 \x01(\x0B2).google.ads.datamanager.v1.EncryptionInfoB\x03\xE0A\x01\"3\x0A\x1DRemoveAudienceMembersResponse\x12\x12\x0A\x0Arequest_id\x18\x01 \x01(\x09\"\xBC\x01\x0A\x1FRemoveAllAudienceMembersRequest\x12A\x0A\x0Cdestinations\x18\x01 \x03(\x0B2&.google.ads.datamanager.v1.DestinationB\x03\xE0A\x02\x12:\x0A\x11remove_as_of_time\x18\x02 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x01\x12\x1A\x0A\x0Dvalidate_only\x18\x03 \x01(\x08B\x03\xE0A\x01\"6\x0A RemoveAllAudienceMembersResponse\x12\x12\x0A\x0Arequest_id\x18\x01 \x01(\x09\"\xEA\x02\x0A\x13IngestEventsRequest\x12A\x0A\x0Cdestinations\x18\x01 \x03(\x0B2&.google.ads.datamanager.v1.DestinationB\x03\xE0A\x02\x125\x0A\x06events\x18\x02 \x03(\x0B2 .google.ads.datamanager.v1.EventB\x03\xE0A\x02\x128\x0A\x07consent\x18\x03 \x01(\x0B2\".google.ads.datamanager.v1.ConsentB\x03\xE0A\x01\x12\x1A\x0A\x0Dvalidate_only\x18\x04 \x01(\x08B\x03\xE0A\x01\x12:\x0A\x08encoding\x18\x05 \x01(\x0E2#.google.ads.datamanager.v1.EncodingB\x03\xE0A\x01\x12G\x0A\x0Fencryption_info\x18\x06 \x01(\x0B2).google.ads.datamanager.v1.EncryptionInfoB\x03\xE0A\x01\"k\x0A\x14IngestEventsResponse\x12\x12\x0A\x0Arequest_id\x18\x01 \x01(\x09\x12?\x0A\x0Efield_warnings\x18\x02 \x03(\x0B2'.google.ads.datamanager.v1.FieldWarning\"\xBA\x01\x0A\x15IngestAdEventsRequest\x12:\x0A\x09ad_events\x18\x01 \x03(\x0B2\".google.ads.datamanager.v1.AdEventB\x03\xE0A\x02\x12G\x0A\x0Fencryption_info\x18\x02 \x01(\x0B2).google.ads.datamanager.v1.EncryptionInfoB\x03\xE0A\x02\x12\x1C\x0A\x0Dvalidate_only\x18\x03 \x01(\x08B\x05\x18\x01\xE0A\x01\"\x18\x0A\x16IngestAdEventsResponse\"7\x0A\x1CRetrieveRequestStatusRequest\x12\x17\x0A\x0Arequest_id\x18\x01 \x01(\x09B\x03\xE0A\x02\"\x7F\x0A\x1DRetrieveRequestStatusResponse\x12^\x0A\x1Erequest_status_per_destination\x18\x01 \x03(\x0B26.google.ads.datamanager.v1.RequestStatusPerDestination*9\x0A\x08Encoding\x12\x18\x0A\x14ENCODING_UNSPECIFIED\x10\x00\x12\x07\x0A\x03HEX\x10\x01\x12\x0A\x0A\x06BASE64\x10\x022\xE0\x08\x0A\x10IngestionService\x12\xB1\x01\x0A\x15IngestAudienceMembers\x127.google.ads.datamanager.v1.IngestAudienceMembersRequest\x1A8.google.ads.datamanager.v1.IngestAudienceMembersResponse\"%\x82\xD3\xE4\x93\x02\x1F\"\x1A/v1/audienceMembers:ingest:\x01*\x12\xB1\x01\x0A\x15RemoveAudienceMembers\x127.google.ads.datamanager.v1.RemoveAudienceMembersRequest\x1A8.google.ads.datamanager.v1.RemoveAudienceMembersResponse\"%\x82\xD3\xE4\x93\x02\x1F\"\x1A/v1/audienceMembers:remove:\x01*\x12\xBD\x01\x0A\x18RemoveAllAudienceMembers\x12:.google.ads.datamanager.v1.RemoveAllAudienceMembersRequest\x1A;.google.ads.datamanager.v1.RemoveAllAudienceMembersResponse\"(\x82\xD3\xE4\x93\x02\"\"\x1D/v1/audienceMembers:removeAll:\x01*\x12\x8D\x01\x0A\x0CIngestEvents\x12..google.ads.datamanager.v1.IngestEventsRequest\x1A/.google.ads.datamanager.v1.IngestEventsResponse\"\x1C\x82\xD3\xE4\x93\x02\x16\"\x11/v1/events:ingest:\x01*\x12\x95\x01\x0A\x0EIngestAdEvents\x120.google.ads.datamanager.v1.IngestAdEventsRequest\x1A1.google.ads.datamanager.v1.IngestAdEventsResponse\"\x1E\x82\xD3\xE4\x93\x02\x18\"\x13/v1/adEvents:ingest:\x01*\x12\xAE\x01\x0A\x15RetrieveRequestStatus\x127.google.ads.datamanager.v1.RetrieveRequestStatusRequest\x1A8.google.ads.datamanager.v1.RetrieveRequestStatusResponse\"\"\x82\xD3\xE4\x93\x02\x1C\x12\x1A/v1/requestStatus:retrieve\x1AK\xCAA\x1Adatamanager.googleapis.com\xD2A+https://www.googleapis.com/auth/datamanagerB\xD2\x01\x0A\x1Dcom.google.ads.datamanager.v1B\x15IngestionServiceProtoP\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 2c5902a8133b..2a27d7d45be8 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\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" + "\x0A\x88\"\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\"l\x0A\x0CFieldWarning\x128\x0A\x06reason\x18\x01 \x01(\x0E2(.google.ads.datamanager.v1.WarningReason\x12\x13\x0A\x0Bdescription\x18\x02 \x01(\x09\x12\x0D\x0A\x05field\x18\x03 \x01(\x09*\xBB\x12\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+\x12=\x0A9PROCESSING_ERROR_REASON_EXTERNAL_ATTRIBUTION_DATA_MISSING\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\x09*\xC2\x05\x0A\x0DWarningReason\x12\x1E\x0A\x1AWARNING_REASON_UNSPECIFIED\x10\x00\x12.\x0A*WARNING_REASON_CUSTOM_VARIABLE_NOT_ENABLED\x10\x01\x121\x0A-WARNING_REASON_CUSTOM_VARIABLE_NOT_PREDEFINED\x10\x02\x12@\x0AinternalAddGeneratedFile( - "\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" + "\x0A\xC3(\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\"\x9E%\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\x12\x83\x01\x0A\"remove_all_audience_members_status\x18\x08 \x01(\x0B2U.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveAllAudienceMembersStatusH\x00\x1A\x82\x08\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\x00\x12\x83\x01\x0A\$google_user_id_data_ingestion_status\x18\x07 \x01(\x0B2S.google.ads.datamanager.v1.RequestStatusPerDestination.IngestGoogleUserIdDataStatusH\x00\x12\x8D\x01\x0A)partner_provided_id_data_ingestion_status\x18\x08 \x01(\x0B2X.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPartnerProvidedIdDataStatusH\x00B\x08\x0A\x06status\x1A\xF2\x07\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\x00\x12\x81\x01\x0A\"google_user_id_data_removal_status\x18\x07 \x01(\x0B2S.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveGoogleUserIdDataStatusH\x00\x12\x8B\x01\x0A'partner_provided_id_data_removal_status\x18\x08 \x01(\x0B2X.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePartnerProvidedIdDataStatusH\x00B\x08\x0A\x06status\x1A \x0A\x1ERemoveAllAudienceMembersStatus\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\x1AR\x0A\x1CIngestGoogleUserIdDataStatus\x12\x14\x0A\x0Crecord_count\x18\x01 \x01(\x03\x12\x1C\x0A\x14google_user_id_count\x18\x02 \x01(\x03\x1AR\x0A\x1CRemoveGoogleUserIdDataStatus\x12\x14\x0A\x0Crecord_count\x18\x01 \x01(\x03\x12\x1C\x0A\x14google_user_id_count\x18\x02 \x01(\x03\x1A\\\x0A!IngestPartnerProvidedIdDataStatus\x12\x14\x0A\x0Crecord_count\x18\x01 \x01(\x03\x12!\x0A\x19partner_provided_id_count\x18\x02 \x01(\x03\x1A\\\x0A!RemovePartnerProvidedIdDataStatus\x12\x14\x0A\x0Crecord_count\x18\x01 \x01(\x03\x12!\x0A\x19partner_provided_id_count\x18\x02 \x01(\x03\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/UserData.php b/AdsDataManager/metadata/V1/UserData.php index 42394573aeb0..0f9c9e1b5690 100644 --- a/AdsDataManager/metadata/V1/UserData.php +++ b/AdsDataManager/metadata/V1/UserData.php @@ -16,7 +16,7 @@ public static function initOnce() { } \GPBMetadata\Google\Api\FieldBehavior::initOnce(); $pool->internalAddGeneratedFile( - "\x0A\xF4\x04\x0A)google/ads/datamanager/v1/user_data.proto\x12\x19google.ads.datamanager.v1\"T\x0A\x08UserData\x12H\x0A\x10user_identifiers\x18\x01 \x03(\x0B2).google.ads.datamanager.v1.UserIdentifierB\x03\xE0A\x02\"\x8A\x01\x0A\x0EUserIdentifier\x12\x17\x0A\x0Demail_address\x18\x01 \x01(\x09H\x00\x12\x16\x0A\x0Cphone_number\x18\x02 \x01(\x09H\x00\x129\x0A\x07address\x18\x03 \x01(\x0B2&.google.ads.datamanager.v1.AddressInfoH\x00B\x0C\x0A\x0Aidentifier\"t\x0A\x0BAddressInfo\x12\x17\x0A\x0Agiven_name\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x18\x0A\x0Bfamily_name\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x18\x0A\x0Bregion_code\x18\x03 \x01(\x09B\x03\xE0A\x02\x12\x18\x0A\x0Bpostal_code\x18\x04 \x01(\x09B\x03\xE0A\x02B\xCA\x01\x0A\x1Dcom.google.ads.datamanager.v1B\x0DUserDataProtoP\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\xC5\x05\x0A)google/ads/datamanager/v1/user_data.proto\x12\x19google.ads.datamanager.v1\"T\x0A\x08UserData\x12H\x0A\x10user_identifiers\x18\x01 \x03(\x0B2).google.ads.datamanager.v1.UserIdentifierB\x03\xE0A\x02\"\x8A\x01\x0A\x0EUserIdentifier\x12\x17\x0A\x0Demail_address\x18\x01 \x01(\x09H\x00\x12\x16\x0A\x0Cphone_number\x18\x02 \x01(\x09H\x00\x129\x0A\x07address\x18\x03 \x01(\x0B2&.google.ads.datamanager.v1.AddressInfoH\x00B\x0C\x0A\x0Aidentifier\"\xC4\x01\x0A\x0BAddressInfo\x12\x17\x0A\x0Agiven_name\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x18\x0A\x0Bfamily_name\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x18\x0A\x0Bregion_code\x18\x03 \x01(\x09B\x03\xE0A\x02\x12\x18\x0A\x0Bpostal_code\x18\x04 \x01(\x09B\x03\xE0A\x02\x12\x19\x0A\x0Caddress_line\x18\x05 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04city\x18\x06 \x01(\x09B\x03\xE0A\x01\x12 \x0A\x13administrative_area\x18\x07 \x01(\x09B\x03\xE0A\x01B\xCA\x01\x0A\x1Dcom.google.ads.datamanager.v1B\x0DUserDataProtoP\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/samples/V1/IngestionServiceClient/ingest_ad_events.php b/AdsDataManager/samples/V1/IngestionServiceClient/ingest_ad_events.php index ad0655bacba2..c35e27a6dc31 100644 --- a/AdsDataManager/samples/V1/IngestionServiceClient/ingest_ad_events.php +++ b/AdsDataManager/samples/V1/IngestionServiceClient/ingest_ad_events.php @@ -26,6 +26,8 @@ use Google\Ads\DataManager\V1\AdEvent; use Google\Ads\DataManager\V1\AdEvent\EventType; use Google\Ads\DataManager\V1\Client\IngestionServiceClient; +use Google\Ads\DataManager\V1\DeviceInfo; +use Google\Ads\DataManager\V1\EncryptionInfo; use Google\Ads\DataManager\V1\IngestAdEventsRequest; use Google\Ads\DataManager\V1\IngestAdEventsResponse; use Google\Ads\DataManager\V1\ViewType; @@ -46,7 +48,6 @@ * @param int $adEventsEventType The type of the event. * @param string $adEventsCampaignId The ID of the associated campaign. * @param string $adEventsCampaignName The name of the associated campaign. - * @param string $adEventsRegionCode The ISO 3166-2 country plus subdivision. * @param string $adEventsSource The platform source of the ad, akin to the Google Analytics * source. * @param string $adEventsMedium The medium of the ad, akin to the Google Analytics medium. @@ -57,7 +58,6 @@ function ingest_ad_events_sample( int $adEventsEventType, string $adEventsCampaignId, string $adEventsCampaignName, - string $adEventsRegionCode, string $adEventsSource, string $adEventsMedium, int $adEventsViewabilityInfoViewType @@ -67,21 +67,24 @@ function ingest_ad_events_sample( // Prepare the request message. $adEventsTimestamp = new Timestamp(); + $adEventsDeviceInfo = new DeviceInfo(); $adEventsViewabilityInfo = (new ViewabilityInfo()) ->setViewType($adEventsViewabilityInfoViewType); $adEvent = (new AdEvent()) ->setAdvertiserId($adEventsAdvertiserId) ->setEventType($adEventsEventType) ->setTimestamp($adEventsTimestamp) + ->setDeviceInfo($adEventsDeviceInfo) ->setCampaignId($adEventsCampaignId) ->setCampaignName($adEventsCampaignName) - ->setRegionCode($adEventsRegionCode) ->setSource($adEventsSource) ->setMedium($adEventsMedium) ->setViewabilityInfo($adEventsViewabilityInfo); $adEvents = [$adEvent,]; + $encryptionInfo = new EncryptionInfo(); $request = (new IngestAdEventsRequest()) - ->setAdEvents($adEvents); + ->setAdEvents($adEvents) + ->setEncryptionInfo($encryptionInfo); // Call the API and handle any network failures. try { @@ -108,7 +111,6 @@ function callSample(): void $adEventsEventType = EventType::EVENT_TYPE_UNSPECIFIED; $adEventsCampaignId = '[CAMPAIGN_ID]'; $adEventsCampaignName = '[CAMPAIGN_NAME]'; - $adEventsRegionCode = '[REGION_CODE]'; $adEventsSource = '[SOURCE]'; $adEventsMedium = '[MEDIUM]'; $adEventsViewabilityInfoViewType = ViewType::VIEW_TYPE_UNSPECIFIED; @@ -118,7 +120,6 @@ function callSample(): void $adEventsEventType, $adEventsCampaignId, $adEventsCampaignName, - $adEventsRegionCode, $adEventsSource, $adEventsMedium, $adEventsViewabilityInfoViewType diff --git a/AdsDataManager/samples/V1/IngestionServiceClient/remove_all_audience_members.php b/AdsDataManager/samples/V1/IngestionServiceClient/remove_all_audience_members.php new file mode 100644 index 000000000000..a68af5e7a35f --- /dev/null +++ b/AdsDataManager/samples/V1/IngestionServiceClient/remove_all_audience_members.php @@ -0,0 +1,95 @@ +setAccountId($destinationsOperatingAccountAccountId) + ->setAccountType($destinationsOperatingAccountAccountType); + $destination = (new Destination()) + ->setOperatingAccount($destinationsOperatingAccount) + ->setProductDestinationId($destinationsProductDestinationId); + $destinations = [$destination,]; + $request = (new RemoveAllAudienceMembersRequest()) + ->setDestinations($destinations); + + // Call the API and handle any network failures. + try { + /** @var RemoveAllAudienceMembersResponse $response */ + $response = $ingestionServiceClient->removeAllAudienceMembers($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $destinationsOperatingAccountAccountId = '[ACCOUNT_ID]'; + $destinationsOperatingAccountAccountType = AccountType::ACCOUNT_TYPE_UNSPECIFIED; + $destinationsProductDestinationId = '[PRODUCT_DESTINATION_ID]'; + + remove_all_audience_members_sample( + $destinationsOperatingAccountAccountId, + $destinationsOperatingAccountAccountType, + $destinationsProductDestinationId + ); +} +// [END datamanager_v1_generated_IngestionService_RemoveAllAudienceMembers_sync] diff --git a/AdsDataManager/src/V1/AdEvent.php b/AdsDataManager/src/V1/AdEvent.php index 62007b8a75b3..6e5e843231c5 100644 --- a/AdsDataManager/src/V1/AdEvent.php +++ b/AdsDataManager/src/V1/AdEvent.php @@ -54,10 +54,10 @@ class AdEvent extends \Google\Protobuf\Internal\Message */ protected $user_data = null; /** - * Optional. Information gathered about the device being used when the ad + * Required. Information gathered about the device being used when the ad * event happened. * - * Generated from protobuf field .google.ads.datamanager.v1.DeviceInfo device_info = 8 [(.google.api.field_behavior) = OPTIONAL]; + * Generated from protobuf field .google.ads.datamanager.v1.DeviceInfo device_info = 8 [(.google.api.field_behavior) = REQUIRED]; */ protected $device_info = null; /** @@ -103,9 +103,9 @@ class AdEvent extends \Google\Protobuf\Internal\Message */ protected $ad_width = 0; /** - * Required. The ISO 3166-2 country plus subdivision. + * Optional. The ISO 3166-2 country plus subdivision. * - * Generated from protobuf field string region_code = 22 [(.google.api.field_behavior) = REQUIRED]; + * Generated from protobuf field string region_code = 22 [(.google.api.field_behavior) = OPTIONAL]; */ protected $region_code = ''; /** @@ -180,7 +180,7 @@ class AdEvent extends \Google\Protobuf\Internal\Message * email address). The more data provided, the more likely a match will be * found. * @type \Google\Ads\DataManager\V1\DeviceInfo $device_info - * Optional. Information gathered about the device being used when the ad + * Required. Information gathered about the device being used when the ad * event happened. * @type string $mobile_device_id * Optional. The device ID of the device that the ad was served to. @@ -209,7 +209,7 @@ class AdEvent extends \Google\Protobuf\Internal\Message * @type int $ad_width * Optional. The width of the ad in pixels. * @type string $region_code - * Required. The ISO 3166-2 country plus subdivision. + * Optional. The ISO 3166-2 country plus subdivision. * @type string $source * Required. The platform source of the ad, akin to the Google Analytics * source. @@ -473,10 +473,10 @@ public function setUserData($var) } /** - * Optional. Information gathered about the device being used when the ad + * Required. Information gathered about the device being used when the ad * event happened. * - * Generated from protobuf field .google.ads.datamanager.v1.DeviceInfo device_info = 8 [(.google.api.field_behavior) = OPTIONAL]; + * Generated from protobuf field .google.ads.datamanager.v1.DeviceInfo device_info = 8 [(.google.api.field_behavior) = REQUIRED]; * @return \Google\Ads\DataManager\V1\DeviceInfo|null */ public function getDeviceInfo() @@ -495,10 +495,10 @@ public function clearDeviceInfo() } /** - * Optional. Information gathered about the device being used when the ad + * Required. Information gathered about the device being used when the ad * event happened. * - * Generated from protobuf field .google.ads.datamanager.v1.DeviceInfo device_info = 8 [(.google.api.field_behavior) = OPTIONAL]; + * Generated from protobuf field .google.ads.datamanager.v1.DeviceInfo device_info = 8 [(.google.api.field_behavior) = REQUIRED]; * @param \Google\Ads\DataManager\V1\DeviceInfo $var * @return $this */ @@ -879,9 +879,9 @@ public function setAdWidth($var) } /** - * Required. The ISO 3166-2 country plus subdivision. + * Optional. The ISO 3166-2 country plus subdivision. * - * Generated from protobuf field string region_code = 22 [(.google.api.field_behavior) = REQUIRED]; + * Generated from protobuf field string region_code = 22 [(.google.api.field_behavior) = OPTIONAL]; * @return string */ public function getRegionCode() @@ -890,9 +890,9 @@ public function getRegionCode() } /** - * Required. The ISO 3166-2 country plus subdivision. + * Optional. The ISO 3166-2 country plus subdivision. * - * Generated from protobuf field string region_code = 22 [(.google.api.field_behavior) = REQUIRED]; + * Generated from protobuf field string region_code = 22 [(.google.api.field_behavior) = OPTIONAL]; * @param string $var * @return $this */ diff --git a/AdsDataManager/src/V1/AddressInfo.php b/AdsDataManager/src/V1/AddressInfo.php index b6cb8eb964ac..d3bbcbfa3a1e 100644 --- a/AdsDataManager/src/V1/AddressInfo.php +++ b/AdsDataManager/src/V1/AddressInfo.php @@ -42,6 +42,38 @@ class AddressInfo extends \Google\Protobuf\Internal\Message * Generated from protobuf field string postal_code = 4 [(.google.api.field_behavior) = REQUIRED]; */ protected $postal_code = ''; + /** + * Optional. The street and number of the user's address. Used only for + * Google Analytics. This field is hashed and possibly encrypted. + * Normalize the value before hashing: + * - Remove symbol characters + * - Convert to lowercase + * - Remove leading and trailing whitespace + * + * Generated from protobuf field string address_line = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $address_line = ''; + /** + * Optional. The city of the user's address. Used only for Google Analytics. + * The value should be normalized as such: + * - Remove symbol characters + * - Convert to lowercase + * - Remove leading and trailing whitespace + * + * Generated from protobuf field string city = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $city = ''; + /** + * Optional. The administrative area (state/province) of the user's address. + * Used only for Google Analytics. + * The value should be normalized as such: + * - Remove symbol characters + * - Convert to lowercase + * - Remove leading and trailing whitespace + * + * Generated from protobuf field string administrative_area = 7 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $administrative_area = ''; /** * Constructor. @@ -60,6 +92,26 @@ class AddressInfo extends \Google\Protobuf\Internal\Message * address. * @type string $postal_code * Required. The postal code of the user's address. + * @type string $address_line + * Optional. The street and number of the user's address. Used only for + * Google Analytics. This field is hashed and possibly encrypted. + * Normalize the value before hashing: + * - Remove symbol characters + * - Convert to lowercase + * - Remove leading and trailing whitespace + * @type string $city + * Optional. The city of the user's address. Used only for Google Analytics. + * The value should be normalized as such: + * - Remove symbol characters + * - Convert to lowercase + * - Remove leading and trailing whitespace + * @type string $administrative_area + * Optional. The administrative area (state/province) of the user's address. + * Used only for Google Analytics. + * The value should be normalized as such: + * - Remove symbol characters + * - Convert to lowercase + * - Remove leading and trailing whitespace * } */ public function __construct($data = NULL) { @@ -177,5 +229,111 @@ public function setPostalCode($var) return $this; } + /** + * Optional. The street and number of the user's address. Used only for + * Google Analytics. This field is hashed and possibly encrypted. + * Normalize the value before hashing: + * - Remove symbol characters + * - Convert to lowercase + * - Remove leading and trailing whitespace + * + * Generated from protobuf field string address_line = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getAddressLine() + { + return $this->address_line; + } + + /** + * Optional. The street and number of the user's address. Used only for + * Google Analytics. This field is hashed and possibly encrypted. + * Normalize the value before hashing: + * - Remove symbol characters + * - Convert to lowercase + * - Remove leading and trailing whitespace + * + * Generated from protobuf field string address_line = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setAddressLine($var) + { + GPBUtil::checkString($var, True); + $this->address_line = $var; + + return $this; + } + + /** + * Optional. The city of the user's address. Used only for Google Analytics. + * The value should be normalized as such: + * - Remove symbol characters + * - Convert to lowercase + * - Remove leading and trailing whitespace + * + * Generated from protobuf field string city = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getCity() + { + return $this->city; + } + + /** + * Optional. The city of the user's address. Used only for Google Analytics. + * The value should be normalized as such: + * - Remove symbol characters + * - Convert to lowercase + * - Remove leading and trailing whitespace + * + * Generated from protobuf field string city = 6 [(.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 administrative area (state/province) of the user's address. + * Used only for Google Analytics. + * The value should be normalized as such: + * - Remove symbol characters + * - Convert to lowercase + * - Remove leading and trailing whitespace + * + * Generated from protobuf field string administrative_area = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getAdministrativeArea() + { + return $this->administrative_area; + } + + /** + * Optional. The administrative area (state/province) of the user's address. + * Used only for Google Analytics. + * The value should be normalized as such: + * - Remove symbol characters + * - Convert to lowercase + * - Remove leading and trailing whitespace + * + * Generated from protobuf field string administrative_area = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setAdministrativeArea($var) + { + GPBUtil::checkString($var, True); + $this->administrative_area = $var; + + return $this; + } + } diff --git a/AdsDataManager/src/V1/AudienceMember.php b/AdsDataManager/src/V1/AudienceMember.php index 2c2ac4bdf33e..10e2ad901f0c 100644 --- a/AdsDataManager/src/V1/AudienceMember.php +++ b/AdsDataManager/src/V1/AudienceMember.php @@ -57,6 +57,10 @@ class AudienceMember extends \Google\Protobuf\Internal\Message * 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\GoogleUserIdData $google_user_id_data + * Encrypted Google User IDs. + * @type \Google\Ads\DataManager\V1\PartnerProvidedIdData $partner_provided_id_data + * Partner-provided identifiers. * @type \Google\Ads\DataManager\V1\Consent $consent * Optional. The consent setting for the user. * } @@ -290,6 +294,68 @@ public function setCompositeData($var) return $this; } + /** + * Encrypted Google User IDs. + * + * Generated from protobuf field .google.ads.datamanager.v1.GoogleUserIdData google_user_id_data = 9; + * @return \Google\Ads\DataManager\V1\GoogleUserIdData|null + */ + public function getGoogleUserIdData() + { + return $this->readOneof(9); + } + + public function hasGoogleUserIdData() + { + return $this->hasOneof(9); + } + + /** + * Encrypted Google User IDs. + * + * Generated from protobuf field .google.ads.datamanager.v1.GoogleUserIdData google_user_id_data = 9; + * @param \Google\Ads\DataManager\V1\GoogleUserIdData $var + * @return $this + */ + public function setGoogleUserIdData($var) + { + GPBUtil::checkMessage($var, \Google\Ads\DataManager\V1\GoogleUserIdData::class); + $this->writeOneof(9, $var); + + return $this; + } + + /** + * Partner-provided identifiers. + * + * Generated from protobuf field .google.ads.datamanager.v1.PartnerProvidedIdData partner_provided_id_data = 10; + * @return \Google\Ads\DataManager\V1\PartnerProvidedIdData|null + */ + public function getPartnerProvidedIdData() + { + return $this->readOneof(10); + } + + public function hasPartnerProvidedIdData() + { + return $this->hasOneof(10); + } + + /** + * Partner-provided identifiers. + * + * Generated from protobuf field .google.ads.datamanager.v1.PartnerProvidedIdData partner_provided_id_data = 10; + * @param \Google\Ads\DataManager\V1\PartnerProvidedIdData $var + * @return $this + */ + public function setPartnerProvidedIdData($var) + { + GPBUtil::checkMessage($var, \Google\Ads\DataManager\V1\PartnerProvidedIdData::class); + $this->writeOneof(10, $var); + + return $this; + } + /** * Optional. The consent setting for the user. * diff --git a/AdsDataManager/src/V1/Client/IngestionServiceClient.php b/AdsDataManager/src/V1/Client/IngestionServiceClient.php index 4883baf98812..c7a50d8c224c 100644 --- a/AdsDataManager/src/V1/Client/IngestionServiceClient.php +++ b/AdsDataManager/src/V1/Client/IngestionServiceClient.php @@ -34,6 +34,8 @@ use Google\Ads\DataManager\V1\IngestAudienceMembersResponse; use Google\Ads\DataManager\V1\IngestEventsRequest; use Google\Ads\DataManager\V1\IngestEventsResponse; +use Google\Ads\DataManager\V1\RemoveAllAudienceMembersRequest; +use Google\Ads\DataManager\V1\RemoveAllAudienceMembersResponse; use Google\Ads\DataManager\V1\RemoveAudienceMembersRequest; use Google\Ads\DataManager\V1\RemoveAudienceMembersResponse; use Google\Ads\DataManager\V1\RetrieveRequestStatusRequest; @@ -58,6 +60,7 @@ * @method PromiseInterface ingestAdEventsAsync(IngestAdEventsRequest $request, array $optionalArgs = []) * @method PromiseInterface ingestAudienceMembersAsync(IngestAudienceMembersRequest $request, array $optionalArgs = []) * @method PromiseInterface ingestEventsAsync(IngestEventsRequest $request, array $optionalArgs = []) + * @method PromiseInterface removeAllAudienceMembersAsync(RemoveAllAudienceMembersRequest $request, array $optionalArgs = []) * @method PromiseInterface removeAudienceMembersAsync(RemoveAudienceMembersRequest $request, array $optionalArgs = []) * @method PromiseInterface retrieveRequestStatusAsync(RetrieveRequestStatusRequest $request, array $optionalArgs = []) */ @@ -280,6 +283,35 @@ public function ingestEvents(IngestEventsRequest $request, array $callOptions = return $this->startApiCall('IngestEvents', $request, $callOptions)->wait(); } + /** + * Removes all audience members from the provided destinations. + * + * The async variant is + * {@see IngestionServiceClient::removeAllAudienceMembersAsync()} . + * + * @example samples/V1/IngestionServiceClient/remove_all_audience_members.php + * + * @param RemoveAllAudienceMembersRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return RemoveAllAudienceMembersResponse + * + * @throws ApiException Thrown if the API call fails. + */ + public function removeAllAudienceMembers( + RemoveAllAudienceMembersRequest $request, + array $callOptions = [] + ): RemoveAllAudienceMembersResponse { + return $this->startApiCall('RemoveAllAudienceMembers', $request, $callOptions)->wait(); + } + /** * Removes a list of * [AudienceMember][google.ads.datamanager.v1.AudienceMember] resources from diff --git a/AdsDataManager/src/V1/DeviceInfo.php b/AdsDataManager/src/V1/DeviceInfo.php index 147c10cdf09f..3e5242d9424b 100644 --- a/AdsDataManager/src/V1/DeviceInfo.php +++ b/AdsDataManager/src/V1/DeviceInfo.php @@ -22,7 +22,8 @@ class DeviceInfo extends \Google\Protobuf\Internal\Message */ protected $user_agent = ''; /** - * Optional. The IP address of the device for the given context. + * Optional. The IP address of the device for the given context. Required when + * used in an [AdEvent][google.ads.datamanager.v1.AdEvent]. * **Note:** Google Ads does not support IP address matching for end users in * the European Economic Area (EEA), United Kingdom (UK), or Switzerland (CH). * Add logic to conditionally exclude sharing IP addresses from users from @@ -107,7 +108,8 @@ class DeviceInfo extends \Google\Protobuf\Internal\Message * @type string $user_agent * Optional. The user-agent string of the device for the given context. * @type string $ip_address - * Optional. The IP address of the device for the given context. + * Optional. The IP address of the device for the given context. Required when + * used in an [AdEvent][google.ads.datamanager.v1.AdEvent]. * **Note:** Google Ads does not support IP address matching for end users in * the European Economic Area (EEA), United Kingdom (UK), or Switzerland (CH). * Add logic to conditionally exclude sharing IP addresses from users from @@ -172,7 +174,8 @@ public function setUserAgent($var) } /** - * Optional. The IP address of the device for the given context. + * Optional. The IP address of the device for the given context. Required when + * used in an [AdEvent][google.ads.datamanager.v1.AdEvent]. * **Note:** Google Ads does not support IP address matching for end users in * the European Economic Area (EEA), United Kingdom (UK), or Switzerland (CH). * Add logic to conditionally exclude sharing IP addresses from users from @@ -192,7 +195,8 @@ public function getIpAddress() } /** - * Optional. The IP address of the device for the given context. + * Optional. The IP address of the device for the given context. Required when + * used in an [AdEvent][google.ads.datamanager.v1.AdEvent]. * **Note:** Google Ads does not support IP address matching for end users in * the European Economic Area (EEA), United Kingdom (UK), or Switzerland (CH). * Add logic to conditionally exclude sharing IP addresses from users from diff --git a/AdsDataManager/src/V1/ErrorReason.php b/AdsDataManager/src/V1/ErrorReason.php index 092a436228e2..dd2968a55f73 100644 --- a/AdsDataManager/src/V1/ErrorReason.php +++ b/AdsDataManager/src/V1/ErrorReason.php @@ -773,6 +773,20 @@ class ErrorReason * Generated from protobuf enum INSIGHTS_MISSING_FOR_DIMENSION = 123; */ const INSIGHTS_MISSING_FOR_DIMENSION = 123; + /** + * A required prerequisite link (such as a Google Ads link) must exist for + * the Google Analytics property to perform this operation. + * + * Generated from protobuf enum REQUIRED_PREREQUISITE_LINK_MISSING = 124; + */ + const REQUIRED_PREREQUISITE_LINK_MISSING = 124; + /** + * The remove as of time must be in the past or present. Future timestamps are + * not permitted for removing audience members. + * + * Generated from protobuf enum INVALID_REMOVE_AS_OF_TIME = 125; + */ + const INVALID_REMOVE_AS_OF_TIME = 125; private static $valueToName = [ self::ERROR_REASON_UNSPECIFIED => 'ERROR_REASON_UNSPECIFIED', @@ -898,6 +912,8 @@ class ErrorReason 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', + self::REQUIRED_PREREQUISITE_LINK_MISSING => 'REQUIRED_PREREQUISITE_LINK_MISSING', + self::INVALID_REMOVE_AS_OF_TIME => 'INVALID_REMOVE_AS_OF_TIME', ]; public static function name($value) diff --git a/AdsDataManager/src/V1/FieldWarning.php b/AdsDataManager/src/V1/FieldWarning.php new file mode 100644 index 000000000000..ed6298edb563 --- /dev/null +++ b/AdsDataManager/src/V1/FieldWarning.php @@ -0,0 +1,139 @@ +google.ads.datamanager.v1.FieldWarning + */ +class FieldWarning extends \Google\Protobuf\Internal\Message +{ + /** + * The warning reason. + * + * Generated from protobuf field .google.ads.datamanager.v1.WarningReason reason = 1; + */ + protected $reason = 0; + /** + * The detailed warning message describing the issue. + * + * Generated from protobuf field string description = 2; + */ + protected $description = ''; + /** + * The field path that triggered the warning. Uses the same format as + * [google.rpc.BadRequest.FieldViolation.field][google.rpc.BadRequest.FieldViolation.field]. + * + * Generated from protobuf field string field = 3; + */ + protected $field = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $reason + * The warning reason. + * @type string $description + * The detailed warning message describing the issue. + * @type string $field + * The field path that triggered the warning. Uses the same format as + * [google.rpc.BadRequest.FieldViolation.field][google.rpc.BadRequest.FieldViolation.field]. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Datamanager\V1\ProcessingErrors::initOnce(); + parent::__construct($data); + } + + /** + * The warning reason. + * + * Generated from protobuf field .google.ads.datamanager.v1.WarningReason reason = 1; + * @return int + */ + public function getReason() + { + return $this->reason; + } + + /** + * The warning reason. + * + * Generated from protobuf field .google.ads.datamanager.v1.WarningReason reason = 1; + * @param int $var + * @return $this + */ + public function setReason($var) + { + GPBUtil::checkEnum($var, \Google\Ads\DataManager\V1\WarningReason::class); + $this->reason = $var; + + return $this; + } + + /** + * The detailed warning message describing the issue. + * + * Generated from protobuf field string description = 2; + * @return string + */ + public function getDescription() + { + return $this->description; + } + + /** + * The detailed warning message describing the issue. + * + * Generated from protobuf field string description = 2; + * @param string $var + * @return $this + */ + public function setDescription($var) + { + GPBUtil::checkString($var, True); + $this->description = $var; + + return $this; + } + + /** + * The field path that triggered the warning. Uses the same format as + * [google.rpc.BadRequest.FieldViolation.field][google.rpc.BadRequest.FieldViolation.field]. + * + * Generated from protobuf field string field = 3; + * @return string + */ + public function getField() + { + return $this->field; + } + + /** + * The field path that triggered the warning. Uses the same format as + * [google.rpc.BadRequest.FieldViolation.field][google.rpc.BadRequest.FieldViolation.field]. + * + * Generated from protobuf field string field = 3; + * @param string $var + * @return $this + */ + public function setField($var) + { + GPBUtil::checkString($var, True); + $this->field = $var; + + return $this; + } + +} + diff --git a/AdsDataManager/src/V1/GoogleUserIdData.php b/AdsDataManager/src/V1/GoogleUserIdData.php new file mode 100644 index 000000000000..ebf4ac9400d6 --- /dev/null +++ b/AdsDataManager/src/V1/GoogleUserIdData.php @@ -0,0 +1,68 @@ +google.ads.datamanager.v1.GoogleUserIdData + */ +class GoogleUserIdData extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The list of encrypted google user IDs. + * + * Generated from protobuf field repeated string google_user_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + private $google_user_ids; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string[] $google_user_ids + * Required. The list of encrypted google user IDs. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Datamanager\V1\Audience::initOnce(); + parent::__construct($data); + } + + /** + * Required. The list of encrypted google user IDs. + * + * Generated from protobuf field repeated string google_user_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField + */ + public function getGoogleUserIds() + { + return $this->google_user_ids; + } + + /** + * Required. The list of encrypted google user IDs. + * + * Generated from protobuf field repeated string google_user_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param string[] $var + * @return $this + */ + public function setGoogleUserIds($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->google_user_ids = $arr; + + return $this; + } + +} + diff --git a/AdsDataManager/src/V1/IngestAdEventsRequest.php b/AdsDataManager/src/V1/IngestAdEventsRequest.php index f99c65b0e11a..8e44893d2261 100644 --- a/AdsDataManager/src/V1/IngestAdEventsRequest.php +++ b/AdsDataManager/src/V1/IngestAdEventsRequest.php @@ -22,16 +22,17 @@ class IngestAdEventsRequest extends \Google\Protobuf\Internal\Message */ private $ad_events; /** - * Optional. Information about encryption keys which are used to encrypt the + * Required. Information about encryption keys which are used to encrypt the * data. * - * Generated from protobuf field .google.ads.datamanager.v1.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OPTIONAL]; + * Generated from protobuf field .google.ads.datamanager.v1.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = REQUIRED]; */ protected $encryption_info = null; /** * Optional. If true, the request is validated, but not executed. * - * Generated from protobuf field bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * Generated from protobuf field bool validate_only = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; + * @deprecated */ protected $validate_only = false; @@ -44,7 +45,7 @@ class IngestAdEventsRequest extends \Google\Protobuf\Internal\Message * @type \Google\Ads\DataManager\V1\AdEvent[] $ad_events * Required. Required (at least 1). A list of ad events. * @type \Google\Ads\DataManager\V1\EncryptionInfo $encryption_info - * Optional. Information about encryption keys which are used to encrypt the + * Required. Information about encryption keys which are used to encrypt the * data. * @type bool $validate_only * Optional. If true, the request is validated, but not executed. @@ -82,10 +83,10 @@ public function setAdEvents($var) } /** - * Optional. Information about encryption keys which are used to encrypt the + * Required. Information about encryption keys which are used to encrypt the * data. * - * Generated from protobuf field .google.ads.datamanager.v1.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OPTIONAL]; + * Generated from protobuf field .google.ads.datamanager.v1.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = REQUIRED]; * @return \Google\Ads\DataManager\V1\EncryptionInfo|null */ public function getEncryptionInfo() @@ -104,10 +105,10 @@ public function clearEncryptionInfo() } /** - * Optional. Information about encryption keys which are used to encrypt the + * Required. Information about encryption keys which are used to encrypt the * data. * - * Generated from protobuf field .google.ads.datamanager.v1.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OPTIONAL]; + * Generated from protobuf field .google.ads.datamanager.v1.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = REQUIRED]; * @param \Google\Ads\DataManager\V1\EncryptionInfo $var * @return $this */ @@ -122,23 +123,29 @@ public function setEncryptionInfo($var) /** * Optional. If true, the request is validated, but not executed. * - * Generated from protobuf field bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * Generated from protobuf field bool validate_only = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * @return bool + * @deprecated */ public function getValidateOnly() { + if ($this->validate_only !== false) { + @trigger_error('validate_only is deprecated.', E_USER_DEPRECATED); + } return $this->validate_only; } /** * Optional. If true, the request is validated, but not executed. * - * Generated from protobuf field bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * Generated from protobuf field bool validate_only = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * @param bool $var * @return $this + * @deprecated */ public function setValidateOnly($var) { + @trigger_error('validate_only is deprecated.', E_USER_DEPRECATED); GPBUtil::checkBool($var); $this->validate_only = $var; diff --git a/AdsDataManager/src/V1/IngestAudienceMembersResponse.php b/AdsDataManager/src/V1/IngestAudienceMembersResponse.php index 51ce8131390a..d5f816012e20 100644 --- a/AdsDataManager/src/V1/IngestAudienceMembersResponse.php +++ b/AdsDataManager/src/V1/IngestAudienceMembersResponse.php @@ -22,6 +22,12 @@ class IngestAudienceMembersResponse extends \Google\Protobuf\Internal\Message * Generated from protobuf field string request_id = 1; */ protected $request_id = ''; + /** + * Detailed row-level warnings with field paths. + * + * Generated from protobuf field repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2; + */ + private $field_warnings; /** * Constructor. @@ -31,6 +37,8 @@ class IngestAudienceMembersResponse extends \Google\Protobuf\Internal\Message * * @type string $request_id * The auto-generated ID of the request. + * @type \Google\Ads\DataManager\V1\FieldWarning[] $field_warnings + * Detailed row-level warnings with field paths. * } */ public function __construct($data = NULL) { @@ -64,5 +72,31 @@ public function setRequestId($var) return $this; } + /** + * Detailed row-level warnings with field paths. + * + * Generated from protobuf field repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2; + * @return RepeatedField<\Google\Ads\DataManager\V1\FieldWarning> + */ + public function getFieldWarnings() + { + return $this->field_warnings; + } + + /** + * Detailed row-level warnings with field paths. + * + * Generated from protobuf field repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2; + * @param \Google\Ads\DataManager\V1\FieldWarning[] $var + * @return $this + */ + public function setFieldWarnings($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\DataManager\V1\FieldWarning::class); + $this->field_warnings = $arr; + + return $this; + } + } diff --git a/AdsDataManager/src/V1/IngestEventsResponse.php b/AdsDataManager/src/V1/IngestEventsResponse.php index fb8c8e8ebe86..fdca9fcadee5 100644 --- a/AdsDataManager/src/V1/IngestEventsResponse.php +++ b/AdsDataManager/src/V1/IngestEventsResponse.php @@ -22,6 +22,12 @@ class IngestEventsResponse extends \Google\Protobuf\Internal\Message * Generated from protobuf field string request_id = 1; */ protected $request_id = ''; + /** + * Detailed row-level warnings with field paths. + * + * Generated from protobuf field repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2; + */ + private $field_warnings; /** * Constructor. @@ -31,6 +37,8 @@ class IngestEventsResponse extends \Google\Protobuf\Internal\Message * * @type string $request_id * The auto-generated ID of the request. + * @type \Google\Ads\DataManager\V1\FieldWarning[] $field_warnings + * Detailed row-level warnings with field paths. * } */ public function __construct($data = NULL) { @@ -64,5 +72,31 @@ public function setRequestId($var) return $this; } + /** + * Detailed row-level warnings with field paths. + * + * Generated from protobuf field repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2; + * @return RepeatedField<\Google\Ads\DataManager\V1\FieldWarning> + */ + public function getFieldWarnings() + { + return $this->field_warnings; + } + + /** + * Detailed row-level warnings with field paths. + * + * Generated from protobuf field repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2; + * @param \Google\Ads\DataManager\V1\FieldWarning[] $var + * @return $this + */ + public function setFieldWarnings($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\DataManager\V1\FieldWarning::class); + $this->field_warnings = $arr; + + return $this; + } + } diff --git a/AdsDataManager/src/V1/IngestedUserListInfo/UploadKeyType.php b/AdsDataManager/src/V1/IngestedUserListInfo/UploadKeyType.php index fca74ca5ca54..d536938e793f 100644 --- a/AdsDataManager/src/V1/IngestedUserListInfo/UploadKeyType.php +++ b/AdsDataManager/src/V1/IngestedUserListInfo/UploadKeyType.php @@ -53,6 +53,7 @@ class UploadKeyType * - Roku ID * - Amazon Fire TV ID * - Xbox or Microsoft ID + * - Generic Device ID * * Generated from protobuf enum PSEUDONYMOUS_ID = 5; */ diff --git a/AdsDataManager/src/V1/ListUserListDirectLicensesRequest.php b/AdsDataManager/src/V1/ListUserListDirectLicensesRequest.php index 5b0aec4d4455..7b40a6b63d0a 100644 --- a/AdsDataManager/src/V1/ListUserListDirectLicensesRequest.php +++ b/AdsDataManager/src/V1/ListUserListDirectLicensesRequest.php @@ -39,6 +39,9 @@ class ListUserListDirectLicensesRequest extends \Google\Protobuf\Internal\Messag * - `>=` * - `<` * - `<=` + * **Supported Functions:** + * - `IN(field, value1, value2, ...)`: returns true if the field matches any + * of the values. Example: `IN(user_list_id, 123, 456)` * **Unsupported Fields:** * - `name` (use get method instead) * - `historical_pricings` and all its subfields @@ -108,6 +111,9 @@ public static function build(string $parent): self * - `>=` * - `<` * - `<=` + * **Supported Functions:** + * - `IN(field, value1, value2, ...)`: returns true if the field matches any + * of the values. Example: `IN(user_list_id, 123, 456)` * **Unsupported Fields:** * - `name` (use get method instead) * - `historical_pricings` and all its subfields @@ -175,6 +181,9 @@ public function setParent($var) * - `>=` * - `<` * - `<=` + * **Supported Functions:** + * - `IN(field, value1, value2, ...)`: returns true if the field matches any + * of the values. Example: `IN(user_list_id, 123, 456)` * **Unsupported Fields:** * - `name` (use get method instead) * - `historical_pricings` and all its subfields @@ -204,6 +213,9 @@ public function getFilter() * - `>=` * - `<` * - `<=` + * **Supported Functions:** + * - `IN(field, value1, value2, ...)`: returns true if the field matches any + * of the values. Example: `IN(user_list_id, 123, 456)` * **Unsupported Fields:** * - `name` (use get method instead) * - `historical_pricings` and all its subfields diff --git a/AdsDataManager/src/V1/ListUserListGlobalLicenseCustomerInfosRequest.php b/AdsDataManager/src/V1/ListUserListGlobalLicenseCustomerInfosRequest.php index cf873862b48d..2eff721993dd 100644 --- a/AdsDataManager/src/V1/ListUserListGlobalLicenseCustomerInfosRequest.php +++ b/AdsDataManager/src/V1/ListUserListGlobalLicenseCustomerInfosRequest.php @@ -43,6 +43,9 @@ class ListUserListGlobalLicenseCustomerInfosRequest extends \Google\Protobuf\Int * - `>=` * - `<` * - `<=` + * **Supported Functions:** + * - `IN(field, value1, value2, ...)`: returns true if the field matches any + * of the values. Example: `IN(user_list_id, 123, 456)` * **Unsupported Fields:** * - `name` (use get method instead) * - `historical_pricings` and all its subfields @@ -120,6 +123,9 @@ public static function build(string $parent): self * - `>=` * - `<` * - `<=` + * **Supported Functions:** + * - `IN(field, value1, value2, ...)`: returns true if the field matches any + * of the values. Example: `IN(user_list_id, 123, 456)` * **Unsupported Fields:** * - `name` (use get method instead) * - `historical_pricings` and all its subfields @@ -195,6 +201,9 @@ public function setParent($var) * - `>=` * - `<` * - `<=` + * **Supported Functions:** + * - `IN(field, value1, value2, ...)`: returns true if the field matches any + * of the values. Example: `IN(user_list_id, 123, 456)` * **Unsupported Fields:** * - `name` (use get method instead) * - `historical_pricings` and all its subfields @@ -224,6 +233,9 @@ public function getFilter() * - `>=` * - `<` * - `<=` + * **Supported Functions:** + * - `IN(field, value1, value2, ...)`: returns true if the field matches any + * of the values. Example: `IN(user_list_id, 123, 456)` * **Unsupported Fields:** * - `name` (use get method instead) * - `historical_pricings` and all its subfields diff --git a/AdsDataManager/src/V1/ListUserListGlobalLicensesRequest.php b/AdsDataManager/src/V1/ListUserListGlobalLicensesRequest.php index 7b4315e4fa0a..cb303998f82d 100644 --- a/AdsDataManager/src/V1/ListUserListGlobalLicensesRequest.php +++ b/AdsDataManager/src/V1/ListUserListGlobalLicensesRequest.php @@ -39,6 +39,9 @@ class ListUserListGlobalLicensesRequest extends \Google\Protobuf\Internal\Messag * - `>=` * - `<` * - `<=` + * **Supported Functions:** + * - `IN(field, value1, value2, ...)`: returns true if the field matches any + * of the values. Example: `IN(user_list_id, 123, 456)` * **Unsupported Fields:** * - `name` (use get method instead) * - `historical_pricings` and all its subfields @@ -108,6 +111,9 @@ public static function build(string $parent): self * - `>=` * - `<` * - `<=` + * **Supported Functions:** + * - `IN(field, value1, value2, ...)`: returns true if the field matches any + * of the values. Example: `IN(user_list_id, 123, 456)` * **Unsupported Fields:** * - `name` (use get method instead) * - `historical_pricings` and all its subfields @@ -175,6 +181,9 @@ public function setParent($var) * - `>=` * - `<` * - `<=` + * **Supported Functions:** + * - `IN(field, value1, value2, ...)`: returns true if the field matches any + * of the values. Example: `IN(user_list_id, 123, 456)` * **Unsupported Fields:** * - `name` (use get method instead) * - `historical_pricings` and all its subfields @@ -204,6 +213,9 @@ public function getFilter() * - `>=` * - `<` * - `<=` + * **Supported Functions:** + * - `IN(field, value1, value2, ...)`: returns true if the field matches any + * of the values. Example: `IN(user_list_id, 123, 456)` * **Unsupported Fields:** * - `name` (use get method instead) * - `historical_pricings` and all its subfields diff --git a/AdsDataManager/src/V1/ListUserListsRequest.php b/AdsDataManager/src/V1/ListUserListsRequest.php index b8a8e23e1d8a..363875c5e89c 100644 --- a/AdsDataManager/src/V1/ListUserListsRequest.php +++ b/AdsDataManager/src/V1/ListUserListsRequest.php @@ -56,6 +56,9 @@ class ListUserListsRequest extends \Google\Protobuf\Internal\Message * - `<` * - `<=` * - `:` (has) + * **Supported Functions:** + * - `IN(field, value1, value2, ...)`: returns true if the field matches any + * of the values. Example: `IN(display_name, "name1", "name2")` * Supported fields: * - `id` * - `display_name` @@ -119,6 +122,9 @@ public static function build(string $parent): self * - `<` * - `<=` * - `:` (has) + * **Supported Functions:** + * - `IN(field, value1, value2, ...)`: returns true if the field matches any + * of the values. Example: `IN(display_name, "name1", "name2")` * Supported fields: * - `id` * - `display_name` @@ -242,6 +248,9 @@ public function setPageToken($var) * - `<` * - `<=` * - `:` (has) + * **Supported Functions:** + * - `IN(field, value1, value2, ...)`: returns true if the field matches any + * of the values. Example: `IN(display_name, "name1", "name2")` * Supported fields: * - `id` * - `display_name` @@ -275,6 +284,9 @@ public function getFilter() * - `<` * - `<=` * - `:` (has) + * **Supported Functions:** + * - `IN(field, value1, value2, ...)`: returns true if the field matches any + * of the values. Example: `IN(display_name, "name1", "name2")` * Supported fields: * - `id` * - `display_name` diff --git a/AdsDataManager/src/V1/MobileData.php b/AdsDataManager/src/V1/MobileData.php index 02814cbf9785..a4235047e252 100644 --- a/AdsDataManager/src/V1/MobileData.php +++ b/AdsDataManager/src/V1/MobileData.php @@ -16,8 +16,10 @@ class MobileData extends \Google\Protobuf\Internal\Message { /** - * Required. The list of mobile device IDs (advertising ID/IDFA). At most 10 - * `mobileIds` can be provided in a single + * Required. The list of mobile device IDs (Android advertising ID, iOS IDFA + * for Customer Match user lists and Android advertising ID, iOS IDFA, + * Xbox or Microsoft ID, Amazon Fire TV ID, Roku ID, Generic Device ID for + * basic user lists). At most 10 `mobileIds` can be provided in a single * [AudienceMember][google.ads.datamanager.v1.AudienceMember]. * * Generated from protobuf field repeated string mobile_ids = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -31,8 +33,10 @@ class MobileData extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string[] $mobile_ids - * Required. The list of mobile device IDs (advertising ID/IDFA). At most 10 - * `mobileIds` can be provided in a single + * Required. The list of mobile device IDs (Android advertising ID, iOS IDFA + * for Customer Match user lists and Android advertising ID, iOS IDFA, + * Xbox or Microsoft ID, Amazon Fire TV ID, Roku ID, Generic Device ID for + * basic user lists). At most 10 `mobileIds` can be provided in a single * [AudienceMember][google.ads.datamanager.v1.AudienceMember]. * } */ @@ -42,8 +46,10 @@ public function __construct($data = NULL) { } /** - * Required. The list of mobile device IDs (advertising ID/IDFA). At most 10 - * `mobileIds` can be provided in a single + * Required. The list of mobile device IDs (Android advertising ID, iOS IDFA + * for Customer Match user lists and Android advertising ID, iOS IDFA, + * Xbox or Microsoft ID, Amazon Fire TV ID, Roku ID, Generic Device ID for + * basic user lists). At most 10 `mobileIds` can be provided in a single * [AudienceMember][google.ads.datamanager.v1.AudienceMember]. * * Generated from protobuf field repeated string mobile_ids = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -55,8 +61,10 @@ public function getMobileIds() } /** - * Required. The list of mobile device IDs (advertising ID/IDFA). At most 10 - * `mobileIds` can be provided in a single + * Required. The list of mobile device IDs (Android advertising ID, iOS IDFA + * for Customer Match user lists and Android advertising ID, iOS IDFA, + * Xbox or Microsoft ID, Amazon Fire TV ID, Roku ID, Generic Device ID for + * basic user lists). At most 10 `mobileIds` can be provided in a single * [AudienceMember][google.ads.datamanager.v1.AudienceMember]. * * Generated from protobuf field repeated string mobile_ids = 1 [(.google.api.field_behavior) = REQUIRED]; diff --git a/AdsDataManager/src/V1/PartnerProvidedIdData.php b/AdsDataManager/src/V1/PartnerProvidedIdData.php new file mode 100644 index 000000000000..e28e649782ea --- /dev/null +++ b/AdsDataManager/src/V1/PartnerProvidedIdData.php @@ -0,0 +1,68 @@ +google.ads.datamanager.v1.PartnerProvidedIdData + */ +class PartnerProvidedIdData extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The list of partner-provided identifiers. + * + * Generated from protobuf field repeated string partner_provided_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + private $partner_provided_ids; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string[] $partner_provided_ids + * Required. The list of partner-provided identifiers. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Datamanager\V1\Audience::initOnce(); + parent::__construct($data); + } + + /** + * Required. The list of partner-provided identifiers. + * + * Generated from protobuf field repeated string partner_provided_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField + */ + public function getPartnerProvidedIds() + { + return $this->partner_provided_ids; + } + + /** + * Required. The list of partner-provided identifiers. + * + * Generated from protobuf field repeated string partner_provided_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param string[] $var + * @return $this + */ + public function setPartnerProvidedIds($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->partner_provided_ids = $arr; + + return $this; + } + +} + diff --git a/AdsDataManager/src/V1/ProcessingErrorReason.php b/AdsDataManager/src/V1/ProcessingErrorReason.php index 5ed7cda5085a..7256c177ce56 100644 --- a/AdsDataManager/src/V1/ProcessingErrorReason.php +++ b/AdsDataManager/src/V1/ProcessingErrorReason.php @@ -290,6 +290,13 @@ class ProcessingErrorReason * Generated from protobuf enum PROCESSING_ERROR_REASON_CLICK_NOT_FOUND = 43; */ const PROCESSING_ERROR_REASON_CLICK_NOT_FOUND = 43; + /** + * External attribution data is missing. Sending events to a destination for + * an external attribution conversion action isn't supported. + * + * Generated from protobuf enum PROCESSING_ERROR_REASON_EXTERNAL_ATTRIBUTION_DATA_MISSING = 44; + */ + const PROCESSING_ERROR_REASON_EXTERNAL_ATTRIBUTION_DATA_MISSING = 44; private static $valueToName = [ self::PROCESSING_ERROR_REASON_UNSPECIFIED => 'PROCESSING_ERROR_REASON_UNSPECIFIED', @@ -336,6 +343,7 @@ class ProcessingErrorReason 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', + self::PROCESSING_ERROR_REASON_EXTERNAL_ATTRIBUTION_DATA_MISSING => 'PROCESSING_ERROR_REASON_EXTERNAL_ATTRIBUTION_DATA_MISSING', ]; public static function name($value) diff --git a/AdsDataManager/src/V1/RemoveAllAudienceMembersRequest.php b/AdsDataManager/src/V1/RemoveAllAudienceMembersRequest.php new file mode 100644 index 000000000000..c7721ecc43e8 --- /dev/null +++ b/AdsDataManager/src/V1/RemoveAllAudienceMembersRequest.php @@ -0,0 +1,159 @@ +google.ads.datamanager.v1.RemoveAllAudienceMembersRequest + */ +class RemoveAllAudienceMembersRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The list of destinations to remove the users from. + * + * Generated from protobuf field repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + private $destinations; + /** + * Optional. The remove as of time. If set, only audience members last added + * before this time will be removed. If not set, it defaults to current time. + * The remove as of time must not be in the future. + * + * Generated from protobuf field .google.protobuf.Timestamp remove_as_of_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $remove_as_of_time = null; + /** + * Optional. For testing purposes. If `true`, the request is validated but not + * executed. Only errors are returned, not results. + * + * Generated from protobuf field bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $validate_only = false; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\DataManager\V1\Destination[] $destinations + * Required. The list of destinations to remove the users from. + * @type \Google\Protobuf\Timestamp $remove_as_of_time + * Optional. The remove as of time. If set, only audience members last added + * before this time will be removed. If not set, it defaults to current time. + * The remove as of time must not be in the future. + * @type bool $validate_only + * Optional. For testing purposes. If `true`, the request is validated but not + * executed. Only errors are returned, not results. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Datamanager\V1\IngestionService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The list of destinations to remove the users from. + * + * Generated from protobuf field repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Ads\DataManager\V1\Destination> + */ + public function getDestinations() + { + return $this->destinations; + } + + /** + * Required. The list of destinations to remove the users from. + * + * Generated from protobuf field repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\DataManager\V1\Destination[] $var + * @return $this + */ + public function setDestinations($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\DataManager\V1\Destination::class); + $this->destinations = $arr; + + return $this; + } + + /** + * Optional. The remove as of time. If set, only audience members last added + * before this time will be removed. If not set, it defaults to current time. + * The remove as of time must not be in the future. + * + * Generated from protobuf field .google.protobuf.Timestamp remove_as_of_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Protobuf\Timestamp|null + */ + public function getRemoveAsOfTime() + { + return $this->remove_as_of_time; + } + + public function hasRemoveAsOfTime() + { + return isset($this->remove_as_of_time); + } + + public function clearRemoveAsOfTime() + { + unset($this->remove_as_of_time); + } + + /** + * Optional. The remove as of time. If set, only audience members last added + * before this time will be removed. If not set, it defaults to current time. + * The remove as of time must not be in the future. + * + * Generated from protobuf field .google.protobuf.Timestamp remove_as_of_time = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setRemoveAsOfTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->remove_as_of_time = $var; + + return $this; + } + + /** + * Optional. For testing purposes. If `true`, the request is validated but not + * executed. Only errors are returned, not results. + * + * Generated from protobuf field bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getValidateOnly() + { + return $this->validate_only; + } + + /** + * Optional. For testing purposes. If `true`, the request is validated but not + * executed. Only errors are returned, not results. + * + * Generated from protobuf field bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setValidateOnly($var) + { + GPBUtil::checkBool($var); + $this->validate_only = $var; + + return $this; + } + +} + diff --git a/AdsDataManager/src/V1/RemoveAllAudienceMembersResponse.php b/AdsDataManager/src/V1/RemoveAllAudienceMembersResponse.php new file mode 100644 index 000000000000..fa47363a986d --- /dev/null +++ b/AdsDataManager/src/V1/RemoveAllAudienceMembersResponse.php @@ -0,0 +1,68 @@ +google.ads.datamanager.v1.RemoveAllAudienceMembersResponse + */ +class RemoveAllAudienceMembersResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The auto-generated ID of the request. + * + * Generated from protobuf field string request_id = 1; + */ + protected $request_id = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $request_id + * The auto-generated ID of the request. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Datamanager\V1\IngestionService::initOnce(); + parent::__construct($data); + } + + /** + * The auto-generated ID of the request. + * + * Generated from protobuf field string request_id = 1; + * @return string + */ + public function getRequestId() + { + return $this->request_id; + } + + /** + * The auto-generated ID of the request. + * + * Generated from protobuf field string request_id = 1; + * @param string $var + * @return $this + */ + public function setRequestId($var) + { + GPBUtil::checkString($var, True); + $this->request_id = $var; + + return $this; + } + +} + diff --git a/AdsDataManager/src/V1/RequestStatusPerDestination.php b/AdsDataManager/src/V1/RequestStatusPerDestination.php index 02ba6b154530..6e83b9cf6f04 100644 --- a/AdsDataManager/src/V1/RequestStatusPerDestination.php +++ b/AdsDataManager/src/V1/RequestStatusPerDestination.php @@ -89,6 +89,8 @@ class RequestStatusPerDestination extends \Google\Protobuf\Internal\Message * The status of the ingest events request. * @type \Google\Ads\DataManager\V1\RequestStatusPerDestination\RemoveAudienceMembersStatus $audience_members_removal_status * The status of the remove audience members request. + * @type \Google\Ads\DataManager\V1\RequestStatusPerDestination\RemoveAllAudienceMembersStatus $remove_all_audience_members_status + * The status of the remove all audience members request. * } */ public function __construct($data = NULL) { @@ -351,6 +353,37 @@ public function setAudienceMembersRemovalStatus($var) return $this; } + /** + * The status of the remove all audience members request. + * + * Generated from protobuf field .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveAllAudienceMembersStatus remove_all_audience_members_status = 8; + * @return \Google\Ads\DataManager\V1\RequestStatusPerDestination\RemoveAllAudienceMembersStatus|null + */ + public function getRemoveAllAudienceMembersStatus() + { + return $this->readOneof(8); + } + + public function hasRemoveAllAudienceMembersStatus() + { + return $this->hasOneof(8); + } + + /** + * The status of the remove all audience members request. + * + * Generated from protobuf field .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveAllAudienceMembersStatus remove_all_audience_members_status = 8; + * @param \Google\Ads\DataManager\V1\RequestStatusPerDestination\RemoveAllAudienceMembersStatus $var + * @return $this + */ + public function setRemoveAllAudienceMembersStatus($var) + { + GPBUtil::checkMessage($var, \Google\Ads\DataManager\V1\RequestStatusPerDestination\RemoveAllAudienceMembersStatus::class); + $this->writeOneof(8, $var); + + return $this; + } + /** * @return string */ diff --git a/AdsDataManager/src/V1/RequestStatusPerDestination/IngestAudienceMembersStatus.php b/AdsDataManager/src/V1/RequestStatusPerDestination/IngestAudienceMembersStatus.php index a6937bb27b8f..ebac73639dfd 100644 --- a/AdsDataManager/src/V1/RequestStatusPerDestination/IngestAudienceMembersStatus.php +++ b/AdsDataManager/src/V1/RequestStatusPerDestination/IngestAudienceMembersStatus.php @@ -35,6 +35,11 @@ class IngestAudienceMembersStatus extends \Google\Protobuf\Internal\Message * 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. + * @type \Google\Ads\DataManager\V1\RequestStatusPerDestination\IngestGoogleUserIdDataStatus $google_user_id_data_ingestion_status + * The status of the google user id data ingestion to the destination. + * @type \Google\Ads\DataManager\V1\RequestStatusPerDestination\IngestPartnerProvidedIdDataStatus $partner_provided_id_data_ingestion_status + * The status of the partner provided id data ingestion to the + * destination. * } */ public function __construct($data = NULL) { @@ -228,6 +233,70 @@ public function setCompositeDataIngestionStatus($var) return $this; } + /** + * The status of the google user id data ingestion to the destination. + * + * Generated from protobuf field .google.ads.datamanager.v1.RequestStatusPerDestination.IngestGoogleUserIdDataStatus google_user_id_data_ingestion_status = 7; + * @return \Google\Ads\DataManager\V1\RequestStatusPerDestination\IngestGoogleUserIdDataStatus|null + */ + public function getGoogleUserIdDataIngestionStatus() + { + return $this->readOneof(7); + } + + public function hasGoogleUserIdDataIngestionStatus() + { + return $this->hasOneof(7); + } + + /** + * The status of the google user id data ingestion to the destination. + * + * Generated from protobuf field .google.ads.datamanager.v1.RequestStatusPerDestination.IngestGoogleUserIdDataStatus google_user_id_data_ingestion_status = 7; + * @param \Google\Ads\DataManager\V1\RequestStatusPerDestination\IngestGoogleUserIdDataStatus $var + * @return $this + */ + public function setGoogleUserIdDataIngestionStatus($var) + { + GPBUtil::checkMessage($var, \Google\Ads\DataManager\V1\RequestStatusPerDestination\IngestGoogleUserIdDataStatus::class); + $this->writeOneof(7, $var); + + return $this; + } + + /** + * The status of the partner provided id data ingestion to the + * destination. + * + * Generated from protobuf field .google.ads.datamanager.v1.RequestStatusPerDestination.IngestPartnerProvidedIdDataStatus partner_provided_id_data_ingestion_status = 8; + * @return \Google\Ads\DataManager\V1\RequestStatusPerDestination\IngestPartnerProvidedIdDataStatus|null + */ + public function getPartnerProvidedIdDataIngestionStatus() + { + return $this->readOneof(8); + } + + public function hasPartnerProvidedIdDataIngestionStatus() + { + return $this->hasOneof(8); + } + + /** + * The status of the partner provided id data ingestion to the + * destination. + * + * Generated from protobuf field .google.ads.datamanager.v1.RequestStatusPerDestination.IngestPartnerProvidedIdDataStatus partner_provided_id_data_ingestion_status = 8; + * @param \Google\Ads\DataManager\V1\RequestStatusPerDestination\IngestPartnerProvidedIdDataStatus $var + * @return $this + */ + public function setPartnerProvidedIdDataIngestionStatus($var) + { + GPBUtil::checkMessage($var, \Google\Ads\DataManager\V1\RequestStatusPerDestination\IngestPartnerProvidedIdDataStatus::class); + $this->writeOneof(8, $var); + + return $this; + } + /** * @return string */ diff --git a/AdsDataManager/src/V1/RequestStatusPerDestination/IngestGoogleUserIdDataStatus.php b/AdsDataManager/src/V1/RequestStatusPerDestination/IngestGoogleUserIdDataStatus.php new file mode 100644 index 000000000000..c6efc009c210 --- /dev/null +++ b/AdsDataManager/src/V1/RequestStatusPerDestination/IngestGoogleUserIdDataStatus.php @@ -0,0 +1,118 @@ +google.ads.datamanager.v1.RequestStatusPerDestination.IngestGoogleUserIdDataStatus + */ +class IngestGoogleUserIdDataStatus 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 google user ids sent in the upload request for the + * destination. Includes all google user ids in the request, regardless of + * whether they were successfully ingested or not. + * + * Generated from protobuf field int64 google_user_id_count = 2; + */ + protected $google_user_id_count = 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 int|string $google_user_id_count + * The total count of google user ids sent in the upload request for the + * destination. Includes all google user ids in the request, regardless of + * whether they were successfully ingested 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 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 google user ids sent in the upload request for the + * destination. Includes all google user ids in the request, regardless of + * whether they were successfully ingested or not. + * + * Generated from protobuf field int64 google_user_id_count = 2; + * @return int|string + */ + public function getGoogleUserIdCount() + { + return $this->google_user_id_count; + } + + /** + * The total count of google user ids sent in the upload request for the + * destination. Includes all google user ids in the request, regardless of + * whether they were successfully ingested or not. + * + * Generated from protobuf field int64 google_user_id_count = 2; + * @param int|string $var + * @return $this + */ + public function setGoogleUserIdCount($var) + { + GPBUtil::checkInt64($var); + $this->google_user_id_count = $var; + + return $this; + } + +} + diff --git a/AdsDataManager/src/V1/RequestStatusPerDestination/IngestPartnerProvidedIdDataStatus.php b/AdsDataManager/src/V1/RequestStatusPerDestination/IngestPartnerProvidedIdDataStatus.php new file mode 100644 index 000000000000..5d3ed9d21570 --- /dev/null +++ b/AdsDataManager/src/V1/RequestStatusPerDestination/IngestPartnerProvidedIdDataStatus.php @@ -0,0 +1,118 @@ +google.ads.datamanager.v1.RequestStatusPerDestination.IngestPartnerProvidedIdDataStatus + */ +class IngestPartnerProvidedIdDataStatus 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 partner provided ids sent in the upload request for + * the destination. Includes all partner provided ids in the request, + * regardless of whether they were successfully ingested or not. + * + * Generated from protobuf field int64 partner_provided_id_count = 2; + */ + protected $partner_provided_id_count = 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 int|string $partner_provided_id_count + * The total count of partner provided ids sent in the upload request for + * the destination. Includes all partner provided ids in the request, + * regardless of whether they were successfully ingested 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 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 partner provided ids sent in the upload request for + * the destination. Includes all partner provided ids in the request, + * regardless of whether they were successfully ingested or not. + * + * Generated from protobuf field int64 partner_provided_id_count = 2; + * @return int|string + */ + public function getPartnerProvidedIdCount() + { + return $this->partner_provided_id_count; + } + + /** + * The total count of partner provided ids sent in the upload request for + * the destination. Includes all partner provided ids in the request, + * regardless of whether they were successfully ingested or not. + * + * Generated from protobuf field int64 partner_provided_id_count = 2; + * @param int|string $var + * @return $this + */ + public function setPartnerProvidedIdCount($var) + { + GPBUtil::checkInt64($var); + $this->partner_provided_id_count = $var; + + return $this; + } + +} + diff --git a/AdsDataManager/src/V1/RequestStatusPerDestination/RemoveAllAudienceMembersStatus.php b/AdsDataManager/src/V1/RequestStatusPerDestination/RemoveAllAudienceMembersStatus.php new file mode 100644 index 000000000000..dde3846b065e --- /dev/null +++ b/AdsDataManager/src/V1/RequestStatusPerDestination/RemoveAllAudienceMembersStatus.php @@ -0,0 +1,33 @@ +google.ads.datamanager.v1.RequestStatusPerDestination.RemoveAllAudienceMembersStatus + */ +class RemoveAllAudienceMembersStatus extends \Google\Protobuf\Internal\Message +{ + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\Datamanager\V1\RequestStatusPerDestination::initOnce(); + parent::__construct($data); + } + +} + diff --git a/AdsDataManager/src/V1/RequestStatusPerDestination/RemoveAudienceMembersStatus.php b/AdsDataManager/src/V1/RequestStatusPerDestination/RemoveAudienceMembersStatus.php index fe037b7f3c82..06bf66ac8524 100644 --- a/AdsDataManager/src/V1/RequestStatusPerDestination/RemoveAudienceMembersStatus.php +++ b/AdsDataManager/src/V1/RequestStatusPerDestination/RemoveAudienceMembersStatus.php @@ -35,6 +35,11 @@ class RemoveAudienceMembersStatus extends \Google\Protobuf\Internal\Message * 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. + * @type \Google\Ads\DataManager\V1\RequestStatusPerDestination\RemoveGoogleUserIdDataStatus $google_user_id_data_removal_status + * The status of the google user id data removal from the destination. + * @type \Google\Ads\DataManager\V1\RequestStatusPerDestination\RemovePartnerProvidedIdDataStatus $partner_provided_id_data_removal_status + * The status of the partner provided id data removal from the + * destination. * } */ public function __construct($data = NULL) { @@ -228,6 +233,70 @@ public function setCompositeDataRemovalStatus($var) return $this; } + /** + * The status of the google user id data removal from the destination. + * + * Generated from protobuf field .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveGoogleUserIdDataStatus google_user_id_data_removal_status = 7; + * @return \Google\Ads\DataManager\V1\RequestStatusPerDestination\RemoveGoogleUserIdDataStatus|null + */ + public function getGoogleUserIdDataRemovalStatus() + { + return $this->readOneof(7); + } + + public function hasGoogleUserIdDataRemovalStatus() + { + return $this->hasOneof(7); + } + + /** + * The status of the google user id data removal from the destination. + * + * Generated from protobuf field .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveGoogleUserIdDataStatus google_user_id_data_removal_status = 7; + * @param \Google\Ads\DataManager\V1\RequestStatusPerDestination\RemoveGoogleUserIdDataStatus $var + * @return $this + */ + public function setGoogleUserIdDataRemovalStatus($var) + { + GPBUtil::checkMessage($var, \Google\Ads\DataManager\V1\RequestStatusPerDestination\RemoveGoogleUserIdDataStatus::class); + $this->writeOneof(7, $var); + + return $this; + } + + /** + * The status of the partner provided id data removal from the + * destination. + * + * Generated from protobuf field .google.ads.datamanager.v1.RequestStatusPerDestination.RemovePartnerProvidedIdDataStatus partner_provided_id_data_removal_status = 8; + * @return \Google\Ads\DataManager\V1\RequestStatusPerDestination\RemovePartnerProvidedIdDataStatus|null + */ + public function getPartnerProvidedIdDataRemovalStatus() + { + return $this->readOneof(8); + } + + public function hasPartnerProvidedIdDataRemovalStatus() + { + return $this->hasOneof(8); + } + + /** + * The status of the partner provided id data removal from the + * destination. + * + * Generated from protobuf field .google.ads.datamanager.v1.RequestStatusPerDestination.RemovePartnerProvidedIdDataStatus partner_provided_id_data_removal_status = 8; + * @param \Google\Ads\DataManager\V1\RequestStatusPerDestination\RemovePartnerProvidedIdDataStatus $var + * @return $this + */ + public function setPartnerProvidedIdDataRemovalStatus($var) + { + GPBUtil::checkMessage($var, \Google\Ads\DataManager\V1\RequestStatusPerDestination\RemovePartnerProvidedIdDataStatus::class); + $this->writeOneof(8, $var); + + return $this; + } + /** * @return string */ diff --git a/AdsDataManager/src/V1/RequestStatusPerDestination/RemoveGoogleUserIdDataStatus.php b/AdsDataManager/src/V1/RequestStatusPerDestination/RemoveGoogleUserIdDataStatus.php new file mode 100644 index 000000000000..c2cbf9d3abfb --- /dev/null +++ b/AdsDataManager/src/V1/RequestStatusPerDestination/RemoveGoogleUserIdDataStatus.php @@ -0,0 +1,117 @@ +google.ads.datamanager.v1.RequestStatusPerDestination.RemoveGoogleUserIdDataStatus + */ +class RemoveGoogleUserIdDataStatus 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 google user ids sent in the removal request. Includes + * all google user ids in the request, regardless of whether they were + * successfully removed or not. + * + * Generated from protobuf field int64 google_user_id_count = 2; + */ + protected $google_user_id_count = 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 removal request. Includes + * all audience members in the request, regardless of whether they were + * successfully removed or not. + * @type int|string $google_user_id_count + * The total count of google user ids sent in the removal request. Includes + * all google user ids 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 google user ids sent in the removal request. Includes + * all google user ids in the request, regardless of whether they were + * successfully removed or not. + * + * Generated from protobuf field int64 google_user_id_count = 2; + * @return int|string + */ + public function getGoogleUserIdCount() + { + return $this->google_user_id_count; + } + + /** + * The total count of google user ids sent in the removal request. Includes + * all google user ids in the request, regardless of whether they were + * successfully removed or not. + * + * Generated from protobuf field int64 google_user_id_count = 2; + * @param int|string $var + * @return $this + */ + public function setGoogleUserIdCount($var) + { + GPBUtil::checkInt64($var); + $this->google_user_id_count = $var; + + return $this; + } + +} + diff --git a/AdsDataManager/src/V1/RequestStatusPerDestination/RemovePartnerProvidedIdDataStatus.php b/AdsDataManager/src/V1/RequestStatusPerDestination/RemovePartnerProvidedIdDataStatus.php new file mode 100644 index 000000000000..b1091c2821ac --- /dev/null +++ b/AdsDataManager/src/V1/RequestStatusPerDestination/RemovePartnerProvidedIdDataStatus.php @@ -0,0 +1,117 @@ +google.ads.datamanager.v1.RequestStatusPerDestination.RemovePartnerProvidedIdDataStatus + */ +class RemovePartnerProvidedIdDataStatus 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 partner provided ids sent in the removal request. + * Includes all partner provided ids in the request, regardless of whether + * they were successfully removed or not. + * + * Generated from protobuf field int64 partner_provided_id_count = 2; + */ + protected $partner_provided_id_count = 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 removal request. Includes + * all audience members in the request, regardless of whether they were + * successfully removed or not. + * @type int|string $partner_provided_id_count + * The total count of partner provided ids sent in the removal request. + * Includes all partner provided ids 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 partner provided ids sent in the removal request. + * Includes all partner provided ids in the request, regardless of whether + * they were successfully removed or not. + * + * Generated from protobuf field int64 partner_provided_id_count = 2; + * @return int|string + */ + public function getPartnerProvidedIdCount() + { + return $this->partner_provided_id_count; + } + + /** + * The total count of partner provided ids sent in the removal request. + * Includes all partner provided ids in the request, regardless of whether + * they were successfully removed or not. + * + * Generated from protobuf field int64 partner_provided_id_count = 2; + * @param int|string $var + * @return $this + */ + public function setPartnerProvidedIdCount($var) + { + GPBUtil::checkInt64($var); + $this->partner_provided_id_count = $var; + + return $this; + } + +} + diff --git a/AdsDataManager/src/V1/SearchPartnerLinksRequest.php b/AdsDataManager/src/V1/SearchPartnerLinksRequest.php index f0aedf49a388..01e1954c215a 100644 --- a/AdsDataManager/src/V1/SearchPartnerLinksRequest.php +++ b/AdsDataManager/src/V1/SearchPartnerLinksRequest.php @@ -29,7 +29,7 @@ class SearchPartnerLinksRequest extends \Google\Protobuf\Internal\Message /** * The maximum number of partner links to return. The service may return * fewer than this value. - * If unspecified, at most 10 partner links will be returned. + * If unspecified, at most 50 partner links will be returned. * The maximum value is 100; values above 100 will be coerced to 100. * * Generated from protobuf field int32 page_size = 2; @@ -61,6 +61,11 @@ class SearchPartnerLinksRequest extends \Google\Protobuf\Internal\Message * - `owning_account.account_id` * - `partner_account.account_type` * - `partner_account.account_id` + * - `feature_set` + * For partner links with the + * [FEATURE_SET_AD_EVENT_MANAGEMENT][google.ads.datamanager.v1.FeatureSet.FEATURE_SET_AD_EVENT_MANAGEMENT] + * feature set, the following fields are also supported: + * - `partner_customer_account.account_id` * Example: * `owning_account.account_type = "GOOGLE_ADS" AND partner_account.account_id * = 987654321` @@ -101,7 +106,7 @@ public static function build(string $parent): self * @type int $page_size * The maximum number of partner links to return. The service may return * fewer than this value. - * If unspecified, at most 10 partner links will be returned. + * If unspecified, at most 50 partner links will be returned. * The maximum value is 100; values above 100 will be coerced to 100. * @type string $page_token * A page token, received from a previous `SearchPartnerLinks` call. @@ -125,6 +130,11 @@ public static function build(string $parent): self * - `owning_account.account_id` * - `partner_account.account_type` * - `partner_account.account_id` + * - `feature_set` + * For partner links with the + * [FEATURE_SET_AD_EVENT_MANAGEMENT][google.ads.datamanager.v1.FeatureSet.FEATURE_SET_AD_EVENT_MANAGEMENT] + * feature set, the following fields are also supported: + * - `partner_customer_account.account_id` * Example: * `owning_account.account_type = "GOOGLE_ADS" AND partner_account.account_id * = 987654321` @@ -170,7 +180,7 @@ public function setParent($var) /** * The maximum number of partner links to return. The service may return * fewer than this value. - * If unspecified, at most 10 partner links will be returned. + * If unspecified, at most 50 partner links will be returned. * The maximum value is 100; values above 100 will be coerced to 100. * * Generated from protobuf field int32 page_size = 2; @@ -184,7 +194,7 @@ public function getPageSize() /** * The maximum number of partner links to return. The service may return * fewer than this value. - * If unspecified, at most 10 partner links will be returned. + * If unspecified, at most 50 partner links will be returned. * The maximum value is 100; values above 100 will be coerced to 100. * * Generated from protobuf field int32 page_size = 2; @@ -248,6 +258,11 @@ public function setPageToken($var) * - `owning_account.account_id` * - `partner_account.account_type` * - `partner_account.account_id` + * - `feature_set` + * For partner links with the + * [FEATURE_SET_AD_EVENT_MANAGEMENT][google.ads.datamanager.v1.FeatureSet.FEATURE_SET_AD_EVENT_MANAGEMENT] + * feature set, the following fields are also supported: + * - `partner_customer_account.account_id` * Example: * `owning_account.account_type = "GOOGLE_ADS" AND partner_account.account_id * = 987654321` @@ -277,6 +292,11 @@ public function getFilter() * - `owning_account.account_id` * - `partner_account.account_type` * - `partner_account.account_id` + * - `feature_set` + * For partner links with the + * [FEATURE_SET_AD_EVENT_MANAGEMENT][google.ads.datamanager.v1.FeatureSet.FEATURE_SET_AD_EVENT_MANAGEMENT] + * feature set, the following fields are also supported: + * - `partner_customer_account.account_id` * Example: * `owning_account.account_type = "GOOGLE_ADS" AND partner_account.account_id * = 987654321` diff --git a/AdsDataManager/src/V1/WarningReason.php b/AdsDataManager/src/V1/WarningReason.php new file mode 100644 index 000000000000..ba8cb22a40d2 --- /dev/null +++ b/AdsDataManager/src/V1/WarningReason.php @@ -0,0 +1,168 @@ +google.ads.datamanager.v1.WarningReason + */ +class WarningReason +{ + /** + * Unspecified warning reason. + * + * Generated from protobuf enum WARNING_REASON_UNSPECIFIED = 0; + */ + const WARNING_REASON_UNSPECIFIED = 0; + /** + * A custom variable in + * [`custom_variables`][google.ads.datamanager.v1.Event.custom_variables] is + * not enabled in the account. + * + * Generated from protobuf enum WARNING_REASON_CUSTOM_VARIABLE_NOT_ENABLED = 1; + */ + const WARNING_REASON_CUSTOM_VARIABLE_NOT_ENABLED = 1; + /** + * A custom variable value in + * [`custom_variables`][google.ads.datamanager.v1.Event.custom_variables] is + * not among the predefined allowed values configured for the custom variable + * on the destination account. + * + * Generated from protobuf enum WARNING_REASON_CUSTOM_VARIABLE_NOT_PREDEFINED = 2; + */ + const WARNING_REASON_CUSTOM_VARIABLE_NOT_PREDEFINED = 2; + /** + * The [`cart_data`][google.ads.datamanager.v1.Event.cart_data] is not + * supported with [`gbraid`][google.ads.datamanager.v1.AdIdentifiers.gbraid] + * or [`wbraid`][google.ads.datamanager.v1.AdIdentifiers.wbraid]. + * + * Generated from protobuf enum WARNING_REASON_CART_DATA_NOT_SUPPORTED_WITH_GBRAID_OR_WBRAID = 3; + */ + const WARNING_REASON_CART_DATA_NOT_SUPPORTED_WITH_GBRAID_OR_WBRAID = 3; + /** + * The + * [`merchant_product_id`][google.ads.datamanager.v1.Item.merchant_product_id] + * is missing in the cart item. + * + * Generated from protobuf enum WARNING_REASON_CART_DATA_ITEM_MERCHANT_PRODUCT_ID_MISSING = 4; + */ + const WARNING_REASON_CART_DATA_ITEM_MERCHANT_PRODUCT_ID_MISSING = 4; + /** + * The [`unit_price`][google.ads.datamanager.v1.Item.unit_price] is missing in + * the cart item. + * + * Generated from protobuf enum WARNING_REASON_CART_DATA_ITEM_UNIT_PRICE_MISSING = 5; + */ + const WARNING_REASON_CART_DATA_ITEM_UNIT_PRICE_MISSING = 5; + /** + * Generic warning reason for issues that do not fit into other specific + * categories. + * + * Generated from protobuf enum WARNING_REASON_GENERIC = 6; + */ + const WARNING_REASON_GENERIC = 6; + /** + * The [`client_id`][google.ads.datamanager.v1.Event.client_id] is invalid. + * + * Generated from protobuf enum WARNING_REASON_INVALID_CLIENT_ID = 7; + */ + const WARNING_REASON_INVALID_CLIENT_ID = 7; + /** + * The + * [`subdivision_code`][google.ads.datamanager.v1.EventLocation.subdivision_code] + * is invalid. + * + * Generated from protobuf enum WARNING_REASON_INVALID_SUBDIVISION_CODE = 8; + */ + const WARNING_REASON_INVALID_SUBDIVISION_CODE = 8; + /** + * The [`region_code`][google.ads.datamanager.v1.EventLocation.region_code] + * is invalid. + * + * Generated from protobuf enum WARNING_REASON_INVALID_REGION_CODE = 9; + */ + const WARNING_REASON_INVALID_REGION_CODE = 9; + /** + * The + * [`subcontinent_code`][google.ads.datamanager.v1.EventLocation.subcontinent_code] + * is invalid. + * + * Generated from protobuf enum WARNING_REASON_INVALID_SUBCONTINENT_CODE = 10; + */ + const WARNING_REASON_INVALID_SUBCONTINENT_CODE = 10; + /** + * The + * [`continent_code`][google.ads.datamanager.v1.EventLocation.continent_code] + * is invalid. + * + * Generated from protobuf enum WARNING_REASON_INVALID_CONTINENT_CODE = 11; + */ + const WARNING_REASON_INVALID_CONTINENT_CODE = 11; + /** + * The device [`category`][google.ads.datamanager.v1.DeviceInfo.category] + * is invalid. + * + * Generated from protobuf enum WARNING_REASON_INVALID_DEVICE_CATEGORY = 12; + */ + const WARNING_REASON_INVALID_DEVICE_CATEGORY = 12; + /** + * The device + * [`screen_height`][google.ads.datamanager.v1.DeviceInfo.screen_height] or + * [`screen_width`][google.ads.datamanager.v1.DeviceInfo.screen_width] is + * invalid. + * + * Generated from protobuf enum WARNING_REASON_INVALID_DEVICE_SCREEN_RESOLUTION = 13; + */ + const WARNING_REASON_INVALID_DEVICE_SCREEN_RESOLUTION = 13; + /** + * The [`merchant_id`][google.ads.datamanager.v1.CartData.merchant_id] is + * invalid. + * + * Generated from protobuf enum WARNING_REASON_INVALID_MERCHANT_ID = 14; + */ + const WARNING_REASON_INVALID_MERCHANT_ID = 14; + + private static $valueToName = [ + self::WARNING_REASON_UNSPECIFIED => 'WARNING_REASON_UNSPECIFIED', + self::WARNING_REASON_CUSTOM_VARIABLE_NOT_ENABLED => 'WARNING_REASON_CUSTOM_VARIABLE_NOT_ENABLED', + self::WARNING_REASON_CUSTOM_VARIABLE_NOT_PREDEFINED => 'WARNING_REASON_CUSTOM_VARIABLE_NOT_PREDEFINED', + self::WARNING_REASON_CART_DATA_NOT_SUPPORTED_WITH_GBRAID_OR_WBRAID => 'WARNING_REASON_CART_DATA_NOT_SUPPORTED_WITH_GBRAID_OR_WBRAID', + self::WARNING_REASON_CART_DATA_ITEM_MERCHANT_PRODUCT_ID_MISSING => 'WARNING_REASON_CART_DATA_ITEM_MERCHANT_PRODUCT_ID_MISSING', + self::WARNING_REASON_CART_DATA_ITEM_UNIT_PRICE_MISSING => 'WARNING_REASON_CART_DATA_ITEM_UNIT_PRICE_MISSING', + self::WARNING_REASON_GENERIC => 'WARNING_REASON_GENERIC', + self::WARNING_REASON_INVALID_CLIENT_ID => 'WARNING_REASON_INVALID_CLIENT_ID', + self::WARNING_REASON_INVALID_SUBDIVISION_CODE => 'WARNING_REASON_INVALID_SUBDIVISION_CODE', + self::WARNING_REASON_INVALID_REGION_CODE => 'WARNING_REASON_INVALID_REGION_CODE', + self::WARNING_REASON_INVALID_SUBCONTINENT_CODE => 'WARNING_REASON_INVALID_SUBCONTINENT_CODE', + self::WARNING_REASON_INVALID_CONTINENT_CODE => 'WARNING_REASON_INVALID_CONTINENT_CODE', + self::WARNING_REASON_INVALID_DEVICE_CATEGORY => 'WARNING_REASON_INVALID_DEVICE_CATEGORY', + self::WARNING_REASON_INVALID_DEVICE_SCREEN_RESOLUTION => 'WARNING_REASON_INVALID_DEVICE_SCREEN_RESOLUTION', + self::WARNING_REASON_INVALID_MERCHANT_ID => 'WARNING_REASON_INVALID_MERCHANT_ID', + ]; + + 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/gapic_metadata.json b/AdsDataManager/src/V1/gapic_metadata.json index a829cd7cbba4..f1736e914830 100644 --- a/AdsDataManager/src/V1/gapic_metadata.json +++ b/AdsDataManager/src/V1/gapic_metadata.json @@ -25,6 +25,11 @@ "ingestEvents" ] }, + "RemoveAllAudienceMembers": { + "methods": [ + "removeAllAudienceMembers" + ] + }, "RemoveAudienceMembers": { "methods": [ "removeAudienceMembers" diff --git a/AdsDataManager/src/V1/resources/ingestion_service_client_config.json b/AdsDataManager/src/V1/resources/ingestion_service_client_config.json index a417343855f4..764d6378e498 100644 --- a/AdsDataManager/src/V1/resources/ingestion_service_client_config.json +++ b/AdsDataManager/src/V1/resources/ingestion_service_client_config.json @@ -44,6 +44,11 @@ "retry_codes_name": "no_retry_codes", "retry_params_name": "no_retry_params" }, + "RemoveAllAudienceMembers": { + "timeout_millis": 60000, + "retry_codes_name": "no_retry_codes", + "retry_params_name": "no_retry_params" + }, "RemoveAudienceMembers": { "timeout_millis": 60000, "retry_codes_name": "no_retry_codes", diff --git a/AdsDataManager/src/V1/resources/ingestion_service_descriptor_config.php b/AdsDataManager/src/V1/resources/ingestion_service_descriptor_config.php index bd7fcf958a53..0d6cf83f5ab4 100644 --- a/AdsDataManager/src/V1/resources/ingestion_service_descriptor_config.php +++ b/AdsDataManager/src/V1/resources/ingestion_service_descriptor_config.php @@ -35,6 +35,10 @@ 'callType' => \Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Google\Ads\DataManager\V1\IngestEventsResponse', ], + 'RemoveAllAudienceMembers' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Ads\DataManager\V1\RemoveAllAudienceMembersResponse', + ], 'RemoveAudienceMembers' => [ 'callType' => \Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Google\Ads\DataManager\V1\RemoveAudienceMembersResponse', diff --git a/AdsDataManager/src/V1/resources/ingestion_service_rest_client_config.php b/AdsDataManager/src/V1/resources/ingestion_service_rest_client_config.php index 37d53b25ee97..283de9a6299d 100644 --- a/AdsDataManager/src/V1/resources/ingestion_service_rest_client_config.php +++ b/AdsDataManager/src/V1/resources/ingestion_service_rest_client_config.php @@ -38,6 +38,11 @@ 'uriTemplate' => '/v1/events:ingest', 'body' => '*', ], + 'RemoveAllAudienceMembers' => [ + 'method' => 'post', + 'uriTemplate' => '/v1/audienceMembers:removeAll', + 'body' => '*', + ], 'RemoveAudienceMembers' => [ 'method' => 'post', 'uriTemplate' => '/v1/audienceMembers:remove', diff --git a/AdsDataManager/tests/Unit/V1/Client/IngestionServiceClientTest.php b/AdsDataManager/tests/Unit/V1/Client/IngestionServiceClientTest.php index d4526c98f500..9e87caf79898 100644 --- a/AdsDataManager/tests/Unit/V1/Client/IngestionServiceClientTest.php +++ b/AdsDataManager/tests/Unit/V1/Client/IngestionServiceClientTest.php @@ -23,12 +23,15 @@ namespace Google\Ads\DataManager\Tests\Unit\V1\Client; use Google\Ads\DataManager\V1\Client\IngestionServiceClient; +use Google\Ads\DataManager\V1\EncryptionInfo; use Google\Ads\DataManager\V1\IngestAdEventsRequest; use Google\Ads\DataManager\V1\IngestAdEventsResponse; use Google\Ads\DataManager\V1\IngestAudienceMembersRequest; use Google\Ads\DataManager\V1\IngestAudienceMembersResponse; use Google\Ads\DataManager\V1\IngestEventsRequest; use Google\Ads\DataManager\V1\IngestEventsResponse; +use Google\Ads\DataManager\V1\RemoveAllAudienceMembersRequest; +use Google\Ads\DataManager\V1\RemoveAllAudienceMembersResponse; use Google\Ads\DataManager\V1\RemoveAudienceMembersRequest; use Google\Ads\DataManager\V1\RemoveAudienceMembersResponse; use Google\Ads\DataManager\V1\RetrieveRequestStatusRequest; @@ -83,7 +86,8 @@ public function ingestAdEventsTest() $transport->addResponse($expectedResponse); // Mock request $adEvents = []; - $request = (new IngestAdEventsRequest())->setAdEvents($adEvents); + $encryptionInfo = new EncryptionInfo(); + $request = (new IngestAdEventsRequest())->setAdEvents($adEvents)->setEncryptionInfo($encryptionInfo); $response = $gapicClient->ingestAdEvents($request); $this->assertEquals($expectedResponse, $response); $actualRequests = $transport->popReceivedCalls(); @@ -93,6 +97,8 @@ public function ingestAdEventsTest() $this->assertSame('/google.ads.datamanager.v1.IngestionService/IngestAdEvents', $actualFuncCall); $actualValue = $actualRequestObject->getAdEvents(); $this->assertProtobufEquals($adEvents, $actualValue); + $actualValue = $actualRequestObject->getEncryptionInfo(); + $this->assertProtobufEquals($encryptionInfo, $actualValue); $this->assertTrue($transport->isExhausted()); } @@ -119,7 +125,8 @@ public function ingestAdEventsExceptionTest() $transport->addResponse(null, $status); // Mock request $adEvents = []; - $request = (new IngestAdEventsRequest())->setAdEvents($adEvents); + $encryptionInfo = new EncryptionInfo(); + $request = (new IngestAdEventsRequest())->setAdEvents($adEvents)->setEncryptionInfo($encryptionInfo); try { $gapicClient->ingestAdEvents($request); // If the $gapicClient method call did not throw, fail the test @@ -275,6 +282,71 @@ public function ingestEventsExceptionTest() $this->assertTrue($transport->isExhausted()); } + /** @test */ + public function removeAllAudienceMembersTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $requestId = 'requestId37109963'; + $expectedResponse = new RemoveAllAudienceMembersResponse(); + $expectedResponse->setRequestId($requestId); + $transport->addResponse($expectedResponse); + // Mock request + $destinations = []; + $request = (new RemoveAllAudienceMembersRequest())->setDestinations($destinations); + $response = $gapicClient->removeAllAudienceMembers($request); + $this->assertEquals($expectedResponse, $response); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.ads.datamanager.v1.IngestionService/RemoveAllAudienceMembers', $actualFuncCall); + $actualValue = $actualRequestObject->getDestinations(); + $this->assertProtobufEquals($destinations, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function removeAllAudienceMembersExceptionTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + $status = new stdClass(); + $status->code = Code::DATA_LOSS; + $status->details = 'internal error'; + $expectedExceptionMessage = json_encode( + [ + 'message' => 'internal error', + 'code' => Code::DATA_LOSS, + 'status' => 'DATA_LOSS', + 'details' => [], + ], + JSON_PRETTY_PRINT + ); + $transport->addResponse(null, $status); + // Mock request + $destinations = []; + $request = (new RemoveAllAudienceMembersRequest())->setDestinations($destinations); + try { + $gapicClient->removeAllAudienceMembers($request); + // If the $gapicClient method call did not throw, fail the test + $this->fail('Expected an ApiException, but no exception was thrown.'); + } catch (ApiException $ex) { + $this->assertEquals($status->code, $ex->getCode()); + $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); + } + // Call popReceivedCalls to ensure the stub is exhausted + $transport->popReceivedCalls(); + $this->assertTrue($transport->isExhausted()); + } + /** @test */ public function removeAudienceMembersTest() { @@ -424,7 +496,8 @@ public function ingestAdEventsAsyncTest() $transport->addResponse($expectedResponse); // Mock request $adEvents = []; - $request = (new IngestAdEventsRequest())->setAdEvents($adEvents); + $encryptionInfo = new EncryptionInfo(); + $request = (new IngestAdEventsRequest())->setAdEvents($adEvents)->setEncryptionInfo($encryptionInfo); $response = $gapicClient->ingestAdEventsAsync($request)->wait(); $this->assertEquals($expectedResponse, $response); $actualRequests = $transport->popReceivedCalls(); @@ -434,6 +507,8 @@ public function ingestAdEventsAsyncTest() $this->assertSame('/google.ads.datamanager.v1.IngestionService/IngestAdEvents', $actualFuncCall); $actualValue = $actualRequestObject->getAdEvents(); $this->assertProtobufEquals($adEvents, $actualValue); + $actualValue = $actualRequestObject->getEncryptionInfo(); + $this->assertProtobufEquals($encryptionInfo, $actualValue); $this->assertTrue($transport->isExhausted()); } }