22
33namespace SchulzeFelix \AdWords ;
44
5- use Google \AdsApi \AdWords \v201710 \cm \ApiException ;
5+ use Google \AdsApi \AdWords \v201710 \cm \Paging ;
6+ use Google \AdsApi \AdWords \v201710 \o \IdeaType ;
67use Google \AdsApi \AdWords \v201710 \cm \Language ;
78use Google \AdsApi \AdWords \v201710 \cm \Location ;
9+ use Google \AdsApi \AdWords \v201710 \cm \ApiException ;
10+ use Google \AdsApi \AdWords \v201710 \o \AttributeType ;
811use Google \AdsApi \AdWords \v201710 \cm \NetworkSetting ;
9- use Google \AdsApi \AdWords \v201710 \cm \Paging ;
1012use Google \AdsApi \AdWords \v201710 \cm \RateExceededError ;
11- use Google \AdsApi \AdWords \v201710 \o \AttributeType ;
12- use Google \AdsApi \AdWords \v201710 \o \IdeaTextFilterSearchParameter ;
13- use Google \AdsApi \AdWords \v201710 \o \IdeaType ;
13+ use Google \AdsApi \AdWords \v201710 \o \TargetingIdeaService ;
14+ use Google \AdsApi \AdWords \v201710 \o \TargetingIdeaSelector ;
15+ use Google \AdsApi \AdWords \v201710 \o \NetworkSearchParameter ;
1416use Google \AdsApi \AdWords \v201710 \o \LanguageSearchParameter ;
1517use Google \AdsApi \AdWords \v201710 \o \LocationSearchParameter ;
16- use Google \AdsApi \AdWords \v201710 \o \NetworkSearchParameter ;
18+ use Google \AdsApi \AdWords \v201710 \o \IdeaTextFilterSearchParameter ;
1719use Google \AdsApi \AdWords \v201710 \o \RelatedToQuerySearchParameter ;
18- use Google \AdsApi \AdWords \v201710 \o \TargetingIdeaSelector ;
19- use Google \AdsApi \AdWords \v201710 \o \TargetingIdeaService ;
2020
2121class AdWordsService
2222{
@@ -123,7 +123,7 @@ private function getSearchParameters(array $keywords, $languageId, $locationId,
123123 $ searchParameters = [];
124124
125125 //Create Language Parameter
126- if (!is_null ($ languageId )) {
126+ if (! is_null ($ languageId )) {
127127 $ languageParameter = new LanguageSearchParameter ();
128128 $ language = new Language ();
129129 $ language ->setId ($ languageId );
@@ -132,7 +132,7 @@ private function getSearchParameters(array $keywords, $languageId, $locationId,
132132 }
133133
134134 //Create Location Parameter
135- if (!is_null ($ locationId )) {
135+ if (! is_null ($ locationId )) {
136136 $ locationParameter = new LocationSearchParameter ();
137137 $ location = new Location ();
138138 $ location ->setId ($ locationId );
@@ -156,12 +156,12 @@ private function getSearchParameters(array $keywords, $languageId, $locationId,
156156 $ relatedToQuerySearchParameter ->setQueries ($ keywords );
157157 $ searchParameters [] = $ relatedToQuerySearchParameter ;
158158
159- if (!is_null ($ included ) || !is_null ($ excluded )) {
159+ if (! is_null ($ included ) || ! is_null ($ excluded )) {
160160 $ ideaTextFilterSearchParameter = new IdeaTextFilterSearchParameter ();
161- if (!is_null ($ included )) {
161+ if (! is_null ($ included )) {
162162 $ ideaTextFilterSearchParameter ->setIncluded ($ included );
163163 }
164- if (!is_null ($ excluded )) {
164+ if (! is_null ($ excluded )) {
165165 $ ideaTextFilterSearchParameter ->setExcluded ($ excluded );
166166 }
167167 $ searchParameters [] = $ ideaTextFilterSearchParameter ;
0 commit comments