Returns the campaign to which this campaign-level review belongs.
Returns the end date of the campaign-level review.
Returns the end date of the campaign-level review. For instance, if the end date of the campaign-level review 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,
"CampaignReview"
.
Returns the type of this entity as a
String
, in this case,
"CampaignReview"
.
Returns the ID of the campaign-level review.
Returns the scheduling of the campaign-level review.
Returns the name of the source of the campaign-level review.
Returns the source URL of the campaign-level review.
Returns the start date of the campaign-level review.
Returns the start date of the campaign-level review. For instance, if the start date of the campaign-level review 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 text of the campaign-level review.
Returns
true
if the text of the campaign-level review is exactly quoted, or
false
if the text is paraphrased.
Returns
true
if the text of the campaign-level review is exactly quoted, or
false
if the text is paraphrased.
Returns
true
if the campaign-level review specifies mobile device preference.
Returns
true
if the campaign-level review specifies mobile device preference.
Sets the campaign-level review's end date from either an object containing year, month, and day fields, or an 8-digit string in
YYYYMMDD
format.
Sets the campaign-level review's end date from either an object containing year, month, and day fields, or an 8-digit string in
YYYYMMDD
format. For instance,
campaignReview.setEndDate("20130503");
is equivalent to
campaignReview.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 exactly quoted value of the campaign-level review.
Sets the exactly quoted value of the campaign-level review. Specify
true
if the text of the review is exactly quoted, which will result in the text being rendered with quotation marks. Specify
false
if the text of the review is paraphrased, which will result in the text being rendered without quotation marks.
Returns nothing.
Sets the campaign-level review's device preference.
Sets the campaign-level review's device preference.
Returns nothing.
Sets the campaign-level review scheduling.
Sets the campaign-level review scheduling. Scheduling of a campaign-level review allows you to control the days of week and times of day during which the campaign-level review will show alongside your ads.
Passing in an empty array clears the scheduling field, causing the campaign-level review to run at all times.
The following example sets the campaign-level review 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 }; campaignReview.setSchedules([mondayMorning, tuesdayMorning]);
Returns nothing.
Sets the name of the source of the campaign-level review.
Sets the name of the source of the campaign-level review. The combined length of sourceName and text is limited to 67 characters.
Returns nothing.
Sets the source URL of the campaign-level review.
Sets the source URL of the campaign-level review.
Returns nothing.
Sets the campaign-level review's start date from either an object containing year, month, and day fields, or an 8-digit string in
YYYYMMDD
format.
Sets the campaign-level review's start date from either an object containing year, month, and day fields, or an 8-digit string in
YYYYMMDD
format. For instance,
campaignReview.setStartDate("20130503");
is equivalent to
campaignReview.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 text of the campaign-level review.
Sets the text of the campaign-level review. The combined length of sourceName and text is limited to 67 characters.
Returns nothing.
Represents a review that has been added to a campaign as an ad review extension. Visit our Ad Extensions page for more information on reviews and other types of ad extensions.