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 specifies the IDs of the targeted or excluded apps.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eisTargeted\u003c/code\u003e field determines whether the specified apps are targeted (included) or excluded, defaulting to inclusion if not specified.\u003c/p\u003e\n"]]],["The document details `MobileApplicationTargeting`, enabling line items to target or exclude users' mobile applications. Key components include `mobileApplicationIds`, an array of application IDs for targeting, and `isTargeted`, a boolean to specify inclusion or exclusion. This functionality is accessible through various services like `AdRuleService`, `LineItemService`, `NativeStyleService`, and others. The `Targeting` dependency is related to `LineItemService`. The namespace for this targeting method is provided.\n"],null,["# type MobileApplicationTargeting (v202411)\n\n**Service** \n[AdRuleService](/ad-manager/api/reference/v202411/AdRuleService.MobileApplicationTargeting) [AdjustmentService](/ad-manager/api/reference/v202411/AdjustmentService.MobileApplicationTargeting) [ForecastService](/ad-manager/api/reference/v202411/ForecastService.MobileApplicationTargeting) **LineItemService** [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/LineItemService.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/LineItemService.LineItem). |\n| ### `isTargeted` | ` `xsd:`boolean` Indicates whether mobile apps should be targeted or excluded. This attribute is optional and defaults to `true`. |"]]