Why can't I get the latest advertising cost information through googleAds:searchStream

2021-12-29 Thread '彭峰' via AdWords API and Google Ads API Forum
select campaign.id,campaign.name,campaign.status,campaign.advertising_channel_type, metrics.impressions,metrics.cost_micros, ad_group.id,ad_group_ad.ad.id,ad_group_ad.ad.final_urls,segments.date from ad_group_ad where segments.date BETWEEN '%v' AND '%v' AND metrics.cost_micros>0 ORDER BY segmen

Re: The same keyword have different keywordthemeconstant id.

2021-12-29 Thread Chen Xiaowei
I‘ve provided related information.Thanks. 在2021年12月29日星期三 UTC+8 16:10:35 写道: > Hi Chen, > > Thank you for posting your concern. > > I can see that this concern has already been raised to an existing forum > thread. With this, I would suggest to continue the discussion on one thread > or forum p

Re: The same keyword have different keywordthemeconstant id.

2021-12-29 Thread Chen Xiaowei
1、Create a campaigncriteria Request: curl --location --request POST 'https://googleads.googleapis.com/v9/customers/4001226147/campaignCriteria:mutate' \ --header 'developer-token: 0l86vbNJz8I_JaZvwtKvaA' \ --header 'login-customer-id: 5551208501' \ --header 'Authorization: Bearer ya29.A0ARrdaM8

Re: How to query Ad data through Google Ads Api when camaign type is Discovery?

2021-12-29 Thread shunzhang Yan
I got it,thank you for your reply. 在2021年12月29日星期三 UTC+8 18:19:48 写道: > Hi Shunzhang, > > Thank you for posting your concern. > > Please note that the discovery campaign is currently not fully supported > in Google Ads API. With this, I am afraid that creating a discovery > campaign is not poss

Re: Create "suggestSmartCampaignAd“ successfully but return null.

2021-12-29 Thread Chen Xiaowei
I've provided response and request.Thanks 在2021年12月29日星期三 UTC+8 15:55:52 写道: > Hi Chen, > > Please provide the information that I recently requested via *Reply > privately to author* option. If this option is not available, then send > it instead on this email address googleadsa...@google.com.

how to update specific country's bid in google ads using API

2021-12-29 Thread Harpreet Singh
Hi Team, We are working on a system, we have multiple countries in campaign level targeting, we need to update country's bid adjustment but couldn't find the suitable way. Please suggest & thanks in advance. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: http

Re: How to get products under specific product groups?

2021-12-29 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hi Mat, To cover more of this topic, shopping_performance_view report can be segmented by ad group, this will take care metrics of products in a product group for a specific ad group. The product_group_view is already segmented by ad group. Regards, Aryeh Baker Google Ads API Team ref:_00D1U11

Why is the "averageCPC" value so high when I have not spent this much on my Google Ads?

2021-12-29 Thread Marcus D'Suza
Greetings! I am working with the Shopping Performance View report in Google Ads Script. I want to retrieve the clicks, conversion value, impressions, ctr, and the average cost per click for all products in my

Re: How to get products under specific product groups?

2021-12-29 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hi Mat, Thank you for chiming in. To address more cases than is described by Oliver you can take the ad_group_criterion.display_name field from product_group_view, it has the specifics brand and product type etc.. in the hierarchy. You could also use ad_group_criterion.listing_group.case_value.

Re: How to get products under specific product groups?

2021-12-29 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hi Oliver, Thank you for privately sending your video description of what you are looking for. In product_group_view there is a field 'ad_group_criterion.listing_group.case_value.product_type.value' that matches in shopping_performance_view the 'segments.product_type_l1' field. To go from pro

Re: CONCURRENT_MODIFICATION while populate new users to audience group

2021-12-29 Thread Konstantin
Hi For example error in 2021-12-29 05:37:49,977 first retry in 2021-12-29 05:39:31,536 retry with error success in 2021-12-29 05:44:32,084 2021-12-29 05:37:36,983 INFO BazingaTaskQueueName_name_segment_filter_export__Worker_2#rid=segmentFilterExport/20211228T214652.579Z/r.y.alet.crm.core.goo

RE: Start index of request limit as it was in Google adwords

2021-12-29 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hello Adrian, Thanks for reaching out to the Google Ads API support. It seems to be a service issue rather than a reporting issue. In ads API services do not do the reporting, only one object in the 'get' method. However, for system limited information you can find this here on Ads API. Please

RE: Targeted and excluded locations with map

2021-12-29 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hi Kitana, Thanks for reaching out. You can retrieve campaign location targets using the campaign_criterion resource. This is discussed here. To include excluded locations, please include campaign_criterion.negative, as is shown in the linked example. The Ads API does not support your second i

Re: GAQL: Filtering on FinalUrls containing some text

2021-12-29 Thread goingdev
Well if they downgraded and pulled that functionality from the new version, then I don't have a choice. But otherwise, ideally for both sides, I would only pull the keywords that I need for the job at hand, instead of querying and looping through some extra couple of thousand keywords unnecess

RE: RSA Customizer attributes

2021-12-29 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hi Anis, Thanks for reaching out. Please see the RSA Ad Customizer code sample which adds a customizer attribute and links the customizer attribute to a customer. Regards, Matt Google Ads API Team Reminder: Share your feedback about the Google Ads (AdWords) API! Take the 2021 Google Ads API a

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

Re: GAQL: Filtering on FinalUrls containing some text

2021-12-29 Thread goingdev
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{ f

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

RE: Error in query: unexpected input ,. when using LIMIT with offset

2021-12-29 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hi, Thanks for reaching out to us. Note that LIMIT with offset is not a valid LIMIT clause in GAQL. You may use the Query Validator to check if the entered query is valid. For limiting the number of results, you may refer to this guide for more information. Let us know if you have any addition

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,

Re: GAQL: Filtering on FinalUrls containing some text

2021-12-29 Thread goingdev
It's not valid for use on the FinalUrls though, as per the error message the API gave me: *LIKE is not a valid operator to use with 'ad_group_criterion.final_urls' in WHERE clause. Valid operators: CONTAINS ALL, CONTAINS ANY, CONTAINS NONE.* As such, please advise how I can search keywords whi

Re: Getting fields descriptions with GoogleAdsFieldService

2021-12-29 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hi Luis, Here's Shared set criteria. I couldn't find shared_set. Let me bring this to my team. You may monitor AdWords API reports to Google Ads API resources for an update. Regards, Aryeh Baker Google Ads API Team ref:_00D1U1174p._5004Q2TL0je:ref -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=

Re: How to get products under specific product groups?

2021-12-29 Thread Oliver
I have now replied privately. Thanks Oliver On Wednesday, December 29, 2021 at 1:35:45 PM UTC adsapi wrote: > Hi Oliver, > > Could you provide us with the Ads UI screenshot that you are looking for > and the complete logs when you tried to get corresponding data through > Google Ads API, so th

Re: How to get products under specific product groups?

2021-12-29 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hi Oliver, Could you provide us with the Ads UI screenshot that you are looking for and the complete logs when you tried to get corresponding data through Google Ads API, so that our team can check better? You may send those using the Reply privately to author option, for privacy purposes. Reg

RSA Customizer attributes

2021-12-29 Thread Anis Ahmed
Hi Google Team, Is there any coding example that I can follow to create a customer attribute using google ads API? Thanks -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Start index of request limit as it was in Google adwords

2021-12-29 Thread Adrian Bob
Hey, I'm currently working on migrating components that are using the old adwords library to google-ads library. One aspect that I'm not able to find is the SelectorError.START_INDEX_IS_TOO_HIGH error that used to happen when using the previous library: https://developers.google.com/adwords/a

Re: Getting fields descriptions with GoogleAdsFieldService

2021-12-29 Thread Luis
Hi Aryeh, Thanks a lot for the tip about the descriptors. I keep on working with the metadata and the migration of our app, and I just realized that in the documentation about migrating from AdWords reports to Google Ads resources (https://developers.google.com/google-ads/api/docs/migration/ma

RE: How to query Ad data through Google Ads Api when camaign type is Discovery?

2021-12-29 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hi Shunzhang, Thank you for posting your concern. Please note that the discovery campaign is currently not fully supported in Google Ads API. With this, I am afraid that creating a discovery campaign is not possible using API and some of the data of this type of campaign could not be retrieved

Error in query: unexpected input ,. when using LIMIT with offset

2021-12-29 Thread Jurijs P.
I have a query: SELECT campaign.id, campaign.name, label.id, label.name, campaign.campaign_budget, campaign.status FROM campaign_label WHERE campaign.status = 'ENABLED' LIMIT 5 which works fine and returns the data I need. But If I want to use LIMIT with offset, it fails: SELECT campaign.id, c

Re: Get keywords details (Status, MaxCPC, AgvCPC etc...)

2021-12-29 Thread SANJAY SRINIVAAS M R
Thanks a lot. On Wed, 29 Dec, 2021, 3:14 pm Google Ads API Forum Advisor, wrote: > Hi Sanjay, > > If you are also looking to get the max Cpc of each keywords, then you can > use the keyword_view > and > include the ad_group_cr

Re: Get keywords details (Status, MaxCPC, AgvCPC etc...)

2021-12-29 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hi Sanjay, If you are also looking to get the max Cpc of each keywords, then you can use the keyword_view and include the ad_group_criterion.cpc_bid_micros. Let me know if you have further questions. Regards, Ernie John Blanca Tacata Google Ads API Team ref:_00D1U1174p._5004Q2Mji1V:ref -- --

RE: Keyword name in Keywords View

2021-12-29 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hi Sanjay, Thank you for reaching out to our team. You can include the ad_group_criterion.keyword.text in the keyword_view to get the keyword name / text. As an additional information, you may read this section so that you will know what fields from another resources that you can add to a spec

RE: The same keyword have different keywordthemeconstant id.

2021-12-29 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hi Chen, Thank you for posting your concern. I can see that this concern has already been raised to an existing forum thread. With this, I would suggest to continue the discussion on one thread or forum post only for better tracking of updates. Moving forward, could you provide the complete re

Re: Get keywords details (Status, MaxCPC, AgvCPC etc...)

2021-12-29 Thread SANJAY SRINIVAAS M R
Hi Matt, Is there a way to achieve this using the Google Ads Api instead of the Adwords Api as I understand this will be depreciated in the future. Thanks! On Wednesday, September 1, 2021 at 7:56:43 PM UTC+5:30 adsapi wrote: > Hi Sam, > > Thanks for reaching out. In the Keywords Performance Re

Re: How to get products under specific product groups?

2021-12-29 Thread Oliver
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 o