Re: null value in campaign_search_term_insight

2023-08-30 Thread Mat
Hi,

I'm in the same boat as Alex, Arthur and Martin and I'm also struggling 
from one unexpected error message to the next. I would like to add, that 
the same errors occur in the *customer*_search_term_insight report. I would 
also like to suggest to name these reports as in the UI 
<https://support.google.com/google-ads/answer/11386930> - namely with 
"..._insight*s"* instead of "..._insight" - if you are already in the 
process of correcting the errors.

Thank you
Mat


Martin Roettgerding schrieb am Mittwoch, 23. August 2023 um 21:57:13 UTC+2:

> Hi,
> I've sent you two customer IDs privately. However, as far as I can see, 
> it's the same in all accounts.
>
> Here is a little Ads Script that demonstrates the error. It grabs a 
> campaign id, uses that to grab an insight id and finally uses both for a 
> simple query that fails (I've used Ads Scripts since it seems the easiest 
> way to demonstrate what happens with pure API as well.)
>
> function main() {
>   // Get campaign.id from the campaign with the highest cost
>   let campaignId = AdsApp.report('SELECT campaign.id, metrics.cost_micros 
> FROM campaign WHERE segments.date DURING LAST_MONTH ORDER BY 
> metrics.cost_micros DESC').rows().next()['campaign.id'];
>   
>   // Get the top insight's id (avoid uncategorized search terms with id = 
> 0)
>   let queryInsightId = 'SELECT campaign_search_term_insight.id, 
> metrics.impressions FROM campaign_search_term_insight WHERE segments.date 
> DURING LAST_MONTH AND campaign_search_term_insight.campaign_id = "' + 
> campaignId + '" AND campaign_search_term_insight.id != 0 ORDER BY 
> metrics.impressions DESC';
>   let insightId = AdsApp.report(queryInsightId).rows().next()['
> campaign_search_term_insight.id'];
>   
>   // Now query the data for this insightId from this campaignId
>   let query = 'SELECT campaign_search_term_insight.category_label, 
> segments.search_subcategory, segments.search_term FROM 
> campaign_search_term_insight WHERE segments.date DURING LAST_MONTH AND 
> campaign_search_term_insight.campaign_id = "' + campaignId + '" AND 
> campaign_search_term_insight.id = "' + insightId + '"';
>   let searchTermInsightsReport = AdsApp.report(query);
>   let fail = searchTermInsightsReport.rows().totalNumEntities();
> }
>
> On Tuesday, 22 August 2023 at 14:07:47 UTC+2 Google Ads API Forum Advisor 
> wrote:
>
>> Hi Martin,
>>
>> Thank you for coming back to us and for providing your insights about 
>> this matter. I hope you are doing well today.
>>
>> In relation to your concern, for us to validate and further investigate 
>> on the mentioned issues, please provide us your complete logs with CID or 
>> uncropped screenshot from Google Ads UI (with data filter), this will help 
>> us to further check if this is related to API bug and raise this concern to 
>> a wider team. We are looking forward to the needed information, thank you 
>> for your patience and understanding.
>>
>> Have a great day.
>>  
>> This message is in relation to case "ref:_00D1U1174p._5004Q2ntKRb:ref"
>>
>> Thanks,
>>   
>> [image: Google Logo] Google Ads API Team 
>>
>>
>>

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/3abee6b6-4ab7-49f2-8129-b563656767dcn%40googlegroups.com.


Re: Google Ads API: QPS rate limit ball park figure?

2023-02-02 Thread Mat
Hi Julian,

since my last post here, our rate limiter for the Google Ads API is running 
with a maximum of 3 hits per 1 second. This is sufficient for our purposes 
and since then we haven't encountered any "RESOURCE_TEMPORARILY_EXHAUSTED" 
or "RESOURCE_EXHAUSTED" errors. However - we never tested what the actual 
limit might be.

Regards
Mat

julian.s...@gmail.com schrieb am Donnerstag, 2. Februar 2023 um 23:04:23 
UTC+1:

> Hi Mat,
>
> Sorry to revive the thread, I was curious on how you implemented your 
> solution since Im on the same boat.
>
> My initial thought was to find the service QPS and implement a global 
> token bucket service rate limiter on our side (just like the one google 
> use and recommends 
> <https://developers.google.com/google-ads/api/docs/best-practices/rate-limits?hl=en#throttle>).
>  
> Unfortunately the QPS was is yet unclear, probably to prevent committing to 
> an SLA (the exact token number should be an integer on one of their 
> databases tho).
>
>
>
>
>
>
> On Wednesday, September 8, 2021 at 12:29:46 AM UTC-3 adsapi wrote:
>
>> Hello Mat,
>>
>> We received an update from the feature request regarding on the QPS rate 
>> limits.
>>
>> As per our team, there are no figures we can give really. The QPS varies 
>> based on the overall server environments at each moment. If the user 
>> follows the best practices 
>> <https://developers.google.com/google-ads/api/docs/best-practices/overview?hl=en>,
>>  
>> they would be able to avoid the issue.
>>
>> Regards,
>> [image: Google Logo] 
>> Mark Kevin Albios 
>> Google Ads API Team 
>>   
>>
>> ref:_00D1U1174p._5004Q2Mj0N4: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/afec6ed3-6c09-4979-b861-017163962225n%40googlegroups.com.


Re: Error in Google Ads API: change_event.client_type - Changes via "GOOGLE_ADS_EDITOR" are missing.

2022-10-27 Thread Mat
Hi Anash,

sure - I sent you a private email.

Regards
Mat

adsapi schrieb am Mittwoch, 26. Oktober 2022 um 19:31:00 UTC+2:

> Hi Mat,
>
> That's strange... Do you have a request ID or a query + customer ID you 
> could share with me?
>
> Regards
>
> Anash
>
> ref:_00D1U1174p._5004Q28otVg: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/9a8116ca-daf1-4efe-a505-34992d556b62n%40googlegroups.com.


Re: Error in Google Ads API: change_event.client_type - Changes via "GOOGLE_ADS_EDITOR" are missing.

2022-10-25 Thread Mat
Hi Anash,

it looks like your developer team has solved the problem in the meantime, 
despite the various contradictory statements here, at least to the extent 
that this month, for the first time ever since the change_event report was 
created, changes with the change_event.client_type "GOOGLE_ADS_EDITOR" 
actually appear in our reports. So it's a good thing that you haven't 
updated the online documentation 
<https://developers.google.com/google-ads/api/fields/v11/change_event#change_event.client_type>
 
yet ;-)

Regards
Mat

adsapi schrieb am Mittwoch, 5. Oktober 2022 um 20:12:33 UTC+2:

> Hi Mat,
>
> You should depend on what Yasar said, since that's the latest update from 
> our side. I'll update the documentation appropriately.
>
> Thanks,
>
> Anash
>
>
> ref:_00D1U1174p._5004Q28otVg: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/4a6ea155-fb85-46c8-89cd-fe7640b6f682n%40googlegroups.com.


Re: Get Product Click Stats for Performance Max Campaigns?

2022-10-13 Thread Mat
Hi Brett,

replace "campaign.end_date" with "segments.date" and you should be good.

Regards
Mat

brett@redbrain.com schrieb am Dienstag, 16. August 2022 um 13:23:55 
UTC+2:

> The following search query doesn't include performance max campaigns. How 
> can I replicate the above UI query in GAQL?
>
>
> SELECT
>
> segments.product_item_id,
>
> metrics.clicks,
>
> metrics.impressions,
>
> metrics.all_conversions,
>
> campaign.end_date,
>
> campaign.id
>
> FROM shopping_performance_view
>
> WHERE
>
> campaign.end_date BETWEEN '2022-07-01' AND '2022-07-31'
>
> ORDER BY
>
> metrics.clicks DESC
>
>
> Thanks
>
> On Tuesday, 16 August 2022 at 10:21:04 UTC+1 Brett Hadley wrote:
>
>> Hi
>>
>> That doesn't appear to give the MCA ItemId
>>
>> In the Google UI I'm looking to replicate this report which does include 
>> performance max clicks. You can see here "Item ID" this is Product level 
>> aggregation within the MCA.
>>
>> w[image: Screenshot 2022-08-16 at 10.20.08.png]
>>
>> On Monday, 15 August 2022 at 21:18:17 UTC+1 adsapi wrote:
>>
>>> Hi Brett,
>>>
>>> Upon checking further, you should be able to use the 
>>> asset_group_product_group_view 
>>> <https://developers.google.com/google-ads/api/fields/v11/asset_group_product_group_view>
>>>  for 
>>> statistics of your Performance Max campaigns listing groups. Let me know if 
>>> this helps.
>>>
>>>
>>> Best regards,
>>>
>>> [image: Google Logo] 
>>> Peter Laurence 
>>> Google Ads API Team 
>>>   
>>>
>>> ref:_00D1U1174p._5004Q2dKlCV: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/73491739-e414-4e24-9fcf-048c5f12cf91n%40googlegroups.com.


Re: Private message regarding: No PERFORMANCE_MAX campaign data in shopping_performance_view report

2022-10-13 Thread Mat
Hi Oksana,

just don't include any adgroup related fields in your query and you should 
be good. This is since there are no adgroups in PMax Campaigns.

Regards
Mat

Oksana Sulyma schrieb am Donnerstag, 22. September 2022 um 09:28:09 UTC+2:

> Hello! 
> Just wanted to confirm that my question is still actual. Thank you!
> Oksana
>
> On Friday, September 16, 2022 at 11:15:46 AM UTC+3 Google Ads API and 
> AdWords API Forum wrote:
>
>> Hi Oksana,
>>
>> Thank you for reaching us out. I am Sherwin from Google Ads API support 
>> team. I hope that you are doing well today.
>>
>> To further investigate this issue, could you provide the 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 with request ID 
>> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id>
>>  
>> and request header 
>> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request_headers>
>>  
>> generated on your end? You may send the logs and screenshot to this email 
>> address googleadsa...@google.com. If you haven't enabled the logging 
>> yet, logging can be enabled by navigating to the Client libraries > Your 
>> client library (ex. Java) > Logging documentation, which you can access 
>> from this link 
>> <https://developers.google.com/google-ads/api/docs/client-libs?hl=en>.
>>
>> Add to that, could you please provide us the full screenshot of the UI 
>> and the account your client used to get the report?
>>
>> Kind regards,
>> Sherwin Vincent
>> Google Ads API Team
>>
>> On Friday, September 16, 2022 at 3:27:09 PM UTC+8 Oksana Sulyma wrote:
>>
>>> Hello! Just wanted to confirm that my question is still actual. Thanks!
>>>
>>> On Wednesday, September 14, 2022 at 1:09:19 PM UTC+3 Oksana Sulyma wrote:
>>>
>>>> Hi Google Ads API support team!
>>>> We have weird issue for one client of us.
>>>> This client has 12 campaigns running among which there are 2 campaigns 
>>>> of type PERFORMANCE_MAX. Client provided us Google Ads UI screenshot 
>>>> showing Products for PERFORMANCE_MAX campaigns. 
>>>> However when we pull shopping_performance_view data with dates filter 
>>>> only we get data for 2 campaigns and PERFORMANCE_MAX campaigns data is not 
>>>> included. 
>>>> Why could it be possible? Is Products in Google Ads UI not an 
>>>> equivalent of shopping_performance_view API view? Will be happy to provide 
>>>> request / response log privately. 
>>>>
>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/52718676-8d1e-4578-a2bb-ea14fe0f868bn%40googlegroups.com.


Re: Error in Google Ads API: change_event.client_type - Changes via "GOOGLE_ADS_EDITOR" are missing.

2022-10-05 Thread Mat
Well - shall we trust in Ben 
, in 
Yasar  
- or in the online description 

?

aa...@softwarepromotions.com schrieb am Mittwoch, 5. Oktober 2022 um 
14:05:33 UTC+2:

> Why won't Google Ads editor changes be supported in the change_event 
> report?
>
> Is there a reason why? 
>
> Aaron
>
> On Tuesday, October 4, 2022 at 10:44:03 AM UTC-5 adsapi wrote:
>
>> Hi everyone,
>>
>> Thank you for your patience. I’ve received an update from my team.
>>
>> Kindly note that the Google Ads editor changes are not supported in 
>> change_event report. As of now, we are not planning editor support for the 
>> change_event service. 
>>
>> Regards,
>> [image: Google Logo] 
>> Yasar 
>> Google Ads API Team 
>>   
>>
>> ref:_00D1U1174p._5004Q28otVg: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/f9694816-a151-4073-9bda-e583ab1aa764n%40googlegroups.com.


Re: Find objects created with "Recommendations Auto-Apply"

2022-09-30 Thread Mat
Hi Tommy,

You may find ad_group_ad.ad.added_by_google_ads 
<https://developers.google.com/google-ads/api/fields/v11/ad_group_ad#ad_group_ad.ad.added_by_google_ads>
 helpful. 
But since we don't use to opt into auto-accept ad recommendations, you'll 
have to test on your end, if this resource also includes auto-accepted ad 
recommendations. The description is unclear on this point (and not 
all descriptions are true).
Sadly, there does not seem to be a similar resource on the keyword or 
ad_group.criterion level.

Looking ahead, I'd recommend to fetch the change_event or at least the 
change_status data on a daily basis and store them in a database on your 
end.

Regards
Mat 


TommyTek schrieb am Mittwoch, 3. August 2022 um 06:51:37 UTC+2:

> Hi,
> I know that I might use that, but it doesn't  return events older than 30 
> days.
> It can't work for me to get all the ads created automatically.
>
> Any other option?
>
> Tnx
> Il giorno 3 Ago 2022, alle ore 04:58, Google Ads API Forum Advisor <
> ads...@forumsupport.google> ha scritto:
>>
>> Hi Tommaso,
>>
>> Thank you for the reply.
>>
>> You may indeed use the change_event 
>> <https://developers.google.com/google-ads/api/fields/v11/change_event?hl=en> 
>> report filtering the change_event.client_type 
>> <https://developers.google.com/google-ads/api/fields/v11/change_event?hl=en#change_event.client_type>
>>  
>> to GOOGLE_ADS_RECOMMENDATIONS (*please note that there’s no filtering of 
>> Recommendations Auto-Apply but you may use the GOOGLE_ADS_RECOMMENDATIONS 
>> enum instead to still see this*). However, I’m afraid that this is 
>> indeed only for those created in the last 30 days and we do not have other 
>> report to find the ads or keywords that were created by the 
>> "Recommendations Auto-Apply"
>>
>> Best regards,
>> [image: Google Logo] 
>> Heidi 
>> Google Ads API Team 
>>   
>>
>> ref:_00D1U1174p._5004Q2d41Gp: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/706cebde-89f6-41a1-8707-9b1eb94e64c3n%40googlegroups.com.


Re: Error in Google Ads API: change_event.client_type - Changes via "GOOGLE_ADS_EDITOR" are missing.

2022-09-30 Thread Mat
"but the team is actively working on it" - still o.O? I wouldn't have 
expected this to be a 6+ months hands on project, but sadly, change_event 
is still missing changes that originate from all including the latest 
Google Ads Editor versions.

adsapi schrieb am Freitag, 25. März 2022 um 15:44:27 UTC+1:

> Hi Aaron,
>
> Unfortunately this issue is not quite fixed yet, but the team is actively 
> working on it. Keep an eye on our developer blog 
>  for updates.
>
>
> Thanks,
> Ben, Google Ads API Team
>
> ref:_00D1U1174p._5004Q28otVg: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/3888b68b-265e-445c-9daa-6c767aba6411n%40googlegroups.com.


campaign.serving_status

2022-07-08 Thread Mat
Hi there,

is the value of campaign.serving_status 
<https://developers.google.com/google-ads/api/fields/v11/campaign#campaign.serving_status>affected
 
by the ad schedule? Specifically, what value does the serving_status of an 
otherwise active campaign have if I run the query at a time not covered by 
the ad schedule?

Of the available ENUMs nothing seems to fit:

ENDED
NONE
PENDING
SERVING
SUSPENDED
UNKNOWN
UNSPECIFIED

Regards
Mat

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/6bcdc084-522c-41d0-b163-d26a791db38fn%40googlegroups.com.


Deleted assets

2022-06-02 Thread Mat
Could you consider adding the asset status to the fields in the following 
report?
Despite the fact that there is a note that "Resources are immutable and 
cannot be deleted" resources can be deleted - eg sitelinks (remember that 
extensions migrate to resources). And if I'm creating AdsApp.report, there 
is no way to filter the deleted assets.

https://developers.google.com/google-ads/api/fields/v10/asset

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/cba75918-7dd5-465f-b9b3-858e3464486fn%40googlegroups.com.


Re: Zero Impressions *are* being filtered by default

2022-06-02 Thread Mat
The guide is useless. There is no way to handle the zero metrics because 
you do not give the option to get data with zero metrics.

"There is no way to get zero metrics rows." Period. This could be the whole 
guide. It used to be possible in the old API but it is not in the new one.
czwartek, 2 czerwca 2022 o 15:43:27 UTC+2 adsapi napisał(a):

> Hello,
>
> Thanks for reaching out. Zero metrics entities are always excluded when a 
> report is segmented 
> .
>  
> If you segment by date and the selected entity does not have metrics within 
> the specified date range, no row will be returned. 
>
> Please see this guide 
> 
>  
> that covers how zero metrics are handled under different reporting 
> conditions.
>
> Regards,
> Matt
> Google Ads API Team
>
> [image: Google Logo] 
> Matt 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2bbCeK: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/0a0b0916-da08-4360-8e1b-f6c71a2eaa22n%40googlegroups.com.


Re: Zero cost omitted from results

2022-06-02 Thread Mat
Hey Google, you have screwed it up. Bring the zero metrics back to the 
reports. Give us the option at least!

wtorek, 29 marca 2022 o 08:37:55 UTC+2 adsapi napisał(a):

> Hi Oliver,
>
> Thank you for reaching out to us.
>
> Please note that it is currently not possible to force return a row if all 
> selected metrics fields are zero. However, if there's one or more selected 
> metrics fields having a value that is not zero, the row should be returned. 
> You can refer to this documentation 
> 
>  
> for more details.
>
> Best regards,
> [image: Google Logo] 
> Heidi 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2YsMjS: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/e92578f0-31a3-491e-bea1-265ff1092103n%40googlegroups.com.


Re: Zero Impressions *are* being filtered by default

2022-06-02 Thread Mat
It's ridiculous but they have maked default the gap in the report if there 
is zero metrics for the row and they have deleted the option to include 
zero metrics. Hey Google, you have screwed it up.

wtorek, 19 kwietnia 2022 o 00:01:00 UTC+2 jason@observepoint.com 
napisał(a):

> This is probably relevant: I'm using the Python SDK
>
> ...and I just stumbled across this: Zero Metrics  |  Google Ads API  |  
> Google Developers 
> 
> Sounds like the date query turns on the filtering?
>
> On Monday, April 18, 2022 at 4:53:50 PM UTC-5 Jason Brinkle wrote:
>
>> I was comparing results between requests to the AdWords and new Ads APIs 
>> and was noticing some missing data coming from the new Ads API. Upon 
>> further investigation, it's missing the rows where impressions == 0. The 
>> documentation seems to indicate that this should not be happening...
>>
>> Workflow Changes in the Google Ads API  |  Google Developers 
>> 
>>
>>- Rows for zero impressions are returned by default in the Google Ads 
>>API. There is no includeZeroImpressions parameter. If you want to 
>>exclude zero impression rows, use a predicate such as metrics.impressions 
>>> 0 in your Google Ads Query Language.
>>
>> ...but the only conditional expression I have in my WHERE is around dates.
>>
>> SELECT ...
>> FROM ad_group_ad
>> WHERE segments.date >= "2022-03-30" AND segments.date <= "2022-04-05"
>>
>> Jason
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/9df12731-0e63-4457-8ff4-21fed25da790n%40googlegroups.com.


Re: How to check for disapproved assets that are currently in use (v10)

2022-02-21 Thread Mat
Hi Sinea,

I can confirm that using the above GAQL-strings, I get the disapproved 
assets along with the value "DISAPPROVED" in the 
"asset.policy_summary.approval_status" field.

Regards
Mat

Sinea Calin schrieb am Montag, 21. Februar 2022 um 16:25:29 UTC+1:

> Hi, Mat
>
> Can you also confirm something with me for a long time i would not receive 
> the asset.policy_summary in the select. Today it seems that they fixed it 
> partially,  my unit test retrieves it but its only the review status. Can 
> you confirm that you get the approval_status in your select and is not 
> missing like my response.
> 
> asset {
> resource_name: "customers/faked/assets/faked"
> policy_summary {
>   review_status: REVIEW_IN_PROGRESS
> }
>   }
>
> field_mask {
>   paths: "asset.policy_summary.approval_status"
>   paths: "asset.policy_summary.review_status"
> }
>
> Thank you and sorry for the trouble
> On Monday, February 21, 2022 at 11:51:39 PM UTC+9 Mat wrote:
>
>> Hi Jinky and Sinea,
>>
>> ty for your responses.
>>
>> In the meantime I learned that there is no "one fits for all" resource to 
>> check for disapproved ad extensions that are in active use. Instead you 
>> have to check customer_asset 
>> <https://developers.google.com/google-ads/api/fields/v10/customer_asset>, 
>> campaign_asset 
>> <https://developers.google.com/google-ads/api/fields/v10/campaign_asset> and 
>> ad_group_asset 
>> <https://developers.google.com/google-ads/api/fields/v10/ad_group_asset> 
>> separately. With GAQL strings along these lines:
>>
>> queries = [
>> # Checks for disapproved ag_group assets
>> (
>> 'SELECT '
>> 'ad_group_asset.status, '
>> 'campaign.name, '
>> 'campaign.id, '
>> 'campaign.serving_status, '
>> 'campaign.status, '
>> 'ad_group.name, '
>> 'ad_group.id, '
>> 'ad_group.status, '
>> 'asset.name, '
>> 'asset.id, '
>> 'asset.type, '
>> 'asset.policy_summary.approval_status, '
>> 'asset.policy_summary.policy_topic_entries, '
>> 'asset.policy_summary.review_status, '
>> 'asset.resource_name '
>> 'FROM ad_group_asset '
>> 'WHERE asset.policy_summary.approval_status = DISAPPROVED '
>> 'AND campaign.serving_status = SERVING '
>> 'AND campaign.status = ENABLED '
>> 'AND ad_group.status = ENABLED '
>> 'AND ad_group_asset.status = ENABLED'
>> ),
>> # Checks for disapproved campaign assets
>> (
>> 'SELECT '
>> 'campaign_asset.status, '
>> 'campaign.name, '
>> 'campaign.id, '
>> 'campaign.serving_status, '
>> 'campaign.status, '
>> 'asset.name, '
>> 'asset.id, '
>> 'asset.type, '
>> 'asset.policy_summary.approval_status, '
>> 'asset.policy_summary.policy_topic_entries, '
>> 'asset.policy_summary.review_status, '
>> 'asset.resource_name '
>> 'FROM campaign_asset '
>> 'WHERE asset.policy_summary.approval_status = DISAPPROVED '
>> 'AND campaign.serving_status = SERVING '
>> 'AND campaign.status = ENABLED '
>> 'AND campaign_asset.status = ENABLED'
>> ),
>> # Checks for disapproved customer assets
>> (
>> 'SELECT '
>> 'customer_asset.status, '
>> 'asset.name, '
>> 'asset.id, '
>> 'asset.type, '
>> 'asset.policy_summary.approval_status, '
>> 'asset.policy_summary.policy_topic_entries, '
>> 'asset.policy_summary.review_status, '
>> 'asset.resource_name '
>> 'FROM customer_

Re: How to check for disapproved assets that are currently in use (v10)

2022-02-21 Thread Mat
Hi Jinky and Sinea,

ty for your responses.

In the meantime I learned that there is no "one fits for all" resource to 
check for disapproved ad extensions that are in active use. Instead you 
have to check customer_asset 
<https://developers.google.com/google-ads/api/fields/v10/customer_asset>, 
campaign_asset 
<https://developers.google.com/google-ads/api/fields/v10/campaign_asset> and 
ad_group_asset 
<https://developers.google.com/google-ads/api/fields/v10/ad_group_asset> 
separately. With GAQL strings along these lines:

queries = [
# Checks for disapproved ag_group assets
(
'SELECT '
'ad_group_asset.status, '
'campaign.name, '
'campaign.id, '
'campaign.serving_status, '
'campaign.status, '
'ad_group.name, '
'ad_group.id, '
'ad_group.status, '
'asset.name, '
'asset.id, '
'asset.type, '
'asset.policy_summary.approval_status, '
'asset.policy_summary.policy_topic_entries, '
'asset.policy_summary.review_status, '
'asset.resource_name '
'FROM ad_group_asset '
'WHERE asset.policy_summary.approval_status = DISAPPROVED '
'AND campaign.serving_status = SERVING '
'AND campaign.status = ENABLED '
'AND ad_group.status = ENABLED '
'AND ad_group_asset.status = ENABLED'
),
# Checks for disapproved campaign assets
(
'SELECT '
'campaign_asset.status, '
'campaign.name, '
'campaign.id, '
'campaign.serving_status, '
'campaign.status, '
'asset.name, '
'asset.id, '
'asset.type, '
'asset.policy_summary.approval_status, '
'asset.policy_summary.policy_topic_entries, '
'asset.policy_summary.review_status, '
'asset.resource_name '
'FROM campaign_asset '
'WHERE asset.policy_summary.approval_status = DISAPPROVED '
'AND campaign.serving_status = SERVING '
'AND campaign.status = ENABLED '
'AND campaign_asset.status = ENABLED'
),
# Checks for disapproved customer assets
(
'SELECT '
'customer_asset.status, '
'asset.name, '
'asset.id, '
'asset.type, '
'asset.policy_summary.approval_status, '
'asset.policy_summary.policy_topic_entries, '
'asset.policy_summary.review_status, '
'asset.resource_name '
'FROM customer_asset '
'WHERE asset.policy_summary.approval_status = DISAPPROVED '
'AND customer_asset.status = ENABLED'
),
]   
for query in queries:
ga_service.search_stream(customer_id=str(customer_id), query=query)
...  

Regards
Mat
Sinea Calin schrieb am Montag, 21. Februar 2022 um 10:57:01 UTC+1:

> Hi,
>
> I think he asked how to get disapproved assets how is campaign_asset 
> <https://developers.google.com/google-ads/api/fields/v10/campaign_asset> 
> a good answer. campaign_asset 
> <https://developers.google.com/google-ads/api/fields/v10/campaign_asset> 
> does not have policy summary. campaign_asset.asset has policy summary but 
> unfortunately there is a bug that return nothing from assets.policy_summary.
> So you cant get the status using API.
>
> You welcome
>
> On Monday, February 21, 2022 at 6:49:37 PM UTC+9 adsapi wrote:
>
>> Hi Mat,
>>
>> Thank you for raising this concern to Google Ads API Team.
>>
>> To answer your questions, you may refer below for my responses :
>>
>>
>> *"Which would be the appropriate resource to hit with my GAQL string? 
>> Would you mind providing me an example for v10?"*
>>
>> For this question above, could you please confirm if want to get the 
>> association of your asset-based extension and campaigns? If yes, the I can 
>> suggest to use campaign_asset 
>> <https://developers.google.com/google-ads/api/fields/v10/campaign_asset>.
>>
>>
>> *"What's the difference between **asset_group* 
&g

How to check for disapproved assets that are currently in use (v10)

2022-02-18 Thread Mat
Hi there,

Use case: I want to check for disapproved assets like 

Lead Form
Promotion
Callout
Sitelink
Structured Snippet

... *that are currently in use, that is, associated with an enabled 
campaign*. Which would be the appropriate resource to hit with my GAQL 
string? Would you mind providing me an example for v10?

Possibly related question:

What's the difference between asset_group 
<https://developers.google.com/google-ads/api/fields/v10/asset_group> and 
asset_set 
<https://developers.google.com/google-ads/api/fields/v10/asset_set>?
More specific: which is used for what?

Regards
Mat


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/8ec7caba-3ad5-4916-9ae2-c44fad6e5fcan%40googlegroups.com.


Pyhton Examples for Migration to asset-based DSA?

2022-02-11 Thread Mat
Hi,

in your guide to "Asset-based workflow for creating DSA page feeds 
<https://developers.google.com/google-ads/api/docs/dynamic-search-ads/dsa-page-feeds#asset-based_workflow_for_creating_dsa_page_feeds>"
 
there are still only examples for Java. When will there be examples for 
Python? Is there a chance that those will show up before April 27, 2022, 
when the auto migration is scheduled to start?

Regards
Mat


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/3db8cd29-d3f5-49eb-a2f1-e4726996f118n%40googlegroups.com.


Re: How to get products under specific product groups?

2021-12-31 Thread Mat
Hi Yasar,

This is somewhat ironic (and not very funny) because this poorly 
administered Google Group sends out the unabridged, complete Google login 
email addresses of all contributors to anyone who has subscribed to the 
digest.
I have already pointed this out 
<https://groups.google.com/g/adwords-api/c/2nUiYzXSAR0/m/LRxLKuFQFAAJ> a 
long time ago and several times - unfortunately without any success.

Regards
Mat



adsapi schrieb am Freitag, 31. Dezember 2021 um 11:40:27 UTC+1:

> Hi Oliver,
>
> I had to delete your last post as you posted your email address. For 
> privacy purposes, you may avoid providing email addresses or any other 
> sensitive data publicly. As for your concern, our team has already created 
> a feature request and for now, you may keep an eye on our blog 
> <https://ads-developers.googleblog.com/search/label/google_ads_api> for 
> updates or announcements. Let us know if you have any additional questions.
>
> Regards, 
> [image: Google Logo] 
> Yasar 
> Google Ads API Team 
>   
>
>  
>
>  
>
>
> ref:_00D1U1174p._5004Q2TlP6J: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/7f6a83db-b744-4d61-8c74-755e71ab4e71n%40googlegroups.com.


Re: GAQL: Filtering on FinalUrls containing some text

2021-12-29 Thread Mat
You don't. 
You'd have to do that on your end (as in iterating through the rows of the 
response and check the values). Something like this:

for final_url in row.ad_group_criterion.final_urls:
if "Prd" in final_url:
...

goingdev schrieb am Mittwoch, 29. Dezember 2021 um 17:41:43 UTC+1:

> Correct. So the question remains:
>
> *How do I search keywords which contain a specific text in the FinalUrl? *
>
> With the old Google Adwords, the CONTAINS predicate acted like a LIKE 
> operator, and I was able to successfully search keywords based on a 
> substring within the FinalUrl:
> *new Predicate{ field = "FinalUrls", @operator = 
> PredicateOperator.CONTAINS, values = new string[]{"/Prd/"}}*
>
> However, with the new Google Ads API, using CONTAINS ANY does not search 
> substrings; only complete values of the FinalUrl. The following does not 
> work:
> *WHERE ad_group_criterion.final_urls CONTAINS ANY ('/Prd/')*
> On Wednesday, December 29, 2021 at 11:11:50 AM UTC-5 Mat wrote:
>
>> Hi goingdev,
>>
>> I guess that the LIKE operator is not valid/available for the field 
>> "ad_group_criterion.final_urls", because that field is actually a list of 
>> strings, despite of being classed as "STRING" in the reference 
>> <https://developers.google.com/google-ads/api/fields/v9/ad_group_criterion#ad_group_criterion.final_urls>
>> .
>>
>> Regards
>> Mat
>> goingdev schrieb am Dienstag, 28. Dezember 2021 um 20:58:13 UTC+1:
>>
>>> Question: How do I search keywords which contains specific text in the 
>>> FinalUrl using GAQL? 
>>>
>>> The query builder UI doesn't give an option for using LIKE. It only 
>>> gives options for CONTAINS ALL, CONTAINS ANY and CONTAINS NONE.
>>>
>>>
>>> https://developers.google.com/google-ads/api/fields/v9/ad_group_criterion_query_builder
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/3e25a0a4-73d8-4b9b-b4e0-cf7f7b1f1bdcn%40googlegroups.com.


Re: GAQL: Filtering on FinalUrls containing some text

2021-12-29 Thread Mat
Hi goingdev,

I guess that the LIKE operator is not valid/available for the field 
"ad_group_criterion.final_urls", because that field is actually a list of 
strings, despite of being classed as "STRING" in the reference 
<https://developers.google.com/google-ads/api/fields/v9/ad_group_criterion#ad_group_criterion.final_urls>
.

Regards
Mat
goingdev schrieb am Dienstag, 28. Dezember 2021 um 20:58:13 UTC+1:

> Question: How do I search keywords which contains specific text in the 
> FinalUrl using GAQL? 
>
> The query builder UI doesn't give an option for using LIKE. It only gives 
> options for CONTAINS ALL, CONTAINS ANY and CONTAINS NONE.
>
>
> https://developers.google.com/google-ads/api/fields/v9/ad_group_criterion_query_builder
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b151d414-919f-4765-9785-37cfe26e761dn%40googlegroups.com.


Re: How to get products under specific product groups?

2021-12-29 Thread Mat
Hi Oliver,

what is missing is the functionality to segment the 
shopping_performance_view report by the product_group_view.resource_name or 
the criterion_id of the product_group.
It would have to be a segment, because a product can be assigned to 
different product groups in the reporting period, since these are basically 
just a kind of filter, not a fixed structure, such as ad groups.

I think you could, however, reverse engineer the *current* structure of 
your product_groups (using the attributed ad_group_criterion resource to 
the product_group_view) and then check, which combination of 
segments.product_brand, segments.product_channel etc. associated to a 
segments.product_item_id of the shopping_performance_view would match with 
that structure. But that would be a really messy job - and you still 
wouldn't know if a reported product_item_id in the 
shopping_performance_view is even still in the shopping feed. So you would 
have to check that too (which is currently not possible via the Google Ads 
API). Instead you'd have to use the Content API for Shopping 
<https://developers.google.com/shopping-content/guides/quickstart> for this 
job.

Regards
Mat
Oliver schrieb am Mittwoch, 29. Dezember 2021 um 09:09:41 UTC+1:

> Hi Aryeh,
>
> The scenario you're talking about works only if the product groups are 
> subdivided by item ID.  This way, each product group represents one product 
> and hence why you see product_item_id in the data returned from 
> product_group_view.
>
> However, subdividing by item ID is not the only way of subdividing product 
> groups. In fact, it's not common at all.  Product groups can also be 
> sub-divided by brand, type, etc. in which case the product_item_id will *not 
> *be available in the data returned from product_group_view.
>
> Has anyone else tried to solve this problem before?  Your contribution is 
> much appreciated.
>
> Oliver
>
> On Tuesday, December 28, 2021 at 9:45:47 PM UTC adsapi wrote:
>
>> Hi Oliver,
>>
>> 'product_item_id' will give the product Id, every product is also a 
>> product group. A real group won't have a product Id. I tested this and it 
>> works. 
>>
>>
>> If there is any UI screen that has what you are looking for, could you 
>> privately send us a full screen screenshot?
>>
>> Regards,
>>
>> [image: Google Logo] 
>> Aryeh Baker 
>> Google Ads API Team 
>>   
>>
>> ref:_00D1U1174p._5004Q2TlP6J: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/c695307d-5a8d-4649-8d9f-2153edb9b463n%40googlegroups.com.


Re: The Google Ads API seem to be latent

2021-12-17 Thread Mat
Same here:



deep.bh...@gmail.com schrieb am Freitag, 17. Dezember 2021 um 15:41:03 
UTC+1:

> Hi there, Could you please check and acknowledge this?
>
> We have observed a significant amount of latency in almost every call to 
> api.
> Similar reports from third parties (check here) 
> 
>
> 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/b206f2ea-1ec7-4dc9-b351-93e886283de2n%40googlegroups.com.


Re: Missing metrics in view: ad_group_ad_asset_view, after API update to v9.0

2021-12-15 Thread Mat
Hi Nati-An,

in *segmented* reports (like "segments.date" and "segments.ad_network_type" 
in the "select" clause of your example), fields with zero values will not 
show up in the report.
Rows where all selected metrics are zero are not returned at all.

Reference:
https://developers.google.com/google-ads/api/docs/reporting/zero-impressions#exclude_zero_impressions_by_segmenting

Regards
Mat

nat...@singular.net schrieb am Dienstag, 14. Dezember 2021 um 17:50:42 
UTC+1:

> Hi!
> We've started to see unexpected responses for our customer's accounts, 
> after updating the API to v9.0.
>
> When querying the endpoint ad_group_ad_asset_view, for various metrics, 
> such as cost_micros, clicks, and impressions, for some accounts, we are 
> getting only impressions.
> i.e, not zeros, but the metric doesn't return at all.
>
> Query for example:
> SELECT segments.date, campaign.id, campaign.name, customer.currency_code, 
> campaign.app_campaign_setting.app_id, 
> campaign.app_campaign_setting.app_store, campaign.advertising_channel_type, 
> campaign.advertising_channel_sub_type, metrics.impressions, metrics.clicks, 
> metrics.cost_micros, campaign.final_url_suffix, 
> campaign.tracking_url_template, ad_group.name, ad_group.id, 
> segments.ad_network_type, ad_group_ad.ad.id, ad_group_ad.ad.name, 
> ad_group_ad.ad.type, asset.id, asset.name, asset.type, 
> ad_group_ad.ad.final_urls, ad_group_ad.ad.final_url_suffix, 
> ad_group_ad.ad.tracking_url_template, 
> asset.youtube_video_asset.youtube_video_title FROM ad_group_ad_asset_view 
> WHERE segments.date >= '2021-12-03' AND segments.date <= '2021-12-07' AND 
> campaign.name IS NOT NULL ORDER BY segments.date
>
> example row in response:
> {"customer": {"resourceName": "x","currencyCode": "EUR"},"campaign": 
> {"resourceName": "","advertisingChannelType": "SEARCH","name": 
> "xxx","id": "x"},"adGroup": {"resourceName": "","id": 
> "","name": "x"},*"metrics": {"impressions": "1"}*,"adGroupAd": 
> {"resourceName": "xx","ad": {"type": 
> "RESPONSIVE_SEARCH_AD","resourceName": "x","id": "xx","finalUrls": 
> ["xxx"]}},"segments": {"adNetworkType": "SEARCH","date": 
> "2021-12-03"},"asset": {"resourceName": "xxx","type": "TEXT","id": 
> "xxx"},"adGroupAdAssetView": {"resourceName": ""}}
>
> Let me know if there's any further information I can share to help 
> investigate it.
>
> Looking forward to hearing from you.
> Nati-An
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/3061204f-f941-44c6-9b14-b36638dc6b2dn%40googlegroups.com.


Re: Remove a bid from adgroup

2021-12-06 Thread Mat
sorry, forgot to copy 2 lines of code in between:

ad_group_criterion_operation = 
googleads_client.get_type(
f'AdGroupCriterionOperation'
)
ad_group_criterion = 
ad_group_criterion_operation.update
ad_group_criterion.resource_name = (
f"customers/{customer_id}/adGroupCriteria/"
f"{ad_group_id}~{criterion_id}"
)
googleads_client.copy_from(
ad_group_criterion_operation.update_mask, 
field_mask
)

ad_group_criterion_operation.update_mask.paths.append(
'cpc_bid_micros'
    )

Regards
Mat

Mat schrieb am Montag, 6. Dezember 2021 um 12:30:15 UTC+1:

> Hi Pierre,
>
> this should work:
>
> ad_group_criterion_operation = 
> googleads_client.get_type(
> 'AdGroupCriterionOperation'
> )
> googleads_client.copy_from(
> ad_group_criterion_operation.update_mask, 
> field_mask
> )
> 
> ad_group_criterion_operation.update_mask.paths.append(
> 'cpc_bid_micros'
> )
>
> Regards
> Mat
> Pierre Riandey schrieb am Montag, 6. Dezember 2021 um 11:44:54 UTC+1:
>
>> Hello,
>> I am using the python client library for google ads API. In the 
>> documentation, to remove a bid it's specified to update the field to null (
>>
>> https://developers.google.cn/google-ads/api/docs/campaigns/bidding/set-bids#removing_bids
>> )
>>
>> But the client doesn't let met set the value for 
>> AdGroupCriterionOperation.update.cpc_bid_micros to something else than 
>> an integer.
>> And thus the bid is not removed.
>>
>> If anyone has some hints on how to proceed, I'm currently searching 
>> through examples in the client library, but nothing I tried is working.
>>
>> Thank 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/18d19e17-32f3-46ee-8771-93a521e2fb57n%40googlegroups.com.


Re: Remove a bid from adgroup

2021-12-06 Thread Mat
Hi Pierre,

this should work:

ad_group_criterion_operation = 
googleads_client.get_type(
'AdGroupCriterionOperation'
)
googleads_client.copy_from(
ad_group_criterion_operation.update_mask, 
field_mask
)

ad_group_criterion_operation.update_mask.paths.append(
'cpc_bid_micros'
        )

Regards
Mat
Pierre Riandey schrieb am Montag, 6. Dezember 2021 um 11:44:54 UTC+1:

> Hello,
> I am using the python client library for google ads API. In the 
> documentation, to remove a bid it's specified to update the field to null (
>
> https://developers.google.cn/google-ads/api/docs/campaigns/bidding/set-bids#removing_bids
> )
>
> But the client doesn't let met set the value for 
> AdGroupCriterionOperation.update.cpc_bid_micros to something else than an 
> integer.
> And thus the bid is not removed.
>
> If anyone has some hints on how to proceed, I'm currently searching 
> through examples in the client library, but nothing I tried is working.
>
> Thank 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c422913c-aaff-4397-a68e-fa44ef3d00edn%40googlegroups.com.


Re: maximize_conversions.target_cpa vs. target_cpa.target_cpa_micros

2021-11-10 Thread Mat
ty Aryeh

adsapi schrieb am Montag, 8. November 2021 um 22:13:35 UTC+1:

> Hi mat,
>
> Thank you for catching that, when I created a campaign in the API with a
> campaign.maximize_conversions.target_cpa 
> <https://developers.google.com/google-ads/api/reference/rpc/v8/MaximizeConversions>
>  set 
> to 1,000,000 the UI showed Target CPA of 1.00 and 3,000,000 was 3.00. Let 
> me bring this up with my team. You may monitor 
> campaign.maximize_conversions.target_cpa 
> <https://developers.google.com/google-ads/api/reference/rpc/v8/MaximizeConversions>
>   
> for an update.
>
>
> Reminder: Share your feedback about the Google Ads (AdWords) API! Take the 
> 2021 
> Google Ads API and AdWords API Annual Survey 
> <https://google.qualtrics.com/jfe/form/SV_eQbOpf4VxRyyqqO?source=so>
>
> Regards,
>   
> [image: Google Logo] 
> Aryeh Baker 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2R7BcA: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/deb4b320-b229-4a00-9eb4-4fd95a7fcfa2n%40googlegroups.com.


maximize_conversions.target_cpa vs. target_cpa.target_cpa_micros

2021-11-08 Thread Mat
Hi there,

do we have to use "micros" when setting the new 
campaign.maximize_conversions.target_cpa 
<https://developers.google.com/google-ads/api/reference/rpc/v8/MaximizeConversions>
 
value like we used to use "micros" when setting the 
campaign.target_cpa.target_cpa*_micros* 
<https://developers.google.com/google-ads/api/reference/rpc/v8/TargetCpa>?

Since both fields are of type int64 (at least according to the 
description), that seems plausible. But on the other hand - why on earth 
didn't you name that field campaign.maximize_conversions.target_cpa*_micros* 
then? 
Or is the error in the description and the field is no longer of type 
integer but double?

Please clarify. I would like to avoid committing some million dollar error 
in our client accounts, if possible.

Regards
Mat


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a789153b-33b6-45ae-9e6b-9982d3007ce1n%40googlegroups.com.


Re: How to get "Cost within spending limit" and "Budget left" for a campaign?

2021-10-29 Thread Mat
Hi Peter,

II would also very much appreciate such a feature. 

@Haiyang: Unlike the metrics fields,  the value of the 
campaign_budget.amount_micros field, just like any other resource field, is 
not subject to the segmentation (e.g. by day), but always reflect the 
*current* state of that resource at the moment you perform the request. 
So, if you want to keep track of historical values of the resource fields, 
you need to query them regularly and store the data on your end e.g. in a 
database.

Regards
Mat
adsapi schrieb am Freitag, 29. Oktober 2021 um 10:29:30 UTC+2:

> Hi Haiyan,
>
> Thank you for sharing these details. However, I had to remove your most 
> recent response as it contained your logs.
>
> The budget details (*Cost within spending limit*, *budget left*) are 
> currently not supported in the API. What you can currently only retrieve 
> would be the following fields : 
>
>- campaign_budget.amount_micros 
>- campaign_budget.total_amount_micros 
>
> That being said, allow me to raise a feature request, subject for review, 
> on the said UI fields to be supported in the API. For now, you may keep an 
> eye on our blog 
> <https://ads-developers.googleblog.com/search/label/google_ads_api> for 
> updates and announcements.
>
> Moving forward to the discrepancy concern, could you also share the 
> complete Google Ads UI screenshot containing the view of the campaign 
> budget (with *85* value) you mentioned is different from the value (
> *122*) retrieved via the API?
>
> In addition, could you also share the updated 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, with the request-id 
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id>,
>  
> of your campaign_budget request? You may ensure that the login-cusotmer-id 
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure?hl=en#cid>
>  
> is also included so that our team may try to replicate the report on our 
> end.
>
> 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 Napa Oliquino 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2QFvdQ: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/cbf483e9-c5c8-4be2-b6d7-3b2aeb816759n%40googlegroups.com.


Re: Google Ads API V9 ETA

2021-10-26 Thread Mat
Hi Teejay,

well I was wondering the same thing, because the deprecation date for v8 is 
*tomorrow, October 
27, 2021 *- according to the deprecation schedule 
<https://developers.google.com/google-ads/api/docs/sunset-dates>.
It would be nice of you guys to give us better ETAs than a 2 month period, 
at least for the next version in each case. We have to plan our resources 
too.

Regards
Mat

adsapi schrieb am Dienstag, 26. Oktober 2021 um 07:39:59 UTC+2:

> Hi Brennan,
>
> Thank you for reaching out to us.
>
> With regard to your concern, I'm afraid the link that you provided is the 
> only available page that contains information regarding V9. However, we 
> would recommend to keep an eye on our developer blog 
> <https://ads-developers.googleblog.com/> for updates regarding this 
> upcoming version release.
>
> Regards,
> [image: Google Logo] 
> Teejay Wennie Pimentel 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2QF8DU: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/59e1ed22-cc32-4c0c-9c2b-ef3be2404213n%40googlegroups.com.


Re: Keyword and Search Term View Yield Different Metrics

2021-10-25 Thread Mat
Hi Scott,

unfortunately, Google does not disclose the search terms for more than half 
of the the impressions, clicks, cost and conversions (allegedly for privacy 
reasons).
This is the case both in the Google Ads user interface and in the Google 
Ads API.

You might get matching total values if you don't segment the report by 
search_term, which, however, makes little sense.

Regards
Mat

adsapi schrieb am Montag, 25. Oktober 2021 um 08:38:41 UTC+2:

> Hi,
>
> Thanks for reaching out to us.
>
> Upon checking the GAQL for the search_term_view report, it appears that 
> segments are added in the select query. Note that when any segments are 
> added in the query, then it tells the query to retrieve only the rows of 
> data that have said segment fields and remove any row that is not 
> associated with those segments. That being said, you may try generating API 
> reports without including segment fields.
>
> If there are still discrepancies, please provide us with the complete 
> *request* 
> <https://developers.google.com/google-ads/api/docs/concepts/field-service?hl=en#request>
>  
> and *response* 
> <https://developers.google.com/google-ads/api/docs/concepts/field-service?hl=en#response>
>  
> logs with the *request-id* 
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure?hl=en#request-id>
>  
> for both of said views, so our team can better check.
>
> If you haven't yet, logging can be enabled by navigating to the Client 
> libraries > Your client library (ex. PHP) > Logging documentation, which 
> you can access from this *link* 
> <https://developers.google.com/google-ads/api/docs/client-libs>. You may 
> then send the complete logs 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.
>
> Regards, 
> [image: Google Logo] 
> Yasar 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2QEgXr: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/893b8a70-9426-496c-b58a-bd192563c280n%40googlegroups.com.


Re: searchStream response cuts off at 10000 lines

2021-10-18 Thread Mat
Hi Yasar,

I've counted the rows of some SearchStream request responses and I can get 
back much more than 10,000 rows in one single response. 

In the comparison "SearchStream versus Search 
<https://developers.google.com/google-ads/api/docs/reporting/streaming#searchstream_versus_search>"
 
there is an example with 100,000 rows - and no upper limit is mentioned.
Could you please double check and elaborate what exactly you mean with 
"upto 10,000 *records*"?

Regards
Mat

adsapi schrieb am Montag, 4. Oktober 2021 um 15:23:57 UTC+2:

> Hi Christos,
>
> Thanks for reaching out to us.
>
> Kindly note that the SearchStream method returns the entire result set 
> back in a single response upto 10,000 records.
>
> However, if you want to retrieve more than 1, you may use the search 
> method that uses pagination, with an adjustable pageSize parameter 
> specified alongside the query.
>
> Let us know if you have any further questions.
>
> Regards, 
> [image: Google Logo] 
> Yasar 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2OVpzc: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/875f1c0e-44b5-462f-ba6a-61cd5760a47dn%40googlegroups.com.


Re: Track the API calls made

2021-10-07 Thread Mat
Hi Piyush,

Have a look here:
https://console.cloud.google.com/apis/dashboard

That's probably the best you can get currently without monitoring the calls 
on your side.

Regards
Mat

piyush...@gmail.com schrieb am Mittwoch, 6. Oktober 2021 um 08:34:42 UTC+2:

> By tracking API, what I mean is I want to know how many GET/POST calls my 
> system is making to ads API on daily basis and what is the endpoint of 
> those calls.
>
> On Wednesday, October 6, 2021 at 2:16:05 AM UTC+5:30 adsapi wrote:
>
>> Hi Piyush,
>>
>> You can track mutates with change_event 
>> <https://developers.google.com/google-ads/api/docs/change-event>. There 
>> is no known way to track gets and reports for either API. Can you send us a 
>> screenshot of tracking API access in the UI?
>>
>> Regards,
>>
>> [image: Google Logo] 
>> Aryeh Baker 
>> Google Ads API Team 
>>   
>>
>> ref:_00D1U1174p._5004Q2OWiP8: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/a1639730-1934-48bc-ae81-69361040e5fcn%40googlegroups.com.


Re: Change Event Resource Type

2021-09-16 Thread Mat
Hi Scott and Mario,

you need to upgrade to the latest version of the Python library (currently 
14.0.0 <https://github.com/googleads/google-ads-python/releases/tag/14.0.0>). 
Only this version supports Google Ads API v8_1.
*But caution! *Read this, before you upgrade:
*New required use_proto_plus parameter in version 14.0.0 
<https://github.com/googleads/google-ads-python/issues/486>*

Regards
Mat

Mario schrieb am Donnerstag, 16. September 2021 um 06:59:34 UTC+2:

> Hi Mark,
>
> I am facing the same issue as well.
> When I try to get the  change_event.change_resource_type.name, it works 
> for other enum values, except for the value 14, where I get the error:
> AttributeError: 'int' object has no attribute 'name'
>
> Is there any suggested fix for this issue yet?
>
> Regards,
> Mario
> On Thursday, September 2, 2021 at 5:07:02 AM UTC+3 adsapi wrote:
>
>> Hello Scott,
>>
>> Thank you for reaching out to us.
>>
>> So our team can better check, can you share to us the following details 
>> below?
>>
>>- complete GAQL 
>>
>> <https://developers.google.com/google-ads/api/docs/reporting/example?hl=en> 
>>- complete logs (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>
>> with request-id 
>>
>> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id>
>>) 
>>
>> You can enable the logging by following this guide 
>> <https://developers.google.com/google-ads/api/docs/client-libs/python/logging>
>> .
>>
>> Please send the requested details 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.
>>
>> Regards,
>> [image: Google Logo] 
>> Mark Kevin Albios 
>> Google Ads API Team 
>>   
>>
>> ref:_00D1U1174p._5004Q2Mk4KF: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/23011373-ed30-48c5-81b8-293f82aafb48n%40googlegroups.com.


Re: Google Ads API: QPS rate limit ball park figure?

2021-09-03 Thread Mat

Hi Matt,

when we develop a tool, we should be able to estimate to what point we can 
scale. Even if it runs smoothly now, we don't know if it will still work 
with double or triple the number of accounts, because we don't get any 
order of magnitude from Google regarding the possible QPS rate limits.

What we would like to see is a clear announcement, like per 1,000 Google 
Ads cost/month (per account or developer token) 1 QPS is guaranteed. At 
least 98% of the time or so. 

And we would wish that in the Google Cloud Platform 
<https://console.cloud.google.com/> in the traffic graph then additionally 
a red line would be drawn in, so that we can see or be notified when we are 
approaching this line.

You'll find these kind of specifications for other APIs, such as Amazon SES 
et al. 

Regards
Mat

adsapi schrieb am Donnerstag, 2. September 2021 um 19:28:25 UTC+2:

> Hi Mat,
>
> As the rate limit can vary, the documentation does not have any estimate, 
> nor can our team provide an estimate for a specific date/time. However, if 
> you can specify precisely what you would like to see in the documentation, 
> or what changes you would like to see in error messaging, we can submit a 
> feature request on your behalf.
>
> Regards,
> Matt
> Google Ads API Team
>
> [image: Google Logo] 
> Matt 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2Mj0N4: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/128f7dd1-a004-470b-8e59-69d4f9164dedn%40googlegroups.com.


Re: Google Ads API: QPS rate limit ball park figure?

2021-08-31 Thread Mat
Hi Mark,

well, it does not help very much, if you refer to the same links, I 
provided myself in my question.
Ty anyway.

Regards
Mat

adsapi schrieb am Dienstag, 31. August 2021 um 11:55:22 UTC+2:

> Hello Mat,
>
> Thank you for reaching out to us.
>
> As per this guide 
> <https://developers.google.com/google-ads/api/docs/best-practices/rate-limits>,
>  
> there are no exact figures mentioned since the exact limit will vary 
> depending on the overall server load at any given time. Once you hit the 
> limit, you will encounter the RESOURCE_TEMPORARILY_EXHAUSTED 
> <https://developers.google.com/google-ads/api/reference/rpc/v8/QuotaErrorEnum.QuotaError#resource_temporarily_exhausted>
>  error. 
> In addition to that, you can also make use of Throttling and rate limiters 
> <https://developers.google.com/google-ads/api/docs/best-practices/rate-limits?hl=en#throttle>
>  to 
> limit the total number of threads in your client application.
>
> In the Google Ads API's perspective, what we have are the limits on API 
> operations which is briefly explained on this guide 
> <https://developers.google.com/google-ads/api/docs/best-practices/quotas>.
>
> Regards,
> [image: Google Logo] 
> Mark Kevin Albios 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2Mj0N4: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/f2f65aff-8d5e-4b2e-a1ad-6fa14006720bn%40googlegroups.com.


Google Ads API: QPS rate limit ball park figure?

2021-08-26 Thread Mat
Hi,

I'm currently implementing a rate limiter on our side to avoid breaking the 
QPS rate limits of several Google APIs. While there are precise rate limits 
for some of your APIs (like max 100 requests in 100 seconds 
<https://developers.google.com/sheets/api/reference/limits>), I can't find 
not even vague figures for the Google Ads API rate limits. 
<https://developers.google.com/google-ads/api/docs/best-practices/rate-limits>

So my question is: can you give us at least some ball park figures where 
those rate limits (QPS) per client customer ID (CID) and developer token 
might be during rush hours? Is it more like 1/s, 10/s or even 100/s?

Or shall we just try and error? Or hit the API full speed until 429 and 
only back off then?

To my fellow developers: do you have any insights in this matter?

Regards
Mat

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/32fd1604-007d-4a19-9ee0-02a3e4f156d8n%40googlegroups.com.


Re: GAQL String Query | How to Select Campaign by Campaign ID

2021-07-14 Thread Mat
Hi Reid,

that depends on the programming language, you are using.
With Python you could do something like this, if you want to use a variable 
instead of typing the ids manually into the query:

  campaign_ids_as_string = ', '.join(str(id) for id in campaign_ids)
  query = (
'SELECT '
'campaign.id, '
'campaign.name, '
'... '
'FROM campaign '
f'WHERE campaign.id IN ({campaign_ids_as_string})'
)

If you don't need that auxiliary variable "campaign_ids_as_string" anywhere 
else, you could even write 

...
    f'WHERE campaign.id IN ({', '.join(str(id) for id in campaign_ids)})'
...

Regards
Mat
reid.ho...@mediahubww.com schrieb am Dienstag, 13. Juli 2021 um 20:57:24 
UTC+2:

> Hi Pete,
>
> Thanks for the help here! I was able to successfully filter by campaign ID.
>
> How would I write this if there are multiple campaign IDs? I tried using 
> commas, ampersands, and even writing another WHERE statement. All resulted 
> in errors.
>
> Any help you could provide here would be really appreciated. 
>
> Thanks again,
> Reid
>
> On Tuesday, July 13, 2021 at 7:52:04 AM UTC-5 Pete Lavetsky (AdWords API 
> Guru) wrote:
>
>> Hey Reid,
>>
>> Use the GAQL query builder to validate your queries : 
>> https://developers.google.com/google-ads/api/fields/v8/campaign_query_builder
>>
>> SELECT campaign.id, campaign.name, 
>> campaign.vanity_pharma.vanity_pharma_text FROM campaign WHERE campaign.id 
>> = 11031113693
>>
>> Pete
>>
>> On Monday, July 12, 2021 at 3:39:22 PM UTC-4 reid.ho...@mediahubww.com 
>> wrote:
>>
>>> Hello,
>>>
>>> I'm trying to write a string query that returns a few different things-- 
>>> but I would like to filter which campaigns are returned by campaign ID. 
>>> Here's the string query I have wrote so far:
>>>
>>> String query = 
>>> "SELECT campaign.id, campaign.name, 
>>> campaign.vanity_pharma.vanity_pharma_text FROM campaign 
>>> WHERE campaign.id 11031113693 
>>> ORDER BY campaign.id";
>>>
>>> The error says:
>>>
>>> Response
>>> 
>>> Headers: 
>>> Metadata(content-type=application/grpc,request-id=wQ_YJlu7-Ph0bn9VuLHJNg,date=Mon,
>>>  
>>> 12 Jul 2021 19:30:17 GMT,alt-svc=h3=":443"; ma=2592000,h3-29=":443"; 
>>> ma=2592000,h3-T051=":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")
>>> Body: null
>>> Failure message: errors {
>>>   error_code {
>>> query_error: UNEXPECTED_INPUT
>>>   }
>>>   message: "Error in query: unexpected input 11031113693."
>>> }
>>>
>>>
>>> It worked before I entered the "WHERE" part of the query, but now it 
>>> doesn't seem to be working. Any help you could provide on how to write this 
>>> query would be really appreciated.
>>>
>>> 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/ce219505-e790-44e4-9567-5f860e0286b6n%40googlegroups.com.


Re: new API Google Ads via API Adwords: too long cycle to turn raw results into a dataframe (python)

2021-07-09 Thread Mat
Hi there,

I would recommend to:

   - omit the "segments.date DURING TODAY" part in the query since you 
   don't request any metrics
   - use GoogleAdsService.SearchStream 
   <https://developers.google.com/google-ads/api/docs/reporting/streaming?hl=en>
   - omit the df = pd.DataFrame() part while debugging to check if that 
   might be the bottleneck
   - omit the print() part while checking how long the loop lasts, because 
   "print" is quite slow

As a sidenote: if you need the names and not the indexes of enum values, 
you should eg. use "campaign.status.name" instead of "campaign.status" 
while iterating through the results. 

Regards
Mat

adwords...@gmail.com schrieb am Donnerstag, 8. Juli 2021 um 12:51:44 UTC+2:

> Hello!
>
> I'm starting to get acquainted with the Google Ads API   -  migrating 
> there the Adwords API scripts  and met such a huge problem for me:
>
> a cycle that took minutes in Adwords takes HOURS  via the Ads API (( I 
> hope I'm just doing something wrong...
>
>
> The task is to get   links from all ads from all campaigns  and  I need  
> to get all these  parametrs: 
>
>   account_name,
>   campaign.id, 
>   campaign.name, 
>   campaign.status, 
>   ad_group.id, 
>   ad_group.name, 
>   ad_group.status, 
>   ad_group_ad.ad.id, 
>   final_urls
>
> In the Adwords I could get it with  the  AD_PERFORMANCE_REPORT 
>
> The API Google Ads migration tool recommended me   *ad_group_ad*  report 
> and below  is my request.
>
> It works  well  when there are several ads on the account, but when there 
> are hundreds of them (or thousands), the FOR ROW IN RESULTS  loop takes 
> hours
> Also tried  FOR BATCH IN RESPONSE - the same result
>
> And it looks like the raw  unload  (with Results or Response cycle)  does 
> not allow to rewrite the data faster. Am I wrong?  Is there any alternative?
>
>
>
> //
> ga_service = client.get_service("GoogleAdsService")
> customer_service = client.get_service("CustomerService")
> resource_name = customer_service.customer_path(customer_id)
>
> customer = customer_service.get_customer(resource_name=resource_name)
>
>
> ga_service = client.get_service("GoogleAdsService")
>
> query = """
> SELECT
>   customer.descriptive_name,
>   campaign.id, 
>   campaign.name, 
>   campaign.status, 
>   ad_group.id, 
>   ad_group.name, 
>   ad_group.status, 
>   ad_group_ad.ad.id, 
>   ad_group_ad.ad.final_urls
>   
> FROM ad_group_ad
> WHERE segments.date DURING TODAY AND campaign.status = 'ENABLED' AND 
> ad_group.status = 'ENABLED' """
>
>
> search_request = client.get_type("SearchGoogleAdsRequest")
> search_request.customer_id = customer_id
> search_request.query = query
>
>
> results = ga_service.search(request=search_request)
>
>
>
> for row in results:
> 
> campaign = row.campaign
> ad_group = row.ad_group
> ad_group_ad  = row.ad_group_ad
>
> df = pd.DataFrame({'account_name':[customer.descriptive_name], '
> campaign.id': [campaign.id], 'campaign.name': [campaign.name],'ad_group.id
> ':[ad_group.id], 'ad_group.name': [ad_group.name],'ad_group_ad.ad.id':[
> ad_group_ad.ad.id], 'ad_group_ad.ad.final_urls': 
> [ad_group_ad.ad.final_urls]}) 
> print(  
> customer.descriptive_name,
> campaign.id,
> campaign.name,
> campaign.status,
> ad_group.id, 
> ad_group.name, 
> ad_group.status, 
> ad_group_ad.ad.id, 
> ad_group_ad.ad.final_urls
> 
> )  
> 
> 
> 
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/dfef34b6-7d79-46b2-88ee-b2fa8356aa4cn%40googlegroups.com.


Re: Smart Campaign URL

2021-06-30 Thread Mat
Hi there,

this is quite an old thread, but today I ran into the above mentioned 
problem too: pulling *ad_group_ad.ad.final_urls *on a* SMART_CAMPAIGN* 
yields the final URL "http://  smartcampaignplaceholder  .  com" (masked by 
me to avoid generating a link) witch actually exists and leads to a 
rather dubious crypto webpage. I think you should not use other peoples 
URLs here that you don't control as a placeholder.

Regards
Mat

adsapiforumadvisor schrieb am Montag, 19. Oktober 2020 um 08:33:24 UTC+2:

> Hi,
>
> To better assist you, could you provide your customer ID and the complete 
> Google Ads UI screenshot of the image you attached? You may reply using the 
> *Reply 
> privately to author* option when sending the requested details.
>
> If the reply privately option is not available, you may send the complete 
> details along with the ones you mentioned in this thread to our alias 
> *googleadsa...@google.com*, so we can continue the discussion privately.
>
> Best regards,
>
> [image: Google Logo] 
> Peter Laurence Napa Oliquino 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q269r3X: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/c953f1e2-926c-44b7-bd44-2f095ec33dc5n%40googlegroups.com.


Re: Migrated to V8 : Started Seeing Increased Rate of DEADLINE_EXCEEDED

2021-06-22 Thread Mat
Hi there,

we seem to be in the same boat:

[image: Bildschirmfoto vom 2021-06-23 07-16-40.png]


Regards
Mat

Pete Lavetsky (AdWords API Guru) schrieb am Mittwoch, 23. Juni 2021 um 
04:22:52 UTC+2:

> Even on mutates that don't make it to our DEADLINE threshold we're seeing 
> a massive slowdown in responsiveness in mutate calls.  Below, hour 20 
> corresponds to 4pm EST on the 22nd of June.
>
> day hour avg(unix_timestamp(date_finished)-unix_timestamp(date_started))
> 22 12 10.4448
> 22 13 10.3481
> 22 14 9.4694
> 22 15 13.9076
> 22 16 13.1181
> 22 17 20.0910
> 22 18 16.3803
> 22 19 19.1051
> 22 20 38.2070
> 22 21 480.0347
> 22 22 61.2185
> 22 23 227.2379
>
> On Tuesday, June 22, 2021 at 9:49:41 PM UTC-4 Pete Lavetsky (AdWords API 
> Guru) wrote:
>
>> We're now seeing this on other calls as well. These are across multiple 
>> customerIds.
>>
>> 2021-06-23 01:19:33,532 WARN  RequestLogger - FAILURE REQUEST SUMMARY. 
>> Method: google.ads.googleads.v7.services.AdService/MutateAds, Endpoint: 
>> googleads.googleapis.com:443, CustomerID: REDACTED, RequestID: null, 
>> ResponseCode: *DEADLINE*_EXCEEDED, Fault: deadline exceeded after 
>> 3599.998632475s. [buffered_nanos=67392207, buffered_nanos=93613556, 
>> remote_addr=googleads.googleapis.com/142.250.191.138:443].
>>
>> 2021-06-23 01:22:48,579 WARN  RequestLogger - FAILURE REQUEST SUMMARY. 
>> Method: google.ads.googleads.v7.services.AdGroupAdService/MutateAdGroupAds, 
>> Endpoint: googleads.googleapis.com:443, CustomerID: REDACTED, RequestID: 
>> null, ResponseCode: *DEADLINE*_EXCEEDED, Fault: deadline exceeded after 
>> 3599.985958315s. [buffered_nanos=65378596, buffered_nanos=67500777, 
>> remote_addr=googleads.googleapis.com/172.217.8.202:443].
>>
>> 20212021-06-23 01:30:08,166 WARN  RequestLogger - FAILURE REQUEST 
>> SUMMARY. Method: 
>> google.ads.googleads.v7.services.AdGroupAdService/MutateAdGroupAds, 
>> Endpoint: googleads.googleapis.com:443, CustomerID: REDACTED, RequestID: 
>> null, ResponseCode: *DEADLINE*_EXCEEDED, Fault: deadline exceeded after 
>> 3599.998821696s. [buffered_nanos=66057372, buffered_nanos=77619715, 
>> remote_addr=googleads.googleapis.com/142.250.191.202:443].
>>
>> On Tuesday, June 22, 2021 at 8:23:06 PM UTC-4 Pete Lavetsky (AdWords API 
>> Guru) wrote:
>>
>>> We put V8 into production earlier today. Everything was fine for about 
>>> 6.5 hours and then we started seeing an increased rate of DEADLINE_EXCEEDED 
>>>
>>> Our GrpcCallContext is configured for a 5m timeout and that's been fine 
>>> for months
>>>
>>> I reverted back to V7 and we haven't seen a DEADLINE_EXCEEDED for the 
>>> last 20 minutes but I'm not sure if that proves anything
>>>
>>> Is it perhaps a transient issue on Google's end for maintenance work 
>>> around increased capacity for V8?
>>>
>>> Here's the traceroute ... we've been asked to provide this before when 
>>> we witnessed a much higher rate of DEADLINE_EXCEEDED
>>>
>>> traceroute to googleads.googleapis.com (172.217.9.74), 50 hops max, 60 
>>> byte packets
>>>
>>>  1  ip-172-31-67-206.us-east-2.compute.internal (172.31.67.206)  0.104 
>>> ms  0.096 ms  0.102 ms
>>>
>>>  2  ec2-52-15-0-37.us-east-2.compute.amazonaws.com (52.15.0.37)  8.985 
>>> ms ec2-52-15-0-57.us-east-2.compute.amazonaws.com (52.15.0.57)  8.931 
>>> ms ec2-52-15-0-43.us-east-2.compute.amazonaws.com (52.15.0.43)  5.446 ms
>>>
>>>  3  100.65.27.16 (100.65.27.16)  3.778 ms 100.65.31.16 (100.65.31.16)  
>>> 6.846 ms 100.65.28.0 (100.65.28.0)  3.651 ms
>>>
>>>  4  100.66.12.132 (100.66.12.132)  1.994 ms 100.66.12.144 
>>> (100.66.12.144)  3.632 ms 100.66.13.36 (100.66.13.36)  1.978 ms
>>>
>>>  5  100.66.14.196 (100.66.14.196)  16.689 ms 100.66.14.202 
>>> (100.66.14.202)  22.094 ms 100.66.14.130 (100.66.14.130)  12.970 ms
>>>
>>>  6  100.66.6.77 (100.66.6.77)  21.618 ms 100.66.6.131 (100.66.6.131)  
>>> 50.483 ms 100.66.7.235 (100.66.7.235)  17.491 ms
>>>
>>>  7  100.66.4.101 (100.66.4.101)  32.121 ms 100.66.4.117 (100.66.4.117)  
>>> 31.610 ms 100.66.4.125 (100.66.4.125)  42.423 ms
>>>
>>>  8  100.65.10.129 (100.65.10.129)  1.140 ms 100.65.13.161 
>>> (100.65.13.161)  0.937 ms 100.65.8.161 (100.65.8.161)  0.945 ms
>>>
>>>  9  15.230.134.209 (15.230.134.209)  2.346 ms 15.230.134.161 
>>> (15.230.134.161)  1.961 ms 15.230.134.203 (15.230.134.203)  2.729 

Re: Remove ad group bid modifier

2021-06-22 Thread Mat
Hi Rodolfo,

since the guide linked by Peter only states to show examples on how to 
remove AdGroup Bid Modifiers but fails to actually provide such an example, 
here how it should work (using the Python library):

ad_group_bm_service = 
googleads_client.get_service('AdGroupBidModifierService')
operations = []
ad_group_bid_modifier_operation = 
googleads_client.get_type('AdGroupBidModifierOperation')
resource_name = 
f"customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id}"
ad_group_bid_modifier_operation.remove = resource_name
operations.append(ad_group_bid_modifier_operation)
ad_group_bm_response = (
ad_group_bm_service.mutate_ad_group_bid_modifiers(
customer_id=str(customer_id), operations=operations)
)

Regards
Mat

rodolfo@flixbus.com schrieb am Freitag, 18. Juni 2021 um 16:31:03 UTC+2:

> Hey,
>
> I'd like to remove ad group bid modifiers, but I managed only to update 
> the resource. I'm currently setting ad_group_bid_modifier.bid_modifier 
> <https://developers.google.com/google-ads/api/fields/v7/ad_group_bid_modifier>
>  
> to 1 and I believe it works because I see the adjustment as 0% on Google 
> Ads. However, I'd like to fully remove the bid modifier programmatically 
> and not appear the 0%. Is that possible or do I have to do the removal 
> manually in order to that happen?
>
> Best regards,
>
> Rodolfo Saldanha
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/9d4b7e1a-539e-451b-a839-3e50cb997566n%40googlegroups.com.


Re: Why are AdWords API reports being deprecated now?

2021-06-18 Thread Mat
Hi Nadine,

your "history and timeline" is incomplete. Let me help you out:

The *v1* of the Google Ads API had already been declared "production ready" 
on *March 4, 2019 * 
<https://ads-developers.googleblog.com/2019/03/upgrade-to-new-google-ads-api-to-get.html>but
 
had to be *pushed back to beta* three months later on July 2, 2019 
<https://ads-developers.googleblog.com/2019/07/google-ads-api-returning-to-beta.html>
 due 
to the bad overall performance.
It stayed in (second) beta over a year until September 21, 2020 
<https://ads-developers.googleblog.com/2020/09/announcing-google-ads-api-is-out-of-beta.html>.
 
It had reached v5 
<https://ads-developers.googleblog.com/2020/08/announcing-v5-of-google-ads-api-beta.html>
 
by then. So when you announced the production readiness of the Google Ads 
API *for the second time in 2 and a half years*, not everyone jumped on the 
train right away. It was a bad timing. The v5 was a mess because the 
transition to field presence instead of wrapper types was only done for half 
of the resources 
<https://ads-developers.googleblog.com/2020/08/announcing-v5-of-google-ads-api-beta.html>
 
by then. 
And there did not seem to be any urgency for switching from AdWords API to 
Google Ads API. Despite the frequent questions in this group about the 
sunset or deprecation date of the AdWords API, you never mentioned, that 
this will be a gradual process escalating over time until this very posting 
of yours yesterday.

We were kind of lucky because we started to move to the Google Ads API in 
March 2019 already, but that was pure gambling and no one knew for sure for 
years if the Google Ads API will continue to be developed or not.

Regards
Mat


adsapi schrieb am Donnerstag, 17. Juni 2021 um 20:34:39 UTC+2:

> Hello Oliver,
>
> Nadine here from the webinar. The webinar does not provide not a lot of 
> time to give an in-depth answer to your question as we need to cover a lot 
> of questions, so I would be happy to do so now. I'll cover a bit about the 
> timeline, the history of what's happened so far, and a little more on why 
> changes happen. As a fellow engineer, I realize that it's frustrating when 
> you have to make changes to your code, especially when it has been working 
> for a long time, but I feel understanding the 'why' can help in your 
> planning. We do not make these changes unless there are valid business and 
> technical reasons.
>
> I really want to cover everything to make it clear on the 
> 'why', so I realize this is a bit verbose.
>
> *History and timeline*
>
> The AdWords API has gotten old enough that it could be a teenager by now. 
> In order to provide opportunity for greater innovation, we had to upgrade 
> the API technology and the underlying infrastructure, which historically 
> we've done about every 10 years. Yes, there was an API before the AdWords 
> API that existed for approximately 10 years. This journey started when we 
> launched Google Ads API v0 
> <https://ads-developers.googleblog.com/2018/04/join-beta-for-new-adwords-api.html>
>  
> in May 2018. We stopped adding new features to the AdWords API in September 
> 2018, which was about the time that the legacy AdWords UI was replaced by 
> the new Google Ads UI that you see today. As a result, depreciations have 
> been occurring regularly to the AdWords API for almost three years. You can 
> see the full  history (
> https://ads-developers.googleblog.com/search/label/adwords_api) of fields 
> being deprecated, field values changed, or reports being deprecated.
>
> In September 2020, we announced GA 
> <https://ads-developers.googleblog.com/2020/09/announcing-google-ads-api-is-out-of-beta.html>
>  
> for the Google Ads API, which means it was ready for production use. This 
> was the point when many developers already started moving to the new API, 
> and some have already finished their migration. Most of the features were 
> already in the API, but we had a few left over that weren't as commonly 
> used. We were finishing those up when we announced the sunset 
> <https://ads-developers.googleblog.com/2021/04/upgrade-to-google-ads-api-from-adwords.html>
>  
> of the AdWords API in April 2021. 
>
> *Why the changes*
>
> There are a few general reasons why I said that there are likely changes 
> that will happen to AdWords API reporting from now until April 2022 when 
> the AdWords API sunsets:
>
>- As mentioned above, there have been these changes to AdWords API 
>reporting since September 2018 since we do not do releases for that API (
>https://ads-developers.googleblog.com/search/label/adwords_api). We do 
>not have a full roadmap of the upcoming changes from now until April 2022. 
>  

"Report privately" not possible

2021-05-28 Thread Mat
Hi Anthony, Peter and the rest of the Google Ads API Team,

it looks like no one here is able to reply to an author privately. Please 
let an administrator check this. You must have noticed this long ago. This 
is obviously just as wrongly set, as the fact that in this group still all 
e-mail login addresses of all contributors are sent unmasked via the digest 
<- reported by me several times in vain.

Regards
Mat

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/70a79a6d-629b-40c7-a7c3-ed3d404950cfn%40googlegroups.com.


ad_group_criterion.effective_cpc_bid_micros and ad_group_criterion.effective_cpc_bid_source populated while BiddingStrategyType is some smart bidding strategy

2021-05-26 Thread Mat
Hi there,

I have 4 questions (regarding the Google Ads API):

1) Why are the fields "ad_group_criterion.*effective*_cpc_bid_micros" and 
"ad_group_criterion.*effective*_cpc_bid_source" beeing populated in an 
ad_group_criterion report for a keyword even if the actual 
BiddingStrategyType is some smart bidding strategy like "TARGET_CPA" or 
"MAXIMIZE_CONVERSION_VALUE? This does not seem to make any sense.

2) Where are those values coming from? Are these legacy values from before 
the BiddingStrategyType was set to a smart bidding type?

3) Are we able to mutate the "ad_group_criterion.cpc_bid_micros" value on a 
keyword even if the  relevant BiddingStrategyType is some smart bidding 
type? <- this does not seem to be possible in the Google Ads UI.

4) if 3) is not possible: what's the recommended way to determine, if  
ad_group_criterion.cpc_bid_micros on a keyword may be mutated or not?

Regards
Mat

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/5b0a10cb-20bb-4595-9be6-96b8d7218220n%40googlegroups.com.


Re: So many bugs & broken things

2021-05-26 Thread Mat
Hi Deny,

I feel you.

2) I opened an issue 
<https://github.com/googleads/google-ads-python/issues/434> regarding this 
point a few days ago. There is an answer from the Python library 
maintainers too, that works for me.

3) I did not run into this issue yet. At least I hope so (would be very 
bad). Could you provide an example?

4) This is not limited to fields named "type". Technically, this could 
affect many other field-names 
<https://developers.google.com/google-ads/api/docs/client-libs/python/library-version-10#field_names_that_are_reserved_words>
 
too.
But there is hope: "# We make SOME exceptions for certain names that 
collide with builtins." 
<https://github.com/googleapis/gapic-generator-python/blob/master/gapic/utils/reserved_names.py>
 ^^

Regards
Mat

deny.w...@wmccann.com schrieb am Dienstag, 25. Mai 2021 um 18:47:22 UTC+2:

> 1) google_ads changed to googleads in class path: REALLY guys, you 
> couldn't live with an old name, you had to go ahead and BREAK THINGS for 
> users? If we are so irrelevant, why bother developing stuff and releasing 
> it publicly?
>
> 2) To whom it may concern,  MessageToJson and MessageToDict from 
> google.protobuf.json_format no longer work. I've created a workaround, but 
> really who cares?
>
> 3) When issuing search_stream and querying ad_group, ad_group_ad, etc., 
> "where campaign.id = x" no longer works, bringing no results. The 
> reason I was using this was so I could implement some sort of incremental 
> query based on campaign age and status, otherwise we get a HUGE amount of 
> data in the results (I'm responsible for Coca-Cola, General Motors, Nestle 
> and some other large accounts in Brazil). Now we have to go back to 
> filtering by client which is in practice no filter at all, and by doing 
> that we'll clog your servers, congratulations.
>
> 4) Things keep getting better and better as any column named "type" NEEDS 
> TO BE QUERIED with the original name, but HAS TO BE READ as "type_". 
>
> If I sound pissed is because I AM. At this point, all things being equal, 
> I'm recommending ANYTHING but google to my clients. Your devs are 
> unbelievably incompetent, and I would bet good money they think they're 
> incredible (Dunning-Kruger anyone?). Complexity is not a measure of 
> success, quite the opposite in fact. Your code is HORRIBLE and an 
> embarrassment to Google.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ae1537e9-40e7-482b-99c1-d6d210722c2cn%40googlegroups.com.


Re: Account label limit

2021-05-26 Thread Mat
Hi Mark,

1) 1000 as the maximum number of accounts a label can be applied to seems 
to be the Goolge Ads API limit too:
https://developers.google.com/google-ads/api/docs/best-practices/system-limits#label

2) You could pull a customer_label 
<https://developers.google.com/google-ads/api/fields/v7/customer_label> 
report and just count the rows or the number of different "
customer_label.resource_name 
<https://developers.google.com/google-ads/api/fields/v7/customer_label#customer_label.resource_name>"
 
you get.

Cheers
Mat



Mark schrieb am Mittwoch, 26. Mai 2021 um 11:09:23 UTC+2:

> Hello,
>
> I'm looking to implement a feature to automatically apply account labels 
> to client accounts. While the basic feature works, I have a few questions 
> about scalability.
>
> The Ad Words API docs  
> <https://developers.google.com/adwords/api/docs/reference/v201809/ManagedCustomerService#mutatelabel>clearly
>  
> state that one label can only be added to 1000 accounts at most, a 
> limitation we'd hit rather soon. The Google Ads API equivalent, 
> CustomerLabelService 
> <https://developers.google.com/google-ads/api/reference/rpc/v7/CustomerLabelService>,
>  
> does not seem to have such a limitation, or at least it's not documented. 
>
> So, my questions:
> 1) Is the 1000-accounts-per-label limitation actually in place for both Ad 
> Words and Google Ads APIs? 
> 2) If so, is there any way -- with either API -- to check how many 
> accounts any one label has been attached to? 
>
> Cheers,
> Mark
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/4d15a97f-4f4c-4b44-ae31-14e38d28c068n%40googlegroups.com.


Re: convert the return value directly to standard Python Types?

2021-05-11 Thread Mat
Hi there,

you might find something here:
https://googleapis.dev/python/protobuf/latest/google/protobuf/json_format.html  
   

Regards
Mat


mohsen...@gmail.com schrieb am Montag, 10. Mai 2021 um 17:50:40 UTC+2:

> Is there a way to convert the return value directly to standard Python 
> Types?
>
> Instead of using the same method as in the examples:
>
>  for batch in response:
> for row in batch.results:
> print(
> f"Campaign with ID {row.campaign.id} and name "
> f'"{row.campaign.name}" was found.'
> )
>
> do convert directly "response" to python object
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/89382f73-8bb9-443e-9b17-225274ecda0bn%40googlegroups.com.


Re: Change Event data not written by API

2021-05-11 Thread Mat
Hi there,

any changes via the Google Ads Editor (even with the latest Version) have 
never shown up in the change_events report. There are divergent and 
confusing responses by the Google Ads API Team about why or why not. It's 
either a bug or has never been implemented in the first place - although 
there is a dedicated enum in the change_event.client_type 
<https://developers.google.com/google-ads/api/fields/v7/change_event#change_event.client_type>for
 
"GOOGLE_ADS_EDITOR" (v6 and v7).

Regards
Mat



adsapiforumadvisor schrieb am Dienstag, 11. Mai 2021 um 10:36:08 UTC+2:

> Hi Arshdeep,
>
> Thank you for reaching out as well to our team regarding the similar issue 
> that you are encountering.
>
> So our team can further investigate, you may resend these details, along 
> with your customer ID and the 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 
> with request ID 
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id>,
>  directly 
> to our googleadsa...@google.com alias.
>
> Best regards,
>
> [image: Google Logo] 
> Peter Laurence Napa Oliquino 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2GKQu0: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/530f632e-ccd5-4568-9764-4edec560860bn%40googlegroups.com.


Re: Python API - segments.date is not working correctly

2021-05-07 Thread Mat
Hi there,

you should add at least one metric like metrics.impressions to your query. 
Else, there is nothing to be segmented by date since segments.date refers 
to the "Date to which *metrics* apply 
<https://developers.google.com/google-ads/api/fields/v7/ad_group#segments.date>"
 
and not to something else like status or any other field.

Regards
Mat

ro...@akhtariev.ca schrieb am Freitag, 7. Mai 2021 um 08:44:57 UTC+2:

> Hi,
>
> I cannot get a report for the correct dates. I am using the followign 
> query:
>
> SELECT
> campaign.name,
> customer.id,
> ad_group.id,
> ad_group.name,
> ad_group.labels,
> segments.date
> FROM ad_group
> WHERE segments.date = '2021-05-04'
> AND ad_group.status = ENABLED
> AND ad_group.name = 'roman test'"""
>
> There are 2 problems. 
>
> First, if I try to retrieve segments date by adding it to the SELECT 
> clause, then there will be no results returned back.
>
> Second, If I try to filter the results by date from yesterday, then 
> campaigns and ad groups that I created today will still be returned.
>
> 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/fd4f4a6b-90a1-42c8-a2c3-ef4a62a805abn%40googlegroups.com.


Google Ads API: Field 'ad.responsive_search_ad.headlines' cannot be modified by 'UPDATE' operation.

2021-04-28 Thread Mat
Hi there,

in the dokumentation 
<https://developers.google.com/google-ads/api/docs/ads/ad-types#description_of_each_ad_type>
 is 
stated that ResponsiveSearchAds are mutable. And I know, that I can change 
ResponsiveSearchAds via the Google Ads UI.

But when I try to update the headlines using the Google Ads API (v6, Python 
library), I get this error:

"Field 'ad.responsive_search_ad.headlines' cannot be modified by 'UPDATE' 
operation."

So - can I change the headlines via API or not? If no, why? and if yes, how?

Regards
Mat


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/85cec616-d0a9-4656-ab18-767dbe93e05en%40googlegroups.com.


Re: High latency and 504 errors

2021-04-22 Thread Mat
We did too - however, the problem seems to have been fixed already:

[image: Bildschirmfoto vom 2021-04-22 11-56-41.png]

axel.v...@gmail.com schrieb am Donnerstag, 22. April 2021 um 11:07:47 UTC+2:

> We're experiencing the same thing. I've been told that the Google Ads API 
> team is currently investigating the issue. 
>
> On Thursday, April 22, 2021 at 10:00:22 AM UTC+1 mp...@hubspot.com wrote:
>
>> Hello,
>>
>> We are seeing very high API latency since 3:45AM ET and 504 error 
>> responses.  Since the calls are timing out, I don't have request IDs, just 
>> DEADLINE_EXCEEDED errors.  Is there an issue with the Google Ads API right 
>> now?
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c5610d7e-336d-484d-a3b4-5d5832720970n%40googlegroups.com.


Re: Retrieving changed_fields causes 500 Internal Error

2021-03-26 Thread Mat
Hi Ben,

this morning we were able to pull about 2 million chance events across a 3 
digit number of client customers without an error. So this problem seems to 
be fixed, ty.
However: we still did not receive a single change_event that was made 
through the Google Ads Editor. But that seems to be a different ongoing 
issue <https://groups.google.com/g/adwords-api/c/sQgHw3r0vuQ/m/hy0-QmaXAAAJ>
.

Regards
Mat
adsapiforumadvisor schrieb am Donnerstag, 25. März 2021 um 19:42:01 UTC+1:

> Hi All - 
>
> It appears as though this fix has been rolled out all the way to prod. 
> Would you mind checking again whether you're continuing to receive these 
> errors?
>
>
> Thanks,
> Ben, Google Ads API Team
>
> ref:_00D1U1174p._5004Q2Du7a3: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/2887b4dd-b202-43a9-8b6c-d7ae70f4541cn%40googlegroups.com.


Re: Retrieving changed_fields causes 500 Internal Error

2021-03-24 Thread Mat
Hi Thomas,

we still are in the same boat ...

Regards
Mat

kol...@exito.de schrieb am Mittwoch, 24. März 2021 um 10:25:53 UTC+1:

> Do you have any timeline when the bug will finally be fixed? We still get 
> many many 500 errors during the day.
>
> TBH: This is quite annoying because the problem has been dragging on for 
> more than two weeks. As it's still not possible to retrieve older change 
> event data ("The requested start date is too old. It cannot be older than 
> 30 days."), it means that a lot of historic change event data will be lost. 
> We run a daily script which builds up a change event database with data 
> older than 30 days. With all those 500 errors a lot of data will be lost 
> and cannot be recovered at a later point.
>
> Thanks,
>
> Thomas
>
> adsapiforumadvisor schrieb am Montag, 15. März 2021 um 15:38:38 UTC+1:
>
>> Hello - 
>>
>> It seems this issue was caused by a bug on our end. It appears as though 
>> a fix is already in the process of being rolled out, I'll follow up here to 
>> let you know when I expect it should be fixed.
>>
>> Thanks,
>> Ben, Google Ads API Team
>>
>> ref:_00D1U1174p._5004Q2Du7a3: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/07769ceb-45d8-430f-a2a1-1eed518a1a26n%40googlegroups.com.


Re: Retrieving changed_fields causes 500 Internal Error

2021-03-10 Thread Mat
Hi there,

we are facing similar "internal errors" since yesterday while fetching 
change_event reports. I've already sent the request and response logs via 
private mail (twice actually).

Regards
Mat

sc...@lionhurst.com schrieb am Dienstag, 9. März 2021 um 21:44:25 UTC+1:

> I'm trying to retrieve changed_fields from the change_event resource 
> (something I've done on several occasions before) and consistently 
> encounter an InternalServerError. I can pull other fields from this 
> resource, but specifying changed_fields appears to trigger the error. The 
> query and output are shown below. Any help would be appreciated. Thanks.
>
> Scott
>
> ##
> gas = client.get_service('GoogleAdsService', version='v6')
>
> query = '''
> SELECT
> change_event.changed_fields 
> FROM change_event
> WHERE
> change_event.change_date_time BETWEEN "2021-02-08" AND "2021-03-08"
> LIMIT 100'''
>
> rl = list(gas.search(cid, query))
>
> #
> Request made: ClientCustomerId: REDACTED, Host: 
> googleads.googleapis.com:443, Method: 
> /google.ads.googleads.v6.services.GoogleAdsService/Search, RequestId: 
> -dz65qORUAIjdisRc_d83w, IsFault: True, FaultMessage: Internal error 
> encountered.
> ---
> _InactiveRpcError Traceback (most recent call last)
> /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/google/api_core/grpc_helpers.py
>  
> in error_remapped_callable(*args, **kwargs)
>  72 try:
> ---> 73 return callable_(*args, **kwargs)
>  74 except grpc.RpcError as exc:
>
> /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/grpc/_interceptor.py
>  
> in __call__(self, request, timeout, metadata, credentials, wait_for_ready, 
> compression)
> 215  compression=None):
> --> 216 response, ignored_call = self._with_call(request,
> 217  timeout=timeout,
>
> /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/grpc/_interceptor.py
>  
> in _with_call(self, request, timeout, metadata, credentials, 
> wait_for_ready, compression)
> 256request)
> --> 257 return call.result(), call
> 258 
>
> /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/grpc/_channel.py
>  
> in result(self, timeout)
> 332 """See grpc.Future.result."""
> --> 333 raise self
> 334 
>
> /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/grpc/_interceptor.py
>  
> in continuation(new_details, request)
> 240 try:
> --> 241 response, call = self._thunk(new_method).with_call(
> 242 request,
>
> /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/grpc/_interceptor.py
>  
> in with_call(self, request, timeout, metadata, credentials, wait_for_ready, 
> compression)
> 265   compression=None):
> --> 266 return self._with_call(request,
> 267timeout=timeout,
>
> /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/grpc/_interceptor.py
>  
> in _with_call(self, request, timeout, metadata, credentials, 
> wait_for_ready, compression)
> 256request)
> --> 257 return call.result(), call
> 258 
>
> /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/grpc/_channel.py
>  
> in result(self, timeout)
> 332 """See grpc.Future.result."""
> --> 333 raise self
> 334 
>
> /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/grpc/_interceptor.py
>  
> in continuation(new_details, request)
> 240 try:
> --> 241 response, call = self._thunk(new_method).with_call(
> 242 request,
>
> /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/grpc/_interceptor.py
>  
> in with_call(self, request, timeout, metadata, credentials, wait_for_ready, 
> compression)
> 265   compression=None):
> --> 266 return self._with_call(request,
> 267timeout=timeout,
>
&

Re: AdSchedule in Google Ads API

2021-02-19 Thread Mat
Hi cv,

you could check if a very old segments.date raises any errors and if that 
error message delivers any insights into the date limits you can use. 
Example

segments.date >= '1970-01-01' AND segments.date <= '2021-02-18'
(00:00:00 UTC on 1 January 1970 is the "Unix epoch")

or 

segments.date BETWEEN '2000-10-23' AND '2021-02-18'
(Google AdWords was launched on October 23, 2000)

Regards
Mat
cv schrieb am Freitag, 19. Februar 2021 um 10:09:51 UTC+1:

> Hi Mark,
>
> Thanks.
>
> If I not pass any date range, does that equivalent to ALL_TIME data based 
> on filters passed?
> To more specific If I need to have AdSchedule does that return all current 
> AdSchedule if I not pass any dates?
>
>
>
> Thanks,
>
>
> On Friday, 19 February 2021 at 13:22:24 UTC+5:30 adsapiforumadvisor wrote:
>
>> Hi there,
>>
>> Thank you for raising this to us.
>>
>> As per this Date Ranges 
>> <https://developers.google.com/google-ads/api/docs/query/date-ranges> guide, 
>> I'm afraid that the ALL_TIME range is still not supported as part of the 
>> predefined 
>> date ranges 
>> <https://developers.google.com/google-ads/api/docs/query/date-ranges#predefined_date_range>.
>>  
>> That said, allow me to raise a feature request for this; however, there is 
>> no guarantee if this will be supported soon. In the meantime, please follow 
>> our blog 
>> <https://ads-developers.googleblog.com/search/label/google_ads_api> for 
>> updates and new releases.
>>
>> Regards,
>> [image: Google Logo] 
>> Mark Kevin Albios 
>> Google Ads API Team 
>>   
>>
>> ref:_00D1U1174p._5004Q2CSTE8: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/2ea356b5-7979-494e-864d-b1c2dbbe7054n%40googlegroups.com.


Re: Error in Google Ads API: change_event.client_type - Changes via "GOOGLE_ADS_EDITOR" are missing.

2021-02-18 Thread Mat
Hi Ben,

as I pointed out in my last response, we are currently using the latest 
available version 1.5.4 Build Jan 12 2021 16:45:07 of the Google Ads Editor 
(Windows Version).
The link you provided leads to the outdated "legacy" versions of the Google 
Ads Editor. 
You'll find the most recent releases here 
<https://support.google.com/google-ads/editor/topic/13728?hl=en&ref_topic=8273>
.

Regards
Mat
adsapiforumadvisor schrieb am Donnerstag, 18. Februar 2021 um 19:12:04 
UTC+1:

> Hi Mat,
>
> Can you clarify which version of Google Ads Editor 
> <https://ads.google.com/home/tools/ads-editor/> you are using? Based on the 
> documentation 
> <https://support.google.com/google-ads/editor/answer/9092003?hl=en&ref_topic=9415202>,
>  
> the most recent version is 12.6. That page contains a link to download the 
> latest version.
>
>
> Thanks,
> Ben, Google Ads API Team
>
> ref:_00D1U1174p._5004Q28otVg: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/39a55f0b-435a-4f46-b4cf-7b53027df035n%40googlegroups.com.


Re: Error in Google Ads API: change_event.client_type - Changes via "GOOGLE_ADS_EDITOR" are missing.

2021-02-18 Thread Mat
Hi,

sadly, even after the Google Ads API v6.1 update and 
google-ads-python-v.9.0.0 upgrade, the change events of the 
change_event.client_type "GOOGLE_ADS_EDITOR" are still missing completely 
in the change_event report. This is the case in our entire MCC with a 3 
digit number of customers and lots of account managers using the latest 
available version 1.5.4.

Please have a look into this issue.

Regards
Mat



Mat schrieb am Dienstag, 5. Januar 2021 um 16:52:12 UTC+1:

> Hi Ben,
>
> thank you for that information. However, I'm using the Version 1.5.2 
> Build: Nov 12 2020 16:43:56 and there does not seem to be a newer one.
> What's the latest version and where can I download it?
>
> Regards
> Mat
>
> adsapiforumadvisor schrieb am Dienstag, 5. Januar 2021 um 16:42:47 UTC+1:
>
>> Hi All -
>>
>> The issue here appears to be related to the version of Editor that's 
>> being used when making changes. 
>>
>> Older versions of Editor are connected to a separate backend service that 
>> the Google Ads API doesn't read from. If you update your version of Editor 
>> to the latest you should start seeing data come back from the change_event 
>> resource.
>>
>> Thanks,
>> Ben, Google Ads API Team
>>
>> ref:_00D1U1174p._5004Q28otVg: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/de81ea3f-006f-4b44-8a20-1647d949cee1n%40googlegroups.com.


Re: Google Ads API (Python, v6): New Error: "Enum ChangeEventResourceType has no name defined for value 13"

2021-02-11 Thread Mat
Hi Matt,

the "reply privately" button is greyed out. 

But anyhow:
The issue seems to be that the "ChangeEventResourceType 
<https://developers.google.com/google-ads/api/reference/rpc/v6/ChangeEventResourceTypeEnum.ChangeEventResourceType>"
 
v6 now (after the 6.1 update) contains 14 enums, while the current v6 
version of 
the /google/ads/google_ads/v6/proto/enums/change_event_resource_type_pb2.py 
only addresses 9 of them:

 values=[
_descriptor.EnumValueDescriptor(
  name='UNSPECIFIED', index=0, number=0,
  serialized_options=None,
  type=None,
  create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
  name='UNKNOWN', index=1, number=1,
  serialized_options=None,
  type=None,
  create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
  name='AD', index=2, number=2,
  serialized_options=None,
  type=None,
  create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
  name='AD_GROUP', index=3, number=3,
  serialized_options=None,
  type=None,
  create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
  name='AD_GROUP_CRITERION', index=4, number=4,
  serialized_options=None,
  type=None,
  create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
  name='CAMPAIGN', index=5, number=5,
  serialized_options=None,
  type=None,
  create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
  name='CAMPAIGN_BUDGET', index=6, number=6,
  serialized_options=None,
  type=None,
  create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
  name='AD_GROUP_BID_MODIFIER', index=7, number=7,
  serialized_options=None,
  type=None,
  create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
  name='CAMPAIGN_CRITERION', index=8, number=8,
  serialized_options=None,
  type=None,
  create_key=_descriptor._internal_create_key),
  ],

So - will this problem be fixed with the library updates next week?
But even if: I don't think, that it's a good idea of you to break code 
backwards in a minor version.

Regards
Mat


adsapiforumadvisor schrieb am Donnerstag, 11. Februar 2021 um 22:06:11 
UTC+1:

> Hi Mat,
>
> Thanks for reaching out. Can you please reply privately and provide the 
> request and response logs associated with this SearchStream request? If you 
> do not have logging configured, please see this guide 
> <https://developers.google.com/google-ads/api/docs/client-libs/python/logging>
>  
> for configuring logging for the Python client library.
>
> Thanks,
> Matt
> Google Ads API Team
>
> [image: Google Logo] 
> Matt 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2CQ1QQ: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/102cd130-a1b1-4e99-befe-ff641ee9a7a4n%40googlegroups.com.


Google Ads API (Python, v6): New Error: "Enum ChangeEventResourceType has no name defined for value 13"

2021-02-11 Thread Mat
Hi,

a Python script that has been running for several weeks now without errors 
keeps throwing a new Error since tonight:

"Error: Enum ChangeEventResourceType has no name defined for value 13"

when calling this query to the SearchStream Service (customer id doesn't 
matter):

query: "SELECT change_event.ad_group,change_event.campaign, 
change_event.change_date_time, change_event.change_resource_type, 
change_event.changed_fields, change_event.client_type, 
change_event.resource_change_operation, change_event.user_email, 
change_event.resource_name FROM change_event WHERE 
change_event.change_date_time >= \"2021-01-18\"   AND 
change_event.change_date_time < \"2021-01-19\" ORDER BY 
change_event.change_date_time LIMIT 1"

This might be related to this announcement:

https://ads-developers.googleblog.com/2021/02/announcing-v61-of-google-ads-api.html

Please have a look into this issue and make sure to keep backwards 
compatibility in this "non breaking" update. 

Regards
Mat

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/92d3bf37-c8e9-4eb2-9f43-bfff5ccef604n%40googlegroups.com.


Re: Error in Google Ads API: change_event.client_type - Changes via "GOOGLE_ADS_EDITOR" are missing.

2021-01-05 Thread Mat
Hi Ben,

thank you for that information. However, I'm using the Version 1.5.2 Build: 
Nov 12 2020 16:43:56 and there does not seem to be a newer one.
What's the latest version and where can I download it?

Regards
Mat

adsapiforumadvisor schrieb am Dienstag, 5. Januar 2021 um 16:42:47 UTC+1:

> Hi All -
>
> The issue here appears to be related to the version of Editor that's being 
> used when making changes. 
>
> Older versions of Editor are connected to a separate backend service that 
> the Google Ads API doesn't read from. If you update your version of Editor 
> to the latest you should start seeing data come back from the change_event 
> resource.
>
> Thanks,
> Ben, Google Ads API Team
>
> ref:_00D1U1174p._5004Q28otVg: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/2af37997-f89d-455d-8247-800f0caa8180n%40googlegroups.com.


Re: How to exclude BiddableAdGroupCriterion instead of deleting it?

2020-12-18 Thread Mat
Hi Yuri,

as far as I know, you won't lose the history of a product partition if you 
remove it and add it again. That's because a partition is only kind of a 
filter that is applied on the data: You can e.g. remove all of your 
partitions in the Google Ads UI (e.g. "brand"), add other partitions (e.g. 
"product_type), delete them again and readd the old partitions and then you 
will have the old metrics again on those partitions. That's a totally 
different behaviour compared to keywords or ad_groups where you *will* lose 
the history, if you remove them.

Regards
Mat

yuri...@gmail.com schrieb am Dienstag, 15. Dezember 2020 um 17:06:53 UTC+1:

> But in this case (DELETE and ADD) I will lose history for that criterion. 
> When I do manually through your web interface it keeps the history of the 
> excluded partition if I convert it from bidable to negative (exclude).  
>
> The whole idea is to keep the history of all partitions under the adgroup, 
> so I can make programmatic bid adjustments based on partition history. Once 
> I delete partition (cretarion) it will affect the whole picture.
>
> I'm trying to understand if this is an API limitation or I'm just doing it 
> wrong.
>
> On Monday, December 14, 2020 at 10:31:43 PM UTC-5 adsapiforumadvisor wrote:
>
>> Hi Yuri,
>>
>> Thank you for reaching out.
>>
>> Once a criterion has been created as biddable, you will need to REMOVE it 
>> and ADD a new one (with the details of previous criterion) as a negative 
>> criterion if you then wish to exclude it.
>>
>> Best regards,
>>
>> [image: Google Logo] 
>> Peter Laurence Napa Oliquino 
>> Google Ads API Team 
>>   
>>
>> ref:_00D1U1174p._5004Q29RDMH: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/7f08ae75-b694-4102-ad07-fa4299eef9abn%40googlegroups.com.


Re: Error in Google Ads API: change_event.client_type - Changes via "GOOGLE_ADS_EDITOR" are missing.

2020-12-11 Thread Mat
Hi Ernie,

sure - if you provide me an email address to relpy to. Unforunately the 
"Reply privatley to author"-Button in this conversion is greyed out.

Regards
Mat

adsapiforumadvisor schrieb am Freitag, 11. Dezember 2020 um 11:04:47 UTC+1:

> Hi Mat,
>
> To investigate, could you provide the following details via *Reply 
> privately to author* option? 
>
>- sample screenshots of the change history logs made by Google Ads 
>editor that were not included in the report 
>- complete request and response logs with request ID 
>- customer ID 
>
>
> Regards,
> [image: Google Logo] 
> Ernie John Blanca Tacata 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q28otVg: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/c82604fd-33c8-4b59-b166-458f45a32c12n%40googlegroups.com.


Error in Google Ads API: change_event.client_type - Changes via "GOOGLE_ADS_EDITOR" are missing.

2020-12-09 Thread Mat
Hi,

I noticed another error in the change_event report:

If the changes werde made through the Google Ads Editor, they are missing 
in the report.
The change_event.client_type "GOOGLE_ADS_EDITOR" does not seem to work 
properly.

Regards
Mat

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/bc2b1fa0-941e-492b-b31d-35aca8b4aeb9n%40googlegroups.com.


Re: Calls failing to "change_event" report

2020-12-09 Thread Mat
Hi Anash,

I've now fetched the change_history of >200 client accounts for the last 30 
days and did not run into an error. 
So I think it's safe to say that the error I reported on November, 11 has 
been fixed.
Thank you!

Regards
Mat

adsapiforumadvisor schrieb am Mittwoch, 9. Dezember 2020 um 16:58:49 UTC+1:

> Hi Caihua,
>
> We pushed a fix to our servers, so could you please confirm if the issue 
> is addressed? If it persists, please respond with a fresh log and I'll 
> follow up with the relevant teams again.
>
>
> Cheers
> Anash
>
>  
>
> ref:_00D1U1174p._5004Q27uEVS: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/76890f9a-254a-48a7-9971-c683cd37e60an%40googlegroups.com.


Re: Calls failing to "change_event" report

2020-11-30 Thread Mat
Hi Anash,

great, thank you!

Regards
Mat

adsapiforumadvisor schrieb am Freitag, 20. November 2020 um 20:54:33 UTC+1:

> Hi Mat,
>
> Thanks for reporting this issue. We identified and fixed an issue at our 
> end, and it should go live in the next server update. I'll update you once 
> the fix is live.
>
> Cheers
> Anash
>
> ref:_00D1U1174p._5004Q27uEVS: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/be034f61-ae0a-4aa1-9a66-154291911ef4n%40googlegroups.com.


Re: Calls failing to "change_event" report

2020-11-18 Thread Mat
Hi there,

I'm encountering a similar error while requesting a change_event report on 
an account where ads have been modified. I'll send a pm with the log to you.

Regards
Mat

adsapiforumadvisor schrieb am Mittwoch, 18. November 2020 um 03:24:06 UTC+1:

> Hi,
>
> Thank you for providing further details about your issue.
>
> To investigate the issue and the behavior that you've mentioned, please 
> provide the requested details on this email address 
> googleadsa...@google.com so that we can receive it privately.
>
>
> Regards,
> [image: Google Logo] 
> Ernie John Blanca Tacata 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q27uEVS: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/c3e84c6e-6470-436c-b213-de87527ffa15n%40googlegroups.com.


Re: Google Ads API: Feature Request for change_status report

2020-11-06 Thread Mat
Wow - that 
<https://developers.google.com/google-ads/api/reference/rpc/v6/ChangeEvent> 
was quick :-))

Thank you and best regards
Mat

adsapiforumadvisor schrieb am Dienstag, 13. Oktober 2020 um 18:07:12 UTC+2:

> Hi Mat,
>
> I'll pass this request on your behalf. You can get updates on our blog 
> <https://ads-developers.googleblog.com/>.
>
> Cheers,
> Anthony
> Google Ads API Team
>
> [image: Google Logo] 
> Anthony 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q268nkE: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/466865ae-4865-403f-91d1-93298403a68bn%40googlegroups.com.


Re: Google Ads API (Python): How to remove target_cpa_micros on ad group level?

2020-11-06 Thread Mat
Hi Peter,

well, since there are already more than 20 unanswered and unassigned open 
issues over there 
<https://github.com/googleads/google-ads-python/issues?q=is%3Aissue+is%3Aopen+sort%3Acreated-desc>,
 
(including one 17 days old of myself), I figured that they might be quite 
shorthanded currently - maybe because of the v6 rollout.

So I thought that even if no one of the Google Ads API Team, then maybe 
someone of the community here already found a solution to my issue.

I've already checked the python protobuf 
<https://googleapis.dev/python/protobuf/latest/> section and tried some new 
approches like

ad_group.target_cpa_micros.Clear("value")
(no error, no change)

... but with no luck.

I'm beginning to suspect that the problem might not be this line of code 
but instead somewhere in the field_mask part:

fm = protobuf_helpers.field_mask(None, ad_group)
ad_group_operation.update_mask.CopyFrom(fm)

I've already googled and found a (3rd party?) "documentation" to the 
protobuf_helpers.field_mask 
<https://www.kite.com/python/docs/google.api_core.protobuf_helpers.field_mask>, 
but still I can't see any issues there.

As it seems, as soon as the ad_group.target_cpa_micros.value ist empty, 0 
or cleared, the field_name is missing in the field_mask and therefore no 
changes are made.
Maybe there's a bug in the protobuf_helper.
I'd like to see the source code of the protobuf_helpers.field_mask to 
check, how the two values are compared, but I couldn't find it. Do you have 
a link for me?

Regards
Mat





adsapiforumadvisor schrieb am Freitag, 6. November 2020 um 08:04:48 UTC+1:

> Hi Mat,
>
> Thank you for your follow up.
>
> Since your concern is now more related on how to implement the bid updates 
> using Python, I would recommend that you reach out to the Python client 
> library owners instead as they are the more appropriate team to provide 
> guidance.
>
> You can reach them via their Github link 
> <https://github.com/googleads/google-ads-python/issues>. I hope this 
> helps.
>
>
> Best regards,
>
> [image: Google Logo] 
> Peter Laurence Napa Oliquino 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2777tv: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/476af97b-9e5f-4178-b587-eb2009834ee6n%40googlegroups.com.


Re: Google Ads API (Python): How to remove target_cpa_micros on ad group level?

2020-11-05 Thread Mat
Hi Peter,

thanks for the response - that sadly didn't help me at all.
As you might know, there is no "null" in Python but a "None". So I've tried 
all kind of stuff:

ad_group.target_cpa_micros.value = None
(Error: None has type NoneType, but expected one of: int, long)

ad_group.target_cpa_micros.value = 0
(no error, no change)

ad_group.target_cpa_micros.value = int()
(no error, no change)

ad_group.target_cpa_micros.value = ""
(Error: '' has type str, but expected one of: int, long)

And hell, even
ad_group.target_cpa_micros.value = "null"
(Error: 'null' has type str, but expected one of: int, long)

Trial an error only get you so far - would it be much to ask for one line 
of code (to work with the Python library) from your side?

Regards
Mat
adsapiforumadvisor schrieb am Donnerstag, 5. November 2020 um 07:10:23 
UTC+1:

> Hi Mat,
>
> If you are looking for a way to update your bids, you may refer to this 
> guide 
> <https://developers.google.com/google-ads/api/docs/campaigns/bidding/set-bids#updating_bids>
>  
> as to how. If you wish to remove bids, you can set the field back to null 
> <https://developers.google.com/google-ads/api/docs/campaigns/bidding/set-bids#removing_bids>
> .
>
> Let me know if this helps.
>
> Best regards,
>
> [image: Google Logo] 
> Peter Laurence Napa Oliquino 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2777tv: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/6bdba82b-9a20-4b35-b038-079f1ac0831fn%40googlegroups.com.


Google Ads API (Python): How to remove target_cpa_micros on ad group level?

2020-11-04 Thread Mat
Hi,

how can I remove a target_cpa_mircos from an ad_group?

If I just set the value to 0 it happens nothing (like: no change, no error 
message):

...
ad_group_service = google_ads_client.get_service("AdGroupService", 
version="v4")
ad_group_operation = google_ads_client.get_type("AdGroupOperation", 
version="v4")
ad_group = ad_group_operation.update
ad_group.resource_name = ad_group_resource_name
*ad_group.target_cpa_micros.value = 0*
fm = protobuf_helpers.field_mask(None, ad_group)
ad_group_operation.update_mask.CopyFrom(fm)
...

What's wrong?

Regards
Mat
...

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/245d2ae7-addd-4dd9-a59d-a37557d0d8b5n%40googlegroups.com.


Re: How can I fetch Budget status "Limited by budget"

2020-10-22 Thread Mat
Hi Emma,

I don't think, you'll find this feature anywhere in the Google Ads API. On 
the other hand: the status "Limited by budget" you'll see on the website is 
flawed in itself (it seems to last for 7 days, no matter how the actual ad 
spend is on the following days).
What we do is to check the cost against the budget amount. However, that's 
pretty tricky too, because you'll have to check for budget changes (amount 
and allocations), associated campaigns, days in the month, paused and/or 
reactivated campaigns, ad schedules etc. - and you'll have to guess or test 
how Google calculates with these parameters (e.g. if the campaigns only run 
5 days a week or only two hours on the weekend etc).

Regards
Mat

Emma Karlsson schrieb am Mittwoch, 21. Oktober 2020 um 22:54:38 UTC+2:

> Hi, 
>
> Looking for a way to get a trigger if any of my budgets get limited. In 
> the documentation I can see Budget status, but not the option "Limited by 
> budget" anywhere. 
> (SearchBudgetLostImpressionShare can't be used due to the data delay) 
>
> Anyone knows what this attribute is called and/or if it even exists? 
>
> Cheers! 
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1df8e84e-9c34-41b0-8b26-340197b81b2bn%40googlegroups.com.


Google Ads API: Feature Request for change_status report

2020-10-13 Thread Mat
Hi,

the Google Ads API change_status 
<https://developers.google.com/google-ads/api/fields/v5/change_status#change_status.resource_type>
 
report in the current state seems to be pretty much useless. Therefore I'd 
like to make a feature request:

- an additional enum field for the source/tool of the change (Webclient, 
Automated Rule, Google Ads API, Google Ads Skript, Google Ads Editor etc.)
- an additional field for the user who made or authorized the change

The icing on the cake would be a feature, that allows you to determine the 
actual change  (like "cpc bid changed from 0.20 to 0.25").

Regards
Mat


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a5e67cba-000b-4e7c-8c5e-0e8e932108b8n%40googlegroups.com.


Re: Upgrading from Google Ads API v4 to v5 - "field presence" vs. "wrapper types "

2020-10-07 Thread Mat
Hi Peter and Nadine,

thank you very much!

Regards
Mat

adsapiforumadvisor schrieb am Mittwoch, 7. Oktober 2020 um 21:50:03 UTC+2:

> Hello Mat,
>
> This change affects some languages more than others. Python is one of the 
> lucky programming languages that has very little that needs to be done to 
> migrate. As you pointed out, the only structural difference is the .value.  
> As for when you decide to move, that's up to you. This is just personal 
> preference based on years of doing software maintenance, but considering 
> Python has so little that changes, I would already start moving to the new 
> version so I could pick up the new features. 
>
> Regards,
> Nadine Wang, Google Ads API Team 
>
>  
>
> ref:_00D1U1174p._5004Q25ZYSu: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/f16a4db9-505b-4648-8b8c-a4ef7e8d4e27n%40googlegroups.com.


Upgrading from Google Ads API v4 to v5 - "field presence" vs. "wrapper types "

2020-10-06 Thread Mat
Hi,

in the upgrading guide, 
<https://developers.google.com/google-ads/api/docs/version-migration#common> 
you'll find this block of text:

###
Approximately half of our resources now use field presence 
<https://github.com/protocolbuffers/protobuf/blob/master/docs/field_presence.md>
 such 
as optional string and optional double instead of wrapper types 
<https://developers.google.com/google-ads/api/docs/client-libs/python/wrapper-types>
 such 
as StringValue and DoubleValue. The rest of the resources will change to 
field presence in a future release.

For the fields mentioned here, update your code to remove wrapper types.

###

I've studied the pages linked in that text, but that did not really help in 
figuring out *how* we have to update our code. 

I've then checked the Github change log of the Python examples 
<https://github.com/googleads/google-ads-python/commit/038c96fa724bec294bb74487e21f839596b424be#diff-bfebe34154a0dfd9fc7b447fc9ed74e9>
 
and learned that the only structural change I see is the missing ".value" 
part while assigning a value to a resource and vice versa.

Is that basically what we should do? Searching for ".value" in the v4-code 
and deleting it? 
And would you recommend to mirgrate now or better wait until all of the 
resources are updated "in a future release"?

Regards

Mat

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/f79f4b97-c938-4a13-bab2-b6c13dd54f75n%40googlegroups.com.


Re: GoogleAdsRow object not iterable?

2020-09-30 Thread Mat
Hi Deny,

that's an interesting solution. I've never thought about handle the 
response that way but I'll definitely check it out, thx.

Regarding the encoding, I've had troubles too, but fixed them with this 
line below the #!/bin/bash:

#coding=utf-8

Don't know if that helps in your case, though.

Regards
Mat
deny.w...@wmccann.com schrieb am Mittwoch, 30. September 2020 um 14:06:09 
UTC+2:

> Exactly Mat, that's what drove me nuts and made me have to come up with a 
> (much) less than elegant solution because I really can't afford to write 
> non-reusable code at this point in my life for a matter of principle. I'll 
> share the snippet below, can't guarantee it will work without modifications 
> for any given resultset but it has been working flawlessly for me so far:
>
> import yaml
> import codecs
>
> # your loop goes here (for row in ...)
>tmp_row = str(row).replace(" {", ":").replace("}", "").replace('\\"', 
> "")
>tmp_row = codecs.escape_decode(tmp_row)[0]
>tmp_row = tmp_row.decode("utf-8")
>new_row = yaml.load(tmp_row, Loader=yaml.FullLoader)
>
> # Note: had to also use a codecs function to fix encoding which is messed 
> up as well.
>
> On Wednesday, September 30, 2020 at 3:35:05 AM UTC-3 Mat wrote:
>
>> Hi Deny,
>>
>> I feel with you. The Google Ads API documentation seems to be written by 
>> a mean bot.
>>
>> Using the Python library, you can fetch reports like this:
>>
>> ###
>> VERSION = 'v5'
>> ga_service = google_ads_client.get_service('GoogleAdsService', 
>> version=VERSION)
>> query = ('SELECT '
>>   'campaign.id, '
>>   'campaign.name, '
>>   'ad_group.id, '
>>   'ad_group.name, '  
>>   'FROM ad_group '
>>   )
>> response = ga_service.search_stream(str(customer_id), query=query)
>> for batch in response:
>> for row in batch.results:
>> campaign = row.campaign
>> ad_group = row.ad_group
>> campaign_id = campaign.id.value
>> campaign_name = campaign.name.value
>> ad_group_id = ad_group.id.value
>> ad_group_name = ad_group.name.value  
>> ###
>>
>> If the value is an emum 
>> <https://developers.google.com/google-ads/api/reference/rpc/v5/CriterionTypeEnum.CriterionType>,
>>  
>> you can handle it like this:
>>
>> ###
>> ad_group_criterion_type_enum = google_ads_client.get_type( 
>> 'CriterionTypeEnum', version=VERSION).CriterionType
>> criterion_type = 
>> ad_group_criterion_type_enum.Name(ad_group_criterion.type)
>> ###
>>
>> Regards
>> Mat
>>
>> deny.w...@wmccann.com schrieb am Montag, 28. September 2020 um 14:19:30 
>> UTC+2:
>>
>>> Hi Ben,
>>>
>>>  
>>>
>>> I’m using the python library and was very disappointed to find out that 
>>> the results from the API queries are delivered as objects which are 
>>> non-iterable, making the use of data dictionaries a lot more difficult and 
>>> a lot less elegant.
>>>
>>>  
>>>
>>> Other Google APIs present results as dictionaries which can be inspected 
>>> for content (fields and values) according to the same data dictionary that 
>>> was used for the request. That makes configuring API extractions easy to 
>>> build, maintain and improve, using code such as:
>>>
>>>  
>>>
>>> for element in my_api_dict:
>>>
>>>   if element[“id”] in returned_values:
>>>
>>> results.append(returned_values[element[“id”]]
>>>
>>>  
>>>
>>> On the other hand, the new Google Ads API (which should supposedly be 
>>> better than previous ones?) demands that the result set elements are named 
>>> explicitly, like:
>>>
>>> results = [returned_values.table1.column1,
>>>
>>>   returned_values.table1.column2,
>>>
>>>   returned_values.table1.column3, …
>>>
>>> ]
>>>
>>>  
>>>
>>> I feel very dirty to admit I came up with a fugly and shameful solution 
>>> which is converting the results to string and then making some 
>>> modifications to turn it into a yaml string and parse it, so I could 
>>> transform it into a dictionary. Ugly solutions make me extremely 
>>> uncomfortable and frustrated, and I don’t think I should have to do

Re: campaign.advertising_channel_type returns number

2020-09-30 Thread Mat
Hi Harshad,

the client libraries offer modules/methods to fetch the enum names out of 
these numbers. You'll find some examples here:
https://developers.google.com/google-ads/api/docs/samples/get-account-changes

BTW: I' m under the impression that the quality of the answers from the 
members of the Google Ads API team has been decreasing significantly lately.

Regards
Mat

adsapiforumadvisor schrieb am Dienstag, 29. September 2020 um 19:21:35 
UTC+2:

> Hi Harshad,
>
> The steps to logging are listed here 
> <https://developers.google.com/google-ads/api/docs/client-libs/python/logging>.
>  
> Let me know if you have further questions.
>
>
> Thank you,
>
> [image: Google Logo] 
> Bryan Li 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q25XAWa: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/29174adf-929c-4692-889c-bdfaa99b27afn%40googlegroups.com.


Re: GoogleAdsRow object not iterable?

2020-09-29 Thread Mat
Hi Deny,

I feel with you. The Google Ads API documentation seems to be written by a 
mean bot.

Using the Python library, you can fetch reports like this:

###
VERSION = 'v5'
ga_service = google_ads_client.get_service('GoogleAdsService', 
version=VERSION)
query = ('SELECT '
  'campaign.id, '
  'campaign.name, '
  'ad_group.id, '
  'ad_group.name, '  
  'FROM ad_group '
  )
response = ga_service.search_stream(str(customer_id), query=query)
for batch in response:
for row in batch.results:
campaign = row.campaign
ad_group = row.ad_group
campaign_id = campaign.id.value
campaign_name = campaign.name.value
ad_group_id = ad_group.id.value
ad_group_name = ad_group.name.value  
###

If the value is an emum 
<https://developers.google.com/google-ads/api/reference/rpc/v5/CriterionTypeEnum.CriterionType>,
 
you can handle it like this:

###
ad_group_criterion_type_enum = google_ads_client.get_type( 
'CriterionTypeEnum', version=VERSION).CriterionType
criterion_type = ad_group_criterion_type_enum.Name(ad_group_criterion.type)
###

Regards
Mat

deny.w...@wmccann.com schrieb am Montag, 28. September 2020 um 14:19:30 
UTC+2:

> Hi Ben,
>
>  
>
> I’m using the python library and was very disappointed to find out that 
> the results from the API queries are delivered as objects which are 
> non-iterable, making the use of data dictionaries a lot more difficult and 
> a lot less elegant.
>
>  
>
> Other Google APIs present results as dictionaries which can be inspected 
> for content (fields and values) according to the same data dictionary that 
> was used for the request. That makes configuring API extractions easy to 
> build, maintain and improve, using code such as:
>
>  
>
> for element in my_api_dict:
>
>   if element[“id”] in returned_values:
>
> results.append(returned_values[element[“id”]]
>
>  
>
> On the other hand, the new Google Ads API (which should supposedly be 
> better than previous ones?) demands that the result set elements are named 
> explicitly, like:
>
> results = [returned_values.table1.column1,
>
>   returned_values.table1.column2,
>
>   returned_values.table1.column3, …
>
> ]
>
>  
>
> I feel very dirty to admit I came up with a fugly and shameful solution 
> which is converting the results to string and then making some 
> modifications to turn it into a yaml string and parse it, so I could 
> transform it into a dictionary. Ugly solutions make me extremely 
> uncomfortable and frustrated, and I don’t think I should have to do things 
> like this in 2020, **especially** dealing with an API developed by the 
> almighty Google.
>
>  
>
> I can live with the ugly solution if you can live with my deep 
> disappointment in your company development teams.
>
>  
>
> Cheers,
>
> Deny
>
>  
>
> *From:* Google Ads API Forum Advisor Prod  
> *Sent:* Friday, September 25, 2020 5:39 PM
> *To:* Watanabe, Deny (SPL-MEW) 
> *Cc:* adwor...@googlegroups.com
> *Subject:* [EXTERNAL] RE: GoogleAdsRow object not iterable?
>
>  
>
> Hi Deny,
>
> Thanks for the post, and sorry that you're having an issue here.
>
> Can you share a little more detail about the problem you're having? I 
> might be able to help you get around the issue, and if not can help post a 
> feature request so that we can fix it in the future.
>
> It seems like you might be having an issue with one of the client 
> libraries. Can you let me know which language you're using?
>
> Thanks!
> Ben Karl, Google Ads API Team
>
>
>
> ref:_00D1U1174p._5004Q25Wv5e:ref
> This message contains information which may be confidential and 
> privileged. Unless you are the intended recipient (or authorized to receive 
> this message for the intended recipient), you may not use, copy, 
> disseminate or disclose to anyone the message or any information contained 
> in the message. If you have received the message in error, please advise 
> the sender by reply e-mail, and delete the message. Thank you very much.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/eadb160a-7d1a-493d-b468-626bfc0cf0c6n%40googlegroups.com.


Re: currency code through API

2020-09-29 Thread Mat
Hi Hashard,

you'll get the currency code from "customer" by fetching 
the customer.currency_code field:
https://developers.google.com/google-ads/api/fields/v5/customer#customer.currency_code

Regards
Mat

adsapiforumadvisor schrieb am Dienstag, 29. September 2020 um 19:20:29 
UTC+2:

> Hi Harshad,
>
> The steps to logging are listed here 
> <https://developers.google.com/google-ads/api/docs/client-libs/python/logging>.
>  
> Let me know if you have further questions.
>
>
> Thank you,
>
> [image: Google Logo] 
> Bryan Li 
> Google Ads API Team 
>
>
> ref:_00D1U1174p._5004Q25XFPX: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/74031537-65f0-4351-b91d-b052e327a776n%40googlegroups.com.


Re: Bid_strategy_type enum incompatibility

2020-09-14 Thread Mat
Hi Ido,

I don't know which library you're using, but according to the Python Proto, 
there are two different values: "index" and "number", where "index" seems 
to relate to the order in witch those enumes are listed in the 
documentation while "number" seems to be the value you get while fetching 
"campaign.bidding_strategy_type":

https://github.com/googleads/google-ads-python/blob/master/google/ads/google_ads/v5/proto/enums/bidding_strategy_type_pb2.py

So I'd recommend to use the built-in client library methods to get the 
correct enum currently related to the number, as in these examples:
https://developers.google.com/google-ads/api/docs/samples/get-account-changes?hl=en

Regards
Mat

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/5ee95830-3e65-43b5-b858-ce091242c051o%40googlegroups.com.


Re: Redundant versioning in Google Ads API Python examples - are there better ways?

2020-09-09 Thread Mat
Hi Anthony,

I've just checked the Google Ads Python issue tracker 
<https://github.com/googleads/google-ads-python/issues> and there already 
seems to exist a similar request 
<https://github.com/googleads/google-ads-python/issues/275>. The last 
answer of the maintainer is "That's a good idea - we'll consider it for a 
future release." That was about half a year ago and to date, no assignments 
have been made. So currently, there does not seem to be a way to set the 
default api version.

Regards
Mat

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d3085680-ea47-406e-88e1-053724273edao%40googlegroups.com.


Redundant versioning in Google Ads API Python examples - are there better ways?

2020-09-08 Thread Mat
Hi,

In your Python code example for "Create Customer 
<https://developers.google.com/google-ads/api/docs/samples/create-customer#python>"
 
(and others). the versioning seems highly redundant to me:

def main(client, manager_customer_id):
customer_service = client.get_service("CustomerService", *version**="v5"*)
customer = client.get_type("Customer", *version**="v5"*)


I was wondering, if there is a way to set the version on a higher level, 
e.g. on the "google_ads_client" level when creating the object as in here:

google_ads_client = (
google.ads.google_ads.client.GoogleAdsClient.load_from_storage()
)


..or while importing the library:

import google.ads.google_ads.client


... or somwhere in the google-ads.yaml

I've seen some skripts where dozens of lines of code contain this ", 
version="vX" - part. I guess there is a smarter way - right?

Regards
Mat



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ad821979-9bbe-4810-ac00-e217a3065db8o%40googlegroups.com.


Re: AWQL query Python List Variable

2020-09-04 Thread Mat
Hi Green Leaf,

according to your example above, you should not pass the list 
"list_of_keywords_counted" but the stringified "list_of_keywords" to the 
.format() method:

report_query = ("SELECT KeywordTextMatchingQuery, Clicks FROM 
SEARCH_QUERY_PERFORMANCE_REPORT WHERE KeywordTextMatchingQuery IN [{}]".
format(list_of_keywords))

I've tested it and it works fine - as long as the keywords don't contains 
special characters like "+".

Therfore, I'd suggest to stringify the list instead this way:

list_of_keywords_counted = ['keyword 1', 'keyword 2', '+keyword 3']
*list_of_keywords* = str(list_of_keywords_counted)[1:-1]  
#this will result in a string, where the keywords are enclosed in single 
quotes:
#'keyword 1', 'keyword 2', '+keyword 3'

report_query = ("SELECT KeywordTextMatchingQuery, Clicks FROM 
SEARCH_QUERY_PERFORMANCE_REPORT WHERE KeywordTextMatchingQuery IN [{}]".
format(*list_of_keywords*))


Regards
Mat




Am Freitag, 4. September 2020 04:30:28 UTC+2 schrieb Green Leaf:
>
> Thanks Mat
>
> The code I used:
>
> report_query = ("SELECT KeywordTextMatchingQuery, Clicks FROM 
> SEARCH_QUERY_PERFORMANCE_REPORT WHERE KeywordTextMatchingQuery IN 
> [{}]".format(list_of_keywords_counted))
>
> The error is below (I've removed the CID):
>
>  'includeZeroImpressions': 'False', 'server': 'adwords.google.com', 
> 'skipColumnHeader': 'False', 'skipReportHeader': 'True', 
> 'skipReportSummary': 'True', 'isError': True, 'errorMessage': ' version="1.0" encoding="UTF-8" 
> standalone="yes"?>QueryError.INVALID_WHERE_CLAUSE'}
>
> On Friday, September 4, 2020 at 12:59:05 AM UTC+12 Mat wrote:
>
>> Hi Green Leaf,
>>
>> As far as I can see, you're not using the .format() method correctly. You 
>> either have to put the string to be formatted in quotes or double quotes. 
>> Example (as an oneliner, to make it clearer):
>>
>> *"*SELECT Id, Criteria, AdGroupName FROM SEARCH_QUERY_PERFORMANCE_REPORT 
>> WHERE somecondition AND KeywordTextMatchingQuery IN [{}]*"*.format(
>> keyword_list_as_string)
>>
>> You can find more examples in the Python reference:
>> https://docs.python.org/3.8/library/string.html#format-examples
>>
>> To help you further I'd need to have a look at the whole AWQL string you 
>> are using as well as the error messages it produces.
>>
>>
>> Regards
>> Mat
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b96f316d-946d-4ce9-9c7f-8b7105f315afo%40googlegroups.com.


Re: AWQL query Python List Variable

2020-09-03 Thread Mat
Hi Green Leaf,

As far as I can see, you're not using the .format() method correctly. You 
either have to put the string to be formatted in quotes or double quotes. 
Example (as an oneliner, to make it clearer):

*"*SELECT Id, Criteria, AdGroupName FROM SEARCH_QUERY_PERFORMANCE_REPORT 
WHERE somecondition AND KeywordTextMatchingQuery IN [{}]*"*.format(
keyword_list_as_string)

You can find more examples in the Python reference:
https://docs.python.org/3.8/library/string.html#format-examples

To help you further I'd need to have a look at the whole AWQL string you 
are using as well as the error messages it produces.


Regards
Mat

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/786799fe-ee89-40f4-a52f-6e2a35c77459o%40googlegroups.com.


Re: AWQL query Python List Variable

2020-09-02 Thread Mat
...note: the KeywordTextMatchingQuery is not available in the 
KEYWORDS_PERFORMANCE_REPORT 
as my example suggests. Use the SEARCH_QUERY_PERFORMANCE_REPORT instead.

Am Mittwoch, 2. September 2020 17:17:26 UTC+2 schrieb Mat:
>
> Hi Green Leaf,
>
> some alternative to my solution you've linked would be to convert the list 
> into a string using "join()" and/or insert that string into the query using 
> ".format().
>
>
> keyword_list = ["keyword1", "keyword2", "keyword3"]
> *keyword_list_as_string* = ', '.join(str(e) for e in keyword_list)
>
> #This should work with the AdWords API Python library:
> query = ('SELECT Id, Criteria, AdGroupName FROM 
> KEYWORDS_PERFORMANCE_REPORT '
> 'WHERE somecondition '
> 'AND KeywordTextMatchingQuery IN [*{}*]'.format(*keyword_list_as_string*)
>  ) 
>
> #And this is a Python example that does work with the Google Ads API 
> Python library:
>shared_set_ids = [1234, 5678, 2345]
> *shared_set_ids_as_string* = ', '.join(str(e) for e in shared_set_ids)
> query = ('SELECT '
> 'shared_criterion.criterion_id, '   
> 'shared_criterion.keyword.match_type, '
>  
> 'shared_criterion.keyword.text, '
> 'shared_criterion.type, ' 
> 'shared_set.id '
> 'FROM shared_criterion '
> 'WHERE shared_set.id IN (*{}*) '
> 'AND shared_set.status = ENABLED '
> 'AND shared_set.type = NEGATIVE_KEYWORDS'.format(
> *shared_set_ids_as_string*)
> )
>
>
> Regards 
> Mat
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/70b5ab63-05b2-4cd0-b894-b677b2f367e3o%40googlegroups.com.


Re: AWQL query Python List Variable

2020-09-02 Thread Mat
Hi Green Leaf,

some alternative to my solution you've linked would be to convert the list 
into a string using "join()" and/or insert that string into the query using 
".format().


keyword_list = ["keyword1", "keyword2", "keyword3"]
*keyword_list_as_string* = ', '.join(str(e) for e in keyword_list)

#This should work with the AdWords API Python library:
query = ('SELECT Id, Criteria, AdGroupName FROM KEYWORDS_PERFORMANCE_REPORT 
'
'WHERE somecondition '
'AND KeywordTextMatchingQuery IN [*{}*]'.format(*keyword_list_as_string*)
 ) 

#And this is a Python example that does work with the Google Ads API Python 
library:
   shared_set_ids = [1234, 5678, 2345]
*shared_set_ids_as_string* = ', '.join(str(e) for e in shared_set_ids)
query = ('SELECT '
'shared_criterion.criterion_id, '   
'shared_criterion.keyword.match_type, '
 
'shared_criterion.keyword.text, '
'shared_criterion.type, ' 
'shared_set.id '
'FROM shared_criterion '
'WHERE shared_set.id IN (*{}*) '
'AND shared_set.status = ENABLED '
'AND shared_set.type = NEGATIVE_KEYWORDS'.format(
*shared_set_ids_as_string*)
)


Regards 
Mat

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/e8112e06-4915-400d-b605-5779f5e12e1eo%40googlegroups.com.


Google Ads API: ad_group_ad approval_status: UNKNOWN while ad is disapproved (Python library)

2020-07-15 Thread Mat
Hi,

why does the Google Ads API returns 

approval_status: UNKNOWN

for some ad types (e.g. VIDEO_AD and  EXPANDED_DYNAMIC_SEARCH_AD) while the 
ad is disapproved?

Example:

ad_group_ad {
  resource_name: "customers/xx/adGroupAds/61267086217~375252080582"
  status: ENABLED
  ad {
id {
  value: 375252080582
}
type: VIDEO_AD
resource_name: "customers/xx/ads/375252080582"
  }
  policy_summary {
policy_topic_entries {
  topic {
value: "RESTRICTED_DRUG_TERMS"
  }
  type: FULLY_LIMITED
  evidences {
destination_text_list {
  destination_texts {
value: "PENICILLIN"
  }
}
  }
  constraints {
certificate_missing_in_country_list {
  total_targeted_countries {
  }
  countries {
country_criterion {
  value: "geoTargetConstants/2276"
}
  }
}
  }
}
policy_topic_entries {
  topic {
value: "RESTRICTED_MEDICAL_CONTENT"
  }
  type: LIMITED
}
review_status: REVIEWED
*approval_status**:*
* UNKNOWN*  }
}

This seems like a bug to me.

Regards
Mat

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/559d1623-bad8-4253-9db7-112b99e67b28o%40googlegroups.com.


Google Ads API: "campaign.label" in SELECT query bugged in campaign?

2020-06-10 Thread Mat
Hi, 

I keep getting strange errors when I try to fetch a campaign report that 
includes the "campaign.labels" field in the SELECT query:


[2020-06-10 16:54:10,880 - INFO] Request
---
Method: /google.ads.googleads.v3.services.GoogleAdsService/SearchStream
Host: googleads.googleapis.com:443
Headers: {
  "developer-token": "REDACTED",
  "login-customer-id": "987654321",
  "x-goog-api-client": "gl-python/3.8.2 grpc/1.27.2 gax/1.17.0 gapic/5.1.0",
  "x-goog-request-params": "customer_id=123456789"
}
Request: customer_id: "123456789"
query: "SELECT campaign.id, campaign.name, campaign.labels, 
campaign.advertising_channel_type, metrics.clicks, metrics.cost_micros, 
metrics.conversions, metrics.conversions_value FROM campaign WHERE 
segments.date BETWEEN \"2017-06-01\" AND \"2020-06-09\""


Response
---
Headers: {
  "google.ads.googleads.v3.errors.googleadsfailure-bin": 
"\n7\n\u0002\b\u0001\u0012&The error code is not in this 
version.\u001a\t*\u0007Day.day\nY\n\u0002\b\u0001\u0012&The error code is 
not in this 
version.\u001a+*)A_campaign__CampaignAssociation.entity_id\nO\n\u0002\b\u0001\u0012&The
 
error code is not in this 
version.\u001a!*\u001fCampaignAssociation.campaign_id\nO\n\u0002\b\u0001\u0012&The
 
error code is not in this 
version.\u001a!*\u001fCampaignAssociation.entity_type\n,\n\u0002\b\u0001\u0012&The
 
error code is not in this version.",
  "grpc-status-details-bin": "\b\u0003\u0012%Request contains an invalid 
argument.\u001a\u0003\nCtype.googleapis.com/google.ads.googleads.v3.errors.GoogleAdsFailure\u0012\u0002\n7\n\u0002\b\u0001\u0012&The
 
error code is not in this 
version.\u001a\t*\u0007Day.day\nY\n\u0002\b\u0001\u0012&The error code is 
not in this 
version.\u001a+*)A_campaign__CampaignAssociation.entity_id\nO\n\u0002\b\u0001\u0012&The
 
error code is not in this 
version.\u001a!*\u001fCampaignAssociation.campaign_id\nO\n\u0002\b\u0001\u0012&The
 
error code is not in this 
version.\u001a!*\u001fCampaignAssociation.entity_type\n,\n\u0002\b\u0001\u0012&The
 
error code is not in this version.",
  "request-id": "-1LZX01Md9L2bk35eQFGug"
}
Fault: errors {
  error_code {
request_error: UNKNOWN
  }
  message: "The error code is not in this version."
  trigger {
string_value: "Day.day"
  }
}
errors {
  error_code {
request_error: UNKNOWN
  }
  message: "The error code is not in this version."
  trigger {
string_value: "A_campaign__CampaignAssociation.entity_id"
  }
}
errors {
  error_code {
request_error: UNKNOWN
  }
  message: "The error code is not in this version."
  trigger {
string_value: "CampaignAssociation.campaign_id"
  }
}
errors {
  error_code {
request_error: UNKNOWN
  }
  message: "The error code is not in this version."
  trigger {
string_value: "CampaignAssociation.entity_type"
  }
}
errors {
  error_code {
request_error: UNKNOWN
  }
  message: "The error code is not in this version."
}


The error remains the same no matter if I there are lables to be fetched or 
not.

The exact same request without the "campaign.labels" field in the SELECT 
query works fine. 
Would you please look into it and tell me, what the problem is?

Regards 
Mat

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c44bb093-e94b-4784-bed8-b748c413c635o%40googlegroups.com.


metrics.all_conversions - field description wrong?

2020-06-04 Thread Mat
Hi,

the field description of metrics.all_conversions states: 

"The total number of conversions. This only includes conversion actions 
> which include_in_conversions_metric attribute is set to true."

 
https://developers.google.com/google-ads/api/fields/v3/keyword_view#metrics.all_conversions


That's exactly the same description you can find for "metrics.conversions":

https://developers.google.com/google-ads/api/fields/v3/keyword_view#metrics.conversions

In metrics.all_conversions, all conversions should be included, even those 
which include_in_conversions_metric attribute is set to *false*.
Is this a copy and paste error only in the description, or does that metric 
actually return wrong values?


Regards
Mat



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/6e4a97d5-bd0b-4fef-9373-865a19db593f%40googlegroups.com.


Re: Google Ads API, Python Library - how to implement Exponential Backoff?

2020-03-12 Thread Mat
Looking forward to it.

Thank you, David

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/fcfa30c4-eb1b-4dee-970e-a8cecdc3a29c%40googlegroups.com.


Google Ads API, Python Library - how to implement Exponential Backoff?

2020-03-11 Thread Mat
Hi,

I'd like to implement an "exponential backoff" for retryable errors like 
'INTERNAL_ERROR', 'RESOURCE_EXHAUSTED', 'RESOURCE_TEMPORARILY_EXHAUSTED' 
into my Python Google Ads API scripts. I've found the solution you provide 
<https://developers.google.com/analytics/devguides/reporting/core/v3/errors#backoff>
 
for the Analytics API, but I'm not sure how to implement this for the 
Google Ads API, using the Python library. 

Can you help me out?

Best regards
Mat



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/30d35d49-8aaf-41cd-ba5e-c9cadf8d9539%40googlegroups.com.


Google Ads API Client Library for Python v3.0 - when?

2020-03-05 Thread Mat
Hi,

als far as I can see, all Google Ads API client librarys have already been 
updated to v3.0 - except the one for Python. 
Can we get an ETA for this one?

Best regards
Mat

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ceb36970-2aef-4aa0-a68c-ead62b906fd1%40googlegroups.com.


[Google Ads API) Data freshness of metrics.search_budget_lost_impression_share and metrics.search_impression_share

2020-01-29 Thread Mat
Hi,

I noticed that the data freshness of the various ...impression_share 
metrics is different for shopping vs. search campaigns. While in search 
campaigns those data usually are available for yesterday, in shopping 
campaigns they usually are delayed for another day.

In the Google Ads UI, you'll see a "—", if the data is not available yet. 

In the Google Ads API on the other hand, those metrics are of the type 
"DOUBLE", hence the value of "metrics.search_budget_lost_impression_share 
<https://developers.google.com/google-ads/api/fields/v2/metrics#metrics.search_budget_lost_impression_share>"
 
will be returned as 0.0, even if the real value is not available yet.

As a workaround to determine, if the real value of 
"metrics.search_budget_lost_impression_share" is already available, I came 
up with the idea, to check if "metrics.search_impression_share 
<https://developers.google.com/google-ads/api/fields/v2/metrics#metrics.search_impression_share>"
 returns 
a value > 0.0. Because "metrics.search_impression_share 
<https://developers.google.com/google-ads/api/fields/v2/metrics#metrics.search_impression_share>"
 is 
returned as 0.0 if the real value is not available yet and as some value 
between 0.0999 and 1 it it is. 

And to assume, that if metrics.search_impression_share 
<https://developers.google.com/google-ads/api/fields/v2/metrics#metrics.search_impression_share>
 has 
a value >= 0.0999, the real value of 
metrics.search_budget_lost_impression_share 
<https://developers.google.com/google-ads/api/fields/v2/metrics#metrics.search_budget_lost_impression_share>
 is 
already available too, even if it is still returned as 0.0.

So my question is: can I assume that 
metrics.search_budget_lost_impression_share 
and metrics.search_impression_share are always of the same data freshness 
(for the same campaign)? 

Regards
Mat


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2d08c367-05f2-4432-aac6-7d8a66853228%40googlegroups.com.


Re: Reports attributes behavior

2020-01-09 Thread Mat
Hi Oksana,

from my experience, you'll get multiple rows for an OfferID if any of the 
fields you've included in your selector (like "ProductType", "Title", 
"CustomAttribute", "Brand" etc.) has changed its value during the date 
range you're pulling.
So, to be on the safe side, you should add up the metics for each offerID 
when you're processing the report.

Best regards
Mat

>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c2b83263-6d24-42c3-874b-9e952a3fe627%40googlegroups.com.


Re: Operator >= with metrics.conversions

2019-09-16 Thread Mat
Hi Bharani,

would you mind doublechecking both of your answers in this post?


   1. The op asked about the metric "conversions". Since "conversions" is 
   of type "double", the only supported operators are > and <:
   
   
https://developers.google.com/adwords/api/docs/appendix/reports/keywords-performance-report#conversions
   2. If you combine two expressions in a WHERE clause with "AND", *both* 
   of them have to be true to yield a result. 

So your suggested code "*WHERE metrics.conversions > 0 AND 
metrics.conversions = 0*" is double wrong: "= 0" is not supported with 
"conversions" and even if it were, the code would always return zero 
elements.

Regards
Mat


Am Freitag, 13. September 2019 16:47:17 UTC+2 schrieb adsapiforumadvisor:
>
> Hello Chirag, 
>
> You will be able to achieve this by combining the conditions using AND. 
> Sample report query is below: 
>
> query: "SELECT ad_group_ad_asset_view.performance_label, asset.id, 
> campaign.advertising_channel_sub_type FROM ad_group_ad_asset_view WHERE 
> metrics.conversions > 0 AND metrics.conversions = 0"
> Hope this helps!
>
> Thanks,
> Bharani, Google Ads API Team
>
> ref:_00D1U1174p._5001UHGOI3: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/6d096cdc-6e25-4307-ac42-0f9ce8cebfbe%40googlegroups.com.


Re: Security issue in privacy settings of the "AdWords API and Google Ads API Forum"

2019-08-09 Thread Mat
As I can see, you are still distributing all of your contributors Google 
Account Login addresses (including mine without my permission) to anyone 
who subscribes to the daily digest of this forum.
If you are not willing or able to fix this privacy violation, you probably 
should not offer this service in Europe:
https://en.wikipedia.org/wiki/General_Data_Protection_Regulation

Regards
Mat

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/7658435e-04bd-4fe9-9edf-ce4729efd8ee%40googlegroups.com.


Re: No "Abridged summary of adwor...@googlegroups.com" for 2 days

2019-07-08 Thread Mat
Hi Josh,

no, I still have not received any digests since my last post.

And I don't think that the problem is on my or GSuite's end. 

The Digest does not arrive also with other, from GSuite independent 
accounts any more.

Could it be that this has something to do with this, apparently still 
unsolved, issue 
<https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/adwords-api/2nUiYzXSAR0/z0aCOqBLAgAJ>?
 
Or, that not sending the digest is your solution to this issue?

Regards
Mat

Am Montag, 8. Juli 2019 15:01:27 UTC+2 schrieb adsapiforumadvisor:
>
> Hi Mat,
>
> I just confirmed that your *Delivery* setting is still set to *Digest*, 
> as you indicated. Have you received any digests since your last post? If 
> not, please post to the GSuite Help Community 
> <https://support.google.com/a/community/?hl=en&gpf=%23!forum%2Fapps> to 
> see if the experts there can help.
>
> Thanks,
> Josh, Google Ads API Team
>  
>
> ref:_00D1U1174p._5001UCapQV: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/9ded42c3-7f74-4f2e-8926-10bbb9b58e49%40googlegroups.com.


Re: Timeline and Plan of Google Ads API change

2019-07-07 Thread Mat
Hi Ziv,

I very much doubt that the blog you linked will ever contain anything about 
product features of the Google Ads API.
You probably confused that with this 
<https://ads-developers.googleblog.com/>blog.

But even with this blog, you can't rely on getting even the most important 
information. For example, there is no information in that blog that the v2 
of the Google Ads API has been available since June 26th 
<https://developers.google.com/google-ads/api/docs/release-notes>.

Regards
Mat


Am Freitag, 5. Juli 2019 07:37:29 UTC+2 schrieb adsapiforumadvisor:
>
> Hi Rocky,
>
> Thank you for reaching out to us. I understand your concern about the 
> sudden announcement in the blog post.
>
> For your first question: rest assured that we are committed to improving 
> the features and services of the Google Ads API further during this time. 
> However, we do not have any updates to share with regards to any plans or 
> timelines as of this moment. You may follow our blog 
> <https://www.blog.google/products/ads/> for updates on this topic.
>
> As for your second question: the Google Ads API will stay operational 
> during its beta phase, barring latency issues. By extension, you may keep 
> using the v1.1 version of the Google Ads API if you are already using it in 
> your production environment, though we do not recommend that you implement 
> new features during this time, since there might be significant changes to 
> the features and services of the Google Ads API in the near future. Such 
> updates will be announced in our blog 
> <https://www.blog.google/products/ads/> when they are released.
>
> I hope this helps.
>
> Regards,
> Ziv
> Google Ads API Team
>
>
> ref:_00D1U1174p._5001UCb3Tl: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/3cdc2956-e12b-4285-b7d1-de0f4de906eb%40googlegroups.com.


No "Abridged summary of adwords-api@googlegroups.com" for 2 days

2019-07-03 Thread Mat
Hi,

on July 1st, I received the daily summary of this forums posts for the last 
time via email. I did not change anything in the settings.
Did you?

Regards
Mat

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ae126fe8-de9f-4c70-a10c-9c60c726d06b%40googlegroups.com.


Google Ads API returning to beta?!

2019-07-02 Thread Mat
Hi,

just seen:

https://ads-developers.googleblog.com/2019/07/google-ads-api-returning-to-beta.html

You want me to put the work of the last four months in the trash?

Regard
Mat

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/e7934364-4c4a-4a42-981a-5fc88fdd7a86%40googlegroups.com.


  1   2   >