Hi,

Thanks for coming back to this thread.

Kindly see below the way to get App ID and App Name:

1. Ad_group_criterion.mobile_application.app_id

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";).

That being said, a well formed app id for Google Ads API would thus be 
"1-476943146" for iOS and "2-com.labpixies.colordrips" for Android.

2.Ad_group_criterion.mobile_application.name

This will pull the Name of your mobile application.


You may use below GAQL:


SELECT

ad_group_criterion.mobile_application.app_id,

ad_group_criterion.mobile_application.name

FROM ad_group_criterion

WHERE

ad_group_criterion.type IN ('MOBILE_APPLICATION')



A sample response should look like below:


{

"adGroupCriterion": {

"resourceName": 
"customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}",

"mobileApplication": {

"name": "Mobile App: <APP NAME> (iTunes App Store), by <APP developer>",

"appId": "1-909351158"

}

}

},

{

"adGroupCriterion": {

"resourceName": 
"customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}",

"mobileApplication": {

"name": "Mobile App: <APP NAME> (Google Play), by <APP developer>",

"appId": "2-com.myapp.talkingcat"

}

}

},


You may also verify your app by using iOS app id using below URL:

https://apps.apple.com/app/id{platform_native_id} which would become 
https://apps.apple.com/app/id476943146.

Regards,

Yasar
Google Ads API Team
ref:_00D1U1174p._5004Q2Wwlk3:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/WNqOg000000000000000000000000000000000000000000000ROB83500EymLuLFYTHySUSNHwxKYyw%40sfdc.net.
  • Re... AMAP TEST
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... AMAP TEST
        • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to