Clears the link URL of the mobile app.
Clears the link URL of the mobile app. To upgrade mobile apps to final URL, first clear the link URL, then set the final URL with MobileAppUrls.setFinalUrl .
Returns nothing.
Returns the application store-specific ID of the mobile app.
Returns the application store-specific ID of the mobile app.
Returns the campaign to which this campaign-level mobile app belongs.
Returns the end date of the mobile app.
Returns the end date of the mobile app. For instance, if the end date of the mobile app is May 3, 2013, this would return the following object:
{year: 2013, month: 5, day: 3}
.
Returns the type of this entity as a
String
, in this case,
"MobileApp"
.
Returns the type of this entity as a
String
, in this case,
"MobileApp"
.
Returns the ID of the mobile app.
Returns the ID of the mobile app.
Returns the link text of the mobile app.
Returns the link text of the mobile app.
Returns the link URL of the mobile app.
Returns the link URL of the mobile app. <aside class="warning"> Deprecated. This method is deprecated. Link URLs will become read-only on July 1, 2015. We recommend that you upgrade to using final URLs instead. See Using Upgraded URLs for more information. </aside>
Returns the scheduling of the mobile app.
Returns the scheduling of the mobile app.
Returns the start date of the mobile app.
Returns the start date of the mobile app. For instance, if the start date of the mobile app is May 3, 2013, this would return the following object:
{year: 2013, month: 5, day: 3}
.
Returns stats for the specified custom date range.
Returns stats for the specified custom date range. Both parameters can be either an object containing year, month, and day fields, or an 8-digit string in
YYYYMMDD
form. For instance,
March 24th, 2013
is represented as either
{year: 2013, month: 3, day: 24}
or
"20130324"
. The date range is inclusive on both ends, so
forDateRange("20130324", "20130324")
defines a range of a single day.
Returns the application store to which the application belongs.
Returns the application store to which the application belongs. Possible return values:
"iOS", "Android"
.
Returns
true
if the mobile app specifies mobile device preference.
Returns
true
if the mobile app specifies mobile device preference.
Sets the application store-specific ID of the mobile app.
Sets the application store-specific ID of the mobile app.
Returns nothing.
Sets the mobile app's end date from either an object containing year, month, and day fields, or an 8-digit string in
YYYYMMDD
format.
Sets the mobile app's end date from either an object containing year, month, and day fields, or an 8-digit string in
YYYYMMDD
format. For instance,
mobileApp.setEndDate("20130503");
is equivalent to
mobileApp.setEndDate({year: 2013, month: 5, day: 3});
. The change will fail and report an error if:
{year: 2013, month: 5, day: 55}
),Returns nothing.
Sets the link text of the mobile app.
Sets the link text of the mobile app.
Returns nothing.
Sets the link URL of the mobile app.
Sets the link URL of the mobile app. <aside class="warning"> Deprecated. This method will be sunset when link URLs become read-only on July 1, 2015. Please use MobileAppUrls.setFinalUrl instead. See Using Upgraded URLs for more information. </aside>
Returns nothing.
Sets the mobile app's device preference.
Sets the mobile app's device preference.
Returns nothing.
Sets the mobile app scheduling.
Sets the mobile app scheduling. Scheduling of a mobile app allows you to control the days of week and times of day during which the mobile app will show alongside your ads.
Passing in an empty array clears the scheduling field, causing the mobile app to run at all times.
The following example sets the mobile app to run on Mondays and Tuesday from 8:00 to 11:00.
var mondayMorning = { dayOfWeek: "MONDAY", startHour: 8, startMinute: 0, endHour: 11, endMinute: 0 }; var tuesdayMorning = { dayOfWeek: "TUESDAY", startHour: 8, startMinute: 0, endHour: 11, endMinute: 0 }; mobileApp.setSchedules([mondayMorning, tuesdayMorning]);
Returns nothing.
Sets the mobile app's start date from either an object containing year, month, and day fields, or an 8-digit string in
YYYYMMDD
format.
Sets the mobile app's start date from either an object containing year, month, and day fields, or an 8-digit string in
YYYYMMDD
format. For instance,
mobileApp.setStartDate("20130503");
is equivalent to
mobileApp.setStartDate({year: 2013, month: 5, day: 3});
. The change will fail and report an error if:
{year: 2013, month: 5, day: 55}
),Returns nothing.
Sets the application store to which the application belongs.
Sets the application store to which the application belongs. Possible parameter values:
"iOS", "Android"
.
Returns nothing.
Provides access to the URL fields of this mobile app.
Provides access to the URL fields of this mobile app. See Using upgraded URLs for more information.
Represents a mobile app that has been added to a campaign as an ad app extension. Visit our Ad Extensions page for more information on mobile apps and other types of ad extensions.