Hi,

>From The Above Code 

https://developers.google.com/adwords/api/docs/reference/v201206/AdGroupCriterionService.QualityInfo

gives the same info as displayed on the web interface (when we hover the 
mouse over the keyword's 'bubble' under the 'Status' column).

However, the values displayed on the web interface (for each parameter) can 
be one of 3:

   1. Above average
   2. Average
   3. Below average


using this code we are getting only boolean values we are not getting the 
above values

is there any other service to get exact values

On Thursday, 6 March 2014 12:49:06 UTC-5, [email protected] wrote:
>
> I got it.
>
>
>
> require_once dirname(dirname(__FILE__)) . '/init.php';
> // Enter parameters required by the code example.
> $adGroupId = '11172758199';
>
> function GetKeywordsExample(AdWordsUser $user, $adGroupId) {
>   // Get the service, which loads the required classes.
>   $adGroupCriterionService =$user->GetService('AdGroupCriterionService', 
> ADWORDS_VERSION);
>
>   // Create selector.
>   $selector = new Selector();
>   $selector->fields = 
> array('KeywordText','KeywordMatchType','QualityScore','IsKeywordAdRelevanceAcceptable','IsLandingPageLatencyAcceptable','IsLandingPageQualityAcceptable');
>
>   // Create predicates.
>   $selector->predicates[] = new Predicate('AdGroupId', 'IN', 
> array($adGroupId));
>
>   // Create paging controls.
>   $selector->paging = new Paging(0, 
> AdWordsConstants::RECOMMENDED_PAGE_SIZE);
>
>   do {
>     // Make the get request.
>     $page = $adGroupCriterionService->get($selector);
>
>     // Display results.
> /*     if (isset($page->entries)) {
>       foreach ($page->entries as $adGroupCriterion) {
>       printf("Keyword with text '%s', match type '%s', and ID '%s' was 
> '%s'"
>           . "found.\n", $adGroupCriterion->criterion->text,
>           $adGroupCriterion->criterion->matchType,
>           $adGroupCriterion->criterion->id);
>       }
>     } else {
>       print "No keywords were found.\n";
>     } */
>  echo '<pre>';
> print_r($page->entries);
>
>     // Advance the paging index.
>     $selector->paging->startIndex += 
> AdWordsConstants::RECOMMENDED_PAGE_SIZE;
>   } while ($page->totalNumEntries > $selector->paging->startIndex);
> }
>
> // Don't run the example if the file is being included.
> if (__FILE__ != realpath($_SERVER['PHP_SELF'])) {
>   //return;
> }
>
> try {
>   // Get AdWordsUser from credentials in "../auth.ini"
>   // relative to the AdWordsUser.php file's directory.
>   $user = new AdWordsUser();
>
>   // Log every SOAP XML request and response.
>   $user->LogAll();
>
>   // Run the example.
>   GetKeywordsExample($user, $adGroupId);
> } catch (Exception $e) {
>   printf("An error has occurred: %s\n", $e->getMessage());
> }
>
>
>
> On Thursday, March 6, 2014 12:24:35 PM UTC-5, [email protected]:
>>
>> Hey,
>>
>> Is there any PHP example how can I retrieve that data.
>>
>> I'm having hard time to get it.
>>
>>
>> On Wednesday, March 5, 2014 5:15:50 PM UTC-5, Ray Tsang (AdWords API 
>> Team) wrote:
>>>
>>> Lasha,
>>>
>>> You'll need to use the AdGroupCriterionService, and check the selector 
>>> documentations<https://developers.google.com/adwords/api/docs/appendix/selectorfields#v201309-AdGroupCriterionService>
>>> .
>>>
>>> Cheers,
>>>
>>> Ray
>>>
>>> On Wednesday, March 5, 2014 5:05:19 PM UTC-5, [email protected]:
>>>>
>>>> Thanks,
>>>>
>>>> I use PHP to get Reports. Which approach should I use to get 
>>>> QualityInfo<https://developers.google.com/adwords/api/docs/reference/v201309/AdGroupCriterionService.QualityInfo>
>>>> .
>>>>
>>>> I'm having difficulty to find one.
>>>>
>>>> Thanks ahead
>>>>
>>>> On Wednesday, March 5, 2014 1:49:34 PM UTC-5, Ray Tsang (AdWords API 
>>>> Team) wrote:
>>>>>
>>>>> Lasha,
>>>>>
>>>>> Thanks for confirming.  The information in 
>>>>> QualityInfo<https://developers.google.com/adwords/api/docs/reference/v201309/AdGroupCriterionService.QualityInfo>is
>>>>>  the data that are available at the moment.
>>>>>
>>>>> Cheers,
>>>>>
>>>>> Ray
>>>>>
>>>>>
>>>>> On Tuesday, March 4, 2014 6:19:27 PM UTC-5, [email protected]:
>>>>>>
>>>>>> Hey
>>>>>>
>>>>>> When you got to keywords tab from UI and hover on one of the keywords 
>>>>>> status you see it there.
>>>>>>
>>>>>> Quality score Learn 
>>>>>> more<https://support.google.com/adwords/answer/140351?&hl=en_US>
>>>>>>  
>>>>>> 8/10
>>>>>>  
>>>>>>
>>>>>>    - Expected clickthrough 
>>>>>> rate:<https://support.google.com/adwords/answer/1659696?&hl=en_US>
>>>>>>     Average
>>>>>>    - Ad 
>>>>>> relevance:<https://support.google.com/adwords/answer/1659752?&hl=en_US>
>>>>>>     Above average
>>>>>>    - Landing page 
>>>>>> experience:<https://support.google.com/adwords/answer/1659694?&hl=en_US>
>>>>>>     Above average
>>>>>>    
>>>>>>
>>>>>>
>>>>>> On Tuesday, February 11, 2014 11:59:31 AM UTC-5, Ray Tsang (AdWords 
>>>>>> API Team) wrote:
>>>>>>>
>>>>>>> Lasha,
>>>>>>>
>>>>>>> Could I trouble you to confirm where in the AdWords UI are you 
>>>>>>> seeing these metrics?
>>>>>>>
>>>>>>> Thanks,
>>>>>>>
>>>>>>> --
>>>>>>> Ray Tsang (AdWords API Advisor)
>>>>>>>
>>>>>>>
>>>>>>> On Friday, February 7, 2014 1:11:50 PM UTC-5, 
>>>>>>> [email protected] wrote:
>>>>>>>>
>>>>>>>> Hello
>>>>>>>>
>>>>>>>> I'm trying to find the way to get next metrics
>>>>>>>>
>>>>>>>> Expected clickthrough rate
>>>>>>>> Ad relevance
>>>>>>>> Landing page experience 
>>>>>>>>
>>>>>>>> Do you know if it's available trough API or not? 
>>>>>>>>
>>>>>>>> If not do you know if it will be anytime soon?
>>>>>>>>
>>>>>>>>
>>>>>>>> Thanks
>>>>>>>>
>>>>>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to