Struct google_api_proto::google::ads::googleads::v15::common::MobileApplicationInfo
source · pub struct MobileApplicationInfo {
pub app_id: Option<String>,
pub name: Option<String>,
}
Expand description
A mobile application criterion.
Fields§
§app_id: Option<String>
A string that uniquely identifies a mobile application to Google Ads API. The format of this string is “{platform}-{platform_native_id}”, where platform is “1” for iOS apps and “2” for Android apps, and where platform_native_id is the mobile application identifier native to the corresponding platform. For iOS, this native identifier is the 9 digit string that appears at the end of an App Store URL (for example, “476943146” for “Flood-It! 2” whose App Store link is “http://itunes.apple.com/us/app/flood-it!-2/id476943146"). For Android, this native identifier is the application’s package name (for example, “com.labpixies.colordrips” for “Color Drips” given Google Play link “https://play.google.com/store/apps/details?id=com.labpixies.colordrips"). A well formed app id for Google Ads API would thus be “1-476943146” for iOS and “2-com.labpixies.colordrips” for Android. This field is required and must be set in CREATE operations.
name: Option<String>
Name of this mobile application.
Implementations§
Trait Implementations§
source§impl Clone for MobileApplicationInfo
impl Clone for MobileApplicationInfo
source§fn clone(&self) -> MobileApplicationInfo
fn clone(&self) -> MobileApplicationInfo
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MobileApplicationInfo
impl Debug for MobileApplicationInfo
source§impl Default for MobileApplicationInfo
impl Default for MobileApplicationInfo
source§impl Message for MobileApplicationInfo
impl Message for MobileApplicationInfo
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for MobileApplicationInfo
impl PartialEq for MobileApplicationInfo
source§fn eq(&self, other: &MobileApplicationInfo) -> bool
fn eq(&self, other: &MobileApplicationInfo) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MobileApplicationInfo
Auto Trait Implementations§
impl Freeze for MobileApplicationInfo
impl RefUnwindSafe for MobileApplicationInfo
impl Send for MobileApplicationInfo
impl Sync for MobileApplicationInfo
impl Unpin for MobileApplicationInfo
impl UnwindSafe for MobileApplicationInfo
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request