type MobileApplicationTargeting (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
Provides line items the ability to target or exclude users' mobile applications.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
Field
|
mobileApplicationIds
|
xsd:long[]
The IDs that are being targeted or excluded by the
LineItem.
|
isTargeted
|
xsd:boolean
Indicates whether mobile apps should be targeted or excluded. This attribute is optional and
defaults to true .
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[[["\u003cp\u003eMobileApplicationTargeting allows line items to target or exclude users based on their mobile applications.\u003c/p\u003e\n"],["\u003cp\u003eTargeting is achieved using mobile application IDs and can be set to include or exclude specific apps.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003emobileApplicationIds\u003c/code\u003e field stores the IDs of targeted or excluded apps, while \u003ccode\u003eisTargeted\u003c/code\u003e determines whether to include or exclude them (defaults to include).\u003c/p\u003e\n"],["\u003cp\u003eThis feature is part of the AdRuleService and relies on the Targeting dependency within the Google Ad Manager API.\u003c/p\u003e\n"]]],["The core content defines `MobileApplicationTargeting`, enabling line items to target or exclude users' mobile applications. Key fields include `mobileApplicationIds`, which specifies the targeted or excluded application IDs, and `isTargeted`, a boolean determining whether to target or exclude (defaults to `true`). This functionality is accessed through various services like `AdjustmentService`, `ForecastService`, and `LineItemService`. The relevant namespace is `https://www.google.com/apis/ads/publisher/v202411`.\n"],null,["# type MobileApplicationTargeting (v202411)\n\n**Service** \n**AdRuleService** [AdjustmentService](/ad-manager/api/reference/v202411/AdjustmentService.MobileApplicationTargeting) [ForecastService](/ad-manager/api/reference/v202411/ForecastService.MobileApplicationTargeting) [LineItemService](/ad-manager/api/reference/v202411/LineItemService.MobileApplicationTargeting) [NativeStyleService](/ad-manager/api/reference/v202411/NativeStyleService.MobileApplicationTargeting) [ProposalLineItemService](/ad-manager/api/reference/v202411/ProposalLineItemService.MobileApplicationTargeting) [ProposalService](/ad-manager/api/reference/v202411/ProposalService.MobileApplicationTargeting) [PublisherQueryLanguageService](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.MobileApplicationTargeting) [TargetingPresetService](/ad-manager/api/reference/v202411/TargetingPresetService.MobileApplicationTargeting) [YieldGroupService](/ad-manager/api/reference/v202411/YieldGroupService.MobileApplicationTargeting) **Dependencies** \n[Targeting](/ad-manager/api/reference/v202411/AdRuleService.Targeting) \n▼\n**MobileApplicationTargeting**\n\nProvides line items the ability to target or exclude users' mobile applications.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\n\n| Field ----- ||\n|----------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ### `mobileApplicationIds` | ` `xsd:`long[]` The [IDs](/ad-manager/api/reference/v202411/MobileApplicationService.MobileApplication#applicationId) that are being targeted or excluded by the [LineItem](/ad-manager/api/reference/v202411/ForecastService.LineItem). |\n| ### `isTargeted` | ` `xsd:`boolean` Indicates whether mobile apps should be targeted or excluded. This attribute is optional and defaults to `true`. |"]]