RE: conversions with cart data

2023-09-27 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Lukasz,

Thank you for reaching out to the Google Ads API support team.

I see that you have already raised this concern on another thread with 
"Conversions with cart data" and we have already responded there for this 
issue. To avoid multiple threads on the same issue, please take a look at that 
thread and continue the discussion on the same for further updates on the issue.

This message is in relation to case "ref:_00D1U1174p._5004Q2p0QJg:ref"

Thanks,

Google Ads API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/5akXM0S1N7LS008wcAvoL9TiqFK8bHuM8RzQ%40sfdc.net.


Re: Conversions value per cost (ROAS) - Cannot select or filter

2023-05-10 Thread Zeyuan Gu
Hey, 

Were you able to pull roas (conversion_value_per_cost) from campaigns? 

On Tuesday, May 31, 2022 at 7:28:25 AM UTC-5 Hubert Jaworski wrote:

> How do I do that in Python?
>
> Here's a snippet of how I use the Python library to send requests to the 
> API:
> ga_service = googleads_client.get_service("GoogleAdsService")
> search_request = googleads_client.get_type("SearchGoogleAdsStreamRequest")
> search_request.customer_id = customer['id']
> search_request.query = query
> search_request.summary_row_setting = googleads_client.get_type(
> 'SummaryRowSettingEnum').SummaryRowSetting.SUMMARY_ROW_WITH_RESULTS
>
> stream = ga_service.search_stream(search_request)
> for batch in stream:
> (...)
>
> Not quite sure how to obtain the complete logs here :(
> czwartek, 26 maja 2022 o 07:48:18 UTC+2 adsapi napisał(a):
>
>> Hi Hubert,
>>
>> Thank you for raising your concern to the team.
>>
>> Upon checking our document 
>> , I 
>> can see that it should be supported for the said report type. However, 
>> you've encountered the error where it says that the field is not compatible 
>> with the said report type. Also, I tried it in the query validator and I 
>> can see the same error.
>>
>> With this, so that I can further investigate or raise it to the team, 
>> would you be able to provide the complete request 
>> 
>>  and response 
>> 
>>  logs 
>> with request ID 
>> 
>>  and request header 
>> 
>>  generated 
>> on your end? You can provide it via *Reply privately to author* option. 
>> If this option is not available, then send it instead on this email address 
>> googleadsa...@google.com.
>>
>> Regards,
>> [image: Google Logo] 
>> Ernie John 
>> Google Ads API Team 
>>   
>>
>> ref:_00D1U1174p._5004Q2bDLrx:ref
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/7523b678-825b-4383-9b55-5b3a5753e9d1n%40googlegroups.com.


Re: Conversions value per cost (ROAS) - Cannot select or filter

2022-05-31 Thread Hubert Jaworski
How do I do that in Python?

Here's a snippet of how I use the Python library to send requests to the 
API:
ga_service = googleads_client.get_service("GoogleAdsService")
search_request = googleads_client.get_type("SearchGoogleAdsStreamRequest")
search_request.customer_id = customer['id']
search_request.query = query
search_request.summary_row_setting = googleads_client.get_type(
'SummaryRowSettingEnum').SummaryRowSetting.SUMMARY_ROW_WITH_RESULTS

stream = ga_service.search_stream(search_request)
for batch in stream:
(...)

Not quite sure how to obtain the complete logs here :(
czwartek, 26 maja 2022 o 07:48:18 UTC+2 adsapi napisał(a):

> Hi Hubert,
>
> Thank you for raising your concern to the team.
>
> Upon checking our document 
> , I can 
> see that it should be supported for the said report type. However, you've 
> encountered the error where it says that the field is not compatible with 
> the said report type. Also, I tried it in the query validator and I can see 
> the same error.
>
> With this, so that I can further investigate or raise it to the team, 
> would you be able to provide the complete request 
> 
>  and response 
> 
>  logs 
> with request ID 
> 
>  and request header 
> 
>  generated 
> on your end? You can provide it via *Reply privately to author* option. 
> If this option is not available, then send it instead on this email address 
> googleadsa...@google.com.
>
> Regards,
> [image: Google Logo] 
> Ernie John 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2bDLrx:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/4aecc6fb-ab37-491a-9b34-00a801d28248n%40googlegroups.com.


RE: Conversions Upload Broken

2022-04-24 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Sam,

Thank you for reaching out to us.

For our team better check on this and to have a full picture on the error you 
may have encountered, can you share to us the complete API logs privately 
(request and response with request-id ) so our team can further check?

You may then send the requested logs via the Reply privately to author option. 
If this option is not available, you may send the details directly to our 
googleadsapi-supp...@google.com alias instead.

Best regards,

Heidi
Google Ads API Team
ref:_00D1U1174p._5004Q2aN5Ej:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/SILf_0RAVJEU00t7jKE7jjTGu4XgXJ3X90ig%40sfdc.net.


RE: Conversions fields dont work

2021-06-04 Thread Google Ads API Forum Advisor Prod
Hello,

Unfortunately, it is not possible to combine ConversionTrackerId with the 
fields listed under "Not compatible with the following fields:". There was also 
a change recently that added more fields to the list of incompatible fields. 
This is detailed on this blog post.

Regards,
Anthony

Anthony
Google Ads API Team
ref:_00D1U1174p._5004Q2I046Y:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/R9JeI0QU6JXF00p__6ayKXS-qwZF-80UfdoQ%40sfdc.net.


Re: Conversions fields dont work

2021-06-03 Thread AdWords API and Google Ads API Forum
 

Reposting the last inquiry 
(https://groups.google.com/g/adwords-api/c/qCI0td5zaww/m/EbueyUsHBwAJ) from 
the forum as it wasn't routed to our support queue.


Cheers,

Aryeh Baker

Google Ads API Team

On Wednesday, May 26, 2021 at 3:25:43 AM UTC-4 v.nem...@severex.io wrote:

> Hello,
>
> Earlier I had the following query in AWQL -  
> SELECT 
> AccountDescriptiveName,AccountTimeZone,AdGroupId,AdGroupName,ConversionTrackerId,AdNetworkType1,AdNetworkType2,CampaignId,CampaignName,CampaignStatus,CountryCriteriaId,Conversions,CostPerConversion,Date
>  
> FROM GEO_PERFORMANCE_REPORT DURING 20190901,20210512
>
> Now It says i cannot combine for example  ConversionTrackerId with some 
> metrics and fields. But  I need that field or at least filter by it which I 
> can't do neither. So, what should I do? Can't find any information how to 
> combine them
>
> Thanks

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/8fa39c04-1245-4f68-b6ad-06b71a5f089fn%40googlegroups.com.


Re: Conversions by Conversion date

2021-04-09 Thread Google Ads API Forum Advisor Prod
Hi Anant,

Please send us an email at googleadsapi-supp...@google.com, and provide a link 
to this thread in your email for context.

Thanks,
Matt
Google Ads API Team

Matt
Google Ads API Team
ref:_00D1U1174p._5004Q2Dw8AB:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ZQu490QRAUAO003WO79ojAQImvHm2An8Gyyw%40sfdc.net.


Re: Conversions by Conversion date

2021-04-08 Thread Anant Prasad
Hey Ernie

Thanks for the response on this. 

Actually, I cannot publicly post the request and the response logs here 
since the data is not owned by us that's why I redacted all the values in 
the response and request logs which I sent you earlier. Also, the option to 
send the logs via `Reply privately to Author` button is not available for 
me. 

Can you please direct me to any other way through which I can directly send 
you the logs without the redacted values?

Looking forward to your response. Thanks!

Regards,
Anant Prasad




On Thursday, March 25, 2021 at 2:16:37 PM UTC+5:30 adsapiforumadvisor wrote:

> Hi Anant,
>
> Thank you for raising your concern. I work with Mark and let me provide 
> support to your concern.
>
> I would like to inform you that I am going to remove your latest post as 
> it contains API logs. Let me instead paste the body of your previous post 
> here.
>
> Moving forward, based on this document 
>  that is linked to 
> the metrics.conversions_by_conversion_date 
> ,
>  
> the equivalent field of this metric in the UI is *Conversions (by conv. 
> time)*. So I checked this field in your account and I can see that the 
> fields have value, with this, the API should also return metrics as well.
>
> That being said, could you provide the complete request 
> 
>  and response 
> 
>  logs 
> (with request-id 
> )
>  
> without redacted values so I can discuss with the rest of the team?
>
> "
>
>
>
>
>
> *Thanks for the quick response here.  I am attaching the complete outgoing 
> request as well as the incoming response logs which includes all the 
> details you have asked for.  As you can see in the attached files below, I 
> am requesting for two metrics i.e `conversions` and 
> `conversions_by_conversion_date`, but the Google Ads API is completely 
> ignoring the second metric and I am not getting anything for the requested 
> field. But for the first metric, I am getting the value as expected. Please 
> let me know if any more details will be required from my side to debug this 
> further.  Looking forward to a quick resolution on this. Thanks!*"
>
> Regards,
> [image: Google Logo] 
> Ernie John Blanca Tacata 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2Dw8AB:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/b401f194-3af3-45a0-8ba2-eeccdf5867a0n%40googlegroups.com.


Re: Conversions by Conversion date

2021-03-25 Thread Google Ads API Forum Advisor Prod
Hi Anant,

Thank you for raising your concern. I work with Mark and let me provide support 
to your concern.

I would like to inform you that I am going to remove your latest post as it 
contains API logs. Let me instead paste the body of your previous post here.

Moving forward, based on this document that is linked to the 
metrics.conversions_by_conversion_date, the equivalent field of this metric in 
the UI is Conversions (by conv. time). So I checked this field in your account 
and I can see that the fields have value, with this, the API should also return 
metrics as well.

That being said, could you provide the complete request and response logs (with 
request-id) without redacted values so I can discuss with the rest of the team?

"Thanks for the quick response here.

I am attaching the complete outgoing request as well as the incoming response 
logs which includes all the details you have asked for.  As you can see in the 
attached files below, I am requesting for two metrics i.e `conversions` and 
`conversions_by_conversion_date`, but the Google Ads API is completely ignoring 
the second metric and I am not getting anything for the requested field. But 
for the first metric, I am getting the value as expected.

Please let me know if any more details will be required from my side to debug 
this further.

Looking forward to a quick resolution on this. Thanks!"

Regards,

Ernie John Blanca Tacata
Google Ads API Team
ref:_00D1U1174p._5004Q2Dw8AB:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/nYX_q0QQIODB00UJ75MPPETmu8yUGATVss2w%40sfdc.net.


Re: Conversions by Conversion date

2021-03-24 Thread Anant Prasad
Hey Mark,

Thanks for the quick response here. 

I am attaching the complete outgoing request as well as the incoming 
response logs which includes all the details you have asked for.  As you 
can see in the attached files below, I am requesting for two metrics i.e 
`conversions` and `conversions_by_conversion_date`, but the Google Ads API 
is completely ignoring the second metric and I am not getting anything for 
the requested field. But for the first metric, I am getting the value as 
expected.

Please let me know if any more details will be required from my side to 
debug this further. 

Looking forward to a quick resolution on this. Thanks!

Best Regards,
Anant Prasad

On Wednesday, March 17, 2021 at 8:50:51 AM UTC+5:30 adsapiforumadvisor 
wrote:

> Hello Anant,
>
> Thank you for raising this to us.
>
> So our team could also check on our end, could you share with us the 
> following details below via *Reply privately to author* option?
>
>- Customer ID 
>- Complete query structure 
> 
>- Complete request 
>
> 
> and response 
>
> 
>  logs 
>(with request-id 
>
> 
>) 
>
> Regards,
> [image: Google Logo] 
> Mark Kevin Albios 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2Dw8AB:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/27ea98ce-4ce8-4d38-8610-8aa367880470n%40googlegroups.com.
 Incoming response: Payload: {"results":[{"campaign":{"resourceName":"customers/3248250062/campaigns/11509665805","id":"11509665805"},"metrics":{"conversions":}},{"campaign":{"resourceName":"customers/3248250062/campaigns/11509665808","id":"11509665808"},"metrics":{"conversions":}},{"campaign":{"resourceName":"customers/3248250062/campaigns/11509665811","id":"11509665811"},"metrics":{"conversions":}},{"campaign":{"resourceName":"customers/3248250062/campaigns/11509665814","id":"11509665814"},"metrics":{"conversions":}},{"campaign":{"resourceName":"customers/3248250062/campaigns/11509665817","id":"11509665817"},"metrics":{"conversions":}}],"fieldMask":"campaign.id,metrics.conversions,metrics.conversionsByConversionDate"}
CID: 3248250062, Host: googleads.googleapis.com:443, Method: /google.ads.googleads.v6.services.GoogleAdsService/Search, IsFault: no

Outgoing request: Headers: {"developer-token":"REDACTED","login-customer-id":"REDACTED","x-goog-api-client":"gl-ruby/2.6.5 gax/0.3.4 gapic/8.0.0 grpc/1.32.0","x-goog-request-params":"customer_id=3248250062"} Payload: {"customerId":"3248250062","query":"SELECT campaign.id, metrics.conversions, metrics.conversions_by_conversion_date FROM campaign"}


RE: Conversions by Conversion date

2021-03-16 Thread Google Ads API Forum Advisor Prod
Hello Anant,

Thank you for raising this to us.

So our team could also check on our end, could you share with us the following 
details below via Reply privately to author option?

Customer ID
Complete query structure
Complete request and response logs (with request-id)

Regards,

Mark Kevin Albios
Google Ads API Team
ref:_00D1U1174p._5004Q2Dw8AB:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/nhZ640QQ3FYE00i7Jll7BHS2OGUhZDCZ8hqA%40sfdc.net.


RE: Conversions

2021-02-08 Thread Google Ads API Forum Advisor Prod
Hi Mark,

Thank you for reaching out. David gave a very good explanation on the 
difference between Conversions and All Conversions. Let us know if you have any 
further concerns.

Thanks and regards,
Xiaoming, Google Ads API Team

Xiaoming
Google Ads API Team
ref:_00D1U1174p._5004Q2BeEgF:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/mQN4I0QO89ND00J0ouvPfnR2SvPRLY3akr9Q%40sfdc.net.


Re: Conversions

2021-02-07 Thread 'davi...@google.com' via AdWords API and Google Ads API Forum
https://support.google.com/google-ads/answer/6270625 should comprehensively 
answer your question. tl;dr: "All conversions" ("All conv.") shows you data 
for all conversion actions, including those which you've chosen not to 
include in "Conversions." It also includes other special conversion 
sources."

-David

On Friday, February 5, 2021 at 12:09:24 PM UTC-5 mark...@mypthub.net wrote:

> Whats the difference between Conversions and All Conversions

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/972e5861-d014-4bea-ac52-029750809bebn%40googlegroups.com.


RE: Conversions for gclid

2021-01-22 Thread Google Ads API Forum Advisor Prod
Hi Maria,

Unfortunately, there isn't a way to get conversions through click Ids through 
the API. Here is a list of metrics and fields available at the click level.

Regards,
Anthony

Anthony
Google Ads API Team
ref:_00D1U1174p._5004Q2B2CIZ:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/MBKQp0QNCACG00qiPI7SuvTcmZBG3YVhphfg%40sfdc.net.


RE: Conversions Tracking Reporting

2020-01-02 Thread Google Ads API Forum Advisor Prod
Hi Manik,

Thank you for reaching out. If you would like to do this with AdWords API, you 
can pull the metrics from the Campaign Performance  report and segment by 
ConversionTypeName (also works for AdGroup Performance report). If you are 
using Google Ads API, you can segment your desired report by 
conversion_action_name. This will allow you to get aggregated conversion 
metrics for each action that you've specified.

Regards,
Mitchell
Google Ads API Team
ref:_00D1U1174p._5001UOFYdF:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/B7H9F0Q3HM8P00c9vUVIIARNiWsgRUZngRRg%40sfdc.net.


RE: Conversions by Conversion Time?

2019-12-09 Thread Google Ads API Forum Advisor Prod
Hi Chris,

Thanks for reaching out. Retrieving the "Conversion by Conv. Time" via the 
Adwords API is currently not available by either making the API calls or 
requesting reports with AWQL. Please keep an eye on our blog for announcements 
and updates on new releases.

Thanks and regards,
Xiaoming, Google Ads API Team
ref:_00D1U1174p._5001UOEAk7:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/OjT5S0Q29KJP00K4Mm4JaaRBKy4y3uzdBjRg%40sfdc.net.


RE: Conversions coming 0

2019-03-13 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi,

To better investigate this could you provide the complete report definition
  
you

use to download the search keyword report that you mentioned as well as
your clientCustomerId? Please reply via *Reply privately to author*.

Thanks and regards,
Luis
AdWords API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 03/13/19 17:42:21 pooja.singh.unilever wrote:


I'm trying to pull a search keyword report on daily basis, the other
metrics are populated as expected, but conversions are coming 0. Could you
please let me know the reason?

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/867019a2-5d5f-4bc1-9d14-21c00e3e1708%40googlegroups.com

.
For more options, visit https://groups.google.com/d/optout.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/180ifj00gak7a0001p9gnax6kmj6c1k74o30c1g68qjae1h%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Conversions Tag setup Adwords API

2018-03-13 Thread 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum
Hi Veronica, 

Using the API, you can create the conversion trackers and get the tags 
generated. But, you will not be able to choose the options as in the 
AdWords UI. The API guide about the conversions 
 
might 
be useful for you. If not already aware, please check this 

 guide 
to set up the conversion tracking. Please let me know if you have any 
additional questions.

Thanks,
Sreelakshmi, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2605a08c-26da-4d90-a5ed-8408fc0aef78%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Conversions in Shopping Performance Report

2017-05-19 Thread 'Thanet Knack Praneenararat (AdWords API Team)' via AdWords API Forum
Hello John,

Very sorry for this late response.
The incompatibility between *Conversions* and *ConversionTrackerId* was 
removed for a couple of months ago.
Just would like to update this thread anyway, so anyone who stumbles upon 
this post can get the latest info.

Best,
Thanet, AdWords API Team

On Friday, October 28, 2016 at 4:18:30 PM UTC+9, Thanet Knack Praneenararat 
(AdWords API Team) wrote:
>
> Hello John,
>
> Sometimes, when a segment field 
> 
>  like 
> *ConversionTrackerId* is used, it results in significantly increasing 
> numbers of rows for a result, thereby affecting the overall performance of 
> reporting system.
> That's why in some cases, a certain field is prohibited to be used with 
> such a segment field.
> To confirm if this is the case for *Conversions* and *ConversionTrackerId* 
> as well, I need to consult with engineering team first.
> I will get back to you later when I get updates.
>
> Cheers,
> Thanet, AdWords API Team
>
> On Thursday, October 27, 2016 at 10:09:25 PM UTC+9, API Developer wrote:
>>
>> Hi,
>>
>> Can you confirm why it is not possible to include both the 
>> ConversionTrackerId and the Conversions fields in the Shopping Performance 
>> report?  
>>
>> I appreciate that it is possible to use the AllConversions metric, but I 
>> am struggling to understand the reasoning for making the estimated figure 
>> available, but not the actual conversions figure. The estimated figures 
>> appears to allow Google considerable license in taking credit for a 
>> conversion, with scope to change the rules for estimating conversions at 
>> any point in the future.
>>
>> Regards.
>>
>>
>> John
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d459bc21-b5c2-4fd5-aa92-61e9c4b16504%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Conversions where clause not working in PRODUCT_PARTITION_REPORT

2017-04-02 Thread 'Peter Oliquino' via AdWords API Forum
Hi Mubbashar,

For your first concern, could you provide me you clientCustomerId and any 
report file generated using your query so I can have a better look?

For your second concern, upon seeing your request, you may be passing 
"null" values that is possibly causing the INVALID_BID errors :

 'biddingStrategyId' => NULL,
 'biddingStrategyName' => NULL,
 'biddingStrategyType' => NULL,
 'biddingStrategySource' => NULL,
 'biddingScheme' => NULL,


You may refer to our bidding strategy guide 
 for more 
information on how to setup your bids. If the issue persists, could you 
provide the complete SOAP request and response (in XML format if possible) 
so I can further investigate? If you have not enabled your SOAP logs, you 
may refer to this guide 
 as 
to how.

Please reply via *Reply privately to author*.

Thanks and regards,
Peter
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/36c44736-13f2-4e53-b393-a3212b6e6ede%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Conversions where clause not working in PRODUCT_PARTITION_REPORT

2017-03-31 Thread mubbashar husain
One more issue with api version 201609

here is my request 

[2017-03-31 22:04:03] local.INFO: array (
  0 => 
  Google\AdsApi\AdWords\v201609\cm\AdGroupCriterionOperation::__set_state(array(
 'operand' => 

Google\AdsApi\AdWords\v201609\cm\BiddableAdGroupCriterion::__set_state(array(
   'userStatus' => NULL,
   'systemServingStatus' => NULL,
   'approvalStatus' => NULL,
   'disapprovalReasons' => NULL,
   'destinationUrl' => NULL,
   'firstPageCpc' => NULL,
   'topOfPageCpc' => NULL,
   'firstPositionCpc' => NULL,
   'qualityInfo' => NULL,
   'biddingStrategyConfiguration' => 
  
Google\AdsApi\AdWords\v201609\cm\BiddingStrategyConfiguration::__set_state(array(
 'biddingStrategyId' => NULL,
 'biddingStrategyName' => NULL,
 'biddingStrategyType' => NULL,
 'biddingStrategySource' => NULL,
 'biddingScheme' => NULL,
 'bids' => 
array (
  0 => 
  Google\AdsApi\AdWords\v201609\cm\CpcBid::__set_state(array(
 'bid' => 
Google\AdsApi\AdWords\v201609\cm\Money::__set_state(array(
   'microAmount' => NULL,
   'ComparableValueType' => 55,
)),
 'cpcBidSource' => NULL,
 'BidsType' => NULL,
  )),
),
  )),
   'bidModifier' => NULL,
   'finalUrls' => NULL,
   'finalMobileUrls' => NULL,
   'finalAppUrls' => NULL,
   'trackingUrlTemplate' => NULL,
   'urlCustomParameters' => NULL,
   'adGroupId' => 36700122617,
   'criterionUse' => NULL,
   'criterion' => 
  Google\AdsApi\AdWords\v201609\cm\Criterion::__set_state(array(
 'id' => 60513521332,
 'type' => NULL,
 'CriterionType' => NULL,
  )),
   'labels' => NULL,
   'forwardCompatibilityMap' => NULL,
   'baseCampaignId' => NULL,
   'baseAdGroupId' => NULL,
   'AdGroupCriterionType' => NULL,
)),
 'exemptionRequests' => NULL,
 'operator' => 'SET',
 'OperationType' => NULL,
  )),
  1 => 
  Google\AdsApi\AdWords\v201609\cm\AdGroupCriterionOperation::__set_state(array(
 'operand' => 

Google\AdsApi\AdWords\v201609\cm\BiddableAdGroupCriterion::__set_state(array(
   'userStatus' => NULL,
   'systemServingStatus' => NULL,
   'approvalStatus' => NULL,
   'disapprovalReasons' => NULL,
   'destinationUrl' => NULL,
   'firstPageCpc' => NULL,
   'topOfPageCpc' => NULL,
   'firstPositionCpc' => NULL,
   'qualityInfo' => NULL,
   'biddingStrategyConfiguration' => 
  
Google\AdsApi\AdWords\v201609\cm\BiddingStrategyConfiguration::__set_state(array(
 'biddingStrategyId' => NULL,
 'biddingStrategyName' => NULL,
 'biddingStrategyType' => NULL,
 'biddingStrategySource' => NULL,
 'biddingScheme' => NULL,
 'bids' => 
array (
  0 => 
  Google\AdsApi\AdWords\v201609\cm\CpcBid::__set_state(array(
 'bid' => 
Google\AdsApi\AdWords\v201609\cm\Money::__set_state(array(
   'microAmount' => NULL,
   'ComparableValueType' => 297,
)),
 'cpcBidSource' => NULL,
 'BidsType' => NULL,
  )),
),
  )),
   'bidModifier' => NULL,
   'finalUrls' => NULL,
   'finalMobileUrls' => NULL,
   'finalAppUrls' => NULL,
   'trackingUrlTemplate' => NULL,
   'urlCustomParameters' => NULL,
   'adGroupId' => 38392525637,
   'criterionUse' => NULL,
   'criterion' => 
  Google\AdsApi\AdWords\v201609\cm\Criterion::__set_state(array(
 'id' => 74123139799,
 'type' => NULL,
 'CriterionType' => NULL,
  )),
   'labels' => NULL,
   'forwardCompatibilityMap' => NULL,
   'baseCampaignId' => NULL,
   'baseAdGroupId' => NULL,
   'AdGroupCriterionType' => NULL,
)),
 'exemptionRequests' => NULL,
 'operator' => 'SET',
 'OperationType' => NULL,
  )),


[2017-03-31 21:49:58] local.INFO: array (
  0 => 
  Google\AdsApi\AdWords\v201609\cm\AdGroupCriterion::__set_state(array(
 'adGroupId' => NULL,
 'criterionUse' => NULL,
 'criterion' => NULL,
 'labels' => NULL,
 'forwardCompatibilityMap' => NULL,
 'baseCampaignId' => NULL,
 'baseAdGroupId' => NULL,
 'AdGroupCriterionType' => NULL,
 'AdGroupCriterion.Type' => 'AdGroupCriterion',
  )),
  1 => 
  Google\AdsApi\AdWords\v201609\cm\AdGroupCriterion::__set_state(array(
 'adGroupId' => NULL,
 'criterionUse' => NULL,
 'criterion' => NULL,
 'labels' => NULL,
 'forwardCompatibilityMap' => NULL,
 'baseCampaignId' => NULL,
 'baseAdGroupId' => NULL,
 'AdGroupCriterionType' => NULL,
 'AdGroupCriterion.Type' => 'AdGroupCriterion',
  )),




[2017-03-31 21:49:58] local.INFO: array (
  0 => 
  Google\AdsApi\AdWords\v201609\cm\BiddingErrors::__set_state(array(
 'reason' => 'INVALID_BID',
  

Re: Conversions in Shopping Performance Report

2016-10-28 Thread 'Thanet Knack Praneenararat (AdWords API Team)' via AdWords API Forum
Hello John,

Sometimes, when a segment field 
 
like 
*ConversionTrackerId* is used, it results in significantly increasing 
numbers of rows for a result, thereby affecting the overall performance of 
reporting system.
That's why in some cases, a certain field is prohibited to be used with 
such a segment field.
To confirm if this is the case for *Conversions* and *ConversionTrackerId* 
as well, I need to consult with engineering team first.
I will get back to you later when I get updates.

Cheers,
Thanet, AdWords API Team

On Thursday, October 27, 2016 at 10:09:25 PM UTC+9, API Developer wrote:
>
> Hi,
>
> Can you confirm why it is not possible to include both the 
> ConversionTrackerId and the Conversions fields in the Shopping Performance 
> report?  
>
> I appreciate that it is possible to use the AllConversions metric, but I 
> am struggling to understand the reasoning for making the estimated figure 
> available, but not the actual conversions figure. The estimated figures 
> appears to allow Google considerable license in taking credit for a 
> conversion, with scope to change the rules for estimating conversions at 
> any point in the future.
>
> Regards.
>
>
> John
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/4c6cad5a-9776-4c79-b1f5-077ca386e0c5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Conversions discrepancy between UI and API for a campaign

2016-08-11 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi Tiana, 

Could you provide the SOAP XML request and response for this API call along 
with your clientCustomerId? Please use *Reply privately to author* when 
responding.

Thanks,
Shwetha, AdWorda API Team.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/e44c4502-04fa-461a-b89e-983e06a9f642%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Conversions are not shown in AdWords

2016-04-26 Thread 'Yin Niu' via AdWords API Forum
Hi Eyad, 

Please check out this forum discussion 
,
 
see if it helps you. 

Thanks,
Yin, AdWords API Team. 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1c51002b-c825-447e-adf5-63275ea36e8b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Conversions field in Criteria Performance Report

2016-03-03 Thread 'Anthony Madrigal' via AdWords API Forum
Hello Igor,

Unfortunately, this is currently intended behavior. We are currently 
looking for a way to change it to properly display the values.

Regards,
Anthony
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a5c70db2-326f-4eb3-ae41-7d7c7e40b396%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Conversions

2015-12-01 Thread etienne . veilleux
Hi,

Ok finally works!

FYI I use the reports on the web, not from the command line.

The reason it does not show on the screen is that I had to parse the string 
with *simplexml_load_string* before. Looking at the source code of the page 
I noticed that everything was there but it was not displayed on the screen.

Thanks for all !

Final working code:

$report = ReportUtils::DownloadReport($reportDefinition, NULL, $user, 
$options);

$xml = simplexml_load_string($report);
print "";
print_r($xml);
print "";





Le lundi 30 novembre 2015 09:11:34 UTC-5, Josh Radcliff (AdWords API Team) 
a écrit :
>
> Hi Etienne,
>
> Are you setting any of the *options*, such as:
>   $options['skipReportHeader'] = true;
>   $options['skipColumnHeader'] = true;
>   $options['skipReportSummary'] = true;
>
> If you set all of those options to *true *and the report does not contain 
> any rows, then you'll get an empty string back.
>
> In case it helps, attached is a modified version of 
> DownloadCriteriaReport.php 
> 
>  that's 
> printing the report results for me if I run *php 
> DownloadCriteriaReport.php*.
>
> Also, please make sure you are running the example *from the command line*, 
> and not loading it up as a webpage in your browser. All code examples are 
> meant to be run from the command line, since they print to stdout/stderr.
>
> Cheers,
> Josh, AdWords API Team
>
> On Thursday, November 26, 2015 at 8:33:58 AM UTC-5, 
> etienne@admobio.com  wrote:
>>
>> Hi Josh !
>>
>> Ok here is the result of my test:
>>
>> If I put the path to NULL and print the result directly on the screen 
>> there are no results so the string is empty.
>>
>> *Like this:*
>> $filePath = NULL;
>> print ReportUtils::DownloadReport($reportDefinition, $filePath, $user, 
>> $options);
>>
>>
>> If I specify a directory path and print the result on the screen I get a 
>> strange result "252" as a string.
>>
>> *Like this:*
>> $filePath = "reports/test.xml";
>> print ReportUtils::DownloadReport($reportDefinition, $filePath, $user, 
>> $options);
>>
>>
>> If I send the result in the XML file I get this:
>>
>> *Like this:*
>> $filePath = "reports/test.xml";
>> ReportUtils::DownloadReport($reportDefinition, $filePath, $user, $options
>> );
>>
>> *Result in the XML file:*
>> 
>> 
>>  
>>  
>>  
>>  
>>  
>>  
>>  
>>  
>>  
>>  
>>  
>>  
>> 
>>
>>
>> There are results, but it's impossible to get them out on the screen.
>>
>> It's really all I have for now!
>>
>> Any ideas ?
>>
>> Thank you !
>>
>>
>>
>>
>>
>>
>>
>> On Wednesday, November 25, 2015 at 9:47:52 AM UTC-5, Josh Radcliff 
>> (AdWords API Team) wrote:
>>
>> Hi Etienne,
>>
>> When you say the result is empty, do you mean it's literally the empty 
>> string ("")/null, or that it simply does not contain any rows of data, like 
>> this?
>>
>> 
>> 
>>   
>>   
>>   
>> 
>>   
>>   
>> 
>>   
>> 
>>
>> If the latter, then this is most likely due to your campaigns not having 
>> any impressions. You can include campaigns with zero impressions as follows:
>>
>> $reportDefinition->includeZeroImpressions = true;
>>
>> If that doesn't resolve it for you, could you let me know if you've tried 
>> the example *without* setting *filePath* to null, and if so, if the 
>> resulting file contained *any* data (even if it's just the empty 
>> response above)?
>>
>> Thanks,
>> Josh, AdWords API Team
>>
>> On Tuesday, November 24, 2015 at 6:14:04 PM UTC-5, 
>> etienne@admobio.com wrote:
>>
>> Hi Josh,
>>
>> I tried many things but there is something I don't understand.
>>
>> I added NULL to $filePath but the result is still empty.
>>
>> With the following code, do you see something that might help me ?
>>
>> I also googled a lot of request but there's no result for such specific 
>> search.
>>
>> Thank you for your help !
>>
>>
>> function getAccountPerformanceReport(AdWordsUser $user) {
>> 
>>  // Load the service.
>>  $user->LoadService('ReportDefinitionService', ADWORDS_VERSION);
>>
>>  // Create selector.
>>  $selector = new Selector();
>>  $selector->fields = array(
>>  'CampaignId',
>>  'Impressions');
>>
>>  // Create report definition.
>>  $reportDefinition = new ReportDefinition();
>>  $reportDefinition->selector = $selector;
>>  $reportDefinition->reportName = 'Criteria performance report #' . uniqid
>> ();
>>  $reportDefinition->dateRangeType = 'LAST_7_DAYS';
>>  //$reportDefinition->reportType = 'ACCOUNT_PERFORMANCE_REPORT';
>>  $reportDefinition->reportType = 'CAMPAIGN_PERFORMANCE_REPORT';
>>  $reportDefinition->downloadFormat = 'XML';
>>
>>  // Set additional options.
>>  $options = array('version' => ADWORDS_VERSION);
>> 
>>  $filePath = NULL;
>>  
>>  print ReportUtils::DownloadReport($reportDefinition, $filePath, $user, 
>> $options);
>>  //printf("Report with name '%s' was downloaded to '%s'.\n", 
>> 

Re: Conversions

2015-11-30 Thread Josh Radcliff (AdWords API Team)
Hi Etienne,

Are you setting any of the *options*, such as:
  $options['skipReportHeader'] = true;
  $options['skipColumnHeader'] = true;
  $options['skipReportSummary'] = true;

If you set all of those options to *true *and the report does not contain 
any rows, then you'll get an empty string back.

In case it helps, attached is a modified version of 
DownloadCriteriaReport.php 

 that's 
printing the report results for me if I run *php DownloadCriteriaReport.php*
.

Also, please make sure you are running the example *from the command line*, 
and not loading it up as a webpage in your browser. All code examples are 
meant to be run from the command line, since they print to stdout/stderr.

Cheers,
Josh, AdWords API Team

On Thursday, November 26, 2015 at 8:33:58 AM UTC-5, 
etienne.veill...@admobio.com wrote:
>
> Hi Josh !
>
> Ok here is the result of my test:
>
> If I put the path to NULL and print the result directly on the screen 
> there are no results so the string is empty.
>
> *Like this:*
> $filePath = NULL;
> print ReportUtils::DownloadReport($reportDefinition, $filePath, $user, 
> $options);
>
>
> If I specify a directory path and print the result on the screen I get a 
> strange result "252" as a string.
>
> *Like this:*
> $filePath = "reports/test.xml";
> print ReportUtils::DownloadReport($reportDefinition, $filePath, $user, 
> $options);
>
>
> If I send the result in the XML file I get this:
>
> *Like this:*
> $filePath = "reports/test.xml";
> ReportUtils::DownloadReport($reportDefinition, $filePath, $user, $options
> );
>
> *Result in the XML file:*
> 
> 
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
> 
>
>
> There are results, but it's impossible to get them out on the screen.
>
> It's really all I have for now!
>
> Any ideas ?
>
> Thank you !
>
>
>
>
>
>
>
> On Wednesday, November 25, 2015 at 9:47:52 AM UTC-5, Josh Radcliff 
> (AdWords API Team) wrote:
>
> Hi Etienne,
>
> When you say the result is empty, do you mean it's literally the empty 
> string ("")/null, or that it simply does not contain any rows of data, like 
> this?
>
> 
> 
>   
>   
>   
> 
>   
>   
> 
>   
> 
>
> If the latter, then this is most likely due to your campaigns not having 
> any impressions. You can include campaigns with zero impressions as follows:
>
> $reportDefinition->includeZeroImpressions = true;
>
> If that doesn't resolve it for you, could you let me know if you've tried 
> the example *without* setting *filePath* to null, and if so, if the 
> resulting file contained *any* data (even if it's just the empty response 
> above)?
>
> Thanks,
> Josh, AdWords API Team
>
> On Tuesday, November 24, 2015 at 6:14:04 PM UTC-5, etienne@admobio.com 
> wrote:
>
> Hi Josh,
>
> I tried many things but there is something I don't understand.
>
> I added NULL to $filePath but the result is still empty.
>
> With the following code, do you see something that might help me ?
>
> I also googled a lot of request but there's no result for such specific 
> search.
>
> Thank you for your help !
>
>
> function getAccountPerformanceReport(AdWordsUser $user) {
> 
>  // Load the service.
>  $user->LoadService('ReportDefinitionService', ADWORDS_VERSION);
>
>  // Create selector.
>  $selector = new Selector();
>  $selector->fields = array(
>  'CampaignId',
>  'Impressions');
>
>  // Create report definition.
>  $reportDefinition = new ReportDefinition();
>  $reportDefinition->selector = $selector;
>  $reportDefinition->reportName = 'Criteria performance report #' . uniqid
> ();
>  $reportDefinition->dateRangeType = 'LAST_7_DAYS';
>  //$reportDefinition->reportType = 'ACCOUNT_PERFORMANCE_REPORT';
>  $reportDefinition->reportType = 'CAMPAIGN_PERFORMANCE_REPORT';
>  $reportDefinition->downloadFormat = 'XML';
>
>  // Set additional options.
>  $options = array('version' => ADWORDS_VERSION);
> 
>  $filePath = NULL;
>  
>  print ReportUtils::DownloadReport($reportDefinition, $filePath, $user, 
> $options);
>  //printf("Report with name '%s' was downloaded to '%s'.\n", 
> $reportDefinition->reportName, $filePath);
> }
>
>
> On Tuesday, November 24, 2015 at 4:24:52 PM UTC-5, Josh Radcliff (AdWords 
> API Team) wrote:
>
> Hi Etienne,
>
> You can retrieve the report as a string if you simply do not specify a 
> *$filePath* when you cal*l ReportUtils::DownloadReport*. In that case, 
> the return value from *ReportUtils::DownloadReport* will be the contents 
> as a string.
>
>
> https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201509/Reporting/DownloadCriteriaReport.php#L75
>
> Cheers,
> Josh, AdWords API Team
>
> On Tuesday, November 24, 2015 at 4:18:04 PM UTC-5, etienne@admobio.com 
> wrote:
>
> Hi Josh,
>
> I am able to download reports. I wish instead of downloading the reports, 
> retrieve and display the values on the screen. Is it possible ?

Re: Conversions

2015-11-26 Thread etienne . veilleux
Hi Josh !

Ok here is the result of my test:

If I put the path to NULL and print the result directly on the screen there 
are no results so the string is empty.

*Like this:*
$filePath = NULL;
print ReportUtils::DownloadReport($reportDefinition, $filePath, $user, 
$options);


If I specify a directory path and print the result on the screen I get a 
strange result "252" as a string.

*Like this:*
$filePath = "reports/test.xml";
print ReportUtils::DownloadReport($reportDefinition, $filePath, $user, 
$options);


If I send the result in the XML file I get this:

*Like this:*
$filePath = "reports/test.xml";
ReportUtils::DownloadReport($reportDefinition, $filePath, $user, $options);

*Result in the XML file:*


 
 
 
 
 
 
 
 
 
 
 
 



There are results, but it's impossible to get them out on the screen.

It's really all I have for now!

Any ideas ?

Thank you !







On Wednesday, November 25, 2015 at 9:47:52 AM UTC-5, Josh Radcliff (AdWords 
API Team) wrote:
>
> Hi Etienne,
>
> When you say the result is empty, do you mean it's literally the empty 
> string ("")/null, or that it simply does not contain any rows of data, like 
> this?
>
> 
> 
>   
>   
>   
> 
>   
>   
> 
>   
> 
>
> If the latter, then this is most likely due to your campaigns not having 
> any impressions. You can include campaigns with zero impressions as follows:
>
> $reportDefinition->includeZeroImpressions = true;
>
> If that doesn't resolve it for you, could you let me know if you've tried 
> the example *without* setting *filePath* to null, and if so, if the 
> resulting file contained *any* data (even if it's just the empty response 
> above)?
>
> Thanks,
> Josh, AdWords API Team
>
> On Tuesday, November 24, 2015 at 6:14:04 PM UTC-5, etienne@admobio.com 
>  wrote:
>>
>> Hi Josh,
>>
>> I tried many things but there is something I don't understand.
>>
>> I added NULL to $filePath but the result is still empty.
>>
>> With the following code, do you see something that might help me ?
>>
>> I also googled a lot of request but there's no result for such specific 
>> search.
>>
>> Thank you for your help !
>>
>>
>> function getAccountPerformanceReport(AdWordsUser $user) {
>> 
>>  // Load the service.
>>  $user->LoadService('ReportDefinitionService', ADWORDS_VERSION);
>>
>>  // Create selector.
>>  $selector = new Selector();
>>  $selector->fields = array(
>>  'CampaignId',
>>  'Impressions');
>>
>>  // Create report definition.
>>  $reportDefinition = new ReportDefinition();
>>  $reportDefinition->selector = $selector;
>>  $reportDefinition->reportName = 'Criteria performance report #' . uniqid
>> ();
>>  $reportDefinition->dateRangeType = 'LAST_7_DAYS';
>>  //$reportDefinition->reportType = 'ACCOUNT_PERFORMANCE_REPORT';
>>  $reportDefinition->reportType = 'CAMPAIGN_PERFORMANCE_REPORT';
>>  $reportDefinition->downloadFormat = 'XML';
>>
>>  // Set additional options.
>>  $options = array('version' => ADWORDS_VERSION);
>> 
>>  $filePath = NULL;
>>  
>>  print ReportUtils::DownloadReport($reportDefinition, $filePath, $user, 
>> $options);
>>  //printf("Report with name '%s' was downloaded to '%s'.\n", 
>> $reportDefinition->reportName, $filePath);
>> }
>>
>>
>> On Tuesday, November 24, 2015 at 4:24:52 PM UTC-5, Josh Radcliff (AdWords 
>> API Team) wrote:
>>>
>>> Hi Etienne,
>>>
>>> You can retrieve the report as a string if you simply do not specify a 
>>> *$filePath* when you cal*l ReportUtils::DownloadReport*. In that case, 
>>> the return value from *ReportUtils::DownloadReport* will be the 
>>> contents as a string.
>>>
>>>
>>> https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201509/Reporting/DownloadCriteriaReport.php#L75
>>>
>>> Cheers,
>>> Josh, AdWords API Team
>>>
>>> On Tuesday, November 24, 2015 at 4:18:04 PM UTC-5, 
>>> etienne@admobio.com wrote:

 Hi Josh,

 I am able to download reports. I wish instead of downloading the 
 reports, retrieve and display the values on the screen. Is it possible ?

 Thank you !

 On Friday, November 20, 2015 at 5:38:24 PM UTC-5, Josh Radcliff 
 (AdWords API Team) wrote:
>
> Hi Etienne,
>
> Reporting works a bit differently, as it simply streams CSV, TSV, or 
> XML results directly (instead of using SOAP). The Reporting Basics 
> guide 
>  gives 
> a good overview of how to run reports, and the examples in the PHP 
> library Reporting folder 
> 
>  show 
> how to use the various PHP utilities for reporting.
>
> Cheers,
> Josh, AdWords API Team
>
> On Friday, November 20, 2015 at 4:45:49 PM UTC-5, 
> etienne@admobio.com wrote:
>>
>> Hi Josh and thank you for your answer.
>>
>> I completely forgot to add the field in the selector, so 

Re: Conversions

2015-11-25 Thread Josh Radcliff (AdWords API Team)
Hi Etienne,

When you say the result is empty, do you mean it's literally the empty 
string ("")/null, or that it simply does not contain any rows of data, like 
this?



  
  
  

  
  

  


If the latter, then this is most likely due to your campaigns not having 
any impressions. You can include campaigns with zero impressions as follows:

$reportDefinition->includeZeroImpressions = true;

If that doesn't resolve it for you, could you let me know if you've tried 
the example *without* setting *filePath* to null, and if so, if the 
resulting file contained *any* data (even if it's just the empty response 
above)?

Thanks,
Josh, AdWords API Team

On Tuesday, November 24, 2015 at 6:14:04 PM UTC-5, 
etienne.veill...@admobio.com wrote:
>
> Hi Josh,
>
> I tried many things but there is something I don't understand.
>
> I added NULL to $filePath but the result is still empty.
>
> With the following code, do you see something that might help me ?
>
> I also googled a lot of request but there's no result for such specific 
> search.
>
> Thank you for your help !
>
>
> function getAccountPerformanceReport(AdWordsUser $user) {
> 
>  // Load the service.
>  $user->LoadService('ReportDefinitionService', ADWORDS_VERSION);
>
>  // Create selector.
>  $selector = new Selector();
>  $selector->fields = array(
>  'CampaignId',
>  'Impressions');
>
>  // Create report definition.
>  $reportDefinition = new ReportDefinition();
>  $reportDefinition->selector = $selector;
>  $reportDefinition->reportName = 'Criteria performance report #' . uniqid
> ();
>  $reportDefinition->dateRangeType = 'LAST_7_DAYS';
>  //$reportDefinition->reportType = 'ACCOUNT_PERFORMANCE_REPORT';
>  $reportDefinition->reportType = 'CAMPAIGN_PERFORMANCE_REPORT';
>  $reportDefinition->downloadFormat = 'XML';
>
>  // Set additional options.
>  $options = array('version' => ADWORDS_VERSION);
> 
>  $filePath = NULL;
>  
>  print ReportUtils::DownloadReport($reportDefinition, $filePath, $user, 
> $options);
>  //printf("Report with name '%s' was downloaded to '%s'.\n", 
> $reportDefinition->reportName, $filePath);
> }
>
>
> On Tuesday, November 24, 2015 at 4:24:52 PM UTC-5, Josh Radcliff (AdWords 
> API Team) wrote:
>>
>> Hi Etienne,
>>
>> You can retrieve the report as a string if you simply do not specify a 
>> *$filePath* when you cal*l ReportUtils::DownloadReport*. In that case, 
>> the return value from *ReportUtils::DownloadReport* will be the contents 
>> as a string.
>>
>>
>> https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201509/Reporting/DownloadCriteriaReport.php#L75
>>
>> Cheers,
>> Josh, AdWords API Team
>>
>> On Tuesday, November 24, 2015 at 4:18:04 PM UTC-5, 
>> etienne@admobio.com wrote:
>>>
>>> Hi Josh,
>>>
>>> I am able to download reports. I wish instead of downloading the 
>>> reports, retrieve and display the values on the screen. Is it possible ?
>>>
>>> Thank you !
>>>
>>> On Friday, November 20, 2015 at 5:38:24 PM UTC-5, Josh Radcliff (AdWords 
>>> API Team) wrote:

 Hi Etienne,

 Reporting works a bit differently, as it simply streams CSV, TSV, or 
 XML results directly (instead of using SOAP). The Reporting Basics 
 guide  
 gives 
 a good overview of how to run reports, and the examples in the PHP 
 library Reporting folder 
 
  show 
 how to use the various PHP utilities for reporting.

 Cheers,
 Josh, AdWords API Team

 On Friday, November 20, 2015 at 4:45:49 PM UTC-5, 
 etienne@admobio.com wrote:
>
> Hi Josh and thank you for your answer.
>
> I completely forgot to add the field in the selector, so it always 
> sent me an empty field. It was my mistake ... I think I'm exhausted from 
> my 
> work week.
>
> *Here's my working code:*
> function test(AdWordsUser $user) {
>  
>  $service = $user->GetService('ConversionTrackerService',
>  ADWORDS_VERSION);
>  $selector = new Selector();
>  $selector->fields = array(
>   'MostRecentConversionDate', 
>   'LastReceivedRequestTime'
>  );
>  
>  $data = $service->get($selector);
>  
>  if (isset($data->entries)) {
>   print_r("");
>   print_r ($data->entries);
>   print_r("");
>  }else{
>   print "Empty";
>  }
>
> }
>
> I tried to do the same approach with the reports but the method "Get" 
> like "$data = $service->get($selector);" always returns the following 
> error: *PHP Warning: The method "get" is not supported. *
>
> So I guess for reports, this is not the right way to proceed.
>
> Is it correct to assume that this isn't the same approach as 
> "ConversionTrackerService" or other services ?
>
> Thank you,
>

Re: Conversions

2015-11-24 Thread etienne . veilleux
Hi Josh,

I tried many things but there is something I don't understand.

I added NULL to $filePath but the result is still empty.

With the following code, do you see something that might help me ?

I also googled a lot of request but there's no result for such specific 
search.

Thank you for your help !


function getAccountPerformanceReport(AdWordsUser $user) {

 // Load the service.
 $user->LoadService('ReportDefinitionService', ADWORDS_VERSION);

 // Create selector.
 $selector = new Selector();
 $selector->fields = array(
 'CampaignId',
 'Impressions');
   
 // Create report definition.
 $reportDefinition = new ReportDefinition();
 $reportDefinition->selector = $selector;
 $reportDefinition->reportName = 'Criteria performance report #' . uniqid();
 $reportDefinition->dateRangeType = 'LAST_7_DAYS';
 //$reportDefinition->reportType = 'ACCOUNT_PERFORMANCE_REPORT';
 $reportDefinition->reportType = 'CAMPAIGN_PERFORMANCE_REPORT';
 $reportDefinition->downloadFormat = 'XML';

 // Set additional options.
 $options = array('version' => ADWORDS_VERSION);

 $filePath = NULL;
 
 print ReportUtils::DownloadReport($reportDefinition, $filePath, $user, 
$options);
 //printf("Report with name '%s' was downloaded to '%s'.\n", 
$reportDefinition->reportName, $filePath);
}


On Tuesday, November 24, 2015 at 4:24:52 PM UTC-5, Josh Radcliff (AdWords 
API Team) wrote:
>
> Hi Etienne,
>
> You can retrieve the report as a string if you simply do not specify a 
> *$filePath* when you cal*l ReportUtils::DownloadReport*. In that case, 
> the return value from *ReportUtils::DownloadReport* will be the contents 
> as a string.
>
>
> https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201509/Reporting/DownloadCriteriaReport.php#L75
>
> Cheers,
> Josh, AdWords API Team
>
> On Tuesday, November 24, 2015 at 4:18:04 PM UTC-5, etienne@admobio.com 
>  wrote:
>>
>> Hi Josh,
>>
>> I am able to download reports. I wish instead of downloading the reports, 
>> retrieve and display the values on the screen. Is it possible ?
>>
>> Thank you !
>>
>> On Friday, November 20, 2015 at 5:38:24 PM UTC-5, Josh Radcliff (AdWords 
>> API Team) wrote:
>>>
>>> Hi Etienne,
>>>
>>> Reporting works a bit differently, as it simply streams CSV, TSV, or XML 
>>> results directly (instead of using SOAP). The Reporting Basics guide 
>>>  gives 
>>> a good overview of how to run reports, and the examples in the PHP 
>>> library Reporting folder 
>>> 
>>>  show 
>>> how to use the various PHP utilities for reporting.
>>>
>>> Cheers,
>>> Josh, AdWords API Team
>>>
>>> On Friday, November 20, 2015 at 4:45:49 PM UTC-5, 
>>> etienne@admobio.com wrote:

 Hi Josh and thank you for your answer.

 I completely forgot to add the field in the selector, so it always sent 
 me an empty field. It was my mistake ... I think I'm exhausted from my 
 work 
 week.

 *Here's my working code:*
 function test(AdWordsUser $user) {
  
  $service = $user->GetService('ConversionTrackerService',
  ADWORDS_VERSION);
  $selector = new Selector();
  $selector->fields = array(
   'MostRecentConversionDate', 
   'LastReceivedRequestTime'
  );
  
  $data = $service->get($selector);
  
  if (isset($data->entries)) {
   print_r("");
   print_r ($data->entries);
   print_r("");
  }else{
   print "Empty";
  }

 }

 I tried to do the same approach with the reports but the method "Get" 
 like "$data = $service->get($selector);" always returns the following 
 error: *PHP Warning: The method "get" is not supported. *

 So I guess for reports, this is not the right way to proceed.

 Is it correct to assume that this isn't the same approach as 
 "ConversionTrackerService" or other services ?

 Thank you,

 Etienne

 On Friday, November 20, 2015 at 3:40:08 PM UTC-5, Josh Radcliff 
 (AdWords API Team) wrote:
>
> Hi Etienne,
>
> Have you gone through the Working with Objects guide 
> ?
>  
> That explains how to specify which attributes of an object you want to 
> retrieve from a service. The Selector fields list 
> 
>  is 
> also a useful reference.
>
> Regarding the latest conversion date, please make sure that your 
> selector's field list includes *MostRecentConversionDate*, as the API 
> generally only returns values for fields that you have explicitly 
> requested.
>
> Cheers,
> Josh, AdWords API Team
>
> On Friday, November 20, 2015 at 

Re: Conversions

2015-11-24 Thread etienne . veilleux
Hi Josh,

I am able to download reports. I wish instead of downloading the reports, 
retrieve and display the values on the screen. Is it possible ?

Thank you !

On Friday, November 20, 2015 at 5:38:24 PM UTC-5, Josh Radcliff (AdWords 
API Team) wrote:
>
> Hi Etienne,
>
> Reporting works a bit differently, as it simply streams CSV, TSV, or XML 
> results directly (instead of using SOAP). The Reporting Basics guide 
>  gives a 
> good overview of how to run reports, and the examples in the PHP library 
> Reporting folder 
> 
>  show 
> how to use the various PHP utilities for reporting.
>
> Cheers,
> Josh, AdWords API Team
>
> On Friday, November 20, 2015 at 4:45:49 PM UTC-5, etienne@admobio.com 
>  wrote:
>>
>> Hi Josh and thank you for your answer.
>>
>> I completely forgot to add the field in the selector, so it always sent 
>> me an empty field. It was my mistake ... I think I'm exhausted from my work 
>> week.
>>
>> *Here's my working code:*
>> function test(AdWordsUser $user) {
>>  
>>  $service = $user->GetService('ConversionTrackerService', ADWORDS_VERSION
>> );
>>  $selector = new Selector();
>>  $selector->fields = array(
>>   'MostRecentConversionDate', 
>>   'LastReceivedRequestTime'
>>  );
>>  
>>  $data = $service->get($selector);
>>  
>>  if (isset($data->entries)) {
>>   print_r("");
>>   print_r ($data->entries);
>>   print_r("");
>>  }else{
>>   print "Empty";
>>  }
>>
>> }
>>
>> I tried to do the same approach with the reports but the method "Get" 
>> like "$data = $service->get($selector);" always returns the following 
>> error: *PHP Warning: The method "get" is not supported. *
>>
>> So I guess for reports, this is not the right way to proceed.
>>
>> Is it correct to assume that this isn't the same approach as 
>> "ConversionTrackerService" or other services ?
>>
>> Thank you,
>>
>> Etienne
>>
>> On Friday, November 20, 2015 at 3:40:08 PM UTC-5, Josh Radcliff (AdWords 
>> API Team) wrote:
>>>
>>> Hi Etienne,
>>>
>>> Have you gone through the Working with Objects guide 
>>> ?
>>>  
>>> That explains how to specify which attributes of an object you want to 
>>> retrieve from a service. The Selector fields list 
>>> 
>>>  is 
>>> also a useful reference.
>>>
>>> Regarding the latest conversion date, please make sure that your 
>>> selector's field list includes *MostRecentConversionDate*, as the API 
>>> generally only returns values for fields that you have explicitly requested.
>>>
>>> Cheers,
>>> Josh, AdWords API Team
>>>
>>> On Friday, November 20, 2015 at 3:01:47 PM UTC-5, 
>>> etienne@admobio.com wrote:

 Hi Nadine !

 Thanks for the info. I had previously tested with "NULL" but I had not 
 paid attention then it worked thank you!

 Now that it's done, I can't find information to retrieve the values 
 returned by the service. Do you have any info on this on how to do this?

 Also, I found the "ConversionTrackerService" that returns many 
 information. I found the "mostRecentConversionDate" field. With this 
 field, 
 I would be able to recover the most recent conversion date and compare it 
 with today's date and then whether a conversion took place in the last 30 
 days.

 The problem is that the field always seems empty! I will do another 
 test but the field still seems empty even if conversion has been made.

 What do you think of these two subjects?

 Thank you,
 Etienne

 On Friday, November 20, 2015 at 1:55:07 PM UTC-5, Nadine Sundquist 
 (AdWords API Team) wrote:
>
> Hi Etienne,
>
> Your English is definitely easy to understand. No worries there. I 
> looked at the PHP code that you have, and I looked at the Report 
> Utils PHP 
> 
>  
> code in the library. It looks like if you set the file path to *null*, 
> then it should skip over fopen(). Have you given that a try?
>
> Cheers,
> Nadine, AdWords API Team 
>
> On Friday, November 20, 2015 at 12:23:56 PM UTC-5, 
> etienne@admobio.com wrote:
>>
>> Hi !
>>
>> Ok I tried several things and in different ways but if I don't 
>> specify filePath, logs always returns me:
>>
>> PHP Warning: fopen (): Filename can not be empty in 
>> src/Google/Api/Ads/AdWords/User/ReportUtils.php
>>
>> For now I'm stuck here. If you have a solution let me know and I will 
>> meanwhile do research.
>>
>> Thank you for your help !

Re: Conversions

2015-11-24 Thread Josh Radcliff (AdWords API Team)
Hi Etienne,

You can retrieve the report as a string if you simply do not specify a 
*$filePath* when you cal*l ReportUtils::DownloadReport*. In that case, the 
return value from *ReportUtils::DownloadReport* will be the contents as a 
string.

https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201509/Reporting/DownloadCriteriaReport.php#L75

Cheers,
Josh, AdWords API Team

On Tuesday, November 24, 2015 at 4:18:04 PM UTC-5, 
etienne.veill...@admobio.com wrote:
>
> Hi Josh,
>
> I am able to download reports. I wish instead of downloading the reports, 
> retrieve and display the values on the screen. Is it possible ?
>
> Thank you !
>
> On Friday, November 20, 2015 at 5:38:24 PM UTC-5, Josh Radcliff (AdWords 
> API Team) wrote:
>>
>> Hi Etienne,
>>
>> Reporting works a bit differently, as it simply streams CSV, TSV, or XML 
>> results directly (instead of using SOAP). The Reporting Basics guide 
>>  gives 
>> a good overview of how to run reports, and the examples in the PHP 
>> library Reporting folder 
>> 
>>  show 
>> how to use the various PHP utilities for reporting.
>>
>> Cheers,
>> Josh, AdWords API Team
>>
>> On Friday, November 20, 2015 at 4:45:49 PM UTC-5, etienne@admobio.com 
>> wrote:
>>>
>>> Hi Josh and thank you for your answer.
>>>
>>> I completely forgot to add the field in the selector, so it always sent 
>>> me an empty field. It was my mistake ... I think I'm exhausted from my work 
>>> week.
>>>
>>> *Here's my working code:*
>>> function test(AdWordsUser $user) {
>>>  
>>>  $service = $user->GetService('ConversionTrackerService',
>>>  ADWORDS_VERSION);
>>>  $selector = new Selector();
>>>  $selector->fields = array(
>>>   'MostRecentConversionDate', 
>>>   'LastReceivedRequestTime'
>>>  );
>>>  
>>>  $data = $service->get($selector);
>>>  
>>>  if (isset($data->entries)) {
>>>   print_r("");
>>>   print_r ($data->entries);
>>>   print_r("");
>>>  }else{
>>>   print "Empty";
>>>  }
>>>
>>> }
>>>
>>> I tried to do the same approach with the reports but the method "Get" 
>>> like "$data = $service->get($selector);" always returns the following 
>>> error: *PHP Warning: The method "get" is not supported. *
>>>
>>> So I guess for reports, this is not the right way to proceed.
>>>
>>> Is it correct to assume that this isn't the same approach as 
>>> "ConversionTrackerService" or other services ?
>>>
>>> Thank you,
>>>
>>> Etienne
>>>
>>> On Friday, November 20, 2015 at 3:40:08 PM UTC-5, Josh Radcliff (AdWords 
>>> API Team) wrote:

 Hi Etienne,

 Have you gone through the Working with Objects guide 
 ?
  
 That explains how to specify which attributes of an object you want to 
 retrieve from a service. The Selector fields list 
 
  is 
 also a useful reference.

 Regarding the latest conversion date, please make sure that your 
 selector's field list includes *MostRecentConversionDate*, as the API 
 generally only returns values for fields that you have explicitly 
 requested.

 Cheers,
 Josh, AdWords API Team

 On Friday, November 20, 2015 at 3:01:47 PM UTC-5, 
 etienne@admobio.com wrote:
>
> Hi Nadine !
>
> Thanks for the info. I had previously tested with "NULL" but I had not 
> paid attention then it worked thank you!
>
> Now that it's done, I can't find information to retrieve the values 
> returned by the service. Do you have any info on this on how to do this?
>
> Also, I found the "ConversionTrackerService" that returns many 
> information. I found the "mostRecentConversionDate" field. With this 
> field, 
> I would be able to recover the most recent conversion date and compare it 
> with today's date and then whether a conversion took place in the last 30 
> days.
>
> The problem is that the field always seems empty! I will do another 
> test but the field still seems empty even if conversion has been made.
>
> What do you think of these two subjects?
>
> Thank you,
> Etienne
>
> On Friday, November 20, 2015 at 1:55:07 PM UTC-5, Nadine Sundquist 
> (AdWords API Team) wrote:
>>
>> Hi Etienne,
>>
>> Your English is definitely easy to understand. No worries there. I 
>> looked at the PHP code that you have, and I looked at the Report 
>> Utils PHP 
>> 
>>  
>> code in the library. It looks like if you set the file path to *null*, 
>> then it 

Re: Conversions

2015-11-20 Thread Anthony Madrigal
Hi Etienne,

I am not 100% certain of the PHP equivalent since I focus primarily on 
Java, but I will help as best I can. I believe that for 
*Lib\Util\ReportUtils.DownloadReport 
*for the PHP example 
,
 
the return type is "if path isn't specified the contents of the report, 
otherwise the size in bytes of the downloaded report". In other words, if 
you do not provide the file path, it will be returned as a string.

Regards,
Anthony
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/63364f47-f3d9-4e38-9d0a-d42043445bb6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Conversions

2015-11-20 Thread etienne . veilleux
Hi !

Ok I tried several things and in different ways but if I don't specify 
filePath, logs always returns me:

PHP Warning: fopen (): Filename can not be empty in 
src/Google/Api/Ads/AdWords/User/ReportUtils.php

For now I'm stuck here. If you have a solution let me know and I will 
meanwhile do research.

Thank you for your help !

PS: Sorry for my English, I speak French from Quebec.

Etienne

*Here is my code that works and that allows me to download the report.*
function test(AdWordsUser $user) {

  // Load the service, so that the required classes are available.
  $user->LoadService('ReportDefinitionService', ADWORDS_VERSION);

  // Create selector.
  $selector = new Selector();
  $selector->fields = array('CampaignId');
   
  //if ($timePeriod == "CUSTOM_DATE") {
  //$selector->dateRange = new DateRange($dateFrom, $dateTo);
  //}

  // Create report definition.
  $reportDefinition = new ReportDefinition();
  $reportDefinition->selector = $selector;
  $reportDefinition->reportName = 'Performance report #' . uniqid();
  $reportDefinition->dateRangeType = 'LAST_7_DAYS';
  //$reportDefinition->reportType = 'ACCOUNT_PERFORMANCE_REPORT';
  $reportDefinition->reportType = 'CAMPAIGN_PERFORMANCE_REPORT';
  $reportDefinition->downloadFormat = 'XML';

  // Set additional options.
  $options = array('version' => ADWORDS_VERSION);

  $filePath = "reports/test.xml";
 
  // Download report.
  ReportUtils::DownloadReport($reportDefinition, $filePath, $user, $options
);
  
  printf("Report with name '%s' was downloaded to '%s'.\n", 
$reportDefinition->reportName, $filePath);
}





On Friday, November 20, 2015 at 9:58:12 AM UTC-5, Anthony Madrigal wrote:
>
> Hi Etienne,
>
> I am not 100% certain of the PHP equivalent since I focus primarily on 
> Java, but I will help as best I can. I believe that for 
> *Lib\Util\ReportUtils.DownloadReport 
> *for the PHP example 
> ,
>  
> the return type is "if path isn't specified the contents of the report, 
> otherwise the size in bytes of the downloaded report". In other words, if 
> you do not provide the file path, it will be returned as a string.
>
> Regards,
> Anthony
> AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d16a7a9c-40d8-437d-be06-ceaf4dab818b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Conversions

2015-11-20 Thread Nadine Sundquist (AdWords API Team)
Hi Etienne,

Your English is definitely easy to understand. No worries there. I looked 
at the PHP code that you have, and I looked at the Report Utils PHP 

 
code in the library. It looks like if you set the file path to *null*, then 
it should skip over fopen(). Have you given that a try?

Cheers,
Nadine, AdWords API Team 

On Friday, November 20, 2015 at 12:23:56 PM UTC-5, 
etienne.veill...@admobio.com wrote:
>
> Hi !
>
> Ok I tried several things and in different ways but if I don't specify 
> filePath, logs always returns me:
>
> PHP Warning: fopen (): Filename can not be empty in 
> src/Google/Api/Ads/AdWords/User/ReportUtils.php
>
> For now I'm stuck here. If you have a solution let me know and I will 
> meanwhile do research.
>
> Thank you for your help !
>
> PS: Sorry for my English, I speak French from Quebec.
>
> Etienne
>
> *Here is my code that works and that allows me to download the report.*
> function test(AdWordsUser $user) {
> 
>   // Load the service, so that the required classes are available.
>   $user->LoadService('ReportDefinitionService', ADWORDS_VERSION);
>
>   // Create selector.
>   $selector = new Selector();
>   $selector->fields = array('CampaignId');
>
>   //if ($timePeriod == "CUSTOM_DATE") {
>   //$selector->dateRange = new DateRange($dateFrom, $dateTo);
>   //}
>
>   // Create report definition.
>   $reportDefinition = new ReportDefinition();
>   $reportDefinition->selector = $selector;
>   $reportDefinition->reportName = 'Performance report #' . uniqid();
>   $reportDefinition->dateRangeType = 'LAST_7_DAYS';
>   //$reportDefinition->reportType = 'ACCOUNT_PERFORMANCE_REPORT';
>   $reportDefinition->reportType = 'CAMPAIGN_PERFORMANCE_REPORT';
>   $reportDefinition->downloadFormat = 'XML';
>
>   // Set additional options.
>   $options = array('version' => ADWORDS_VERSION);
>
>   $filePath = "reports/test.xml";
>  
>   // Download report.
>   ReportUtils::DownloadReport($reportDefinition, $filePath, $user, 
> $options);
>   
>   printf("Report with name '%s' was downloaded to '%s'.\n", 
> $reportDefinition->reportName, $filePath);
> }
>
>
>
>
>
> On Friday, November 20, 2015 at 9:58:12 AM UTC-5, Anthony Madrigal wrote:
>>
>> Hi Etienne,
>>
>> I am not 100% certain of the PHP equivalent since I focus primarily on 
>> Java, but I will help as best I can. I believe that for 
>> *Lib\Util\ReportUtils.DownloadReport 
>> *for the PHP example 
>> ,
>>  
>> the return type is "if path isn't specified the contents of the report, 
>> otherwise the size in bytes of the downloaded report". In other words, if 
>> you do not provide the file path, it will be returned as a string.
>>
>> Regards,
>> Anthony
>> AdWords API Team
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/6a85c419-55e3-4a10-b890-96fa3be4af6f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Conversions

2015-11-20 Thread Josh Radcliff (AdWords API Team)
Hi Etienne,

Have you gone through the Working with Objects guide 
?
 
That explains how to specify which attributes of an object you want to 
retrieve from a service. The Selector fields list 

 is 
also a useful reference.

Regarding the latest conversion date, please make sure that your selector's 
field list includes *MostRecentConversionDate*, as the API generally only 
returns values for fields that you have explicitly requested.

Cheers,
Josh, AdWords API Team

On Friday, November 20, 2015 at 3:01:47 PM UTC-5, 
etienne.veill...@admobio.com wrote:
>
> Hi Nadine !
>
> Thanks for the info. I had previously tested with "NULL" but I had not 
> paid attention then it worked thank you!
>
> Now that it's done, I can't find information to retrieve the values 
> returned by the service. Do you have any info on this on how to do this?
>
> Also, I found the "ConversionTrackerService" that returns many 
> information. I found the "mostRecentConversionDate" field. With this field, 
> I would be able to recover the most recent conversion date and compare it 
> with today's date and then whether a conversion took place in the last 30 
> days.
>
> The problem is that the field always seems empty! I will do another test 
> but the field still seems empty even if conversion has been made.
>
> What do you think of these two subjects?
>
> Thank you,
> Etienne
>
> On Friday, November 20, 2015 at 1:55:07 PM UTC-5, Nadine Sundquist 
> (AdWords API Team) wrote:
>>
>> Hi Etienne,
>>
>> Your English is definitely easy to understand. No worries there. I looked 
>> at the PHP code that you have, and I looked at the Report Utils PHP 
>> 
>>  
>> code in the library. It looks like if you set the file path to *null*, 
>> then it should skip over fopen(). Have you given that a try?
>>
>> Cheers,
>> Nadine, AdWords API Team 
>>
>> On Friday, November 20, 2015 at 12:23:56 PM UTC-5, 
>> etienne@admobio.com wrote:
>>>
>>> Hi !
>>>
>>> Ok I tried several things and in different ways but if I don't specify 
>>> filePath, logs always returns me:
>>>
>>> PHP Warning: fopen (): Filename can not be empty in 
>>> src/Google/Api/Ads/AdWords/User/ReportUtils.php
>>>
>>> For now I'm stuck here. If you have a solution let me know and I will 
>>> meanwhile do research.
>>>
>>> Thank you for your help !
>>>
>>> PS: Sorry for my English, I speak French from Quebec.
>>>
>>> Etienne
>>>
>>> *Here is my code that works and that allows me to download the report.*
>>> function test(AdWordsUser $user) {
>>> 
>>>   // Load the service, so that the required classes are available.
>>>   $user->LoadService('ReportDefinitionService', ADWORDS_VERSION);
>>>
>>>   // Create selector.
>>>   $selector = new Selector();
>>>   $selector->fields = array('CampaignId');
>>>
>>>   //if ($timePeriod == "CUSTOM_DATE") {
>>>   //$selector->dateRange = new DateRange($dateFrom, $dateTo);
>>>   //}
>>>
>>>   // Create report definition.
>>>   $reportDefinition = new ReportDefinition();
>>>   $reportDefinition->selector = $selector;
>>>   $reportDefinition->reportName = 'Performance report #' . uniqid();
>>>   $reportDefinition->dateRangeType = 'LAST_7_DAYS';
>>>   //$reportDefinition->reportType = 'ACCOUNT_PERFORMANCE_REPORT';
>>>   $reportDefinition->reportType = 'CAMPAIGN_PERFORMANCE_REPORT';
>>>   $reportDefinition->downloadFormat = 'XML';
>>>
>>>   // Set additional options.
>>>   $options = array('version' => ADWORDS_VERSION);
>>>
>>>   $filePath = "reports/test.xml";
>>>  
>>>   // Download report.
>>>   ReportUtils::DownloadReport($reportDefinition, $filePath, $user, 
>>> $options);
>>>   
>>>   printf("Report with name '%s' was downloaded to '%s'.\n", 
>>> $reportDefinition->reportName, $filePath);
>>> }
>>>
>>>
>>>
>>>
>>>
>>> On Friday, November 20, 2015 at 9:58:12 AM UTC-5, Anthony Madrigal wrote:

 Hi Etienne,

 I am not 100% certain of the PHP equivalent since I focus primarily on 
 Java, but I will help as best I can. I believe that for 
 *Lib\Util\ReportUtils.DownloadReport 
 *for the PHP example 
 ,
  
 the return type is "if path isn't specified the contents of the 
 report, otherwise the size in bytes of the downloaded report". In other 
 words, if you do not provide the file path, it will be returned as a 
 string.

 Regards,
 Anthony
 AdWords API Team

>>>

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

Re: Conversions

2015-11-20 Thread etienne . veilleux
Hi Nadine !

Thanks for the info. I had previously tested with "NULL" but I had not paid 
attention then it worked thank you!

Now that it's done, I can't find information to retrieve the values 
returned by the service. Do you have any info on this on how to do this?

Also, I found the "ConversionTrackerService" that returns many information. 
I found the "mostRecentConversionDate" field. With this field, I would be 
able to recover the most recent conversion date and compare it with today's 
date and then whether a conversion took place in the last 30 days.

The problem is that the field always seems empty! I will do another test 
but the field still seems empty even if conversion has been made.

What do you think of these two subjects?

Thank you,
Etienne

On Friday, November 20, 2015 at 1:55:07 PM UTC-5, Nadine Sundquist (AdWords 
API Team) wrote:
>
> Hi Etienne,
>
> Your English is definitely easy to understand. No worries there. I looked 
> at the PHP code that you have, and I looked at the Report Utils PHP 
> 
>  
> code in the library. It looks like if you set the file path to *null*, 
> then it should skip over fopen(). Have you given that a try?
>
> Cheers,
> Nadine, AdWords API Team 
>
> On Friday, November 20, 2015 at 12:23:56 PM UTC-5, etienne@admobio.com 
>  wrote:
>>
>> Hi !
>>
>> Ok I tried several things and in different ways but if I don't specify 
>> filePath, logs always returns me:
>>
>> PHP Warning: fopen (): Filename can not be empty in 
>> src/Google/Api/Ads/AdWords/User/ReportUtils.php
>>
>> For now I'm stuck here. If you have a solution let me know and I will 
>> meanwhile do research.
>>
>> Thank you for your help !
>>
>> PS: Sorry for my English, I speak French from Quebec.
>>
>> Etienne
>>
>> *Here is my code that works and that allows me to download the report.*
>> function test(AdWordsUser $user) {
>> 
>>   // Load the service, so that the required classes are available.
>>   $user->LoadService('ReportDefinitionService', ADWORDS_VERSION);
>>
>>   // Create selector.
>>   $selector = new Selector();
>>   $selector->fields = array('CampaignId');
>>
>>   //if ($timePeriod == "CUSTOM_DATE") {
>>   //$selector->dateRange = new DateRange($dateFrom, $dateTo);
>>   //}
>>
>>   // Create report definition.
>>   $reportDefinition = new ReportDefinition();
>>   $reportDefinition->selector = $selector;
>>   $reportDefinition->reportName = 'Performance report #' . uniqid();
>>   $reportDefinition->dateRangeType = 'LAST_7_DAYS';
>>   //$reportDefinition->reportType = 'ACCOUNT_PERFORMANCE_REPORT';
>>   $reportDefinition->reportType = 'CAMPAIGN_PERFORMANCE_REPORT';
>>   $reportDefinition->downloadFormat = 'XML';
>>
>>   // Set additional options.
>>   $options = array('version' => ADWORDS_VERSION);
>>
>>   $filePath = "reports/test.xml";
>>  
>>   // Download report.
>>   ReportUtils::DownloadReport($reportDefinition, $filePath, $user, 
>> $options);
>>   
>>   printf("Report with name '%s' was downloaded to '%s'.\n", 
>> $reportDefinition->reportName, $filePath);
>> }
>>
>>
>>
>>
>>
>> On Friday, November 20, 2015 at 9:58:12 AM UTC-5, Anthony Madrigal wrote:
>>>
>>> Hi Etienne,
>>>
>>> I am not 100% certain of the PHP equivalent since I focus primarily on 
>>> Java, but I will help as best I can. I believe that for 
>>> *Lib\Util\ReportUtils.DownloadReport 
>>> *for the PHP example 
>>> ,
>>>  
>>> the return type is "if path isn't specified the contents of the report, 
>>> otherwise the size in bytes of the downloaded report". In other words, if 
>>> you do not provide the file path, it will be returned as a string.
>>>
>>> Regards,
>>> Anthony
>>> AdWords API Team
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/4e14bca7-9ca9-41f5-bfdd-1ff5f55c35a4%40googlegroups.com.
For more options, visit 

Re: Conversions

2015-11-20 Thread etienne . veilleux
Hi Josh and thank you for your answer.

I completely forgot to add the field in the selector, so it always sent me 
an empty field. It was my mistake ... I think I'm exhausted from my work 
week.

*Here's my working code:*
function test(AdWordsUser $user) {
 
 $service = $user->GetService('ConversionTrackerService', ADWORDS_VERSION);
 $selector = new Selector();
 $selector->fields = array(
  'MostRecentConversionDate', 
  'LastReceivedRequestTime'
 );
 
 $data = $service->get($selector);
 
 if (isset($data->entries)) {
  print_r("");
  print_r ($data->entries);
  print_r("");
 }else{
  print "Empty";
 }

}

I tried to do the same approach with the reports but the method "Get" like "
$data = $service->get($selector);" always returns the following error: *PHP 
Warning: The method "get" is not supported. *

So I guess for reports, this is not the right way to proceed.

Is it correct to assume that this isn't the same approach as 
"ConversionTrackerService" or other services ?

Thank you,

Etienne

On Friday, November 20, 2015 at 3:40:08 PM UTC-5, Josh Radcliff (AdWords 
API Team) wrote:
>
> Hi Etienne,
>
> Have you gone through the Working with Objects guide 
> ?
>  
> That explains how to specify which attributes of an object you want to 
> retrieve from a service. The Selector fields list 
> 
>  is 
> also a useful reference.
>
> Regarding the latest conversion date, please make sure that your 
> selector's field list includes *MostRecentConversionDate*, as the API 
> generally only returns values for fields that you have explicitly requested.
>
> Cheers,
> Josh, AdWords API Team
>
> On Friday, November 20, 2015 at 3:01:47 PM UTC-5, etienne@admobio.com 
>  wrote:
>>
>> Hi Nadine !
>>
>> Thanks for the info. I had previously tested with "NULL" but I had not 
>> paid attention then it worked thank you!
>>
>> Now that it's done, I can't find information to retrieve the values 
>> returned by the service. Do you have any info on this on how to do this?
>>
>> Also, I found the "ConversionTrackerService" that returns many 
>> information. I found the "mostRecentConversionDate" field. With this field, 
>> I would be able to recover the most recent conversion date and compare it 
>> with today's date and then whether a conversion took place in the last 30 
>> days.
>>
>> The problem is that the field always seems empty! I will do another test 
>> but the field still seems empty even if conversion has been made.
>>
>> What do you think of these two subjects?
>>
>> Thank you,
>> Etienne
>>
>> On Friday, November 20, 2015 at 1:55:07 PM UTC-5, Nadine Sundquist 
>> (AdWords API Team) wrote:
>>>
>>> Hi Etienne,
>>>
>>> Your English is definitely easy to understand. No worries there. I 
>>> looked at the PHP code that you have, and I looked at the Report Utils 
>>> PHP 
>>> 
>>>  
>>> code in the library. It looks like if you set the file path to *null*, 
>>> then it should skip over fopen(). Have you given that a try?
>>>
>>> Cheers,
>>> Nadine, AdWords API Team 
>>>
>>> On Friday, November 20, 2015 at 12:23:56 PM UTC-5, 
>>> etienne@admobio.com wrote:

 Hi !

 Ok I tried several things and in different ways but if I don't specify 
 filePath, logs always returns me:

 PHP Warning: fopen (): Filename can not be empty in 
 src/Google/Api/Ads/AdWords/User/ReportUtils.php

 For now I'm stuck here. If you have a solution let me know and I will 
 meanwhile do research.

 Thank you for your help !

 PS: Sorry for my English, I speak French from Quebec.

 Etienne

 *Here is my code that works and that allows me to download the report.*
 function test(AdWordsUser $user) {
 
   // Load the service, so that the required classes are available.
   $user->LoadService('ReportDefinitionService', ADWORDS_VERSION);

   // Create selector.
   $selector = new Selector();
   $selector->fields = array('CampaignId');

   //if ($timePeriod == "CUSTOM_DATE") {
   //$selector->dateRange = new DateRange($dateFrom, $dateTo);
   //}

   // Create report definition.
   $reportDefinition = new ReportDefinition();
   $reportDefinition->selector = $selector;
   $reportDefinition->reportName = 'Performance report #' . uniqid();
   $reportDefinition->dateRangeType = 'LAST_7_DAYS';
   //$reportDefinition->reportType = 'ACCOUNT_PERFORMANCE_REPORT';
   $reportDefinition->reportType = 'CAMPAIGN_PERFORMANCE_REPORT';
   $reportDefinition->downloadFormat = 'XML';

   // Set additional options.
   $options = array('version' => 

Re: Conversions

2015-11-20 Thread etienne . veilleux
Josh Hi and thank you for your answer.

I completely forgot to add the field in the selector, so it always sent me 
an empty field. It was my mistake ... I think I'm exhausted from my work 
week.

*Here's my working code:*
function test(AdWordsUser $user) {
 
 $service = $user->GetService('ConversionTrackerService', ADWORDS_VERSION);
 $selector = new Selector();
 $selector->fields = array(
 'MostRecentConversionDate', 
 'LastReceivedRequestTime'
 );
 
 $data = $service->get($selector);
 
 if (isset($data->entries)) {
 print_r("");
 print_r ($data->entries);
 print_r("");
 }else{
 print "Empty";
 }
 
 echo "ConversionTrackerService";
}

I tried to do the same approach with the reports but the method "Get" like "
$data = $service->get($selector);" always returns the following error: *PHP 
Warning: The method "get" is not supported. *

So I guess for reports, this is not the right way to proceed.

Is it correct to assume that this isn't the same approach as 
"ConversionTrackerService" or other services ?

Thank you,

Etienne





On Friday, November 20, 2015 at 3:40:08 PM UTC-5, Josh Radcliff (AdWords 
API Team) wrote:
>
> Hi Etienne,
>
> Have you gone through the Working with Objects guide 
> ?
>  
> That explains how to specify which attributes of an object you want to 
> retrieve from a service. The Selector fields list 
> 
>  is 
> also a useful reference.
>
> Regarding the latest conversion date, please make sure that your 
> selector's field list includes *MostRecentConversionDate*, as the API 
> generally only returns values for fields that you have explicitly requested.
>
> Cheers,
> Josh, AdWords API Team
>
> On Friday, November 20, 2015 at 3:01:47 PM UTC-5, etienne@admobio.com 
>  wrote:
>>
>> Hi Nadine !
>>
>> Thanks for the info. I had previously tested with "NULL" but I had not 
>> paid attention then it worked thank you!
>>
>> Now that it's done, I can't find information to retrieve the values 
>> returned by the service. Do you have any info on this on how to do this?
>>
>> Also, I found the "ConversionTrackerService" that returns many 
>> information. I found the "mostRecentConversionDate" field. With this field, 
>> I would be able to recover the most recent conversion date and compare it 
>> with today's date and then whether a conversion took place in the last 30 
>> days.
>>
>> The problem is that the field always seems empty! I will do another test 
>> but the field still seems empty even if conversion has been made.
>>
>> What do you think of these two subjects?
>>
>> Thank you,
>> Etienne
>>
>> On Friday, November 20, 2015 at 1:55:07 PM UTC-5, Nadine Sundquist 
>> (AdWords API Team) wrote:
>>>
>>> Hi Etienne,
>>>
>>> Your English is definitely easy to understand. No worries there. I 
>>> looked at the PHP code that you have, and I looked at the Report Utils 
>>> PHP 
>>> 
>>>  
>>> code in the library. It looks like if you set the file path to *null*, 
>>> then it should skip over fopen(). Have you given that a try?
>>>
>>> Cheers,
>>> Nadine, AdWords API Team 
>>>
>>> On Friday, November 20, 2015 at 12:23:56 PM UTC-5, 
>>> etienne@admobio.com wrote:

 Hi !

 Ok I tried several things and in different ways but if I don't specify 
 filePath, logs always returns me:

 PHP Warning: fopen (): Filename can not be empty in 
 src/Google/Api/Ads/AdWords/User/ReportUtils.php

 For now I'm stuck here. If you have a solution let me know and I will 
 meanwhile do research.

 Thank you for your help !

 PS: Sorry for my English, I speak French from Quebec.

 Etienne

 *Here is my code that works and that allows me to download the report.*
 function test(AdWordsUser $user) {
 
   // Load the service, so that the required classes are available.
   $user->LoadService('ReportDefinitionService', ADWORDS_VERSION);

   // Create selector.
   $selector = new Selector();
   $selector->fields = array('CampaignId');

   //if ($timePeriod == "CUSTOM_DATE") {
   //$selector->dateRange = new DateRange($dateFrom, $dateTo);
   //}

   // Create report definition.
   $reportDefinition = new ReportDefinition();
   $reportDefinition->selector = $selector;
   $reportDefinition->reportName = 'Performance report #' . uniqid();
   $reportDefinition->dateRangeType = 'LAST_7_DAYS';
   //$reportDefinition->reportType = 'ACCOUNT_PERFORMANCE_REPORT';
   $reportDefinition->reportType = 'CAMPAIGN_PERFORMANCE_REPORT';
   $reportDefinition->downloadFormat = 'XML';

   // Set additional options.
   $options = 

Re: Conversions

2015-11-20 Thread Josh Radcliff (AdWords API Team)
Hi Etienne,

Reporting works a bit differently, as it simply streams CSV, TSV, or XML 
results directly (instead of using SOAP). The Reporting Basics guide 
 gives a 
good overview of how to run reports, and the examples in the PHP library 
Reporting folder 

 show 
how to use the various PHP utilities for reporting.

Cheers,
Josh, AdWords API Team

On Friday, November 20, 2015 at 4:45:49 PM UTC-5, 
etienne.veill...@admobio.com wrote:
>
> Hi Josh and thank you for your answer.
>
> I completely forgot to add the field in the selector, so it always sent me 
> an empty field. It was my mistake ... I think I'm exhausted from my work 
> week.
>
> *Here's my working code:*
> function test(AdWordsUser $user) {
>  
>  $service = $user->GetService('ConversionTrackerService', ADWORDS_VERSION
> );
>  $selector = new Selector();
>  $selector->fields = array(
>   'MostRecentConversionDate', 
>   'LastReceivedRequestTime'
>  );
>  
>  $data = $service->get($selector);
>  
>  if (isset($data->entries)) {
>   print_r("");
>   print_r ($data->entries);
>   print_r("");
>  }else{
>   print "Empty";
>  }
>
> }
>
> I tried to do the same approach with the reports but the method "Get" like 
> "$data = $service->get($selector);" always returns the following error: *PHP 
> Warning: The method "get" is not supported. *
>
> So I guess for reports, this is not the right way to proceed.
>
> Is it correct to assume that this isn't the same approach as 
> "ConversionTrackerService" or other services ?
>
> Thank you,
>
> Etienne
>
> On Friday, November 20, 2015 at 3:40:08 PM UTC-5, Josh Radcliff (AdWords 
> API Team) wrote:
>>
>> Hi Etienne,
>>
>> Have you gone through the Working with Objects guide 
>> ?
>>  
>> That explains how to specify which attributes of an object you want to 
>> retrieve from a service. The Selector fields list 
>> 
>>  is 
>> also a useful reference.
>>
>> Regarding the latest conversion date, please make sure that your 
>> selector's field list includes *MostRecentConversionDate*, as the API 
>> generally only returns values for fields that you have explicitly requested.
>>
>> Cheers,
>> Josh, AdWords API Team
>>
>> On Friday, November 20, 2015 at 3:01:47 PM UTC-5, etienne@admobio.com 
>> wrote:
>>>
>>> Hi Nadine !
>>>
>>> Thanks for the info. I had previously tested with "NULL" but I had not 
>>> paid attention then it worked thank you!
>>>
>>> Now that it's done, I can't find information to retrieve the values 
>>> returned by the service. Do you have any info on this on how to do this?
>>>
>>> Also, I found the "ConversionTrackerService" that returns many 
>>> information. I found the "mostRecentConversionDate" field. With this field, 
>>> I would be able to recover the most recent conversion date and compare it 
>>> with today's date and then whether a conversion took place in the last 30 
>>> days.
>>>
>>> The problem is that the field always seems empty! I will do another test 
>>> but the field still seems empty even if conversion has been made.
>>>
>>> What do you think of these two subjects?
>>>
>>> Thank you,
>>> Etienne
>>>
>>> On Friday, November 20, 2015 at 1:55:07 PM UTC-5, Nadine Sundquist 
>>> (AdWords API Team) wrote:

 Hi Etienne,

 Your English is definitely easy to understand. No worries there. I 
 looked at the PHP code that you have, and I looked at the Report Utils 
 PHP 
 
  
 code in the library. It looks like if you set the file path to *null*, 
 then it should skip over fopen(). Have you given that a try?

 Cheers,
 Nadine, AdWords API Team 

 On Friday, November 20, 2015 at 12:23:56 PM UTC-5, 
 etienne@admobio.com wrote:
>
> Hi !
>
> Ok I tried several things and in different ways but if I don't specify 
> filePath, logs always returns me:
>
> PHP Warning: fopen (): Filename can not be empty in 
> src/Google/Api/Ads/AdWords/User/ReportUtils.php
>
> For now I'm stuck here. If you have a solution let me know and I will 
> meanwhile do research.
>
> Thank you for your help !
>
> PS: Sorry for my English, I speak French from Quebec.
>
> Etienne
>
> *Here is my code that works and that allows me to download the report.*
> function test(AdWordsUser $user) {
> 
>   // Load the service, so that the required classes are available.
>   $user->LoadService('ReportDefinitionService', ADWORDS_VERSION);
>
>   // Create selector.
> 

Re: Conversions

2015-11-19 Thread etienne . veilleux
Hi,

I'm glad to hear that it's possible.

I searched for an equivalent of "response.getAsString ()". I work with PHP, 
do you have any examples?

Thank you for your help!

Etienne

On Thursday, November 19, 2015 at 4:34:53 PM UTC-5, Anthony Madrigal wrote:
>
> Hi,
>
> Yes, you can get the report returned to you as a string. How to do it 
> depends on which library you use. For example, in this Java example 
> ,
>  
> you can change this line from* response.saveToFile(reportFile); *to
> * response.getAsString().*
>
> Please let me know if you need more assistance. 
>
> Cheers,
> Anthony
> AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d4be1a76-2f23-4c4a-9f81-dc1a7cc0b87f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Conversions

2015-11-18 Thread Anthony Madrigal
Hi Etienne,

For your use case, I recommend using a report instead of an API service. 
The particular report type you should use is the Account Performance Report 
.
 
Make sure to include the field *Conversions *and use the date range 
*LAST_30_DAYS.*

Cheers,
Anthony
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/8cb6658a-88b2-44c8-9bf5-b71f35395f97%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: conversions in shopping performance report

2015-10-13 Thread Nadine Sundquist (AdWords API Team)
Hi Alexander,

Good news! With the release of v201509 
,
 
the Shopping Performance Report 

 now 
includes the ConversionCategoryName 
,
 
ConversionTrackerId 
,
 
and ConversionTypeName 
.
 
The Device 

 
field is also available.

Cheers,
Nadine, AdWords API Team  

On Wednesday, August 5, 2015 at 5:44:20 AM UTC-4, Alexander Paluch wrote:
>
> Hi Ray, Hey Eric,
>
> we have the same problem  as mentioned above - and really really need 
> ConversionTypeName and ConversionCategoryName as well as the Device field.
>
> As nearly one year has passed - are there any news on the topic?
>
> Best regards,
> Alexander Paluch
>
>
>
> Am Dienstag, 26. August 2014 01:39:06 UTC+2 schrieb Eric Maas:
>>
>> Hi Ray,
>>
>> We were wondering if you had any progress on looking into the 
>> ConversionTypeName, ConversionCategoryName and Device for the shopping 
>> performance report?
>>
>> Thanks,
>> Eric
>>
>> On Wednesday, June 25, 2014 6:13:04 PM UTC-4, Ray Tsang (AdWords API 
>> Team) wrote:
>>>
>>> Hi guys,
>>>
>>> I'll also inquire about the Device field as well.
>>>
>>> Thanks,
>>>
>>> Ray
>>>
>>> On Wednesday, June 25, 2014 1:32:45 PM UTC-7, CFJ wrote:

 +1 for requesting Device as an available field in either the Shopping 
 Performance Report or the Product Partition Report
  
  
  

 On Wednesday, June 18, 2014 5:33:23 PM UTC-4, GregT wrote:

> Thanks, Ray.
>
> Also, I meant to mention that if it'd be possible to add Device to the 
> report (it's not in all the performance reports, but is in most of them), 
> that would be really helpful as well.
>
> Thanks,
> Greg
>
> On Wednesday, June 18, 2014 11:59:40 AM UTC-6, Ray Tsang (AdWords API 
> Team) wrote:
>>
>> Greg,
>>
>> I'll take a look at this.
>>
>> Cheers,
>>
>> Ray
>>
>> On Wednesday, June 18, 2014 1:38:22 PM UTC-4, GregT wrote:
>>>
>>> Hi,
>>>
>>> We are preparing to move all our client's PLA campaigns over to 
>>> shopping campaigns, as required by August, since PLA campaigns will be 
>>> retired then.  One issue we're running into is that, unlike every other 
>>> performance report that we use in the API, the shopping performance 
>>> report 
>>> does not contain the fields "ConversionTypeName" and 
>>> "ConversionCategoryName", which allow segmenting by individual 
>>> conversion 
>>> types.  This is critical information for us, because many [most?] of 
>>> our 
>>> clients have many different conversion types, and the information on 
>>> what 
>>> kind(s) of conversion happened is very important.  Could you please add 
>>> these fields to the report, in matching with the other performance 
>>> reports, 
>>> particularly as we are all going to be required to upgrade to shopping 
>>> campaigns very soon?
>>>
>>> Thanks much,
>>> Greg
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/5fff9f46-f632-45d7-ad59-6474e2bee78e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: conversions in shopping performance report

2015-08-05 Thread Alexander Paluch
Hi Ray, Hey Eric,

we have the same problem  as mentioned above - and really really need 
ConversionTypeName and ConversionCategoryName as well as the Device field.

As nearly one year has passed - are there any news on the topic?

Best regards,
Alexander Paluch



Am Dienstag, 26. August 2014 01:39:06 UTC+2 schrieb Eric Maas:

 Hi Ray,

 We were wondering if you had any progress on looking into the 
 ConversionTypeName, ConversionCategoryName and Device for the shopping 
 performance report?

 Thanks,
 Eric

 On Wednesday, June 25, 2014 6:13:04 PM UTC-4, Ray Tsang (AdWords API Team) 
 wrote:

 Hi guys,

 I'll also inquire about the Device field as well.

 Thanks,

 Ray

 On Wednesday, June 25, 2014 1:32:45 PM UTC-7, CFJ wrote:

 +1 for requesting Device as an available field in either the Shopping 
 Performance Report or the Product Partition Report
  
  
  

 On Wednesday, June 18, 2014 5:33:23 PM UTC-4, GregT wrote:

 Thanks, Ray.

 Also, I meant to mention that if it'd be possible to add Device to the 
 report (it's not in all the performance reports, but is in most of them), 
 that would be really helpful as well.

 Thanks,
 Greg

 On Wednesday, June 18, 2014 11:59:40 AM UTC-6, Ray Tsang (AdWords API 
 Team) wrote:

 Greg,

 I'll take a look at this.

 Cheers,

 Ray

 On Wednesday, June 18, 2014 1:38:22 PM UTC-4, GregT wrote:

 Hi,

 We are preparing to move all our client's PLA campaigns over to 
 shopping campaigns, as required by August, since PLA campaigns will be 
 retired then.  One issue we're running into is that, unlike every other 
 performance report that we use in the API, the shopping performance 
 report 
 does not contain the fields ConversionTypeName and 
 ConversionCategoryName, which allow segmenting by individual 
 conversion 
 types.  This is critical information for us, because many [most?] of our 
 clients have many different conversion types, and the information on 
 what 
 kind(s) of conversion happened is very important.  Could you please add 
 these fields to the report, in matching with the other performance 
 reports, 
 particularly as we are all going to be required to upgrade to shopping 
 campaigns very soon?

 Thanks much,
 Greg



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/fe9e6eea-7ca1-4f8c-868d-5222cddaaf6d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Conversions Creation Alert

2014-11-17 Thread Michael Cloonan (AdWords API Team)
Hello Hanan,

There is no way to create any kinds of custom alerts via the AdWords API. 
The only alert-related feature in the API, AlertService, was removed in 
v201409 
https://developers.google.com/adwords/api/docs/guides/migration/v201409.

Regards,
Mike, AdWords API Team

On Sunday, November 16, 2014 5:23:53 AM UTC-5, Hanan Zalkinder wrote:

 Hi,

 I'd like to know if it's possible to create an Adwords alert for when a 
 new conversion is created in the account.

 Thanks,
 Hanan


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/841da75e-6f3b-4e94-abea-c117b11fd817%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: conversions in shopping performance report

2014-08-25 Thread Eric Maas
Hi Ray,

We were wondering if you had any progress on looking into the 
ConversionTypeName, ConversionCategoryName and Device for the shopping 
performance report?

Thanks,
Eric

On Wednesday, June 25, 2014 6:13:04 PM UTC-4, Ray Tsang (AdWords API Team) 
wrote:

 Hi guys,

 I'll also inquire about the Device field as well.

 Thanks,

 Ray

 On Wednesday, June 25, 2014 1:32:45 PM UTC-7, CFJ wrote:

 +1 for requesting Device as an available field in either the Shopping 
 Performance Report or the Product Partition Report
  
  
  

 On Wednesday, June 18, 2014 5:33:23 PM UTC-4, GregT wrote:

 Thanks, Ray.

 Also, I meant to mention that if it'd be possible to add Device to the 
 report (it's not in all the performance reports, but is in most of them), 
 that would be really helpful as well.

 Thanks,
 Greg

 On Wednesday, June 18, 2014 11:59:40 AM UTC-6, Ray Tsang (AdWords API 
 Team) wrote:

 Greg,

 I'll take a look at this.

 Cheers,

 Ray

 On Wednesday, June 18, 2014 1:38:22 PM UTC-4, GregT wrote:

 Hi,

 We are preparing to move all our client's PLA campaigns over to 
 shopping campaigns, as required by August, since PLA campaigns will be 
 retired then.  One issue we're running into is that, unlike every other 
 performance report that we use in the API, the shopping performance 
 report 
 does not contain the fields ConversionTypeName and 
 ConversionCategoryName, which allow segmenting by individual conversion 
 types.  This is critical information for us, because many [most?] of our 
 clients have many different conversion types, and the information on what 
 kind(s) of conversion happened is very important.  Could you please add 
 these fields to the report, in matching with the other performance 
 reports, 
 particularly as we are all going to be required to upgrade to shopping 
 campaigns very soon?

 Thanks much,
 Greg



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/5a9b8616-62ce-4c5a-a4be-622d86d5e9d2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: conversions in shopping performance report

2014-06-25 Thread CFJ
+1 for requesting Device as an available field in either the Shopping 
Performance Report or the Product Partition Report
 
 
 

On Wednesday, June 18, 2014 5:33:23 PM UTC-4, GregT wrote:

 Thanks, Ray.

 Also, I meant to mention that if it'd be possible to add Device to the 
 report (it's not in all the performance reports, but is in most of them), 
 that would be really helpful as well.

 Thanks,
 Greg

 On Wednesday, June 18, 2014 11:59:40 AM UTC-6, Ray Tsang (AdWords API 
 Team) wrote:

 Greg,

 I'll take a look at this.

 Cheers,

 Ray

 On Wednesday, June 18, 2014 1:38:22 PM UTC-4, GregT wrote:

 Hi,

 We are preparing to move all our client's PLA campaigns over to shopping 
 campaigns, as required by August, since PLA campaigns will be retired then. 
  One issue we're running into is that, unlike every other performance 
 report that we use in the API, the shopping performance report does not 
 contain the fields ConversionTypeName and ConversionCategoryName, which 
 allow segmenting by individual conversion types.  This is critical 
 information for us, because many [most?] of our clients have many different 
 conversion types, and the information on what kind(s) of conversion 
 happened is very important.  Could you please add these fields to the 
 report, in matching with the other performance reports, particularly as we 
 are all going to be required to upgrade to shopping campaigns very soon?

 Thanks much,
 Greg



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/d/optout.


Re: conversions in shopping performance report

2014-06-25 Thread Ray Tsang (AdWords API Team)
Hi guys,

I'll also inquire about the Device field as well.

Thanks,

Ray

On Wednesday, June 25, 2014 1:32:45 PM UTC-7, CFJ wrote:

 +1 for requesting Device as an available field in either the Shopping 
 Performance Report or the Product Partition Report
  
  
  

 On Wednesday, June 18, 2014 5:33:23 PM UTC-4, GregT wrote:

 Thanks, Ray.

 Also, I meant to mention that if it'd be possible to add Device to the 
 report (it's not in all the performance reports, but is in most of them), 
 that would be really helpful as well.

 Thanks,
 Greg

 On Wednesday, June 18, 2014 11:59:40 AM UTC-6, Ray Tsang (AdWords API 
 Team) wrote:

 Greg,

 I'll take a look at this.

 Cheers,

 Ray

 On Wednesday, June 18, 2014 1:38:22 PM UTC-4, GregT wrote:

 Hi,

 We are preparing to move all our client's PLA campaigns over to 
 shopping campaigns, as required by August, since PLA campaigns will be 
 retired then.  One issue we're running into is that, unlike every other 
 performance report that we use in the API, the shopping performance report 
 does not contain the fields ConversionTypeName and 
 ConversionCategoryName, which allow segmenting by individual conversion 
 types.  This is critical information for us, because many [most?] of our 
 clients have many different conversion types, and the information on what 
 kind(s) of conversion happened is very important.  Could you please add 
 these fields to the report, in matching with the other performance 
 reports, 
 particularly as we are all going to be required to upgrade to shopping 
 campaigns very soon?

 Thanks much,
 Greg



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/d/optout.


Re: conversions in shopping performance report

2014-06-18 Thread Ray Tsang (AdWords API Team)
Greg,

I'll take a look at this.

Cheers,

Ray

On Wednesday, June 18, 2014 1:38:22 PM UTC-4, GregT wrote:

 Hi,

 We are preparing to move all our client's PLA campaigns over to shopping 
 campaigns, as required by August, since PLA campaigns will be retired then. 
  One issue we're running into is that, unlike every other performance 
 report that we use in the API, the shopping performance report does not 
 contain the fields ConversionTypeName and ConversionCategoryName, which 
 allow segmenting by individual conversion types.  This is critical 
 information for us, because many [most?] of our clients have many different 
 conversion types, and the information on what kind(s) of conversion 
 happened is very important.  Could you please add these fields to the 
 report, in matching with the other performance reports, particularly as we 
 are all going to be required to upgrade to shopping campaigns very soon?

 Thanks much,
 Greg


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/d/optout.


Re: conversions in shopping performance report

2014-06-18 Thread GregT
Thanks, Ray.

Also, I meant to mention that if it'd be possible to add Device to the 
report (it's not in all the performance reports, but is in most of them), 
that would be really helpful as well.

Thanks,
Greg

On Wednesday, June 18, 2014 11:59:40 AM UTC-6, Ray Tsang (AdWords API Team) 
wrote:

 Greg,

 I'll take a look at this.

 Cheers,

 Ray

 On Wednesday, June 18, 2014 1:38:22 PM UTC-4, GregT wrote:

 Hi,

 We are preparing to move all our client's PLA campaigns over to shopping 
 campaigns, as required by August, since PLA campaigns will be retired then. 
  One issue we're running into is that, unlike every other performance 
 report that we use in the API, the shopping performance report does not 
 contain the fields ConversionTypeName and ConversionCategoryName, which 
 allow segmenting by individual conversion types.  This is critical 
 information for us, because many [most?] of our clients have many different 
 conversion types, and the information on what kind(s) of conversion 
 happened is very important.  Could you please add these fields to the 
 report, in matching with the other performance reports, particularly as we 
 are all going to be required to upgrade to shopping campaigns very soon?

 Thanks much,
 Greg



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/d/optout.


Re: Conversions Many Per Click total

2013-10-17 Thread John Ryder
Thanks, I'll try that

On Thursday, October 17, 2013 6:44:39 AM UTC+1, Takeshi Hagikura (AdWords 
API Team) wrote:

 Hi,

 Actually there is another 
 forumhttps://groups.google.com/forum/#!forum/adwords-scriptson AdWords 
 Scripts, you should get better answer there.
 My guess is that Stats objects are no longer available in AdWords API 
 services (such as CampaignService, AdGroupService ,,,). 
 https://developers.google.com/adwords/api/docs/reference/

 You should use reports instead. 

 Best,
 - Takeshi, AdWords API Team

 On Wednesday, October 16, 2013 8:14:33 PM UTC+9, John Ryder wrote:

 Hi, I am running an Adwords script in the scripting console which posts 
 data to a spreadsheet.

 I would like to obtain a total for conversions many per click, but the 
 metric seems to be unavailable in the Stats class, which I am currently 
 obtaining my totals from by iterating through the campaign object i.e.

   while (campaignIterator.hasNext()) {
 var campaign = campaignIterator.next();
 var clicks = campaign.getStatsFor('LAST_MONTH').getClicks();
 var impressions = campaign.getStatsFor('LAST_MONTH').getImpressions();
 var cost = campaign.getStatsFor('LAST_MONTH').getCost();
 //var conversions = 
 campaign.getStatsFor('LAST_MONTH').getConversionsManyPerClick();//this 
 doesn't work
 tot_clicks += clicks;
 tot_impressions += impressions;
 tot_cost += cost;
 //tot_conv += conversions;
 count++;
   }

 I know it is possible to obtain the statistic by running 
 a CAMPAIGN_PERFORMANCE_REPORT but the problem with this is I can't find a 
 way to get the data from the object apart from exporting it to a 
 spreadsheet, in which case it is segmented by campaign. I need to get hold 
 of the data before this so I can sum it.

 I ideally need to get the conversion count (many) in a variable to post 
 to my spreadsheet, is there a way of doing this? Or a workaround with 
 current metrics?

 Thanks

 Sarah



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Conversions Many Per Click total

2013-10-16 Thread Takeshi Hagikura (AdWords API Team)
Hi,

Actually there is another 
forumhttps://groups.google.com/forum/#!forum/adwords-scriptson AdWords 
Scripts, you should get better answer there.
My guess is that Stats objects are no longer available in AdWords API 
services (such as CampaignService, AdGroupService ,,,). 
https://developers.google.com/adwords/api/docs/reference/

You should use reports instead. 

Best,
- Takeshi, AdWords API Team

On Wednesday, October 16, 2013 8:14:33 PM UTC+9, John Ryder wrote:

 Hi, I am running an Adwords script in the scripting console which posts 
 data to a spreadsheet.

 I would like to obtain a total for conversions many per click, but the 
 metric seems to be unavailable in the Stats class, which I am currently 
 obtaining my totals from by iterating through the campaign object i.e.

   while (campaignIterator.hasNext()) {
 var campaign = campaignIterator.next();
 var clicks = campaign.getStatsFor('LAST_MONTH').getClicks();
 var impressions = campaign.getStatsFor('LAST_MONTH').getImpressions();
 var cost = campaign.getStatsFor('LAST_MONTH').getCost();
 //var conversions = 
 campaign.getStatsFor('LAST_MONTH').getConversionsManyPerClick();//this 
 doesn't work
 tot_clicks += clicks;
 tot_impressions += impressions;
 tot_cost += cost;
 //tot_conv += conversions;
 count++;
   }

 I know it is possible to obtain the statistic by running 
 a CAMPAIGN_PERFORMANCE_REPORT but the problem with this is I can't find a 
 way to get the data from the object apart from exporting it to a 
 spreadsheet, in which case it is segmented by campaign. I need to get hold 
 of the data before this so I can sum it.

 I ideally need to get the conversion count (many) in a variable to post to 
 my spreadsheet, is there a way of doing this? Or a workaround with current 
 metrics?

 Thanks

 Sarah


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Conversions in AdGroupService

2012-11-23 Thread Danial Klimkin
Hello Mirror,


Those are conversions from the Stats of AdGroup. See this article for more 
details on conversions in AdWords:

  http://support.google.com/adwords/bin/answer.py?hl=enanswer=6365


-Danial, AdWords API Team.


On Wednesday, November 21, 2012 4:27:37 PM UTC+4, Mirror wrote:

 Hello!

 AdGroupService have field Conversions, we can set it in:

 $selector-fields = array('Id', 'Name',’ Conversions’)

 And we get:

 AdGroupPage Object

 (

 ...

 [conversions] = 0

 ….

 The question is, “conversion” in this array, is conversions of what? it is 
 something  from G.Analytics ? or what?



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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





Re: Conversions in report with no cost or clicks

2011-06-15 Thread GregT
Kevin, thanks for responding.

At this point, I wonder if there may be a bug in the adwords reports.
Please tell me if you agree.

I ran across 
http://adwords.google.com/support/aw/bin/answer.py?hl=enanswer=145453ctx=top5src=top5
while trying to solve something unrelated.  I can see how reason #3
given there would explain why, generally speaking, it might be
possible to sometimes have a keyword on a given day that has a
conversion but no cost or clicks [to summarize: b/c the click(s) were
determined to be invalid clicks and removed].

For one of the three examples I gave, that seems plausible.  However,
I took your advice and looked in the adwords UI for this client,
looking at the keywords tab and limiting it to just the individual
days of interest.  For the occasion on 5/22/2011, the adwords UI
agrees and shows the conversion and matching conversion value, with 0
clicks and 0 cost.  However, for the 5/19/2011 and 6/4/2011 instances,
the adwords UI does not agree with the v201101 keyword performance and
search performance reports.  Both v201101 reports return that there
were 0 clicks and 0 cost for the given keywords on that day, yet a
conversion with some value, but the adwords UI agrees with the
conversion and its value, but list a click and associated cost.
Shouldn't the adwords UI and the reports agree?

Thanks,
Greg


On Jun 14, 10:40 am, Kevin Winter kevin.win...@google.com wrote:
 Greg,
   You might also want to post this on the regular AdWords forums if you can
 see the same discrepancy in both AdWords UI and API.

 - Kevin Winter
 AdWords API Team

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Re: Conversions in report with no cost or clicks

2011-06-14 Thread Kevin Winter
Greg,
  You might also want to post this on the regular AdWords forums if you can 
see the same discrepancy in both AdWords UI and API.

- Kevin Winter
AdWords API Team

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Re: Conversions in report with no cost or clicks

2011-06-10 Thread Reed
Those are most likely latent conversions.  The impression and click
occured on a prior day, but the conversion didn't happen until the day
that you are reporting on.  The conversion on an impression can occur
up to 30 days after the actual impression (30 days is the life of the
cookie set on the user's browser by the impression).  Example would be
someone doing a search, clicking through to your site,but not going to
the conversion page.  Then a day or two later they decide to make the
purchase, and go to the page and continue through to the page that you
have tagged as a conversion page.  That's day's keyword performance
files will not show the click or impression, but will show the
conversion.
-reed

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Re: Conversions in report with no cost or clicks

2011-06-10 Thread GregT
Thanks for your response, Reed.

However, I don't think that's what's going on.  Based upon past
experience and official information from google like at
http://adwords.google.com/support/aw/bin/answer.py?hl=enanswer=86282
[Please note that when viewing conversions for a specified time
period, conversions are assigned to the date on which the ad click
occurs, not the date on which the conversion occurs], all conversions
should be attributed to the day on which the click occurred.

This is why seeing reports with data that there were no clicks or cost
for a keyword on a given day and yet there's a conversion [and
conversion value] is confusing, and is making me wonder if there's a
bug in google's reports or if there's some explanation for why this
would be accurate.

Thanks,
Greg

On Jun 10, 1:07 pm, Reed r...@powellgenealogy.com wrote:
 Those are most likely latent conversions.  The impression and click
 occured on a prior day, but the conversion didn't happen until the day
 that you are reporting on.  The conversion on an impression can occur
 up to 30 days after the actual impression (30 days is the life of the
 cookie set on the user's browser by the impression).  Example would be
 someone doing a search, clicking through to your site,but not going to
 the conversion page.  Then a day or two later they decide to make the
 purchase, and go to the page and continue through to the page that you
 have tagged as a conversion page.  That's day's keyword performance
 files will not show the click or impression, but will show the
 conversion.
 -reed

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Re: Conversions in report with no cost or clicks

2011-06-10 Thread Reed
Greg - I thought that you meant that you were pulling back-dated data
and saw the conversions, which is what should happen for latent
conversions.  But it sounds like you're pulling data today (for
instance) for date xx/xx/xx and seeing conversions but previous data
pulls saw no clicks?  That would be pretty interesting.  Theoretically
I guess that could happen if the conversion occured more than 30 days
after the click because the browser cookie would have expired and so
adWords would not know how to attribute the conversion.  Or if the
user did something else to erase cookies, or got to the conversion
page directly without going through a search.  The conversion JS
snippet would still fire in those cases.
Good luck tracking it down!
-reed

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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