Skip to content

Commit e033fb4

Browse files
authored
Merge pull request #44 from BingAds/dec2017-update
Dec2017 update
2 parents 5eb85a5 + a7d0a3e commit e033fb4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+50
-119
lines changed

samples/AuthHelper.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,5 +126,3 @@ static function WriteOAuthRefreshToken($refreshToken)
126126
return;
127127
}
128128
}
129-
130-
?>

samples/V11/AdExtensions.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -578,5 +578,3 @@ function GetSampleSitelink2AdExtensions()
578578

579579
return $adExtensions;
580580
}
581-
582-
?>

samples/V11/AdInsightHelper.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,5 +229,3 @@ static function OutputBudgetPoint($budgetPoint)
229229
}
230230

231231
}
232-
233-
?>

samples/V11/BudgetOpportunities.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,5 +187,3 @@
187187
print $e->getTraceAsString()."\n\n";
188188
}
189189
}
190-
191-
?>

samples/V11/CampaignManagementHelper.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1585,7 +1585,7 @@ static function OutputProductPartition($criterion)
15851585
{
15861586
print("Condition:\n");
15871587
printf("Operand: %s\n", $criterion->Condition->Operand);
1588-
printf("Attribute: %s\n", isset($criterion->Condition->Attribute) ?? null);
1588+
printf("Attribute: %s\n", $criterion->Condition->Attribute);
15891589
}
15901590
}
15911591
}
@@ -1618,7 +1618,7 @@ static function OutputWebpage($criterion)
16181618
foreach ($criterion->Parameter->Conditions->WebpageCondition as $webpageCondition)
16191619
{
16201620
printf("Operand: %s\n", $webpageCondition->Operand);
1621-
printf("Attribute: %s\n", isset($webpageCondition->Attribute) ?? null);
1621+
printf("Argument: %s\n", $webpageCondition->Argument);
16221622
}
16231623
}
16241624
}
@@ -2060,5 +2060,3 @@ static function StripEncoding($object)
20602060
}
20612061
}
20622062
}
2063-
2064-
?>

samples/V11/ConversionGoals.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -517,5 +517,3 @@
517517
print $e->getTraceAsString()."\n\n";
518518
}
519519
}
520-
521-
?>

samples/V11/CustomerManagementHelper.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,5 +231,3 @@ static function OutputPartialErrors($operationErrors, $partialErrors)
231231
}
232232

233233
}
234-
235-
?>

samples/V11/CustomerSignup.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,5 +258,3 @@
258258
print $e->getTraceAsString()."\n\n";
259259
}
260260
}
261-
262-
?>

samples/V11/DynamicSearchAds.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -586,5 +586,3 @@
586586
print $e->getTraceAsString()."\n\n";
587587
}
588588
}
589-
590-
?>

samples/V11/GeographicalLocations.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,5 +191,3 @@ function DownloadFile($fileUrl){
191191
unlink($GLOBALS['TempFile']);
192192
}
193193
}
194-
195-
?>

0 commit comments

Comments
 (0)