How can I get campaignId, campaignName, total clicks, total impressions

2014-09-26 Thread Karen Martirosyan
Hi, 
I am using php adwords api. 
I have 2 questions.
1. How can I get these fields campaignName, total clicks, total 
impressions. Via ReportDefinitionService we can save the file, but is there 
a way without saving get data.
2. How can I get  'Headline', 'Id', 'Description1', 'Description2' by 
campaignId (now I am using 2 requests: via AdGroupService I am getting all 
AdGropIds,  and via AdGroupAdService what I need)

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 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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/5b2e6632-4ce3-456c-bec9-b5a0a301992e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How can I get campaignId, campaignName, total clicks, total impressions

2014-09-26 Thread Josh Radcliff (AdWords API Team)
Hi,

Using the PHP library there is no way (yet) to get the stream of data 
without first writing to a file, so you'll have to first download the 
report to a file, and then read the file contents. We're aware that there's 
interest in adding this functionality and are working on it.

Regarding your other questions:

1. Campaign level data is available in the Campaign Performance Report 
. 
The fields for what you want are *CampaignName*, *Cost*, and *Impressions*.
2. The Ad Performance Report 
 will 
return these fields.

If you want to see all campaigns (#1) and ads (#2), whether they have 
impressions or not, make sure you include zero impressions 

.

Cheers,
Josh, AdWords API Team

On Thursday, September 25, 2014 1:36:58 PM UTC-4, Karen Martirosyan wrote:
>
> Hi, 
> I am using php adwords api. 
> I have 2 questions.
> 1. How can I get these fields campaignName, total clicks, total 
> impressions. Via ReportDefinitionService we can save the file, but is there 
> a way without saving get data.
> 2. How can I get  'Headline', 'Id', 'Description1', 'Description2' by 
> campaignId (now I am using 2 requests: via AdGroupService I am getting all 
> AdGropIds,  and via AdGroupAdService what I need)
>
> 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 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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/2cf322bf-8b4b-4405-a5b8-5713f8fb23c3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How can I get campaignId, campaignName, total clicks, total impressions

2014-10-16 Thread Irfan Rafiq
Hi Josh,

The API has 2 field names: "Cost" & "TotalCost" under the report 
"CAMPAIGN_PERFORMANCE_REPORT". I have pulled data for these 2 data fields 
they are the same, I suspect one will get depreciated? Which one should we 
use?

Thanks
Irfan

On Friday, September 26, 2014 7:55:27 PM UTC+1, Josh Radcliff (AdWords API 
Team) wrote:
>
> Hi,
>
> Using the PHP library there is no way (yet) to get the stream of data 
> without first writing to a file, so you'll have to first download the 
> report to a file, and then read the file contents. We're aware that there's 
> interest in adding this functionality and are working on it.
>
> Regarding your other questions:
>
> 1. Campaign level data is available in the Campaign Performance Report 
> . 
> The fields for what you want are *CampaignName*, *Cost*, and *Impressions*
> .
> 2. The Ad Performance Report 
>  will 
> return these fields.
>
> If you want to see all campaigns (#1) and ads (#2), whether they have 
> impressions or not, make sure you include zero impressions 
> 
> .
>
> Cheers,
> Josh, AdWords API Team
>
> On Thursday, September 25, 2014 1:36:58 PM UTC-4, Karen Martirosyan wrote:
>>
>> Hi, 
>> I am using php adwords api. 
>> I have 2 questions.
>> 1. How can I get these fields campaignName, total clicks, total 
>> impressions. Via ReportDefinitionService we can save the file, but is there 
>> a way without saving get data.
>> 2. How can I get  'Headline', 'Id', 'Description1', 'Description2' by 
>> campaignId (now I am using 2 requests: via AdGroupService I am getting all 
>> AdGropIds,  and via AdGroupAdService what I need)
>>
>> Thanks... 
>>
>>
>>
-- 

--
This is an e-mail from the company Just-Eat Holding Ltd. This e-mail may 
contain confidential information and/or privileged or personal advice. This 
e-mail is intended for the addressee(s) stated above only. If you receive 
this e-mail by mistake, please return it to Just-Eat Holding Ltd without 
producing, distributing or retaining copies hereof. Thank you.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/eb50243b-8a47-4547-bb1a-41eb79f9283f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How can I get campaignId, campaignName, total clicks, total impressions

2014-10-16 Thread Emre Akkuş


16 Ekim 2014 Perşembe 16:13:46 UTC+3 tarihinde Irfan Rafiq yazdı:
>
> Hi Josh,
>
> The API has 2 field names: "Cost" & "TotalCost" under the report 
> "CAMPAIGN_PERFORMANCE_REPORT". I have pulled data for these 2 data fields 
> they are the same, I suspect one will get depreciated? Which one should we 
> use?
>
> Thanks
> Irfan
>
> On Friday, September 26, 2014 7:55:27 PM UTC+1, Josh Radcliff (AdWords API 
> Team) wrote:
>>
>> Hi,
>>
>> Using the PHP library there is no way (yet) to get the stream of data 
>> without first writing to a file, so you'll have to first download the 
>> report to a file, and then read the file contents. We're aware that there's 
>> interest in adding this functionality and are working on it.
>>
>> Regarding your other questions:
>>
>> 1. Campaign level data is available in the Campaign Performance Report 
>> . 
>> The fields for what you want are *CampaignName*, *Cost*, and 
>> *Impressions*.
>> 2. The Ad Performance Report 
>>  will 
>> return these fields.
>>
>> If you want to see all campaigns (#1) and ads (#2), whether they have 
>> impressions or not, make sure you include zero impressions 
>> 
>> .
>>
>> Cheers,
>> Josh, AdWords API Team
>>
>> On Thursday, September 25, 2014 1:36:58 PM UTC-4, Karen Martirosyan wrote:
>>>
>>> Hi, 
>>> I am using php adwords api. 
>>> I have 2 questions.
>>> 1. How can I get these fields campaignName, total clicks, total 
>>> impressions. Via ReportDefinitionService we can save the file, but is there 
>>> a way without saving get data.
>>> 2. How can I get  'Headline', 'Id', 'Description1', 'Description2' by 
>>> campaignId (now I am using 2 requests: via AdGroupService I am getting all 
>>> AdGropIds,  and via AdGroupAdService what I need)
>>>
>>> Thanks... 
>>>
>>>

Hi Irfan..
 They look same because you probably have 1 campaign returned in that 
request as a response. You can use TotalCost field when you have more than 
1 Campaign on Account or when you try to get daily data which can be in any 
interval

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/401d7353-19eb-4e2d-ab6e-e63468d68827%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How can I get campaignId, campaignName, total clicks, total impressions

2014-10-17 Thread Josh Radcliff (AdWords API Team)
Hi Irfan,

I took a look at the UI and the descriptions for these two fields are:

*Total Cost:*
The total aggregated cost, which includes total click costs and any other 
costs, such as phone cost.

*Cost:*
The sum of your cost-per-click (CPC) and cost-per-thousand impressions 
(CPM) costs during this period. 
What's not included: Other costs such as cost-per-call aren't included. For 
a sum of all costs, use the Total Cost column. 

Cheers,
Josh, AdWords API Team

On Thursday, October 16, 2014 9:25:51 AM UTC-4, Emre Akkuş wrote:
>
>
>
> 16 Ekim 2014 Perşembe 16:13:46 UTC+3 tarihinde Irfan Rafiq yazdı:
>>
>> Hi Josh,
>>
>> The API has 2 field names: "Cost" & "TotalCost" under the report 
>> "CAMPAIGN_PERFORMANCE_REPORT". I have pulled data for these 2 data fields 
>> they are the same, I suspect one will get depreciated? Which one should we 
>> use?
>>
>> Thanks
>> Irfan
>>
>> On Friday, September 26, 2014 7:55:27 PM UTC+1, Josh Radcliff (AdWords 
>> API Team) wrote:
>>>
>>> Hi,
>>>
>>> Using the PHP library there is no way (yet) to get the stream of data 
>>> without first writing to a file, so you'll have to first download the 
>>> report to a file, and then read the file contents. We're aware that there's 
>>> interest in adding this functionality and are working on it.
>>>
>>> Regarding your other questions:
>>>
>>> 1. Campaign level data is available in the Campaign Performance Report 
>>> . 
>>> The fields for what you want are *CampaignName*, *Cost*, and 
>>> *Impressions*.
>>> 2. The Ad Performance Report 
>>>  will 
>>> return these fields.
>>>
>>> If you want to see all campaigns (#1) and ads (#2), whether they have 
>>> impressions or not, make sure you include zero impressions 
>>> 
>>> .
>>>
>>> Cheers,
>>> Josh, AdWords API Team
>>>
>>> On Thursday, September 25, 2014 1:36:58 PM UTC-4, Karen Martirosyan 
>>> wrote:

 Hi, 
 I am using php adwords api. 
 I have 2 questions.
 1. How can I get these fields campaignName, total clicks, total 
 impressions. Via ReportDefinitionService we can save the file, but is 
 there 
 a way without saving get data.
 2. How can I get  'Headline', 'Id', 'Description1', 'Description2' by 
 campaignId (now I am using 2 requests: via AdGroupService I am getting all 
 AdGropIds,  and via AdGroupAdService what I need)

 Thanks... 


>
> Hi Irfan..
>  They look same because you probably have 1 campaign returned in that 
> request as a response. You can use TotalCost field when you have more than 
> 1 Campaign on Account or when you try to get daily data which can be in any 
> interval
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a1fb1c5e-a627-44e6-80c9-d3ab0334877f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How can I get campaignId, campaignName, total clicks, total impressions

2017-03-27 Thread dore
Hello,

sorry to bump this old topic but I thought I'd use it since the question is 
the same.

I'm using the AdWords API Python library, 'v201702', and I'm trying to get 
impressions for a campaign but so far the only way I found to do this is 
via the report download.

Is it possible to just retrieve the data without downloading a file?

I'm taking my first steps with the API so maybe I just haven't found how to 
this yet. Tks a lot for the help.

Bernardo Doré

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/e191446d-e9de-4360-a010-dc6f05912df8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How can I get campaignId, campaignName, total clicks, total impressions

2017-03-28 Thread 'Josh Radcliff (AdWords API Team)' via AdWords API Forum
Hi Bernardo,

The only way to get stats such as impressions, clicks, cost, etc., from the 
AdWords API is through report requests. However, you are not required to 
download the data to a file. For example, you could read the stream of 
results and do your own custom processing, similar to what is shown in the 
download_criteria_report_as_stream_with_awql.py 
example 

.

Cheers,
Josh, AdWords API Team

On Monday, March 27, 2017 at 9:38:42 PM UTC-4, d...@winsocial.com.br wrote:
>
> Hello,
>
> sorry to bump this old topic but I thought I'd use it since the question 
> is the same.
>
> I'm using the AdWords API Python library, 'v201702', and I'm trying to get 
> impressions for a campaign but so far the only way I found to do this is 
> via the report download.
>
> Is it possible to just retrieve the data without downloading a file?
>
> I'm taking my first steps with the API so maybe I just haven't found how 
> to this yet. Tks a lot for the help.
>
> Bernardo Doré
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d0775b2a-4628-4f58-b24a-d8c61811aab6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.