Hello,

The full required format is documented 
here: 
https://developers.google.com/adwords/api/docs/guides/reporting#prepare_the_request

If the documentation is not providing you enough help to successfully make 
the request, then I sincerely suggest using the PHP client library I linked 
in my previous post which handles all the implementation details for you 
and includes specific examples showing how to make successful requests. 
There is no better resource than a fully functioning library and example 
that already does exactly what you want that I can link.

PHP Library homepage with README for setup 
information: https://github.com/googleads/googleads-php-lib
Most recent release 
download: https://github.com/googleads/googleads-php-lib/releases/tag/12.0.0
Fully functional example that successfully downloads a 
report: 
https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201607/Reporting/DownloadCriteriaReport.php

Regards,
Mike, AdWords API Team

On Wednesday, August 31, 2016 at 9:01:30 AM UTC-4, adwo...@prime-ltd.su 
wrote:
>
> how do I make a request, I do not understand it:
>
> <reportDefinition xmlns="https://adwords.google.com/api/adwords/cm/v201506";>
>   <selector>
>     <fields>CampaignId</fields>
>     <fields>Id</fields>
>     <fields>Impressions</fields>
>     <fields>Clicks</fields>
>     <fields>Cost</fields>
>     <predicates>
>       <field>Status</field>
>       <operator>IN</operator>
>       <values>ENABLED</values>
>       <values>PAUSED</values>
>     </predicates>
>   </selector>
>   <reportName>Custom Adgroup Performance Report</reportName>
>   <reportType>ADGROUP_PERFORMANCE_REPORT</reportType>
>   <dateRangeType>LAST_7_DAYS</dateRangeType>
>   <downloadFormat>CSV</downloadFormat>
> </reportDefinition>
>
> query returns:
>
> string(63) "!!!2|||-1|||Report request does not include report ID or XML???"
>
> please write a request where I insert the token and get a report.
>
> then you can just write a query that I need, all XML in which I insert a 
> token and send it.
>
> вторник, 2 августа 2016 г., 11:02:29 UTC+3 пользователь 
> adw...@prime-ltd.su написал:
>>
>> Добрый день! напишите пожалуйста пример как можно получить остаток 
>> баланса на аккаунте adwords?
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/62952875-af9e-4464-9767-a5557683046d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to