Skip to content

Commit

Permalink
Auto-generated php SDK code update
Browse files Browse the repository at this point in the history
Summary: The controller you requested could not be found.

Reviewed By: jingping2015

Differential Revision: D10287925

fbshipit-source-id: f5d56548
  • Loading branch information
jingping2015 authored and facebook-github-bot committed Oct 10, 2018
1 parent fabd9aa commit 649e6ca
Show file tree
Hide file tree
Showing 386 changed files with 227 additions and 25,506 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,8 @@ $cursor->fetchAfter();
#### Implicit Fetching

Whenever all object connected to a parent are required (carelessly from the number of HTTP requests) implicit fetching can help reducing the amount of code required.
If cursor has Implicit Fetching enabled, while iterating (foreach, Cursor::next(), Cursor::prev()) the page end is reached, the SDK will automatically fetch and append a new page, until cursor end.
Implicit Fetching will make you lose control of the number of HTTP request that will be sent and, for this reason, is disabled by default.
If cursor has Implicit Fetching enabled, while iterating (foreach, Cursor::next(), Cursor::prev()) the page end is reached, the SDK will automatically fetch and append a new page, untill cursor end.
Implicit Fetching will make you lose controll of the number of HTTP request that will be sent and, for this reason, is disabled by default.
Implicit Fetching can be enabled for a specific cursor:

```php
Expand Down
2 changes: 1 addition & 1 deletion src/FacebookAds/ApiConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
namespace FacebookAds;
class ApiConfig {
const APIVersion = '3.1';
const SDKVersion = '3.1.6';
const SDKVersion = '3.1.7';
const TYPE_CHECKER_STRICT_MODE = false;
}
1 change: 0 additions & 1 deletion src/FacebookAds/Object/Ad.php
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,6 @@ public function updateSelf(array $fields = array(), array $params = array(), $pe
'execution_options' => 'list<execution_options_enum>',
'adlabels' => 'list<Object>',
'bid_amount' => 'int',
'redownload' => 'bool',
);
$enums = array(
'status_enum' => AdStatusValues::getInstance()->getValues(),
Expand Down
28 changes: 1 addition & 27 deletions src/FacebookAds/Object/AdAccount.php
Original file line number Diff line number Diff line change
Expand Up @@ -1123,7 +1123,6 @@ public function createAd(array $fields = array(), array $params = array(), $pend
'execution_options' => 'list<execution_options_enum>',
'adlabels' => 'list<Object>',
'bid_amount' => 'int',
'redownload' => 'bool',
'source_ad_id' => 'string',
);
$enums = array(
Expand Down Expand Up @@ -1239,7 +1238,7 @@ public function createAdSet(array $fields = array(), array $params = array(), $p
$this->assureId();

$param_types = array(
'ad_keywords' => 'map',
'ad_keywords' => 'Object',
'adlabels' => 'list<Object>',
'bid_amount' => 'int',
'bid_adjustments' => 'Object',
Expand Down Expand Up @@ -1276,7 +1275,6 @@ public function createAdSet(array $fields = array(), array $params = array(), $p
'pacing_type' => 'list<string>',
'promoted_object' => 'Object',
'rb_prediction_id' => 'string',
'redownload' => 'bool',
'rf_prediction_id' => 'string',
'source_adset_id' => 'string',
'start_time' => 'datetime',
Expand Down Expand Up @@ -3162,29 +3160,6 @@ public function createPublisherBlockList(array $fields = array(), array $params
return $pending ? $request : $request->execute();
}

public function getRateCard(array $fields = array(), array $params = array(), $pending = false) {
$this->assureId();

$param_types = array(
);
$enums = array(
);

$request = new ApiRequest(
$this->api,
$this->data['id'],
RequestInterface::METHOD_GET,
'/ratecard',
new RateCard(),
'EDGE',
RateCard::getFieldsEnum()->getValues(),
new TypeChecker($param_types, $enums)
);
$request->addParams($params);
$request->addFields($fields);
return $pending ? $request : $request->execute();
}

public function getReachEstimate(array $fields = array(), array $params = array(), $pending = false) {
$this->assureId();

Expand Down Expand Up @@ -3909,7 +3884,6 @@ public function updateSelf(array $fields = array(), array $params = array(), $pe
'agency_client_declaration' => 'map',
'business_info' => 'map',
'tos_accepted' => 'map',
'redownload' => 'bool',
'currency' => 'currency_enum',
'timezone_id' => 'unsigned int',
'end_advertiser' => 'string',
Expand Down
80 changes: 0 additions & 80 deletions src/FacebookAds/Object/AdAccountASLSchedule.php

This file was deleted.

80 changes: 0 additions & 80 deletions src/FacebookAds/Object/AdAccountAllPaymentMethods.php

This file was deleted.

91 changes: 0 additions & 91 deletions src/FacebookAds/Object/AdAccountBankInfoList.php

This file was deleted.

Loading

0 comments on commit 649e6ca

Please sign in to comment.