Re: how to avoid empty result when dimension is not set on data

2023-05-15 Thread Pablo Fernandez
Thank you, but let me reformulate the question.

I'm running a Google Ads Scripts (GoogleAds->Tools and Settings->Bulk 
Actions->Scripts). The query being run is 












*SELECT  segments.date,customer.id,customer.resource_name,
customer.descriptive_name,segments.geo_target_most_specific_location,  
  geographic_view.country_criterion_id,segments.geo_target_region,
customer.currency_code,metrics.cost_microsFROM geographic_view wHERE 
segments.date BETWEEN 2023-05-08 AND 2023-05-10*


I need to match in this kind of result with the geo target constant 
downloaded 
here: https://developers.google.com/google-ads/api/data/geotargets
This data has the following structure:

*Criteria ID* | Name | Canonical Name | *Parent ID *| Country Code | Target 
Type | Status
*20083* | Cochabamba Department |  Cochabamba Department,Bolivia | *2068* 
|  BO | Department | Active
*20084* | La Paz Department | La Paz Department,Bolivia | *2068* | BO | 
Department | Active

In my query results, I would need to retrieve the *Criteria ID *identifier 
as a dimension (*i.e. either 20083 or 20084)*, but only found Parent ID as 
geographic_view.country_criterion_id (corresponding with *Parent ID 2068*, 
shared on both rows)*.*

As stated in this other thread 
(https://groups.google.com/g/adwords-api/c/5BurwkRZYsw/m/6y1bvJ0bCgAJ), I 
would not need to download the file but just making the next specific query 
as a second step:








*"SELECT 
geo_target_constant.canonical_name,geo_target_constant.country_code,geo_target_constant.id,geo_target_constant.name,geo_target_constant.status,geo_target_constant.target_typeFROM
 
geo_target_constantWHERE geo_target_constant.resource_name = 
'geoTargetConstants/<>'"*

I dont want to match by country name, I need the row identifier (a.k.a., 
segmenting the data with city, department, region or other), so I would 
replace the WHERE condition with

WHERE geo_target_constant.id = SOME_DIMENSION_I'M_LOOKING_FOR

So, my question is where to find this geo_target_constant.id (meaning, 
which resource has it as a valid segmentation), so I can check if this 
would be a nice fit for my pursposes.

Again, I don't mind splitting in several steps, I want the final solution 
that mimic adding a segmentation for *Criteria ID*
Thank you

On Monday, May 15, 2023 at 3:50:14 AM UTC-3 Google Ads API Forum Advisor 
wrote:

> Hi Pablo,
>
> Thank you for getting back to us. I hope that you are doing well today.
>
> Moving forward to your concerns: 
>
>- 
>
>
>- *does exist ANY way to obtain those rows with null values for city 
>dimension?* 
>
>
>- 
>   - As mentioned in the documentation about segmentation (
>   
> https://developers.google.com/google-ads/api/docs/reporting/segmentation#selectability_between_segments_and_metrics),
>  
>   I'm afraid that the metrics in the summary row may indeed decrease when 
>   adding some segments. That being said, the thing that we would suggest 
> you 
>   do is remove the segment field from a query so that you can see the 
> data 
>   you are referring to. 
>- 
>
>
>- *where do exist the 'Criteria ID' dimension, stated in geotarget 
>constants as unique identifier for the target type (i.e. Department Oruro 
>Department,Bolivia has Criteria ID 9069872, with parent 2068, Bolivia 
>Country)?* 
>
>
>- 
>   - I saw in the pdf file that you provided that it is indeed under 
>   the criteria id. For us to further check and answer this concern 
>   accurately, could you please provide us the full non-cropped and 
>   non-redacted screenshot of the UI? 
>
>
> In addition, please also provide us the complete *request* and *response* 
> logs 
> with *request* *ID* generated on your end so our team can investigate 
> further and provide recommendations? 
>
>- *Request - *
>
> *https://developers.google.com/google-ads/api/docs/concepts/field-service#request*
>  
>
> <https://developers.google.com/google-ads/api/docs/concepts/field-service#request>
>  
>- *Response -  *
>
> *https://developers.google.com/google-ads/api/docs/concepts/field-service#response*
>  
>
> <https://developers.google.com/google-ads/api/docs/concepts/field-service#response>
>  
>- *Request ID - *
>
> *https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id*
>  
>
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id>
>  
>
>
> You can provide it via Reply privately to the author option. If this 
> option is not available, then send it instead on this email address 
> googleadsa...@google.com.
>
> Kind regards,
> [image: Google L

Re: how to avoid empty result when dimension is not set on data

2023-05-12 Thread Pablo Fernandez
Thank you

As stated in the documentation you provided me, 

*When adding some segments, the metrics in the summary row may decrease*
*When segments.keyword.info.match_type is added to a query with FROM 
ad_group_ad, that segment is telling the query to only get the rows of data 
that have keywords, and remove any row that is not associated with a 
keyword. In this case, the metrics would be lower because it would exclude 
any non-keyword metrics.*

so, when some data of an ad has no city involved (because belongs to a 
different Region type or simply there is no opening but the country 
itself), the summation for costs would be less than the cost reported for 
the hole country.
 
does exist ANY way to obtain those rows with null values for city 
dimension? I can only think on iteration over the distinct 
segments.geo_target_XXX 
dimensions.
Also, where do exist the 'Criteria ID' dimension, stated in geotarget 
constants as unique identifier for the target type (i.e. Department  
Oruro Department,Bolivia has Criteria ID 9069872, with parent 2068, Bolivia 
Country)? I could only find Parent ID as 
geographic_view.country_criterion_id.



On Wednesday, May 10, 2023 at 3:26:20 PM UTC-3 Google Ads API Forum Advisor 
wrote:

> Hello,
>
> Thanks for reaching out to the Google Ads API Team.
>
> I understand that with the query you have provided, you are not getting 
> any results when you try to add *segments.geo_target_county *into your 
> query*. *Kindly note that Google Ads API mirrors the Google Ads UI. I 
> would suggest trying to send requests by adding these segments separately. 
> With that, you will be able to get the data. However, kindly refer to the 
> provided *segmentation guide* as this will explain how segmentation will 
> affect the data that you are pulling.
>
>- *segmentation guide *- 
>*https://developers.google.com/google-ads/api/docs/reporting/segmentation* 
>
>  
>
> If the issue persists, can you please provide us with an uncropped 
> screenshot of the Google Ads UI that shows the data you are trying to pull 
> and the complete *request* and *response* logs with *request* *ID* generated 
> on your end so our team can investigate further and provide recommendations?
>
>- *Request - *
>
> *https://developers.google.com/google-ads/api/docs/concepts/field-service#request*
>  
>
> 
>  
>- *Response -  *
>
> *https://developers.google.com/google-ads/api/docs/concepts/field-service#response*
>  
>
> 
>  
>- *Request ID - *
>
> *https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id*
>  
>
> 
>  
>
> Regards,
> [image: Google Logo] Google Ads API Team 
>
> ref:_00D1U1174p._5004Q2lCMxp: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/5e5c0713-111d-4222-a620-ce550e8dd893n%40googlegroups.com.


how to avoid empty result when dimension is not set on data

2023-05-10 Thread Pablo Fernandez
Hi.
with the following query I'm able to collect costs with country and city as 
columns.

SELECT 
segments.date, 
geographic_view.country_criterion_id, 
segments.geo_target_region, 
metrics.clicks, 
metrics.impressions,
metrics.cost_micros, 
customer.id, 
customer.resource_name, 
geographic_view.resource_name, 
customer.currency_code, 
customer.descriptive_name, 
segments.geo_target_city 
FROM geographic_view 
wHERE segments.date BETWEEN '2023-05-08' AND '2023-05-10'



if I add the dimension segments.geo_target_county, the result goes empty as 
any of the countries in my data has county. The same with the 
dimension segments.geo_target_district.
I do know countries in my data that has district but no city, and others 
having cities but no district. I need to retrieve them all, and I do not 
know what country has one or another (I only know specific ones having this 
caracteristic).
If I put every column that I need, I get an empty result. 

How can I achieve that? with SQL I could use 
COALESCE(segments.geo_target_district, ' ' ) but this is not allowed in 
GAQL.

Is the only way to do that to iterate over every dimension to get them all 
separately?

The dimensions I need to retrieve are
segments.geo_target_city, segments.geo_target_county, 
segments.geo_target_district, segments.geo_target_province, 
segments.geo_target_metro, segments.geo_target_state, 
segments.geo_target_most_specific_location



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 
"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/c8d56417-0ac0-41b9-9b12-1783c673699dn%40googlegroups.com.


Re: Email related with google ads api

2023-03-10 Thread Pablo Neri Carrazana
https://developers.google.com/workspace/guides/create-credentials?hl=es-419#create_the_service_account_and_credentials
 
<https://developers.google.com/workspace/guides/create-credentials?hl=es-419#create_the_service_account_and_credentials%20is%20the%20solution??%20the%20refresh%20token%20value%20%20is%20neccesary%20in%20this%20case?>
 
is the solution?? the refresh token value  is neccesary in this case?
El viernes, 10 de marzo de 2023 a la(s) 09:56:05 UTC-3, Pablo Neri 
Carrazana escribió:

> Hi! I created the credencials for access to the API with Python(secret, 
> refresh_token). This with my email.
> If in the future, my email is delete, the credencials to the API expire? 
>  I understand that credentials are asociated with my email
>
> El viernes, 10 de marzo de 2023 a la(s) 03:32:11 UTC-3, Google Ads API 
> Forum Advisor escribió:
>
>> Hi Pablo,
>>  
>>
>> Thanks for reaching out to the Google Ads API team. I hope you are doing 
>> well today.
>>  
>>
>> With regards to your concern, could you please provide more context or 
>> details on this, *"Hi! A question, if I delete the account email that 
>> related with google ads api, the conexion with the credentials finish?"* so 
>> that we can further check and provide precise guidance accordingly?
>>  
>>
>> Regards,
>> [image: Google Logo] Google Ads API Team 
>>
>>
>> ref:_00D1U1174p._5004Q2jXrh0:ref
>>
>
-- 
El contenido de este correo es confidencial
 y puede ser objeto de acciones 
legales. Es dirigido solo para el o los
 destinatarios(s) nombrados 
anteriormente. Si no es mencionado como 
destinatario, no debe leer, 
copiar, revelar, reenviar o utilizar el 
contenido de este mensaje. Si ha 
recibido este correo por error, por 
favor notifique al remitente y proceda 
a borrar el mensaje y archivos 
adjuntos sin conservar copias.

The
 
information contained in this e-mail is confidential and may also be 
subject to legal privilege. It is intended only for the recipient(s) 
named 
above. If you are not named as a recipient, you must not read, 
copy, 
disclose, forward or otherwise use the information contained in 
this 
email.  If you have received this e-mail in error, please notify 
the 
sender immediately by reply e-mail and delete the message and any 
attachments without retaining any copies. 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/868b5e87-8227-4053-a637-7d3272f9d40an%40googlegroups.com.


Re: Email related with google ads api

2023-03-10 Thread Pablo Neri Carrazana
Hi! I created the credencials for access to the API with Python(secret, 
refresh_token). This with my email.
If in the future, my email is delete, the credencials to the API expire?  I 
understand that credentials are asociated with my email

El viernes, 10 de marzo de 2023 a la(s) 03:32:11 UTC-3, Google Ads API 
Forum Advisor escribió:

> Hi Pablo,
>  
>
> Thanks for reaching out to the Google Ads API team. I hope you are doing 
> well today.
>  
>
> With regards to your concern, could you please provide more context or 
> details on this, *"Hi! A question, if I delete the account email that 
> related with google ads api, the conexion with the credentials finish?"* so 
> that we can further check and provide precise guidance accordingly?
>  
>
> Regards,
> [image: Google Logo] Google Ads API Team 
>
>
> ref:_00D1U1174p._5004Q2jXrh0:ref
>

-- 
El contenido de este correo es confidencial
 y puede ser objeto de acciones 
legales. Es dirigido solo para el o los
 destinatarios(s) nombrados 
anteriormente. Si no es mencionado como 
destinatario, no debe leer, 
copiar, revelar, reenviar o utilizar el 
contenido de este mensaje. Si ha 
recibido este correo por error, por 
favor notifique al remitente y proceda 
a borrar el mensaje y archivos 
adjuntos sin conservar copias.

The
 
information contained in this e-mail is confidential and may also be 
subject to legal privilege. It is intended only for the recipient(s) 
named 
above. If you are not named as a recipient, you must not read, 
copy, 
disclose, forward or otherwise use the information contained in 
this 
email.  If you have received this e-mail in error, please notify 
the 
sender immediately by reply e-mail and delete the message and any 
attachments without retaining any copies. 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/8b383f4d-7322-460c-9270-eeec4a348bf7n%40googlegroups.com.


Email related with google ads api

2023-03-09 Thread Pablo Neri Carrazana
Hi! A question, if I delete the account email that related with google ads 
api, the conexion with the credentials finish?

-- 
El contenido de este correo es confidencial
 y puede ser objeto de acciones 
legales. Es dirigido solo para el o los
 destinatarios(s) nombrados 
anteriormente. Si no es mencionado como 
destinatario, no debe leer, 
copiar, revelar, reenviar o utilizar el 
contenido de este mensaje. Si ha 
recibido este correo por error, por 
favor notifique al remitente y proceda 
a borrar el mensaje y archivos 
adjuntos sin conservar copias.

The
 
information contained in this e-mail is confidential and may also be 
subject to legal privilege. It is intended only for the recipient(s) 
named 
above. If you are not named as a recipient, you must not read, 
copy, 
disclose, forward or otherwise use the information contained in 
this 
email.  If you have received this e-mail in error, please notify 
the 
sender immediately by reply e-mail and delete the message and any 
attachments without retaining any copies. 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/7ed4cf07-a602-4764-a90c-ca716414aeb5n%40googlegroups.com.


Re: GAds API not receiving conversions

2022-12-05 Thread Pablo Hernández Lázaro
Hi!

Tried to contact you through private message but not sure if you got it or 
not, please don't mind this update if you have!

Here is the requested info:

*customerId* 1101426320
*Request-Id* JYAvilxcZvE8p7SpXk4vLA
*Complete Request*
HTTP Request #2 URL POST 
https://googleads.googleapis.com/v11/customers/1101426320:uploadConversionAdjustments
HTTP Request #2 Headers Content-Type: application/json; charset=UTF-8; 
Authorization: Bearer 
ya29.a0AeTM1idttXgGIxpEiZiMyekzgf4003Ez0i-GtqN5p4PVnpwhcdA0TtrygZ6bzhXdKbUPE3cI7tAMBjA1wXOfWlV_QRS7HcUcfz6TyVHA5sjOzWT2aXbZ8VcL3cmVa97DWmMWoojlp_ue8BnVTUsrcYyBnue47RgaCgYKAZYSARISFQHWtWOml5PGDLJbZu09-WrIdNOQAQ0166;
 
developer-token: IAyeMO_Xx-kCUIYqkNWoiQ
HTTP Request #2 Body 
{"partialFailure":true,"validateOnly":false,"conversionAdjustments":[{"gclidDateTimePair":{"conversionDateTime":"2022-11-29
 
08:44:43+00:00"},"adjustmentType":"ENHANCEMENT","userIdentifiers":[{"userIdentifierSource":"FIRST_PARTY","hashedEmail":"63caa7013b572a96968b54d0fa71afd435072917fbaf5843029fc19f7f30e903"},{"userIdentifierSource":"FIRST_PARTY","hashedPhoneNumber":"03c6ea8540f098f8c19fb81a6f43d4154f401aff82f4b100d7863aedd863087b"}],"orderId":"16697114963438432","conversionAction":"customers/1101426320/conversionActions/771942932","adjustmentDateTime":"2022-11-29
 
08:44:43+00:00"}]}
HTTP Request #2 Time 205 ms

*Complete Response*
HTTP Response #2 Status 200
HTTP Response #2 Headers Request-Id: JYAvilxcZvE8p7SpXk4vLA; Content-Type: 
application/json; charset=UTF-8; Vary: Origin; Vary: X-Origin; Vary: 
Referer; Date: Tue, 29 Nov 2022 08:44:43 GMT; Server: ESF; Cache-Control: 
private; X-XSS-Protection: 0; X-Frame-Options: SAMEORIGIN; 
X-Content-Type-Options: nosniff; Alt-Svc: h3=":443"; 
ma=2592000,h3-29=":443"; ma=2592000,h3-Q050=":443"; 
ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; 
ma=2592000,quic=":443"; ma=2592000; v="46,43"; Transfer-Encoding: chunked
HTTP Response #2 Content { "results": [ { "adjustmentType": "ENHANCEMENT", 
"conversionAction": "customers/1101426320/conversionActions/771942932", 
"adjustmentDateTime": "2022-11-29 08:44:43+00:00", "gclidDateTimePair": { 
"conversionDateTime": "2022-11-29 08:44:43+00:00" }, "orderId": 
"16697114963438432" } ] }
Action Time 275 ms

Best regards,

Pablo

El lunes, 28 de noviembre de 2022 a las 21:26:46 UTC+1, adsapi escribió:

> Hi Pablo,
>
> Thank you for reaching out to our API support team.
>
> When troubleshooting enhanced conversions for web errors displayed in the 
> Google Ads UI, you may refer to this article 
> <https://support.google.com/google-ads/answer/11954870?hl=en>.
>
> So our team can then troubleshoot further, could you share to our team 
> your customer ID, and the generated and complete request 
> <https://developers.google.com/google-ads/api/docs/concepts/field-service#request>
>  
> and response 
> <https://developers.google.com/google-ads/api/docs/concepts/field-service#response>
>  
> logs and request-id 
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id>
>  from 
> your uploads?
>
> You may then send the requested information via the Reply privately to 
> author option. If this option is not available, you may send the details 
> directly to our googleadsa...@google.com alias instead.
>
> Best regards,
>
> [image: Google Logo] 
> Peter Laurence 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2gg3LZ: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/527905f2-95f6-42fa-a8c6-e4b9492c18den%40googlegroups.com.


Upload Enhanced Conversions For Leads - remove periods from gmail addresses

2022-07-06 Thread Pablo Hernández Lázaro
Hi devs!

Following this section 
<https://developers.google.com/google-ads/api/docs/conversions/upload-identifiers#normalization_and_hashing>
 of 
the doc, all periods (.) that precede the domain name in gmail.com and 
googlemail.com 
have to be removed. But in the Customer Match section 
<https://developers.google.com/google-ads/api/docs/remarketing/audience-types/customer-match?hl=en#customer_match_with_email_or_mailing_address>,
 I 
can't find this anywhere. So, is this more of a recommendation or can it 
have a critical impact if not enforced / what would happen if not enforced? 

Thanks,

Pablo

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/24dc58fb-4fa1-4b2f-8ccd-3ba8c2cc62a8n%40googlegroups.com.


Api Google Ads: CustomerServiceClient' object has no attribute 'get_customer'

2022-05-24 Thread Pablo Herrera
Hey Everyone!
I am trying to migrate a script that someone else did in version 14.0.1 of 
google-ads to version 16.0.0 I am encountering this error: 
'CustomerServiceClient' object has no attribute 'get_customer' I am not 
familiar at all with the google ads api and I could not find anything in 
the documentation, please help me.
The code is this:def _get_accounts(self):
self._accounts = []
seed_customer_ids = []
query = """
SELECT
customer_client.client_customer,
customer_client.level,
customer_client.manager,
customer_client.descriptive_name,
customer_client.currency_code,
customer_client.time_zone,
customer_client.id
FROM customer_client
where customer_client.level <= 1"""
customer_service = self._client.get_service("CustomerService")
googleads_service = 
self._client.get_service("GoogleAdsService")customer_resource_names 
= (customer_service.list_accessible_customers().resource_names)for 
customer_resource_name in customer_resource_names:
I think it breaks here
customer = customer_service.get_customer(
resource_name=customer_resource_name
)
# print(customer.id)
seed_customer_ids.append(customer.id)

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ce71f922-a727-42e7-bb34-15588630862cn%40googlegroups.com.


Re: PERMISSION_DENIED issue

2022-05-19 Thread Pablo Lemos
Same problem here.
Valid account. I can even pull all the campaigns, but cannot pull reports.
Account ID is: 3194068991


[googleAdsFailure:Google\Ads\GoogleAds\Lib\V10\GoogleAdsException:private] 
=> Google\Ads\GoogleAds\V10\Errors\GoogleAdsFailure Object

[status:Google\ApiCore\ApiException:private] => PERMISSION_DENIED
[metadata:Google\ApiCore\ApiException:private] => Array
(
[google.ads.googleads.v10.errors.googleadsfailure-bin] => Array
(
[0] => 
:
 H  4The customer can't be used because it isn't 
enabled.  zbYizkjKfqTic85dE8Z95A
)

[grpc-status-details-bin] => Array
(
[0] =>#The caller does not have permission � 
Dtype.googleapis.com/google.ads.googleads.v10.errors.GoogleAdsFailure T
:
 H  4The customer can't be used because it isn't 
enabled.  zbYizkjKfqTic85dE8Z95A
)

[request-id] => Array
(
[0] => zbYizkjKfqTic85dE8Z95A
)

)

[basicMessage:Google\ApiCore\ApiException:private] => The caller does 
not have permission
[message:protected] => {
"message": "The caller does not have permission",
"code": 7,
"status": "PERMISSION_DENIED",
"details": [
{
"@type": "google.ads.googleads.v10.errors.googleadsfailure-bin",
"data": ""
},
{
"@type": "grpc-status-details-bin",
"data": ""
},
{
"@type": "request-id",
"data": "zbYizkjKfqTic85dE8Z95A"
}
]
}


Em quinta-feira, 19 de maio de 2022 às 14:16:18 UTC-3, ry...@google.com 
escreveu:

> Hi, I'm using the google_ads_python client to get basic report. However, 
> all requests failed with "PERMISSION_DENIED":
> ```
> Request with ID "o_4ckXPxV31snJM-GCbq8Q" failed with status 
> "PERMISSION_DENIED" and includes the following errors:
> Error with message "The user does not have permission to perform this 
> action on the resource or call a method.".
> ```
> Manager(login)_account_id: 6883111497
> account_id: 8368064507
>
> Please help to take a look.
>
> 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 
"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/23fd5399-28b6-40f9-9053-b4edad25cf2cn%40googlegroups.com.


Add Customer Match User List

2022-04-05 Thread Juan pablo Rubianes
Hello in the example:

  private String createCustomerMatchUserList(GoogleAdsClient 
googleAdsClient, long customerId) {
// Creates the new user list.
UserList userList =
UserList.newBuilder()
.setName("Customer Match list #" + getPrintableDateTime())
.setDescription("A list of customers that originated from email 
addresses")
// Customer Match user lists can use a membership life span of 
10,000 to indicate
// unlimited; otherwise normal values apply.
// Sets the membership life span to 30 days.
.setMembershipLifeSpan(30)
// Sets the upload key type to indicate the type of identifier 
that will be used to
// add users to the list. This field is immutable and required 
for an ADD operation.
.setCrmBasedUserList(
CrmBasedUserListInfo.newBuilder()

.setUploadKeyType(CustomerMatchUploadKeyType.CONTACT_INFO))
.build();

is there any scenario where the uploadKeyType won't be needed?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/094d1117-8c6f-4cd5-aba8-88a55473d36fn%40googlegroups.com.


consume information from mcc outside my organization

2021-06-08 Thread Juan Pablo San Martín Moreno

Hi,

Currently I have access via api to my MCC. 
A client added me to his MCC and I want to consume the information via API, 
my question: 
*is it necessary to request token and access level to do this?* 
*Is it necessary to carry out the registration and configuration that I did 
in my mcc in the client's?*


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/f04eb53f-6a14-4559-a860-fde4e25ab99dn%40googlegroups.com.


Re: Retrieving a tree of all customers

2021-05-20 Thread Pablo Lemos
Well, the same problem you have to persist it, we have too. :)
Those things change all the time and cache gets unreliable.

One thing that would be interesting is if we could query if there was any
change on the tree. That way we could create safe caches and quickly check
if we need to rebuild it.

Em qui., 20 de mai. de 2021 às 15:12, Google Ads API Forum Advisor Prod <
adsapiforumadvi...@gmail.com> escreveu:

> Hi,
>
> Thank you for reaching out. The hierarchical tree of the accounts are
> built dynamically as the tree structure of the accounts itself is dynamic
> and keeps changing all the time. It would be impractical to persist all the
> subtree structure for each node in the tree as the amount of data to be
> stored would be huge. I would say you could use your local cache to save
> the accounts info that you have retrieved so you don’t have to query them
> each time.
>
> Thanks and regards,
> Xiaoming, Google Ads API Team
>
>
> [image: Google Logo]
> Xiaoming
> Google Ads API Team
>
>
> ref:_00D1U1174p._5004Q2HCG9G: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/CA%2BROxbnz9c4mpmja9sbd4jiKKwAS9yG%2B1OkMK_jc8rRnBBkAUQ%40mail.gmail.com.


Permissions denied when obtaining invoices

2021-03-17 Thread Juan Pablo San Martín Moreno
Hello, I currently have a problem downloading the invoices from the 
platform.
Although I have assigned permissions, even from the web platform I can 
obtain this information without problems, in some of my advertising 
accounts via API I get the following error:

"StatusCode": 7,

  "Details": "The caller does not have permission",

  "RequestId": "z-uwtSExIes93nlIEbhMNQ",

  "Failure": {

"errors": [

  {

"errorCode": {

  "authorizationError": "ACTION_NOT_PERMITTED"

},

"message": "The user does not have permission to perform this 
action on the resource or call a method."

  }

]

  }

What can be? 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/ba7dfc22-7afc-4416-b921-cfa833502d9cn%40googlegroups.com.


Create new Negative Keywords

2020-12-03 Thread Pablo Martín Villares
Hi,

I want to create a list of new Negative Keywords with Python API, but i 
dont know what services i need to use

I find in Github how to create normal Keywords. -> 
https://github.com/googleads/google-ads-python/blob/master/examples/basic_operations/add_keywords.py

Thank you

-- 
Este correo electrónico y, en su caso, cualquier fichero anexo al mismo, 
contiene información de carácter confidencialexclusivamente dirigida a su 
destinatario o destinatarios. Si no es vd. el destinatario indicado, queda 
notificado que la lectura, utilización, divulgación y/o copia sin 
autorización está prohibida en virtud de la legislación vigente. En el caso 
de haber recibido este correo electrónico por error, se ruega notificar 
inmediatamente esta circunstancia mediante reenvío a la dirección 
electrónica del remitente.
Evite imprimir este mensaje si no es 
estrictamente necesario.

This email and any file attached to it (when 
applicable) contain(s) confidential information that is exclusively 
addressed to its recipient(s). If you are not the indicated recipient, you 
are informed that reading, using, disseminating and/or copying it without 
authorisation is forbidden in accordance with the legislation in effect. If 
you have received this email by mistake, please immediately notify the 
sender of the situation by resending it to their email address.
Avoid 
printing this message if it is not absolutely necessary.



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/5a38-c1a1-43e7-9560-50727e43a2d3n%40googlegroups.com.


Some accounts not showing on getCustomers

2019-12-06 Thread Pablo Lemos
Hello there.
We trying to onboard a new client on our platform.
We got the access token of an email that has access to 5 Google Ads 
accounts. We also have the password to access those accounts through the UI.
Nonetheless, when we pull the accounts through the API, only one account 
shows up.

We are able to retrieve all the "Customers". All the 5.
But for each of them, we try to retrieve the ManagedCustomers and only one 
gives the account. The rest return empty arrays.
Ids are:

8832500986 (shows account)

6913722894 (does not show account)

4637675198 (does not show account)

5628400503 (does not show account)

1744213715 (does not show account)


All the accounts are active and had spend money this year.


Tks in advance.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/7021b93e-5f65-43c0-b6fa-180d0c9e27aa%40googlegroups.com.


How to filter out removed Ads when querying AdGroup?

2019-04-22 Thread Juan Pablo Gardella
Hello all,

I'm facing an issue when using Adwords API. I have an AdGroup with removed 
Ads that are easily to detect using web UI as shown below:


But if I want to retrieve all Ads from the AdGroup using java api ignoring 
the removed Ads, the API does not offer (AFAIK) a way to discard them. For 
example by querying using the API it returns 24 results instead of expected 
Ads enabled.



https://adwords.google.com/api/adwords/cm/v201809;>

24
AdGroupAdPage

34810610889
http://www.w3.org/2001/XMLSchema-instance; xsi:type="TextAd">
11684113
.
.
TEXT_AD
TextAd
x



ENABLED
64646...



Do you know how I can filter out removed Ads using the latest API?

Thanks in advance,
Juan


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a8dd16a1-ce7c-4313-adc6-c5fd90be194e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to filter out removed Ads?

2019-04-22 Thread Juan Pablo Gardella
Hello all,

I need to filter out removed Ads when I retrieve AdGroup objects. The 
removed Ads are easily to detect using the Web UI


But when I want to determine the Ad status using the API, I'm unable to 
determine that. For example if I query the AdGroups using the following 
code in Java

Selector selectorAds = builder.fields(AdGroupAdField.Id, AdGroupAdField.
AdGroupId,
AdGroupAdField.AdType, AdGroupAdField.Status, AdGroupAdField.
BaseCampaignId,
AdGroupAdField.CreativeFinalUrls).offset(offset).limit(PAGE_SIZE).
equals(
AdGroupAdField.BaseCampaignId, Objects.toString(646465621L)).
build();
// do the query

The selector returns all the AdGroup's Ad objects. For example, below Ad is 
removed.



https://adwords.google.com/api/adwords/cm/v201809;>

24
AdGroupAdPage

34810610889
http://www.w3.org/2001/XMLSchema-instance; xsi:type="TextAd">
116841139809
TEXT_AD
TextAd

ENABLED
646465621


How can I determine if an Ad is removed or not using the API?


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.
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/a165861f-7a1a-4f14-aaf9-4f0a9bb393f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Demographical report (AgeRanges + Gender)

2019-04-16 Thread pablo
Hello Bharani,
Just to clarify.
Our problem is not to pull reports from gender_view 
<https://developers.google.com/google-ads/api/docs/fields/gender_view> and 
age_range_view 
<https://developers.google.com/google-ads/api/docs/fields/age_range_view>
 respectively.
What we need is segment the reports by Gender AND Age at the same time. 
Something like a "demographic_view".
This is definitely NOT possible neither through the Adwords API, neither 
the Google Ads API.
But it is possible through the Google Ads UI, which is very frustrating for 
our clients.

Thanks,
Pablo


Em segunda-feira, 15 de abril de 2019 11:26:29 UTC-3, 
googleadsapi-forumadvisor escreveu:
>
> Hi Louis, 
>
> I'm Sreelakshmi's colleague addressing your concern as she is out of 
> office. The age and gender level data is now available through the new 
> Google Ads API using the from gender_view 
> <https://developers.google.com/google-ads/api/docs/fields/gender_view>
>  and age_range_view 
> <https://developers.google.com/google-ads/api/docs/fields/age_range_view> 
> respectively. 
> It is currently not possible to automate this via API. The automation logic 
> has to be implemented on your end to generate the reports. 
>
> Thanks,
> Bharani, 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 
"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/044e4e91-68bd-4381-90df-1cdae430d2d5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Demographical report (AgeRanges + Gender)

2019-04-05 Thread pablo
Hello Sreelakshmi,

It is totally fine that this feature emerges only in the new API.
As long as we have a way to do that, all good! :)

I am attaching here a print screen of the Google Ads UI. Contrary to what 
you said, it is indeed possible the break results by Gender AND Age 
together.

[image: DemographicUI.jpg]


Thanks,
Pablo

Em sexta-feira, 29 de março de 2019 15:28:22 UTC-3, 
googleadsapi-forumadvisor escreveu:
>
> Hi Pablo, 
>
> In the Google Ads UI, the stats for demographic criterion like age, gender 
> etc are available in separate tabs. The same report can be extracted using 
> the API as well. Currently, it is not possible to aggregate the stats of 
> age and gender in one single report via UI or the API. As this is a popular 
> ask, we have let our team know about the request. Unfortunately, I don't 
> have a definite timeline to comment on. Since the new Google Ads API was 
> released, it is likely that new features may only get added in that API and 
> not in the AdWords API. In Google Ads API, you can get the stats 
> <https://developers.google.com/google-ads/api/docs/reporting/overview> 
> corresponding to gender and age from gender_view 
> <https://developers.google.com/google-ads/api/docs/fields/gender_view> 
> and age_range_view 
> <https://developers.google.com/google-ads/api/docs/fields/age_range_view> 
> respectively. You could keep an eye on our blog 
> <https://ads-developers.googleblog.com/search/label/adwords_api> for 
> announcements of the future releases in the API. 
>
> If you were looking to extract a different set of data, could share the 
> screenshot of that google ads UI view? You can reply privately to author 
> while sharing the screenshot. 
>
> Thanks,
> Sreelakshmi, Google Ads API Team
>
> Was your question answered? Please rate your experience with us by taking 
> a short survey.
> If not -- reply to this email and tell us what else we can do to help.
>
> Take Survey 
> <https://support.google.com/google-ads/contact/survey_transactional?caseid=2-801307902=en=1>
>
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/fb15d9df-ad31-41ae-ab91-557ce1a86b68%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Demographical report (AgeRanges + Gender)

2019-03-28 Thread pablo
Any advance on that?
It is really frustrating that this is available through the Google Ads 
panel and not through the API.
This makes our clients confused.

Pablo

Em quinta-feira, 12 de julho de 2018 16:18:11 UTC-3, Sreelakshmi Sasidharan 
(AdWords API Team) escreveu:
>
> Hello, 
>
> Our team is aware of this feature request. Unfortunately, I cannot comment 
> on the timeline for this to be available. My suggestion is to keep an eye 
> on our blog 
> <https://ads-developers.googleblog.com/search/label/adwords_api> for any 
> updates and announcement about the future releases. Thank you for sharing 
> your feedback with us!
>
> Thanks,
> Sreelakshmi, AdWords 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 
"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/8d1eb5ea-cd2c-4edc-bfc1-d5360028a2e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Get HTML5 public ad preview URL from API

2019-02-11 Thread Juan Pablo Rodriguez
Hi guys!

We are trying to get the preview URL of our HTML5 ads from the API via 
AdService.

>From entries.templateElements.fields.fieldMedia.urls we get  as FULL url:
https://tpc.googlesyndication.com/sadbundle/17030416868106482116/index.html

Which shows a blank page. From the code it seems like it is what we need.

A real preview URL that we get from the MCSS looks something like this:
https://adwords.google.com/aw_displayads/creatives/ExternalPreview?hl=es=314045918624=61961856469=243708628=false=true=true=19=null=ACiVB_zk8Q743_ThgG7g-tPvSu6WYmP__g

So basically this one is the one we need, a public preview URL for our 
HTML5 ads, but we can't seem to find it via API.

We tried building the URL but have no idea what *ocid *is and looks from 
this entry like it is a reserved variable:

https://groups.google.com/forum/#!topic/adwords-api/1PsVZtuy04s

Thank you!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2eca7bc7-8b7e-49ec-a433-e307cc7b91d2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Authorization problem when connecting GAds to BigQuery

2019-02-06 Thread Pablo Marco
 Hi,

I am trying to connect to BigQuery from Google Ads Script for the first 
time. I am trying to export some data from my accounts, after some 
treatment with the script.
I am using "Export Google Ads Reports into BigQuery - Single Account" as 
inspiration.

I have already:

- Created an account and a project in Bigquery
- Authorised Bigquery in the script in "Advanced APIs"
- Authorised Bigquery in the project I am trying to use in google developer 
console.

When the script reaches this line:

dataSet = BigQuery.Datasets.insert(dataSet, bqProjectId); 

I get the following error message:

BigQuery API has not been used in project 467746953204 before or it is 
disabled. Enable it by visiting 
https://console.developers.google.com/apis/api/bigquery-json.googleapis.com/overview?project=467746953204
 
then retry. If you enabled this API recently, wait a few minutes for the 
action to propagate to our systems and retry. (file Code.gs, line 304) 

Thanks for your help!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/dccaf73c-0dbe-4bc8-af5e-12a9e0e8dd41%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to obtain Audience name from Audience Performance?

2019-01-29 Thread Juan Pablo Rodriguez
Hi guys! Me again.

Sorry for the basic question, do you know how to obtain the Audience name 
from the Audience Performance report?

I checked here

https://developers.google.com/adwords/api/docs/appendix/reports/audience-performance-report

But can't see any attribute similar to the Audience's name

Thank you!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/88ac16c8-9e20-4ff1-9272-704f60250109%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Can I get a list of Ads/Assets from the Campaign's ID?

2019-01-24 Thread Juan Pablo Rodriguez
Hi everyone! 

I need to check via API which Assets belong to a Campaign from the 
Campaign's ID, but the Campaign services doesn't have a field that returns 
AdSets, Ads or Assets, any ideas on how to do this having only the 
Campaign's ID?

Thank you, have a nice day!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2e13dc85-3b66-41b2-a147-ec2297c879ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Can't delete users using v201806's AdwordsUserListService

2018-12-07 Thread Pablo D.
Hi Dannison,

It seems it was a permissions issue. I was trying to perform actions on a 
shared user list, using the clientCustomerId that wasn't the owner of those 
lists.

Thank you!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/97e61ac6-3a2d-49a3-913c-9ee8694684db%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Can't delete users using v201806's AdwordsUserListService

2018-12-04 Thread Pablo D.
Indeed, on my original post, the latest code block shows the query I've 
been doing for AdwordsUserListService.get() 
.
 
It returns (in my specific case) 3 different user lists. Although they all 
have the following XML property:

  true


As I read on the docs, this value 

> [...] Depends on the list ownership and list type. For example, external 
> remarketing user lists are not editable.
>

I believe that manually uploaded User Lists (presented as *CrmBasedUserList*s 
within the API) should be editable.
I'll try to meet with our Marketing Team for a further explanation since I 
don't have this specific knowledge on these *Remarketing* concepts.

In any case, I'm asking this because I'm working on integrating a solution 
to comply with customers' right to be forgotten. Maybe there's another way 
to mass delete user data from Google Products (or at least Google Ads) 
using a simpler approach, than querying every user lists and performing 
memberLists mutations for each of them.
If that's the case, could you please point me out where can I find more 
information, Dannison?

Thanks a lot!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/322a5bdd-02f2-4e04-8339-822bd4054c9b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Can't delete users using v201806's AdwordsUserListService

2018-12-03 Thread Pablo D.
Hey, everyone! I'm trying to automate user deletion from our Customer Lists 
at Google Ads for GDPR compliance matters.

I couldn't get a positive response from Google's API. Data below.

*URL:*
https://adwords.google.com/api/adwords/rm/v201806/AdwordsUserListService

*Body Payload:*

http://schemas.xmlsoap.org/soap/envelope/;>

   

 https://adwords.google.com/api/adwords/rm/v201806;>

   

   {DEV_TOKEN_HERE}

   {CLIENT_CUSTOMER_ID_HERE}

 

   

   http://schemas.xmlsoap.org/soap/envelope/;>

 https://adwords.google.com/api/adwords/rm/v201806;>

   

 https://adwords.google.com/api/adwords/cm/v201806;
>REMOVE

 

   https://adwords.google.com/api/adwords/rm/v201806”>{MY_USER_LIST_ID}


   https://adwords.google.com/api/adwords/rm/v201806;>

 {MY_HASHED_EMAIL_TO_BE_REMOVED}

   

 

   

 

   



*Response:*
http://schemas.xmlsoap.org/soap/envelope/;>

https://adwords.google.com/api/adwords/rm/v201806; xmlns=
"https://adwords.google.com/api/adwords/cm/v201806;>
{requestID}
AdwordsUserListService
mutateMembers
1
245




soap:Client
[MutateMembersError.INVALID_USER_LIST_ID @ 
operations[0].operand.userListId; trigger:'UserListId: {MY_USER_LIST_ID}']


https://adwords.google.com/api/adwords/cm/v201806; xmlns:ns2=
"https://adwords.google.com/api/adwords/rm/v201806;>
[MutateMembersError.INVALID_USER_LIST_ID @ 
operations[0].operand.userListId; trigger:'UserListId: {MY_USER_LIST_ID}']

ApiException

http://www.w3.org/2001/XMLSchema-instance; xsi:type=
"ns2:MutateMembersError">
operations[0].operand.userListId


operations
0


operand


userListId

UserListId: {MY_USER_LIST_ID}
MutateMembersError.INVALID_USER_LIST_ID

MutateMembersError
INVALID_USER_LIST_ID







*Note:*
Values between curly brackets are valid. Actually, *{MY_USER_LIST_ID}* 
could be any item from the response of the following query:
http://schemas.xmlsoap.org/soap/envelope/;>

  https://adwords.google.com/api/adwords/rm/v201806;>

{DEV_TOKEN_HERE}
{CLIENT_CUSTOMER_ID_HERE}
  

http://schemas.xmlsoap.org/soap/envelope/;>
  https://adwords.google.com/api/adwords/rm/v201806;>
https://adwords.google.com/api/adwords/rm/v201806;>
  Id
  Name
  Status
  
ListType
EQUALS
CRM_BASED
  
  
Status
EQUALS
OPEN
  

  



Any ideas on this? Thank you!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/6c4496d9-3b5a-409a-a696-4144f21e8f1b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Unique Viewers (Cookies) and Average View Frequency per cookie is not available in the API

2018-08-09 Thread Pablo Lemos
Thanks a lot for the feedback, Peter.
And thanks for opening the feature request!

cheers
Pablo

Em segunda-feira, 6 de agosto de 2018 00:56:48 UTC-3, Peter Oliquino 
(AdWords API Team) escreveu:
>
> Hi Pablo,
>
> My apologies as our team could not further comment as why certain report 
> fields are available in the AdWords UI while in the AdWords API, is not. As 
> for your suggestion, allow me to file a feature request for the said field. 
> However, you may take note that this would not guarantee if this will 
> indeed be added.
>
> For now, you may follow our blog 
> <https://ads-developers.googleblog.com/search/label/adwords_api> for any 
> announcements if and when this would be made available in future versions 
> of the AdWords API.
>
> Thanks and regards,
> Peter
> AdWords API Team
>
> On Saturday, August 4, 2018 at 5:00:10 AM UTC+8, Pablo Lemos wrote:
>>
>> Really?
>>
>> You expose the metric through the Adwords user interface and not through 
>> the API?
>> What is the point on that?
>>
>> Please add Unique Viewers (cookies)
>>
>>
>> Dne torek, 18. april 2017 11.22.08 UTC-3 je oseba Shwetha Vastrad 
>> (AdWords API Team) napisala:
>>>
>>> Hi, 
>>>
>>> I'm afraid these columns are not supported in Campaign Performance 
>>> Report. The Cookie-based reach metrics exposed in AdWords API reports at 
>>> the moment are "Unique cookies" and "Avg. impr. freq. per cookie". Please 
>>> keep an eye on our blog 
>>> <http://googleadsdeveloper.blogspot.com/search/label/adwords_api> for 
>>> any updates or announcements about this. 
>>>
>>> Regards,
>>> Shwetha, AdWords 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 
"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/90235737-8c9f-4d1e-9e7b-3bf63ee058f1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Unique Viewers (Cookies) and Average View Frequency per cookie is not available in the API

2018-08-03 Thread Pablo Lemos
Really?

You expose the metric through the Adwords user interface and not through 
the API?
What is the point on that?

Please add Unique Viewers (cookies)


Dne torek, 18. april 2017 11.22.08 UTC-3 je oseba Shwetha Vastrad (AdWords 
API Team) napisala:
>
> Hi, 
>
> I'm afraid these columns are not supported in Campaign Performance Report. 
> The Cookie-based reach metrics exposed in AdWords API reports at the moment 
> are "Unique cookies" and "Avg. impr. freq. per cookie". Please keep an eye 
> on our blog 
>  for any 
> updates or announcements about this. 
>
> Regards,
> Shwetha, AdWords 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 
"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/afc68b8c-dc27-43b5-9fe9-16b93acb34ae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


API Center Option Missing from Ad Words

2018-01-15 Thread Pablo Segura
Hi is there a direct process to get an API key for development? We really 
depend on adwors and would like to create a more functional way to keep 
track of the activity.

thank you in advance Pablo.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d785f0df-fd95-40dd-8072-a26747f8b40a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Limits on paused ad groups

2017-02-17 Thread Juan Pablo Santos
I spoke to AdWords support and they say paused ad groups do count towards 
the limit. Can someone confirm?

On Friday, February 17, 2017 at 9:09:48 AM UTC-5, Matthew Wawrin wrote:
>
> I'm interested in the details of this limit as well, as we pause and 
> activate adgroups as stock is available, while adding new adgroups.  It 
> would take a while to hit 20K, but not impossible.
>
> On Thursday, February 16, 2017 at 8:32:15 PM UTC-6, Juan Pablo Santos 
> wrote:
>>
>> The documentation 
>> <https://groups.google.com/forum/#!newtopic/adwords-api> says that it's 
>> 20 000 ad groups per campaign, but it doesn't say if paused ad groups count 
>> for this limit. Do they?
>>
>> Best,
>> JPS
>>
>> Sorry if I posted twice.
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b11c4780-171d-4c0b-989e-17bc7c6dd14b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Limits on paused ad groups

2017-02-16 Thread Juan Pablo Santos
The documentation  says 
that it's 20 000 ad groups per campaign, but it doesn't say if paused ad 
groups count for this limit. Do they?

Best,
JPS

Sorry if I posted twice.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/dd3e0085-09d8-45ac-a471-e829c513%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Limits on the number of paused ad groups

2017-02-16 Thread Juan Pablo Santos
Hi,

I've seen the docs , 
but it isn't clear to me if paused ad groups count for the limits at the 
campaign level. Do they count if they're paused?

Best,
JP

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/dd8e3505-07ff-40f9-8c4b-42066dd1bbdb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Video Performance Report Bug

2016-04-01 Thread PABLO DE ASSIS
Digging deeper, it looks like the api is delivering non existent adgroups 
when we call the report with includeZeroImpressions=true.
Weird.

Em sexta-feira, 1 de abril de 2016 12:43:28 UTC-3, PABLO DE ASSIS escreveu:
>
> Hello,
>
> I am get a very weird bug right now that seems related. Some campaings are 
> showing zero results on API v201509, while on the Adwords panel they show 
> results. 
> Then, when I try to use the v201603 api version, I get even weirder 
> results. For AdGroupName I receive "X-OLD: Google Internal Only 1" (while 
> they should be "Ampla Rosinha (In-Stream)") and the results are also empty.
> And those results only appear if I put includeZeroImpressions to true (on 
> v201509 I dont need to set this). Otherwise the report comes just null. No 
> errors, at all, just nothing.
>
> Here is a debug of my call:
>
> $selector = Selector Object
> (
> [fields] => Array
> (
> [0] => AdGroupName
> [1] => VideoViews
> [2] => VideoViewRate
> [3] => AverageCpv
> [4] => Impressions
> [5] => Clicks
> [6] => Cost
> [7] => Ctr
> [8] => VideoQuartile25Rate
> [9] => VideoQuartile50Rate
> [10] => VideoQuartile75Rate
> [11] => VideoQuartile100Rate
> )
>
> [predicates] => Array
> (
> [0] => Predicate Object
> (
> [field] => CampaignId
> [operator] => EQUALS
> [values] => 342828084
> )
>
> [1] => Predicate Object
> (
> [field] => AdGroupId
> [operator] => EQUALS
> [values] => 24182302164
> )
>
> )
>
> [dateRange] => 
> [ordering] => 
> [paging] => 
> )
>
> $videoData =  standalone='yes'?> views='0' viewRate='0.00%' avgCPV='0' impressions='0' clicks='0' cost='0' 
> ctr='0.00%' videoPlayedTo25='0.00%' videoPlayedTo50='0.00%' 
> videoPlayedTo75='0.00%' videoPlayedTo100='0.00%'/>
>
> $xmlVideo = SimpleXMLElement Object
> (
> [table] => SimpleXMLElement Object
> (
> [row] => SimpleXMLElement Object
> (
> [@attributes] => Array
> (
> [adGroup] => X-OLD: Google Internal Only 1
> [views] => 0
> [viewRate] => 0.00%
> [avgCPV] => 0
> [impressions] => 0
> [clicks] => 0
> [cost] => 0
> [ctr] => 0.00%
>     [videoPlayedTo25] => 0.00%
> [videoPlayedTo50] => 0.00%
> [videoPlayedTo75] => 0.00%
> [videoPlayedTo100] => 0.00%
> )
>
> )
>
> )
>
> )
>
>
> I am using the latest PHP client library.
>
> Tks in advance.
> Pablo
>
> Em quarta-feira, 11 de novembro de 2015 03:51:59 UTC-2, Thanet Knack 
> Praneenararat (AdWords API Team) escreveu:
>>
>> Hi Emad,
>>
>> Have you tried setting *includeZeroImpressions 
>> <https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201509/Reporting/DownloadCriteriaReport.php#L60>*
>>  to 
>> true in the header of report definition request?
>> This guide 
>> <https://developers.google.com/adwords/api/docs/guides/zero-impression-reports>
>>  
>> might be useful to you as well.
>>
>> It seems your campaign got no statistics during that date period though.
>>
>> Best,
>> Thanet, AdWords API Team
>>
>> On Wednesday, November 11, 2015 at 4:18:02 AM UTC+9, Emad Aldeen Hajjar 
>> wrote:
>>>
>>> I tried googleads-php-lib-v6.5.0 and I'm getting the same issue.
>>>
>>> Em terça-feira, 10 de novembro de 2015 14:40:31 UTC-2, Emad Aldeen 
>>> Hajjar escreveu:
>>>>
>>>> Hey Michael,
>>>>
>>>> No, I got this issue in PHP client library.
>>>>
>>>>
>>>>
>>>> Em terça-feira, 10 de novembro de 2015 13:25:02 UTC-2, Michael Cloonan 
>>>> (AdWords API Team) escreveu:
>>>>>
>>>>> Hello,
>>>&

Re: Video Performance Report Bug

2016-04-01 Thread PABLO DE ASSIS
Hello,

I am get a very weird bug right now that seems related. Some campaings are 
showing zero results on API v201509, while on the Adwords panel they show 
results. 
Then, when I try to use the v201603 api version, I get even weirder 
results. For AdGroupName I receive "X-OLD: Google Internal Only 1" (while 
they should be "Ampla Rosinha (In-Stream)") and the results are also empty.
And those results only appear if I put includeZeroImpressions to true (on 
v201509 I dont need to set this). Otherwise the report comes just null. No 
errors, at all, just nothing.

Here is a debug of my call:

$selector = Selector Object
(
[fields] => Array
(
[0] => AdGroupName
[1] => VideoViews
[2] => VideoViewRate
[3] => AverageCpv
[4] => Impressions
[5] => Clicks
[6] => Cost
[7] => Ctr
[8] => VideoQuartile25Rate
[9] => VideoQuartile50Rate
[10] => VideoQuartile75Rate
[11] => VideoQuartile100Rate
)

[predicates] => Array
(
[0] => Predicate Object
(
[field] => CampaignId
[operator] => EQUALS
[values] => 342828084
)

[1] => Predicate Object
(
[field] => AdGroupId
[operator] => EQUALS
[values] => 24182302164
)

)

[dateRange] => 
[ordering] => 
[paging] => 
)

$videoData = 

$xmlVideo = SimpleXMLElement Object
(
[table] => SimpleXMLElement Object
(
[row] => SimpleXMLElement Object
(
[@attributes] => Array
(
[adGroup] => X-OLD: Google Internal Only 1
[views] => 0
[viewRate] => 0.00%
[avgCPV] => 0
[impressions] => 0
[clicks] => 0
[cost] => 0
[ctr] => 0.00%
[videoPlayedTo25] => 0.00%
[videoPlayedTo50] => 0.00%
[videoPlayedTo75] => 0.00%
[videoPlayedTo100] => 0.00%
)

)

)

)


I am using the latest PHP client library.

Tks in advance.
Pablo

Em quarta-feira, 11 de novembro de 2015 03:51:59 UTC-2, Thanet Knack 
Praneenararat (AdWords API Team) escreveu:
>
> Hi Emad,
>
> Have you tried setting *includeZeroImpressions 
> <https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201509/Reporting/DownloadCriteriaReport.php#L60>*
>  to 
> true in the header of report definition request?
> This guide 
> <https://developers.google.com/adwords/api/docs/guides/zero-impression-reports>
>  
> might be useful to you as well.
>
> It seems your campaign got no statistics during that date period though.
>
> Best,
> Thanet, AdWords API Team
>
> On Wednesday, November 11, 2015 at 4:18:02 AM UTC+9, Emad Aldeen Hajjar 
> wrote:
>>
>> I tried googleads-php-lib-v6.5.0 and I'm getting the same issue.
>>
>> Em terça-feira, 10 de novembro de 2015 14:40:31 UTC-2, Emad Aldeen Hajjar 
>> escreveu:
>>>
>>> Hey Michael,
>>>
>>> No, I got this issue in PHP client library.
>>>
>>>
>>>
>>> Em terça-feira, 10 de novembro de 2015 13:25:02 UTC-2, Michael Cloonan 
>>> (AdWords API Team) escreveu:
>>>>
>>>> Hello,
>>>>
>>>> Did you happen to be using the Ruby client library? I found an issue in 
>>>> that library that will be fixed in the next release, where this header was 
>>>> misspelled.
>>>>
>>>> Regards,
>>>> Mike, AdWords API Team
>>>>
>>>> On Monday, November 9, 2015 at 12:51:27 PM UTC-5, Emad Aldeen Hajjar 
>>>> wrote:
>>>>>
>>>>> Hello!
>>>>>
>>>>> I'm not getting any campgins when using report definition 
>>>>> VIDEO_PERFORMANCE_REPORT 
>>>>> to fetch reports for videos, and the only way to receive the correct data 
>>>>> if I select only CampaignId field but of course this dosen't help me 
>>>>> at all because I need the rest of feilds
>>>>> https://adwords.google.com/api/adwords/cm/v201509;>
>>>>> 
>>>>> CampaignId
>>>>> Clicks

Re: Keyword Performance Report - Keywords with (double quotes) are not downloaded using API

2014-05-12 Thread Pablo Damilano
Hi Takeshi,

I share the same concern of Mahesh and batch editing of the KeywordText 
field of the API report using the KeywordMatchType field won't resolve the 
issue when different matching options are used in 1 keyword.

Take for example the following keywords:
+tickets for concert +buy +online
or:
+[tickets for concert] +buy +online

Doing batch edition using the KeywordMatchType field would lead to download 
the following keywords through the API:
   +tickets for concert +buy +online
   +tickets for concert +buy +online
   [+tickets for concert +buy +online]
 and none of these 3 possibilities are equal to the original 
keywords!!! (because the  's and the [] 's and other characters are lost 
in the API report process)

I need to get through the Adwords API the keywords as they appear in the 
Google Adwords interface; is there any way to do so? Because of this 
mismatch our reports are confusing people in our agency and our customers.


Your help would be really appreciated. Thank you!!


*Pablo Damilano*
*Flimbu*




El martes, 12 de noviembre de 2013 00:40:29 UTC-5, Takeshi Hagikura 
(AdWords API Team) escribió:

 Hi Mahesh,

 Apologies for the delay. 

 We have a different field that explains the matchType. 
 Now you can know the matchType by KeywordMatchType. 

 It's very easy to re-form the String in your local environment, right?

 Best,
 - Takeshi, AdWords API Team

 On Thursday, October 17, 2013 1:17:20 AM UTC+9, Mahesh Nerlekar wrote:

 Thanks for your reply...

 I Included the KeywordMatchType and it has values of 'phrase', 'exact' 
 and 'broad'. But still keywordtext field doesnt contain  or [].

 Shouldnt the Keyword field download as is like with  or []? 

 We tried it downloading in google doc via google script and they get 
 downloaded fine. Not sure why API doesnt work?

 Thanks,
 Mahesh Nerlekar


 On Tuesday, October 15, 2013 6:33:24 AM UTC-5, Takeshi Hagikura (AdWords 
 API Team) wrote:

 Hi, 

 In the API, the difference of (Phrase), [](Exact), nothing(Broad) is 
 segmented by the KeywordMatchType field in Keyword Performance Report. 
 Please include that field and try that again.

 Best,
 - Takesh, AdWords API Team

 On Saturday, October 12, 2013 9:57:47 PM UTC+9, Mahesh Nerlekar wrote:

 Hi,

 We have several keywords setup in google adwords. There is a keyword 
 abc setup different ways like abc, abc, [abc] around it. When I try do 
 download the keyword performance report using api. the data for keyword 
 abc (quotes around it) is not downloaded.

 So I can see 3 records on keywords tab when I search abc. But when I 
 download report using api I can see only 2 records. record missing is the 
 one with abc (quotes around it).

  The crazy thing is, when I download the report manually using UI on 
 keyword tab, those records show up in downloaded xml file. Problem comes 
 only when I use the API. 

 Is there any way around it to download the data with . Are we not 
 supposed to setup the keywords with  or [] around it?

 Thanks,
 Mahesh Nerlekar



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.


Receiving ReportDownloadError.INTERNAL_SERVER_ERROR from AdWords endpoint

2014-03-19 Thread Pablo Ochoa
Good morning, we're having an annoying issue when trying to fetch data from 
AdWords API, our production server reports the following error:

AdwordsApi::Errors::ReportXmlError: HTTP code: 500, error type: 
'ReportDownloadError.INTERNAL_SERVER_ERROR', trigger: 'Unexpected Internal 
Server Error', field path: ''

This is a rails app using google-adwords-api-0.11.0... I started 
investigating if this is effectively credentials problem. Turns out I 
wasn't able to reproduce it... I mean running the code used to perform the 
fetch with the same failed data retrieves results normally.

One thing to note is that we use OAUTH authentication and version 201309 of 
the API. Here's the code for the people familiar with ruby

  srv = connection.report_utils(credentials.api_version)

   predicates = predicates.map do |field_name, values|
  {:field = field_name, :operator = 'IN', :values = 
Array.wrap(values)}
end

report_definition = {
  :selector = {
:fields = report_columns,
:predicates = [
  { :field = :CampaignId, :operator = 'EQUALS', :values = 
[campaign_id] },
  *predicates
]
  },
  :report_name = report_type,
  :report_type = report_type,
  :date_range_type = 'ALL_TIME',
  :download_format = 'CSV'
}

   srv.download_report(report_definition)

The error is not triggered for all the requests we do, but at random 
moments.  Any idea why this error might be happening? Is it expected to 
have some 500 responses from server?

Any help or clue where to start investigating would be really appreciated.

Thanks

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

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


AdGroupService migration problem

2012-11-13 Thread Pablo
Hi, I recently migrated two applications from v201106 to v201209, one 
written in C# and the other in PHP.
The C# code is working properly, I can get the ad groups and clicks, but 
the PHP returns $page-totalNumEntries == 0 for some clients, I have 
double-checked everything (especially the request data) and it looks fine, 
can anyone help me?

Thanks,
Pablo

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Problems downloading URL_PERFORMANCE_REPORT (v201109)

2011-12-07 Thread pablo
Hi David

Yes, my MCC id is 133-148-8521 and the client Id is 5284813578.

I compared the period between October 1, 2011 and October 30, 2011.
and impressions are:
MCC Panel: 193260
Report of the URL: 62,947

Thanks,

Best,

Pablo

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Problems downloading URL_PERFORMANCE_REPORT (v201109)

2011-12-02 Thread pablo
I found the solution. the problem was on the date of the report. 
URLs are not updated in real time as the AD and KEYWORDS, so I change the 
*dateRangeType 
= YESTERDAY* by *dateRangeType = LAST_7_DAYS* and has produced results.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Problems downloading URL_PERFORMANCE_REPORT (v201109)

2011-12-02 Thread pablo
I Comparing the results of the report, and I have seen that the output from the 
URLs are different than those listed in MCC account. 
The Clicks and CPC are OK, but Impressions not.
The report generated is URL_PERFORMANCE_REPORT (10/01/2011 to 10/30/2011 
period) and I look the results at the Themes tab of the interface of the 
MCC.

Why is there this difference?

Thanks,
Pablo

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: AD_PERFORMANCE_REPORT is empty

2011-12-01 Thread pablo
Hi Eric,

I solved the problem another way. By inserting some data fields (Clicks) has
 completed thereport.

Thank you very much

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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


Problems downloading URL_PERFORMANCE_REPORT (v201109)

2011-12-01 Thread pablo
I have the following code in php:

*try {*
*
*
* $user = new AdWordsUser();*
* $user-LogAll();*
* *
* $report_date = date(Y-m-d ,strtotime('yesterday'));*
* *
* for ($f=11;$f=$count;$f++){*
* $clientId = $clientes['id'][$f];*
* $user-SetClientId($clientId);*
* $user-LoadService('ReportDefinitionService', 'v201109');*
* $fileName = 'data/'.$clientId.'_'.$report_date.'_url.xls';*
* $selector = new Selector();*
* $selector-fields = 
array('CampaignId','CampaignName','CampaignStatus','AdGroupId','AdGroupName','AdGroupStatus','Domain','Url','AdNetworkType1','AdNetworkType2','Clicks','Impressions','Conversions','Cost');
*
* *
* $reportDefinition = new ReportDefinition();*
* $reportDefinition-selector = $selector;*
* $reportDefinition-reportName = 'URL Performance Report 
'.$clientId.'_'.$report_date;*
* $reportDefinition-dateRangeType = 'YESTERDAY';*
* $reportDefinition-reportType = 'URL_PERFORMANCE_REPORT';*
* $reportDefinition-downloadFormat = 'CSVFOREXCEL';*
* *
* $path = dirname(__FILE__) . '/' . $fileName;*
* $options = array('version' = 'v201109', 'returnMoneyInMicros' = TRUE);*
* *
* ReportUtils::DownloadReport($reportDefinition, $path, $user, $options);*
* *
* $clientes['report_name'][$count] = $reportDefinition-reportName;*
* $clientes['file_name_ad'][$f] = $clientId.'_'.$report_date.'_ad.xls';*
* $clientes['file_name_keyword'][$f] = 
$clientId.'_'.$report_date.'_keyword.xls';*
* $clientes['file_name_url'][$f] = $clientId.'_'.$report_date.'_url.xls';*
* $clientes['report_date'][$count] = $report_date.' 00:00:00';*
* *
* }*
* *
* echo('Se ha realizado el informe');*
* *
* *
*} catch (Exception $e) {*
* print $e-getMessage();*
*}*

The report comes to me empty. Anyone know what the problem is that I get 
empty?

Thanks

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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


AuthenticationError.CUSTOMER_NOT_FOUND

2011-11-11 Thread pablo

Hello,

I'm starting to work with the AdWords API and I've downloaded the latest 
version 201109.
In the sandbox, I can connect fine, and perform the functions 'get', but want 
to run the example AddCampains.php asks me to use the clientId, and to 
introduce 
it gives me the following error, and I can not find the solution.

Error
   AuthenticationError.CUSTOMER_NOT_FOUND @ ; trigger:'XXX-XXX-' 
Service[CampaignService.mutate] 


Can anyone help me please.

thank you very much
Pablo

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: AdWords API Re: Placement report cames without any data

2010-01-13 Thread Pablo Alberto Camino
Today, we tried with an older date range, like from a week before, and got data 
in the response.
Could it be that this report is only ready with data after quite some time?
Can I pull it for yesterday or is it too early? 

--
Pablo Alberto Camino
pablo.cam...@puntofox.com
+54-11-4103-6733
Live Messenger: pablo.cam...@puntofox.com

Cuide el medio ambiente y NO IMPRIMA ESTE MENSAJE


-Mensaje original-
De: adwords-api@googlegroups.com [mailto:adwords-...@googlegroups.com] En 
nombre de AdWords API Advisor
Enviado el: Martes, 12 de Enero de 2010 04:01 p.m.
Para: AdWords API Forum
Asunto: AdWords API Re: Placement report cames without any data

Hi,

Are you making this request against the production endpoint?  Does this request 
work for other date ranges?  Does this report return different data if 
scheduled through the UI?

Best,
- Eric Koleda, AdWords API Team

On Dec 29 2009, 12:10 pm, TrafficManager pablo.cam...@puntofox.com
wrote:
 Hi, I'm having the following issue:

 I am requesting a Content Placement report and, even though the 
 request is valid, the response XML comes with no data on it. And it is 
 not like we have no campaigns running out there. Could somebody help 
 me out? Following are the request I'm using and the response I'm
 getting:

 job xsi:type='DefinedReportJob'
           crossClienttrue/crossClient
           nameInforme API FOX LOCATION v2 - 2009-12-29/name
           startDay2009-12-28/startDay
           endDay2009-12-29/endDay
           includeZeroImpressionfalse/includeZeroImpression
                 aggregationTypesAdGroup/aggregationTypes
                 aggregationTypesUrl/aggregationTypes
                 aggregationTypesSummary/aggregationTypes
                 selectedReportTypeContentPlacement/
 selectedReportType
                 selectedColumnsCampaign/selectedColumns
                 selectedColumnsAdGroup/selectedColumns
                 selectedColumnsPlacementDomain/selectedColumns
                 selectedColumnsPlacementUrl/selectedColumns
                 selectedColumnsImpressions/selectedColumns
                 selectedColumnsClicks/selectedColumns
                 selectedColumnsCTR/selectedColumns
                 selectedColumnsCPC/selectedColumns
                 selectedColumnsCPM/selectedColumns
                 selectedColumnsCost/selectedColumns
                 selectedColumnsConversions/selectedColumns
                 selectedColumnsConversionRate/selectedColumns
 /job

 report
   table
   columns
   column name=campaign /
   column name=adgroup /
   column name=placementDomain /
   column name=placementUrl /
   column name=imps /
   column name=clicks /
   column name=ctr /
   column name=cpc /
   column name=cpm /
   column name=cost /
   column name=conv /
   column name=convRate /
   /columns
   rows /
   /table
   totals
   grandtotal imps=0 clicks=0 ctr=0.0 cpc=0 cpm=0 cost=0
 conv=0 convRate=0.0 /
   /totals
 /report

-- 
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-...@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.