pub struct MobileApplicationInfo {
pub app_id: String,
pub name: String,
}
Expand description
A mobile application criterion.
Fields§
§app_id: 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: String
Name of this mobile application.
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<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
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<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
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<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
.Source§impl PartialEq for MobileApplicationInfo
impl PartialEq for MobileApplicationInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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