Dealing with Misspellings and High Search Volume from TargetingIdeaService

2017-02-13 Thread justin . pacholka
We're dealing with an issue where if we directly check a singular keyword 
with the TargetingIdeaService and that word is misspelled we get returned 
the search volume for the correct spelling of the keyword. This is messing 
with us because we'll go add the misspelling to our account thinking it has 
a high search volume when really it's a misspelling. Although the API is 
obviously different than the Adwords Keyword Tool, we noticed with the 
keyword tool if check a singular keyword that may be misspelled it'll 
actually return the correct spelling of the term. I'm not sure if this is a 
bug with the API or something we can correct. Right now we're running 
everything through spellchecking software to correct it, but it's not as 
perfect as Google. To give you an example, I've shown Gaames and Games 
below. Both return same volume of searches despite Gaames being an obvious 
misspelling. Any way to fix this, or some parameter we're missing?

Keyword: Gaames

Keyword idea with text 'gaames', category IDs (13377, 10019, 10885, 11942, 
13418, 12204, 10125, 11950, 10672, 10007, 10167, 10168, 13785, 13691, 
10108, 10013, 13694, 10015) and average monthly search volume '612' was 
found.
Array
(
[KEYWORD_TEXT] => StringAttribute Object
(
[value] => gaames
[AttributeType] => StringAttribute
[_parameterMap:Attribute:private] => Array
(
[Attribute.Type] => AttributeType
)

)

[CATEGORY_PRODUCTS_AND_SERVICES] => IntegerSetAttribute Object
(
[value] => Array
(
[0] => 13377
[1] => 10019
[2] => 10885
[3] => 11942
[4] => 13418
[5] => 12204
[6] => 10125
[7] => 11950
[8] => 10672
[9] => 10007
[10] => 10167
[11] => 10168
[12] => 13785
[13] => 13691
[14] => 10108
[15] => 10013
[16] => 13694
[17] => 10015
)

[AttributeType] => IntegerSetAttribute
[_parameterMap:Attribute:private] => Array
(
[Attribute.Type] => AttributeType
)

)

[COMPETITION] => DoubleAttribute Object
(
[value] => 0.35477738033287
[AttributeType] => DoubleAttribute
[_parameterMap:Attribute:private] => Array
(
[Attribute.Type] => AttributeType
)

)

[AVERAGE_CPC] => MoneyAttribute Object
(
[value] => Money Object
(
[microAmount] => 294758
[ComparableValueType] => Money
[_parameterMap:ComparableValue:private] => Array
(
[ComparableValue.Type] => ComparableValueType
)

)

[AttributeType] => MoneyAttribute
[_parameterMap:Attribute:private] => Array
(
[Attribute.Type] => AttributeType
)

)

[IDEA_TYPE] => IdeaTypeAttribute Object
(
[value] => KEYWORD
[AttributeType] => IdeaTypeAttribute
[_parameterMap:Attribute:private] => Array
(
[Attribute.Type] => AttributeType
)

)

[SEARCH_VOLUME] => LongAttribute Object
(
[value] => 612
[AttributeType] => LongAttribute
[_parameterMap:Attribute:private] => Array
(
[Attribute.Type] => AttributeType
)

)

)


Keyword: Games

eyword idea with text 'games', category IDs (13377, 10019, 10885, 11942, 
13418, 12204, 10125, 11950, 10672, 10007, 10167, 10168, 13785, 13691, 
10108, 10013, 13694, 10015) and average monthly search volume '612' was 
found.
Array
(
[KEYWORD_TEXT] => StringAttribute Object
(
[value] => games
[AttributeType] => StringAttribute
[_parameterMap:Attribute:private] => Array
(
[Attribute.Type] => AttributeType
)

)

[CATEGORY_PRODUCTS_AND_SERVICES] => IntegerSetAttribute Object
(
[value] => Array
(
[0] => 13377
[1] => 10019
[2] => 10885
[3] => 11942
[4] => 13418
[5] => 12204
[6] => 10125
[7] => 11950
[8] => 10672
[9] => 10007
[10] => 10167
  

Re: Migration to v201603 error

2016-05-16 Thread Justin Pacholka
To follow up, to solve this Laravel problem, I'm guessing you installed 
from Composer. You need to add the following to composer.json (replacing 
the version # at the end with the version you're using), I missed that in 
the github instructions, all is working fine now in Laravel: 

"classmap": [
  "vendor/googleads/googleads-php-lib/src/Google/Api/Ads/AdWords/Util/v201603"
]




On Friday, April 29, 2016 at 7:16:58 PM UTC-5, Josh Radcliff (AdWords API 
Team) wrote:
>
> Hi,
>
> Glad to hear that the example worked. Since that ran OK, the issue seems 
> to be with your Laravel setup. My PHP expertise is limited, so bear with me 
> :), but have you completed the following steps from the README 
>  (or their Laravel 
> equivalents) in that environment?
>
> To install the client library, either copy the lib/ folder into where you 
>> store your PHP source files that is on your PHP include path, or add the 
>> current directory path of the lib/ folder to your PHP include path.
>
>
> Thanks,
> Josh, AdWords API Team
>
> On Friday, April 29, 2016 at 5:23:15 PM UTC-4, Sabri Karagönen wrote:
>>
>> Tried it and example file worked successfully. 
>>
>> Actually I'm using laravel and wrote AdWords report functions in a helper 
>> file. Then, call these helper functions from Controller files.
>>
>> It was working before version update as I mentioned above. 
>>
>> 29 Nisan 2016 Cuma 21:41:41 UTC+3 tarihinde Josh Radcliff (AdWords API 
>> Team) yazdı:
>>>
>>> Hi,
>>>
>>> Are you running a script you created or the DownloadCriteriaReport.php 
>>> example from the library 
>>> ?
>>>  
>>> If you're running your own script, could you try the example from the 
>>> library and let me know if you see the same error?
>>>
>>> Thanks,
>>> Josh, AdWords API Team
>>>
>>> On Friday, April 29, 2016 at 2:02:56 PM UTC-4, Sabri Karagönen wrote:

 Hi Josh,

 Of course, i tried it and I got 'v201603'. I also changed versions to 
 201601 and 201509, it didn't change anything.
 Interestingly, I found that 
 When I use Selector after ManagedCustomerService, it works:
 $managedCustomerService = $user->GetService('ManagedCustomerService', 
 'v201603');
 
 $selector = new Selector();

 However, it doesn't work with ReportDefinitionService: (There is no 
 problem with ADWORDS_VERSION, it prints v201603)

 $campaignService = $user->GetService('ReportDefinitionService', 
 ADWORDS_VERSION);
 
 $selector = new Selector();




 29 Nisan 2016 Cuma 19:38:29 UTC+3 tarihinde Josh Radcliff (AdWords API 
 Team) yazdı:
>
> Hi Sabri, Anti,
>
> Could you add a line to print ADWORDS_VERSION before the line that's 
> failing? I want to confirm that it's set to "v201603".
>
> Thanks,
> Josh, AdWords API Team
>
> On Thursday, April 28, 2016 at 4:16:22 PM UTC-4, Sabri Karagönen wrote:
>>
>> Hi,
>>
>> I'm having same problem. 
>> It just occured after I updated AdWords API via Composer from v6.6 to 
>> last version. So I don't think there is a missing file, etc.
>>
>> $campaignService = $user->GetService('ReportDefinitionService', 
>> ADWORDS_VERSION);
>> 
>> *$selector = new Selector();*
>> $selector->fields = $reportFields;
>>
>> Error is threw at second line that is bold. 
>>
>> Thanks, 
>> Sabri
>>
>>
>> 25 Nisan 2016 Pazartesi 15:52:25 UTC+3 tarihinde Anti Lolo yazdı:
>>>
>>> I got this error after set up my php adwords api  from v201506 to 
>>> new v201603.
>>>
>>> Fatal error: Class Selector not found in project 
>>>
>>> So uncommon error , did not find anything similar to find a 
>>> solution.  
>>>
>>> Please help.
>>>
>>> Thanks
>>> Anti 
>>>
>>>
>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 

Re: Migration to v201603 error

2016-05-16 Thread Justin Pacholka
@Sabri, were you able to solve this problem? Running into same thing with 
Laravel and the Selector() using ReportDefinitionService

- Justin

On Friday, April 29, 2016 at 7:16:58 PM UTC-5, Josh Radcliff (AdWords API 
Team) wrote:
>
> Hi,
>
> Glad to hear that the example worked. Since that ran OK, the issue seems 
> to be with your Laravel setup. My PHP expertise is limited, so bear with me 
> :), but have you completed the following steps from the README 
>  (or their Laravel 
> equivalents) in that environment?
>
> To install the client library, either copy the lib/ folder into where you 
>> store your PHP source files that is on your PHP include path, or add the 
>> current directory path of the lib/ folder to your PHP include path.
>
>
> Thanks,
> Josh, AdWords API Team
>
> On Friday, April 29, 2016 at 5:23:15 PM UTC-4, Sabri Karagönen wrote:
>>
>> Tried it and example file worked successfully. 
>>
>> Actually I'm using laravel and wrote AdWords report functions in a helper 
>> file. Then, call these helper functions from Controller files.
>>
>> It was working before version update as I mentioned above. 
>>
>> 29 Nisan 2016 Cuma 21:41:41 UTC+3 tarihinde Josh Radcliff (AdWords API 
>> Team) yazdı:
>>>
>>> Hi,
>>>
>>> Are you running a script you created or the DownloadCriteriaReport.php 
>>> example from the library 
>>> ?
>>>  
>>> If you're running your own script, could you try the example from the 
>>> library and let me know if you see the same error?
>>>
>>> Thanks,
>>> Josh, AdWords API Team
>>>
>>> On Friday, April 29, 2016 at 2:02:56 PM UTC-4, Sabri Karagönen wrote:

 Hi Josh,

 Of course, i tried it and I got 'v201603'. I also changed versions to 
 201601 and 201509, it didn't change anything.
 Interestingly, I found that 
 When I use Selector after ManagedCustomerService, it works:
 $managedCustomerService = $user->GetService('ManagedCustomerService', 
 'v201603');
 
 $selector = new Selector();

 However, it doesn't work with ReportDefinitionService: (There is no 
 problem with ADWORDS_VERSION, it prints v201603)

 $campaignService = $user->GetService('ReportDefinitionService', 
 ADWORDS_VERSION);
 
 $selector = new Selector();




 29 Nisan 2016 Cuma 19:38:29 UTC+3 tarihinde Josh Radcliff (AdWords API 
 Team) yazdı:
>
> Hi Sabri, Anti,
>
> Could you add a line to print ADWORDS_VERSION before the line that's 
> failing? I want to confirm that it's set to "v201603".
>
> Thanks,
> Josh, AdWords API Team
>
> On Thursday, April 28, 2016 at 4:16:22 PM UTC-4, Sabri Karagönen wrote:
>>
>> Hi,
>>
>> I'm having same problem. 
>> It just occured after I updated AdWords API via Composer from v6.6 to 
>> last version. So I don't think there is a missing file, etc.
>>
>> $campaignService = $user->GetService('ReportDefinitionService', 
>> ADWORDS_VERSION);
>> 
>> *$selector = new Selector();*
>> $selector->fields = $reportFields;
>>
>> Error is threw at second line that is bold. 
>>
>> Thanks, 
>> Sabri
>>
>>
>> 25 Nisan 2016 Pazartesi 15:52:25 UTC+3 tarihinde Anti Lolo yazdı:
>>>
>>> I got this error after set up my php adwords api  from v201506 to 
>>> new v201603.
>>>
>>> Fatal error: Class Selector not found in project 
>>>
>>> So uncommon error , did not find anything similar to find a 
>>> solution.  
>>>
>>> Please help.
>>>
>>> Thanks
>>> Anti 
>>>
>>>
>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ce32898a-8551-4a86-be39-d4f12f76b463%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.