On Saturday, February 24, 2018 at 1:33:52 AM UTC+7, Dhanya Sundararaju 
(AdWords API Team) wrote:
>
> Hi,
>
> You can refer this 
> <https://developers.google.com/adwords/api/docs/samples/java/reporting#download-a-criteria-performance-report-with-awql>
>  code 
> sample in java to run any report. Code samples in other languages are given 
> here <https://github.com/googleads>. You would just need to specify the 
> report name as ADGROUP_PERFORMANCE_REPORT 
> <https://developers.google.com/adwords/api/docs/appendix/reports/adgroup-performance-report>
>  and 
> the report fields that you need. If this does not help you, could you 
> create a new thread giving details of your report definition and the error 
> that you are getting, as this would help us to keep track of issues?
>
> Regards,
> Dhanya, AdWords API Team
>



Thanks for your help.
So i had used this code to get these field values

        $selector->setFields(array(//'AdGroupId', 'CriterionUse', 'Status',
            'CriteriaType', 'KeywordMatchType', 'KeywordText'));
        if ($doStats) {
            $selector->setFields(array_merge($selector->getFields(),
                array('AveragePosition ', 'Impressions', 'Clicks',
                    'Ctr', 'AverageCpc', 'Cost ')));
        }
 $result = $adGroupCriterionService->get($selector);
but this code show me error "Invalid field name : "AveragePosition  , 
Clicks, Impressions" and so on.
So I read this discussion and tried to understood, implement this.
But not luck yet.
So if you would like to help me and show me some example code, I will be 
very happy.
PS: I had migrated v201609 into v201710 version.

thanks

Regards
 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2605aeb3-40c0-4197-becf-39f0d2a9d1ec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Re: AdGroupA... webmaster12220
    • Re: AdG... 'Dhanya Sundararaju (AdWords API Team)' via AdWords API Forum
      • Re:... webmaster12220
        • ... 'Dhanya Sundararaju (AdWords API Team)' via AdWords API Forum
          • ... webmaster12220
            • ... 'Dhanya Sundararaju (AdWords API Team)' via AdWords API Forum

Reply via email to