How to identify valid/in-valid click from click_view

2024-06-24 Thread 'Hao Long' via Google Ads API and AdWords API Forum
Hi Team

we pull click level data from click_view but can not find any field could 
use to identify the click is valid or not, could you please help guide us 
how to identify?

Any help here would be appreciated. Thanks in advance.

Thanks
Hao

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/91a13db7-23c5-4b60-95b6-a63db0f2e451n%40googlegroups.com.


Low granularity of pMax campaign performance data on Google Ads API

2022-03-27 Thread 'Hao Long' via Google Ads API and AdWords API Forum
HI Google Ads Support Team,

During the Google Ads migration we could find pMax campaign performance 
data from campaign resource, but we can not get pMax performance data from 
low granularity level data such as adgroup or ad. could you please help 
confirm if Ads api support low level performance data in Google Ads API? 
where i could get low granularity pMax campaign performance data if support?

Thanks
Hao

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/4dce46b7-ed85-4d1c-af78-6ceff92310f2n%40googlegroups.com.


Question on keyword_performance_report migration

2022-03-18 Thread 'Hao Long' via Google Ads API and AdWords API Forum
Hi Google Support Team,

We are working on keyword_performance_report migration from AdWords to Ads 
API. and we found below case when we testing the download files:

1. the data download from Google AdWords API have the same records on this 
March
2. the data download from Google Ads API have obvious decrease compare with 
data download from AdWords API

could you please help on below questions:
1. why AdWords returned the same records number on each day and Ads 
returned obvious decrease numbers?
Row count compare:
envdate  Rowcount
Ads2022-03-0510275385
Ads2022-03-0610924272
Ads2022-03-0710831192
AdWords2022-03-05970981645
AdWords  2022-03-06970981645
AdWords 2022-03-07970981645

2. could you please help investigate some exception case(records exist 
AdWords but missing in Ads)?
Exception cases:
DateAdGroupIdCampaignIdad_group_name   
 campaign_namecustomer_idcustomer_name
2022-03-05777122384666500353114Software Ad Group 
(09-12-2019 04:19:50 141034206)DE Computers Campaign (09-12-2019 
04:19:50 16785686) abcId: 11414463143963915   
 DE_Vertical_Fashion_Exact 3
2022-03-07946781279088487092597Parts & Accessories 
Adgroup (12-09-2019 00:40:44 143549496)CA EN Auto - Parts Campaign 
(12-09-2019 00:40:42 16861306) abcId: 11466466773546364   
 CA_Vertical_Parts_and_Accessories_Broad_1
2022-03-06672136994231748512008Wooden Toys Adgroup 
(03-26-2019 23:59:27 140735476)Toys Campaign (03-26-2019 23:59:27 
16774476) abcId: 11408362535296905eBay Electronics Text 1
2022-03-05646361510081557184032Default Adgroup 
(09-12-2018 13:40:49 139561076)UK Default Campaign (09-12-2018 
13:40:28 16765316) abcId: 11401862669144749   
 Vertical_Null_Broad_2
2022-03-0611366375086212074361779Ansichtskarten 
Adgoup (09-17-2019 09:21:25 141477166)DE Collectibles Campaign 
(09-17-2019 09:21:25 16798066) abcId: 1141576 + Geo testing GROUP C   
 4265469197DE_Vertical_Parts_and_Accessories_Phrase 6
2022-03-06867739419738671903874Téléphones fixes, 
accessoires (12-19-2019 07:26:20 143870496)FR Telecomm Campaign 
(12-19-2019 07:26:20 16882186) abcId: 11514761317258270   
 FR_Vertical_Home_Garden_Phrase_3

Download detail as below:

MCC account: 574-984-7778

AdWords Query:
select
Date
AdGroupId
CampaignId
Id
Interactions
InteractionRate
SearchAbsoluteTopImpressionShare
SearchBudgetLostAbsoluteTopImpressionShare
SearchBudgetLostTopImpressionShare
SearchExactMatchImpressionShare
SearchImpressionShare
SearchRankLostAbsoluteTopImpressionShare
SearchRankLostImpressionShare
SearchRankLostTopImpressionShare
SearchTopImpressionShare
HistoricalQualityScore
HistoricalSearchPredictedCtr
HistoricalLandingPageQualityScore
HistoricalCreativeQualityScore
from keyword_performance_report
where date between "2022-03-07" and "2022-03-09"

Ads Query:
select segments.date, ad_group.id, campaign.id, 
ad_group_criterion.criterion_id, metrics.interactions, 
metrics.interaction_rate, metrics.search_absolute_top_impression_share, 
metrics.search_budget_lost_absolute_top_impression_share, 
metrics.search_budget_lost_top_impression_share, 
metrics.search_exact_match_impression_share, 
metrics.search_impression_share, 
metrics.search_rank_lost_absolute_top_impression_share, 
metrics.search_rank_lost_impression_share, 
metrics.search_rank_lost_top_impression_share, 
metrics.search_top_impression_share, metrics.historical_quality_score, 
metrics.historical_search_predicted_ctr, 
metrics.historical_landing_page_quality_score, 
metrics.historical_creative_quality_score from keyword_view where 
segments.date between "2022-03-07" and "2022-03-09" and metrics.impressions 
>= 0

Thanks
Hao

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/170068b7-08d5-45b8-9294-1b846cbbb364n%40googlegroups.com.


The CriterionId for ad performance report migration

2022-03-18 Thread 'Hao Long' via Google Ads API and AdWords API Forum
HI Google Support Team,

This conversation is ask help for how to get 
CriterionId(segments.keyword.ad_group_criterion in Google Ads API) in 
Google Ads API.

we have Google AdWords query as below need migrate to Google Ads API:
select
Date
, CriterionId
, Id
, AdGroupId
, CampaignId
, AccountCurrencyCode
, Cost
, Clicks
, Impressions
, Device
, Interactions
, InteractionRate
from ad_performance_report

and Google Ads API query transfer as below:
select
segments.date,
segments.keyword.ad_group_criterion,
ad_group_ad.ad.id,
ad_group.id,
campaign.id,
customer.currency_code,
metrics.cost_micros,
metrics.clicks,
metrics.impressions,
segments.device,
metrics.interactions,
metrics.interaction_rate
from ad_group_ad
WHERE segments.date DURING LAST_7_DAYS

By data comparison we found  if include 
segments.keyword.ad_group_criterion, in select clause, it will led some 
records could not download. once we removed this field from select clause 
the data volume is very close between the data download from AdWords and 
Ads API.

As CriterionId is very important field we will used in downstream logic we 
need download this field as Google AdWords API. for my understanding field 
segments.keyword.ad_group_criterion should query from keyword_view? if yes 
could you please help guide how to map this field back to data feed 
download from ad_group_ad?

Thanks
Hao

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/12f0f0c8-5f83-44c3-9b8b-75b3ebc608fdn%40googlegroups.com.


Google Ads Migration for AUDIENCE_PERFORMANCE_REPORT

2022-03-07 Thread 'Hao Long' via Google Ads API and AdWords API Forum
Hi Google Ads Support Team,

For AUDIENCE_PERFORMANCE_REPORT 

 
we have two download jobs depend on Google Adwords API and we are currently 
work on migrate to Google Ads API.

The two download jobs one for performance and one for structure, and the 
AWQL attached as below:

Performance report:
select
Date
,AccountCurrencyCode
,Id
,CampaignId
,CampaignName
,Device
,Impressions
,Clicks
,Cost
,UserListName
,BidModifier
,AdGroupId
>From AUDIENCE_PERFORMANCE_REPORT
WHERE Date>='2022-03-01' and Date<='2022-03-05'

Structure Report:
select
Date
, AccountCurrencyCode
, AccountDescriptiveName
, AccountTimeZone
, AdGroupId
, BaseAdGroupId
, BaseCampaignId
, BiddingStrategyId
, BiddingStrategyName
, BiddingStrategyType
, BidModifier
, CampaignId
, CampaignName
, CampaignStatus
, CpcBid
, CpcBidSource
, CpmBid
, CpmBidSource
, Criteria
, CriteriaDestinationUrl
, CriterionAttachmentLevel
, CustomerDescriptiveName
, ExternalCustomerId
, FinalAppUrls
, FinalMobileUrls
, FinalUrls
, Id
, IsRestrict
, Status
, TrackingUrlTemplate
, UrlCustomParameters
, UserListName
>From AUDIENCE_PERFORMANCE_REPORT
WHERE Date>='2022-03-01' and Date<='2022-03-05'

Base on Google Ads wiki there have two resources(ad_group_audience_view and 
campaign_audience_view) mapped with Google 
Adwords AUDIENCE_PERFORMANCE_REPORT. these two resources identify the 
audience setup on ad group and campaign level. to get the same download 
data as Google Adwords API we need query these two resources at the same 
time and union the data download from ad_group_audience_view and 
campaign_audience_view. but we found there have some data issues when 
compare the download data from Adwords API and Ads API, detail list as 
below:

let's take structure data on account:9379591500 as example:
we only could download three campaigns(6627375281,6622894038,6631463241) 
data from Google Ads API campaign_audience_view and empty data from 
ad_group_audience_view ,but could download  8 
campaigns(6620508936,6616615373,6631463241,6613942486,6622894038,6627375281,6616561829,6724550877)
 
from Google Adwords API.

Google Ads API call detail
campaign_audience_view:
Request
---
MethodName: google.ads.googleads.v9.services.GoogleAdsService/SearchStream
Endpoint: googleads.googleapis.com:443
Headers: {developer-token=REDACTED, login-customer-id=5749847778, 
x-goog-api-client=gl-java/1.8.0_252 gccl/task ':google-ads:jar' property 
'archiveVersion' gapic/task ':google-ads:jar' property 'archiveVersion' 
gax/2.6.1 grpc/task ':google-ads:jar' property 'archiveVersion'}
Body: customer_id: "9379591500"
query: "SELECT segments.date, customer.currency_code, 
customer.descriptive_name, customer.time_zone, campaign.base_campaign, 
campaign.bidding_strategy, campaign.name, campaign.status FROM 
campaign_audience_view where segments.date = \'2022-03-05\'  "


Response

Headers: 
Metadata(content-disposition=attachment,content-type=application/grpc,date=Mon, 
07 Mar 2022 06:44:55 GMT,alt-svc=h3=":443"; ma=2592000,h3-29=":443"; 
ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; 
ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43")
Body: results {
  customer {
resource_name: "customers/9379591500"
descriptive_name: "US_Vertical_Null_Exact_30"
currency_code: "USD"
time_zone: "America/Los_Angeles"
  }
  campaign {
resource_name: "customers/9379591500/campaigns/6622894038"
status: ENABLED
base_campaign: "customers/9379591500/campaigns/6622894038"
name: "US Default Campaign (10-01-2019 01:00:29 16831706) abcId: 
1141736"
bidding_strategy: "customers/9379591500/biddingStrategies/7970171881"
  }
  campaign_audience_view {
resource_name: 
"customers/9379591500/campaignAudienceViews/6622894038~622524040998"
  }
  segments {
date: "2022-03-05"
  }
}
results {
  customer {
resource_name: "customers/9379591500"
descriptive_name: "US_Vertical_Null_Exact_30"
currency_code: "USD"
time_zone: "America/Los_Angeles"
  }
  campaign {
resource_name: "customers/9379591500/campaigns/6622894038"
status: ENABLED
base_campaign: "customers/9379591500/campaigns/6622894038"
   
... TRUNCATED. See README.md to configure/disable log truncation.
Failure message: null
Status: Status{code=OK, description=null, cause=null}.

ad_group_audience_view :
Request
---
MethodName: google.ads.googleads.v9.services.GoogleAdsService/SearchStream
Endpoint: googleads.googleapis.com:443
Headers: {developer-token=REDACTED, login-customer-id=5749847778, 
x-goog-api-client=gl-java/1.8.0_252 gccl/task ':google-ads:jar' property 
'archiveVersion' gapic/task ':google-ads:jar' property 'archiveVersion' 
gax/2.6.1 grpc/task ':google-ads:jar' property 'archiveVersion'}
Body: customer_id: "9379591500"
query: "SELECT segments.date, customer.currency_code, 
customer.descriptive_name, customer.time_zone, ad_group.id, 
ad_group.base_ad_group, 

Re: Campaign Performance Report Missing Data

2022-03-05 Thread 'Hao Long' via Google Ads API and AdWords API Forum
Hi Google Support Team,

Could you please help looking into this thread?

Thanks
Hao

On Friday, March 4, 2022 at 3:09:15 PM UTC+8 Hao Long wrote:

> The same case happened on Ad group performance, Ad performance report. it 
> should have the same root cause as Campaign Performance migration. we are 
> waiting for your updates.
>
> Thanks
> Hao 
>
> On Friday, March 4, 2022 at 3:07:14 PM UTC+8 Hao Long wrote:
>
>> Hi Google Support Team,
>>
>> We are focus on Google API migration from Adwords API to Ads API, during 
>> the migration we found there have huge gap between Adwords and Ads API 
>> download data.
>>
>> let's take Campaign Performance Report as example:
>>
>> Download Query from Google Adwords API: 
>>
>> SELECT 
>> Date
>> , CampaignId
>> , AccountCurrencyCode
>> , AccountDescriptiveName
>> , AccountTimeZone
>> , AdvertisingChannelSubType
>> , AdvertisingChannelType
>> , Amount
>> , BaseCampaignId
>> , BiddingStrategyId
>> , BiddingStrategyName
>> , BiddingStrategyType
>> , BudgetId
>> , CampaignDesktopBidModifier
>> , CampaignGroupId
>> , CampaignMobileBidModifier
>> , CampaignName
>> , CampaignStatus
>> , CampaignTabletBidModifier
>> , CampaignTrialType
>> , CustomerDescriptiveName
>> , EndDate
>> , EnhancedCpcEnabled
>> , ExternalCustomerId
>> , FinalUrlSuffix
>> , HasRecommendedBudget
>> , IsBudgetExplicitlyShared
>> , LabelIds
>> , Labels
>> , MaximizeConversionValueTargetRoas
>> , Period
>> , RecommendedBudgetAmount
>> , ServingStatus
>> , StartDate
>> , TotalAmount
>> , TrackingUrlTemplate
>> , UrlCustomParameters
>> FROM CAMPAIGN_PERFORMANCE_REPORT
>> WHERE Date>='2022-03-01' and Date<='2022-03-03'
>>
>> Download Query from Google Ads API:
>>  select segments.date, campaign.id, customer.currency_code, 
>> customer.descriptive_name, customer.time_zone, 
>> campaign.advertising_channel_sub_type, campaign.advertising_channel_type, 
>> campaign_budget.amount_micros, campaign.base_campaign, 
>> campaign.bidding_strategy, bidding_strategy.name, 
>> campaign.bidding_strategy_type, campaign.campaign_budget, campaign.name, 
>> campaign.status, campaign.experiment_type, customer.descriptive_name, 
>> campaign.end_date, customer.id, campaign.final_url_suffix, 
>> campaign_budget.has_recommended_budget, campaign_budget.explicitly_shared, 
>> campaign.maximize_conversion_value.target_roas, campaign_budget.period, 
>> campaign_budget.recommended_budget_amount_micros, campaign.serving_status, 
>> campaign.start_date, campaign_budget.total_amount_micros, 
>> campaign.tracking_url_template, campaign.url_custom_parameters from 
>> campaign  where segments.date between "2022-03-01" and "2022-03-03" and 
>> metrics.impressions >= 0
>>
>> Data questions when compare with data download from Adwords API and Ads 
>> API:
>> 1. the data volume have huge gap: as there have no 
>> metrics(click/impr/cost) in the query, we could recognize as download 
>> campaign structure from API. we downloaded 37297 records everyday from 
>> Adwords API but data download from Ads API have obviously drop down. could 
>> you please help check the root cause?
>> API datecount(1)
>> Adwords API2022-03-0137297
>> Ads API2022-03-0111179
>> Adwords API2022-03-0237297
>> Ads API2022-03-0210927
>> Adwords API2022-03-0337297
>> Ads API2022-03-038058
>>
>>
>> 2. some campaign can download from Adwords API but can not download need 
>> you help further check. below attached two cases for your refer:
>>
>> a. campaign : 37973571
>> MethodName: google.ads.googleads.v9.services.GoogleAdsService/SearchStream
>> Endpoint: googleads.googleapis.com:443
>> Headers: {developer-token=REDACTED, login-customer-id=5749847778 
>> <(574)%20984-7778>, x-goog-api-client=gl-java/1.8.0_252 gccl/task 
>> ':google-ads:jar' property 'archiveVersion' gapic/task ':google-ads:jar' 
>> property 'archiveVersion' gax/2.6.1 grpc/task ':google-ads:jar' property 
>> 'archiveVersion'}
>> Body: customer_id: "6496854847"
>> query: "select segments.date, campaign.id, customer.currency_code, 
>> customer.descriptive_name, customer.time_zone, 
>> campaign.advertising_channel_sub_type, campaign.advertising_channel_type, 
>> campaign_budget.amount_micros, campaign.base_campaign, 
>> campaign.bidding_strategy, bidding_strategy.name, 
>> campaign.bidding_strategy_type, campaign.campaign_budget, campaign.name, 
>> campaign.status, campaign.experiment_type, customer.descriptive_name, 
>> campaign.end_date, customer.id, campaign.final_url_suffix, 
>> campaign_budget.has_recommended_budget, campaign_budget.explicitly_shared, 
>> campaign.maximize_conversion_value.target_roas, campaign_budget.period, 
>> campaign_budget.recommended_budget_amount_micros, campaign.serving_status, 
>> campaign.start_date, campaign_budget.total_amount_micros, 
>> campaign.tracking_url_template, campaign.url_custom_parameters, 
>> metrics.impressions from campaign  where 

Re: customer_extension_setting

2022-03-05 Thread 'Hao Long' via Google Ads API and AdWords API Forum
Thanks Matt,

we are migrate current active campaign and customer extension setting 
Google Adwords download to new Google Ads API, we are found there have some 
account have data downloaded from Adwords API but empty in Google Ads API. 
detail list as below:

Customer Extension Setting:

Query used: 
SELECT customer_extension_setting.extension_feed_items, 
customer_extension_setting.extension_type, customer.id FROM 
customer_extension_setting
Sample Customer id can not download data from Ads API but could download 
from Adwords API: 2758466019

Campaign Extension Setting:
Query Used:
SELECT campaign_extension_setting.campaign, 
campaign_extension_setting.extension_type,campaign_extension_setting.extension_feed_items
 
from campaign_extension_setting
Sample Customer id can not download data from Ads API but could download 
from Adwords API: 
4685036791
2532903337
2688071956
2137171150
2214476492
2101143752
2292720923
3501615586
1901513941
4896556886
1571632800

for campaign extension setting have one more interesting founding: some 
accounts could download from Google Ads API but not in Google Adwords API:
3573730526
1191852359
2538328450
6409940247
1666835084

Could you please help investigate?

request id and log if mandatory i could provide later.

Thanks
Hao


On Friday, March 4, 2022 at 11:46:28 PM UTC+8 adsapi wrote:
Hi Hao,

Thanks for reaching out. Can you please privately reply with the subject 
line of your original email? It seems possible that we did not receive the 
emails that you referenced. 

Can you also please provide us with the complete request and response logs 
for the Ads API request?

Thanks,
Matt

On Friday, March 4, 2022 at 11:46:28 PM UTC+8 adsapi wrote:

> Hi Hao,
>
> Thanks for reaching out. Can you please privately reply with the subject 
> line of your original email? It seems possible that we did not receive the 
> emails that you referenced. 
>
> Can you also please provide us with the complete request and response logs 
> for the Ads API request?
>
> Thanks,
> Matt
> Google Ads API Team
>
> [image: Google Logo] 
> Matt 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2Xl3u2: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/1d38f099-0ef0-421c-acbe-d3d52a114410n%40googlegroups.com.


Re: customer_extension_setting

2022-03-03 Thread 'Hao Long' via Google Ads API and AdWords API Forum
Hi Google Ads Support Team,

we are pending on this few days, could you please help on my issues? 

Thanks
Hao

On Wednesday, March 2, 2022 at 9:53:27 AM UTC+8 Hao Long wrote:

> Hi Team,
>
> could you please help on the question on campaign and customer extension 
> setting migration?
>
> Thanks
> Hao
>
> On Monday, February 28, 2022 at 4:54:51 PM UTC+8 Hao Long wrote:
>
>> Hi Team,
>>
>> we are facing the same issue on campaign extension setting, some accounts 
>> could download from Google Adwords API but empty from Google Ads API:
>>
>> campaign_extension_setting search query: SELECT 
>> campaign_extension_setting.campaign, 
>> campaign_extension_setting.extension_type,campaign_extension_setting.extension_feed_items
>>  
>> from campaign_extension_setting
>>
>> sample customer id:
>> 4685036791
>> 2532903337 <(253)%20290-3337>
>> 2688071956
>> 2137171150 <(213)%20717-1150>
>> 2214476492
>> 2101143752
>> 2292720923 <(229)%20272-0923>
>> 3501615586
>> 1901513941
>> 4896556886
>> 1571632800
>> 3143963915 <(314)%20396-3915>
>>
>> and some accounts could download from Google Ads API but not in Google 
>> Adwords API:
>>
>> 3573730526
>> 1191852359
>> 2538328450 <(253)%20832-8450>
>> 6409940247 <(640)%20994-0247>
>> 1666835084
>>
>> could you please help both on these two APIs data issues?
>>
>> Thanks
>> Hao
>>
>>
>> On Friday, February 25, 2022 at 3:52:43 PM UTC+8 Hao Long wrote:
>>
>>> Hi Team,
>>>
>>> we found we download empty data from customer_extension_setting(Google 
>>> Ads API)for some accounts but there have data downloaded in Google 
>>> Adwords API. could you please help on this case?
>>>
>>> Query used: 
>>> SELECT customer_extension_setting.extension_feed_items, 
>>> customer_extension_setting.extension_type, customer.id FROM 
>>> customer_extension_setting
>>>
>>> Sample Customer id: 2758466019
>>>
>>>
>>> Thanks
>>> Hao
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d9954c33-4fae-48ed-b019-f7e5cc175a42n%40googlegroups.com.


Ad Performance Report Migration Issue

2022-03-02 Thread 'Hao Long' via Google Ads API and AdWords API Forum
HI Google Ads Support Team,

During the Ad performance report migration we found some issues need your 
help, detail list as below:

Background: we have ad performance report downloaded from Google Adwords 
API, and we are currently focus on migration this download job to Google 
Ads API, We donwload 25th Feb, 26th Feb and 27Feb data both from Google 
Adwords API and Google Ads API for data compare.

Query we used to download data from Google Ads API:
String query = "select segments.date, segments.keyword.ad_group_criterion, 
ad_group_ad.ad.id, ad_group.id, campaign.id, customer.currency_code, 
metrics.cost_micros, metrics.clicks, metrics.impressions, segments.device, 
metrics.interactions, metrics.interaction_rate from ad_group_ad where 
segments.date between '2022-02-25' and '2022-02-28' and metrics.impressions 
> 0 ";

We found below tow cases after compare the download data from Adwords and 
Ads API.
1. Some ad could download from Google Adwords API but can not download from 
Google Ads API, below list some ads id list for your further research:
datead_id
2022-02-26556095900718
2022-02-26571274667765
2022-02-27540413343520
2022-02-25583756758373
2022-02-26578471204554
2022-02-27578471204545
2022-02-2554462872
2022-02-25582855297325
2022-02-25569172119668
2022-02-27571725556784
2022-02-26575172555086
2022-02-27540339113037
2022-02-25562635199377
2022-02-25544887224386
2022-02-26561137975677
2022-02-25540413343355
2022-02-25495298653779
2022-02-26564422242515
2022-02-25565467026761
2022-02-26562686088944

2. we found all the GDN accounts can not download from Google Ads API, 
below list some accounts for your further research:
7120089229,6178598940,2461379334,3731770228,4789310719,7920065726



Thanks
Hao

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/aae32f81-31ba-4632-bf9e-e7fb505e77afn%40googlegroups.com.


Re: customer_extension_setting

2022-02-28 Thread 'Hao Long' via Google Ads API and AdWords API Forum
Hi Team,

we are facing the same issue on campaign extension setting, some accounts 
could download from Google Adwords API but empty from Google Ads API:

campaign_extension_setting search query: SELECT 
campaign_extension_setting.campaign, 
campaign_extension_setting.extension_type,campaign_extension_setting.extension_feed_items
 
from campaign_extension_setting

sample customer id:
4685036791
2532903337
2688071956
2137171150
2214476492
2101143752
2292720923
3501615586
1901513941
4896556886
1571632800
3143963915

and some accounts could download from Google Ads API but not in Google 
Adwords API:

3573730526
1191852359
2538328450
6409940247
1666835084

could you please help both on these two APIs data issues?

Thanks
Hao


On Friday, February 25, 2022 at 3:52:43 PM UTC+8 Hao Long wrote:

> Hi Team,
>
> we found we download empty data from customer_extension_setting(Google 
> Ads API)for some accounts but there have data downloaded in Google 
> Adwords API. could you please help on this case?
>
> Query used: 
> SELECT customer_extension_setting.extension_feed_items, 
> customer_extension_setting.extension_type, customer.id FROM 
> customer_extension_setting
>
> Sample Customer id: 2758466019
>
>
> Thanks
> Hao
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/9303c257-8f3d-42bf-890a-a648bab30a20n%40googlegroups.com.


Re: AUDIENCE_PERFORMANCE_REPORT and GEO_PERFORMANCE_REPORT migration from Adwords to Ads API

2022-02-27 Thread 'Hao Long' via Google Ads API and AdWords API Forum
Thanks Aryeh,

i have retried and can download the data but the it's so weird when i try 
download one hour later, it's return empty result. could you please help 
check?

message:

Request --- MethodName: 
google.ads.googleads.v9.services.GoogleAdsService/SearchStream Endpoint: 
googleads.googleapis.com:443 Headers: {developer-token=REDACTED, 
login-customer-id=5749847778, x-goog-api-client=gl-java/1.8.0_252 gccl/task 
':google-ads:jar' property 'archiveVersion' gapic/task ':google-ads:jar' 
property 'archiveVersion' gax/2.6.1 grpc/task ':google-ads:jar' property 
'archiveVersion'} Body: customer_id: "7763800357" query: "select 
segments.date, customer.currency_code, ad_group_criterion.criterion_id, 
ad_group.campaign, campaign.name, segments.device, metrics.impressions, 
metrics.clicks, metrics.cost_micros, ad_group.id from 
ad_group_audience_view where segments.date between \'2022-02-24\' and 
\'2022-02-26\' " Response  Headers: 
Metadata(content-type=application/grpc,request-id=zaophMVMHKsE2o5DxcGloA,date=Mon,
 
28 Feb 2022 06:45:29 GMT,alt-svc=h3=":443"; ma=2592000,h3-29=":443"; 
ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; 
ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43") 
Body: null Failure message: null Status: Status{code=OK, description=null, 
cause=null}. count0

Thanks
Hao

On Thursday, February 24, 2022 at 5:30:01 AM UTC+8 adsapi wrote:

> Hi Hao,
>
> This case finally made it to our support, thank you for your patience. I 
> was able to download  your ad_group_audience_view report on Feb 23, could 
> you check again? If you added metrics did metrics show? Adding segments 
> would stop rows without metrics from being downloaded 
> 
> .
>
> To find which fields conflict you can use the query builder 
> .
>  
> If you want a combination that we don't offer you can privately send us a 
> full screen screenshot of the new UI where this combination is available. 
> The new Ads API can only be a conduit to the new product as expressed in 
> the new UI. You may reach out to product support 
>  for assistance.
>
> Campaign_audience_view only reports on audiences directly linked to 
> campaigns and ad_group_audience_view only reports on audiences linked 
> directly to ad groups so you need both to cover both types of linkage. You 
> could segment by ad group to get how campaign linked audiences performed in 
> specific ad groups, but that won't cover ad group linked audiences.
>
> geographic_view 
>  and 
> shows all impressions whether targeted or not. If user showed an interest 
> in a targeted location and sees the ad from another location it will be 
> attributed to location of interest. user_location_view 
>  
> shows all metrics based on user location only and also reports if the 
> specific location is being targeted. They cannot be combined as they report 
> on all account metrics. 
>
> Feel free to get back to us.
>
> Regards,
>
> [image: Google Logo] 
> Aryeh 
> Google Ads API Team 
>   
>
>  
>
> ref:_00D1U1174p._5004Q2WyLCA: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/cba39cdb-14f2-4b2a-bb9f-5ac64a8e9eb1n%40googlegroups.com.


customer_extension_setting

2022-02-24 Thread 'Hao Long' via Google Ads API and AdWords API Forum
Hi Team,

we found we download empty data from customer_extension_setting(Google Ads 
API)for some accounts but there have data downloaded in Google Adwords API. 
could you please help on this case?

Query used: 
SELECT customer_extension_setting.extension_feed_items, 
customer_extension_setting.extension_type, customer.id FROM 
customer_extension_setting

Sample Customer id: 2758466019


Thanks
Hao

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/4744227b-5b3a-4ec3-ac6d-de45d93c4c00n%40googlegroups.com.


Re: AUDIENCE_PERFORMANCE_REPORT and GEO_PERFORMANCE_REPORT migration from Adwords to Ads API

2022-02-23 Thread 'Hao Long' via Google Ads API and AdWords API Forum
Hi Team,

do you have an chance to help looking into this thread? we are pending on 
this few days.

Thanks
Hao

On Friday, February 18, 2022 at 4:56:44 PM UTC+8 Hao Long wrote:

> Hi Team,
>
> For Audience performance report migration, base on my assumption i have a 
> try but we can not download anything from ad_group_audience_view.
>
> query we used:
> SELECT segments.date, customer.currency_code, customer.descriptive_name, 
> customer.time_zone, ad_group.id, ad_group.base_ad_group, 
> campaign.base_campaign, campaign.bidding_strategy, bidding_strategy.name, 
> bidding_strategy.type, ad_group_criterion.bid_modifier, ad_group.campaign, 
> campaign.name, campaign.status, ad_group_criterion.criterion_id, 
> customer.id, ad_group_criterion.final_mobile_urls, 
> ad_group_criterion.final_urls, 
> ad_group.targeting_setting.target_restrictions, ad_group_criterion.status, 
> ad_group.tracking_url_template, ad_group.url_custom_parameters FROM 
> ad_group_audience_view WHERE segments.date DURING LAST_7_DAYS
>
> sample account: 9759108564
>
> could you please help on this?
>
> another question is how to access Segmenting 
> resources(bidding_strategy,user_list), as wiki said:
>   Fields from the above resources, when selected along with this 
> resource in your SELECT and WHERE clauses, *will segment* metrics.
> does it means if we included Segmenting resources in query, the data will 
> deep down to low granularity? but why if we add user_list.name it will 
> have conflict with segments.date?
>
>
> as we are pending on these two reports migration for a while, any help 
> from Google Support team is appreciate. please let me know if we could 
> setup zoom meeting to discuss the detail?
>
>
> Thanks
> Hao
>
> On Wednesday, February 16, 2022 at 4:21:16 PM UTC+8 Hao Long wrote:
>
>> Hi Team,
>>
>> as we are pending on these two API migration, could you please help share 
>> your thoughts?
>>
>> Thanks
>> Hao
>>
>> On Tuesday, February 15, 2022 at 10:51:34 AM UTC+8 Hao Long wrote:
>>
>>> Hi Team,
>>>
>>> Is there have anyone could help on this?
>>>
>>> Thanks
>>> Hao
>>>
>>> On Friday, February 11, 2022 at 2:33:40 PM UTC+8 Hao Long wrote:
>>>
 Hi Team,

 We are facing one Google Adwords Report mapping to two Google Ads 
 resources case when migrate from Google Adwords API to Google Ads API. 

 Here is the mapping relationship from Google Wiki:

 AUDIENCE_PERFORMANCE_REPORT:campaign_audience_view,ad_group_audience_view
 GEO_PERFORMANCE_REPORT: geographic_view,user_location_view

 we need you help provide some suggestions for our cases.

 let's start from simple one: GEO_PERFORMANCE_REPORT
 and it have below diff for two mapped resources in Google Ads API:

- *Geographic view*: The Geographic data shows your customer’s 
physical locations or locations that they had shown interest in through 
searches on Google or Google Maps.
- *User location view*: The user location data shows only your 
customer’s physical locations, regardless of any locations they may be 
interested in.

 We used in Google Adwords API:
 select
  Date
 , AccountCurrencyCode
 , CampaignId
 , CampaignName
 , CityCriteriaId
 , CountryCriteriaId
 , IsTargetingLocation
 , MetroCriteriaId
 , MostSpecificCriteriaId
 , RegionCriteriaId
 , AdGroupId
 , Device
 , LocationType
 , Clicks
 , Cost
 , Impressions
 from
 GEO_PERFORMANCE_REPORT
 where Date >='2022-01-01' and Date<='2022-02-05'

 To keep get the same data as Google Adwords API, we need cutover to 
 query geographic_view and user_location_view both and union two part of 
 data? could you please help confirm?

 For AUDIENCE_PERFORMANCE_REPORT it mapped to campaign_audience_view and 
 ad_group_audience_view resources. 
 and we have two feeds from Google Adwords API, one for performance data 
 and one for audience structure. detail Adwords query attached as below:

 Performance data feed:
 select
 Date,
 AccountCurrencyCode,
 Id,
 CampaignId,
 CampaignName,
 Device,
 Impressions,
 Clicks,
 Cost,
 UserListName,
 BidModifier,
 AdGroupId
 FROM AUDIENCE_PERFORMANCE_REPORT
 where Date >='2022-01-01' and Date<='2022-02-05'

 Structure data feed:
 select
 , Date
 , AccountCurrencyCode
 , AccountDescriptiveName
 , AccountTimeZone
 , AdGroupId
 , BaseAdGroupId
 , BaseCampaignId
 , BiddingStrategyId
 , BiddingStrategyName
 , BiddingStrategyType
 , BidModifier
 , CampaignId
 , CampaignName
 , CampaignStatus
 , CpcBid
 , CpcBidSource
 , CpmBid
 , CpmBidSource
 , Criteria
 , CriteriaDestinationUrl
 , CriterionAttachmentLevel
 , CustomerDescriptiveName
 , ExternalCustomerId
 , FinalAppUrls
 , 

Re: performance for Google Ads shopping_performance_view

2022-02-23 Thread 'Hao Long' via Google Ads API and AdWords API Forum
Thanks Kevin,

i will split the request into 9(5 days data per request).

Thanks
Hao

On Wednesday, February 23, 2022 at 10:09:40 PM UTC+8 Hao Long wrote:

> yes we have retry logic in our program(once failed it will retry after 
> 10mins) but still get the same failed result.
> i just confused we could one time download 45 days data but could not 
> achieve this in new Google Ads API.
>
> On Monday, February 21, 2022 at 5:37:14 PM UTC+8 adsapi wrote:
>
>> Hi Hao Long,
>>
>>  
>>
>> I suggest you implement exponential backoff pattern 
>> 
>>  in 
>> your retry logic, if you haven't already tried this yet. Also, I suggest to 
>> split the report into smaller date ranges in order to improve the 
>> performance of the API. You can do some post-processing on your end to 
>> merge the reports into a single one once you have all the data you need.
>>
>>  
>>
>> If you are still consistently encountering issues after following my 
>> suggestions, please provide the complete request 
>> 
>>  and response 
>> 
>>  logs 
>> with request ID 
>> 
>>  so 
>> we can further investigate. You may send the requested information via 
>> *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] 
>> Kevin Gil 
>> Google Ads API Team 
>>   
>>
>> ref:_00D1U1174p._5004Q2WxQjP: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/0c4980b9-f7a6-4809-b996-0cbf1cb5c345n%40googlegroups.com.


Re: performance for Google Ads shopping_performance_view

2022-02-23 Thread 'Hao Long' via Google Ads API and AdWords API Forum
yes we have retry logic in our program(once failed it will retry after 
10mins) but still get the same failed result.
i just confused we could one time download 45 days data but could not 
achieve this in new Google Ads API.

On Monday, February 21, 2022 at 5:37:14 PM UTC+8 adsapi wrote:

> Hi Hao Long,
>
>  
>
> I suggest you implement exponential backoff pattern 
> 
>  in 
> your retry logic, if you haven't already tried this yet. Also, I suggest to 
> split the report into smaller date ranges in order to improve the 
> performance of the API. You can do some post-processing on your end to 
> merge the reports into a single one once you have all the data you need.
>
>  
>
> If you are still consistently encountering issues after following my 
> suggestions, please provide the complete request 
> 
>  and response 
> 
>  logs 
> with request ID 
> 
>  so 
> we can further investigate. You may send the requested information via *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] 
> Kevin Gil 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2WxQjP: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/924ef647-c441-4395-8f35-97d23ca5fdf5n%40googlegroups.com.


performance for Google Ads shopping_performance_view

2022-02-19 Thread 'Hao Long' via Google Ads API and AdWords API Forum
Hi Team,


we are facing performance issue when download data from shopping 
performance view. the case is we are downloading latest 45 days data from 
shopping performance report from Google Adwords API account by account, but 
it failed when we migrate to Google Ads API. could you please help identify 
the root cause?


Exception Message:
[2022-02-18 19:53:33,134] {bash.py:173} INFO - MethodName: 
google.ads.googleads.v9.services.GoogleAdsService/SearchStream
[2022-02-18 19:53:33,134] {bash.py:173} INFO - Endpoint: 
googleads.googleapis.com:443
[2022-02-18 19:53:33,134] {bash.py:173} INFO - Headers: 
{developer-token=REDACTED, login-customer-id=5749847778, 
x-goog-api-client=gl-java/1.8.0_275 gccl/0.0.0 gapic/ gax/2.6.1 grpc/}
[2022-02-18 19:53:33,134] {bash.py:173} INFO - Body: customer_id: 
"7740555995"
[2022-02-18 19:53:33,134] {bash.py:173} INFO - query: "select 
segments.date,segments.product_item_id,ad_group.id,campaign.id,segments.product_merchant_id,segments.product_custom_attribute0,segments.product_custom_attribute1,segments.product_custom_attribute2,segments.product_custom_attribute3,segments.product_custom_attribute4,segments.device,metrics.conversions_value
 
from shopping_performance_view  where segments.date between \"2021-12-28\" 
and \"2022-02-11\" and metrics.impressions > 0"
[2022-02-18 19:53:33,134] {bash.py:173} INFO - 
[2022-02-18 19:53:33,134] {bash.py:173} INFO - 
[2022-02-18 19:53:33,134] {bash.py:173} INFO - Response
[2022-02-18 19:53:33,134] {bash.py:173} INFO - 
[2022-02-18 19:53:33,134] {bash.py:173} INFO - Headers: null
[2022-02-18 19:53:33,134] {bash.py:173} INFO - Body: null
[2022-02-18 19:53:33,134] {bash.py:173} INFO - Failure message: null
[2022-02-18 19:53:33,134] {bash.py:173} INFO - Status: 
Status{code=DEADLINE_EXCEEDED, description=deadline exceeded after 
3599.997897730s. [closed=[], open=[[buffered_nanos=207933631, 
buffered_nanos=166584391, remote_addr=*]]], cause=null}.
[2022-02-18 19:53:33,134] {bash.py:173} INFO - 19:53:33.118 
[pool-9-thread-3] ERROR c.e.m.d.c.g.s.GoogleAdsAPIReportDownloadHelper - 
Donwload got exception: com.google.api.gax.rpc.DeadlineExceededException: 
io.grpc.StatusRuntimeException: DEADLINE_EXCEEDED: deadline exceeded after 
3599.997897730s. [closed=[], open=[[buffered_nanos=207933631, 
buffered_nanos=166584391, remote_addr=*]]]
[2022-02-18 19:53:33,134] {bash.py:173} INFO - 
com.google.api.gax.rpc.DeadlineExceededException: 
io.grpc.StatusRuntimeException: DEADLINE_EXCEEDED: deadline exceeded after 
3599.997897730s. [closed=[], open=[[buffered_nanos=207933631, 
buffered_nanos=166584391, remote_addr=*]]]
[2022-02-18 19:53:33,134] {bash.py:173} INFO -  at 
com.google.api.gax.rpc.ApiExceptionFactory.createException(ApiExceptionFactory.java:51)
[2022-02-18 19:53:33,135] {bash.py:173} INFO -  at 
com.google.api.gax.grpc.GrpcApiExceptionFactory.create(GrpcApiExceptionFactory.java:72)
[2022-02-18 19:53:33,135] {bash.py:173} INFO -  at 
com.google.api.gax.grpc.GrpcApiExceptionFactory.create(GrpcApiExceptionFactory.java:60)
[2022-02-18 19:53:33,135] {bash.py:173} INFO -  at 
com.google.api.gax.grpc.ExceptionResponseObserver.onErrorImpl(ExceptionResponseObserver.java:82)
[2022-02-18 19:53:33,135] {bash.py:173} INFO -  at 
com.google.api.gax.rpc.StateCheckingResponseObserver.onError(StateCheckingResponseObserver.java:86)
[2022-02-18 19:53:33,135] {bash.py:173} INFO -  at 
com.google.api.gax.grpc.GrpcDirectStreamController$ResponseObserverAdapter.onClose(GrpcDirectStreamController.java:149)
[2022-02-18 19:53:33,135] {bash.py:173} INFO -  at 
io.grpc.PartialForwardingClientCallListener.onClose(PartialForwardingClientCallListener.java:39)
[2022-02-18 19:53:33,135] {bash.py:173} INFO -  at 
io.grpc.ForwardingClientCallListener.onClose(ForwardingClientCallListener.java:23)
[2022-02-18 19:53:33,135] {bash.py:173} INFO -  at 
io.grpc.ForwardingClientCallListener$SimpleForwardingClientCallListener.onClose(ForwardingClientCallListener.java:40)
[2022-02-18 19:53:33,135] {bash.py:173} INFO -  at 
com.google.ads.googleads.lib.logging.LoggingInterceptor$1$1.onClose(LoggingInterceptor.java:113)
[2022-02-18 19:53:33,135] {bash.py:173} INFO -  at 
io.grpc.internal.DelayedClientCall$DelayedListener$3.run(DelayedClientCall.java:463)
[2022-02-18 19:53:33,135] {bash.py:173} INFO -  at 
io.grpc.internal.DelayedClientCall$DelayedListener.delayOrExecute(DelayedClientCall.java:427)
[2022-02-18 19:53:33,135] {bash.py:173} INFO -  at 
io.grpc.internal.DelayedClientCall$DelayedListener.onClose(DelayedClientCall.java:460)
[2022-02-18 19:53:33,135] {bash.py:173} INFO -  at 
io.grpc.internal.ClientCallImpl.closeObserver(ClientCallImpl.java:557)
[2022-02-18 19:53:33,135] {bash.py:173} INFO -  at 
io.grpc.internal.ClientCallImpl.access$300(ClientCallImpl.java:69)
[2022-02-18 19:53:33,135] {bash.py:173} INFO -  at 
io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInternal(ClientCallImpl.java:738)
[2022-02-18 

customer_extension_setting permission issue

2022-02-15 Thread 'Hao Long' via Google Ads API and AdWords API Forum
Hi Team,

we have below migrated query for Google Ads API;
SELECT customer_extension_setting.extension_feed_items, 
customer_extension_setting.extension_type, customer.id FROM 
customer_extension_setting

and we get some permission issue when user this query to access Google Ads 
API, but we do not have any permission issue when use our authorization to 
access other Google Ads API resources.logs attached as below would you 
please help check?

2022-02-14 23:56:50,416] {bash.py:173} INFO - Request
[2022-02-14 23:56:50,416] {bash.py:173} INFO - ---
[2022-02-14 23:56:50,416] {bash.py:173} INFO - MethodName: 
google.ads.googleads.v9.services.GoogleAdsService/SearchStream
[2022-02-14 23:56:50,416] {bash.py:173} INFO - Endpoint: 
googleads.googleapis.com:443
[2022-02-14 23:56:50,416] {bash.py:173} INFO - Headers: 
{developer-token=REDACTED, login-customer-id=5749847778, 
x-goog-api-client=gl-java/1.8.0_275 gccl/0.0.0 gapic/ gax/2.6.1 grpc/}
[2022-02-14 23:56:50,416] {bash.py:173} INFO - Body: customer_id: 
"1251068172"
[2022-02-14 23:56:50,416] {bash.py:173} INFO - query: "SELECT 
customer_extension_setting.extension_feed_items, 
customer_extension_setting.extension_type, customer.id FROM 
customer_extension_setting "
[2022-02-14 23:56:50,416] {bash.py:173} INFO - 
[2022-02-14 23:56:50,416] {bash.py:173} INFO - 
[2022-02-14 23:56:50,416] {bash.py:173} INFO - Response
[2022-02-14 23:56:50,416] {bash.py:173} INFO - 
[2022-02-14 23:56:50,417] {bash.py:173} INFO - Headers: 
Metadata(content-type=application/grpc,request-id=4sXMjb6k7WJsmzrHrj5ZiQ,date=Tue,
 
15 Feb 2022 06:56:50 GMT,alt-svc=h3=":443"; ma=2592000,h3-29=":443"; 
ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; 
ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43")
[2022-02-14 23:56:50,417] {bash.py:173} INFO - Body: null
[2022-02-14 23:56:50,417] {bash.py:173} INFO - Failure message: errors {
[2022-02-14 23:56:50,417] {bash.py:173} INFO -   error_code {
[2022-02-14 23:56:50,417] {bash.py:173} INFO - authorization_error: 
CUSTOMER_NOT_ENABLED
[2022-02-14 23:56:50,417] {bash.py:173} INFO -   }
[2022-02-14 23:56:50,417] {bash.py:173} INFO -   message: "The customer 
can\'t be used because it isn\'t enabled."
[2022-02-14 23:56:50,417] {bash.py:173} INFO - }
[2022-02-14 23:56:50,417] {bash.py:173} INFO - request_id: 
"4sXMjb6k7WJsmzrHrj5ZiQ"
[2022-02-14 23:56:50,417] {bash.py:173} INFO - 
[2022-02-14 23:56:50,417] {bash.py:173} INFO - Status: 
Status{code=PERMISSION_DENIED, description=The caller does not have 
permission, cause=null}.
[2022-02-14 23:56:50,417] {bash.py:173} INFO - 23:56:50.415 
[pool-9-thread-5] ERROR c.e.m.data.common.utility.SafeRetry$ - errors {
[2022-02-14 23:56:50,417] {bash.py:173} INFO -   error_code {
[2022-02-14 23:56:50,417] {bash.py:173} INFO - authorization_error: 
CUSTOMER_NOT_ENABLED
[2022-02-14 23:56:50,417] {bash.py:173} INFO -   }
[2022-02-14 23:56:50,417] {bash.py:173} INFO -   message: "The customer 
can\'t be used because it isn\'t enabled."
[2022-02-14 23:56:50,417] {bash.py:173} INFO - }
[2022-02-14 23:56:50,417] {bash.py:173} INFO - request_id: 
"4sXMjb6k7WJsmzrHrj5ZiQ"
[2022-02-14 23:56:50,417] {bash.py:173} INFO - 
[2022-02-14 23:56:50,417] {bash.py:173} INFO - 
com.google.ads.googleads.v9.errors.GoogleAdsException: errors {
[2022-02-14 23:56:50,417] {bash.py:173} INFO -   error_code {
[2022-02-14 23:56:50,417] {bash.py:173} INFO - authorization_error: 
CUSTOMER_NOT_ENABLED
[2022-02-14 23:56:50,418] {bash.py:173} INFO -   }
[2022-02-14 23:56:50,418] {bash.py:173} INFO -   message: "The customer 
can\'t be used because it isn\'t enabled."
[2022-02-14 23:56:50,418] {bash.py:173} INFO - }
[2022-02-14 23:56:50,418] {bash.py:173} INFO - request_id: 
"4sXMjb6k7WJsmzrHrj5ZiQ"
[2022-02-14 23:56:50,418] {bash.py:173} INFO - 
[2022-02-14 23:56:50,418] {bash.py:173} INFO -  at 
com.google.ads.googleads.v9.errors.GoogleAdsException$Factory.createException(GoogleAdsException.java:42)
 
~[costdownload-1.0-SNAPSHOT-20220214220144.jar:na]
[2022-02-14 23:56:50,418] {bash.py:173} INFO -  at 
com.google.ads.googleads.v9.errors.GoogleAdsException$Factory.createException(GoogleAdsException.java:34)
 
~[costdownload-1.0-SNAPSHOT-20220214220144.jar:na]
[2022-02-14 23:56:50,418] {bash.py:173} INFO -  at 
com.google.ads.googleads.lib.BaseGoogleAdsException$Factory.createGoogleAdsException(BaseGoogleAdsException.java:105)
 
~[costdownload-1.0-SNAPSHOT-20220214220144.jar:na]
[2022-02-14 23:56:50,418] {bash.py:173} INFO -  at 
com.google.ads.googleads.lib.callables.GoogleAdsExceptionTransformation.transform(GoogleAdsExceptionTransformation.java:36)
 
~[costdownload-1.0-SNAPSHOT-20220214220144.jar:na]
[2022-02-14 23:56:50,418] {bash.py:173} INFO -  at 
com.google.ads.googleads.lib.callables.ExceptionTransformingServerStreamingCallable$ExceptionTransformingStreamObserver.onError(ExceptionTransformingServerStreamingCallable.java:71)
 
~[costdownload-1.0-SNAPSHOT-20220214220144.jar:na]

shopping_performance_view migration

2022-02-14 Thread 'Hao Long' via Google Ads API and AdWords API Forum
HI Team,

We have shopping performance report migrate from Google Adwrods API to Ads 
API and  we encounter DEADLINE_EXCEED exception for some accounts.

When we download from Google Adwords API, it could be download successful( 
download latest 40D performance data on daily batch.). but can not download 
successful when cutover to Google Ads API even reduce the time window from 
40D to only one day data. could you please help provide some advices?

Accounts have DEADLINE_EXCEED exception: 1961796180, 9210689985, 7740555995

Query attached as below:
select 
segments.date,segments.product_item_id,ad_group.id,campaign.id,segments.product_merchant_id,segments.product_custom_attribute0,segments.product_custom_attribute1,segments.product_custom_attribute2,segments.product_custom_attribute3,segments.product_custom_attribute4,segments.device,metrics.conversions_value
 
from shopping_performance_view where segments.date between "2021-12-22" and 
"2022-02-05" and metrics.impressions > 0 and metrics.conversions_value > 0 
and segments.device in ('MOBILE', 'DESKTOP', 'TABLET')

Exception message:
[2022-02-10 03:53:43,363] {bash.py:173} INFO - Body: customer_id: 
"1961796180" [2022-02-10 03:53:43,363] {bash.py:173} INFO - query: "select 
segments.date,segments.product_item_id,ad_group.id,campaign.id,segments.product_merchant_id,segments.product_custom_attribute0,segments.product_custom_attribute1,segments.product_custom_attribute2,segments.product_custom_attribute3,segments.product_custom_attribute4,segments.device,metrics.conversions_value
 
from shopping_performance_view where segments.date between \"2021-12-22\" 
and \"2022-02-05\" and metrics.impressions > 0 and 
metrics.conversions_value > 0 and segments.device in (\'MOBILE\', 
\'DESKTOP\', \'TABLET\') " [2022-02-10 03:53:43,363] {bash.py:173} INFO - 
[2022-02-10 03:53:43,363] {bash.py:173} INFO - [2022-02-10 03:53:43,363] 
{bash.py:173} INFO - Response [2022-02-10 03:53:43,363] {bash.py:173} INFO 
-  [2022-02-10 03:53:43,363] {bash.py:173} INFO - Headers: null 
[2022-02-10 03:53:43,363] {bash.py:173} INFO - Body: null [2022-02-10 
03:53:43,363] {bash.py:173} INFO - Failure message: null [2022-02-10 
03:53:43,363] {bash.py:173} INFO - Status: Status{code=DEADLINE_EXCEEDED, 
description=deadline exceeded after 3599.802393928s. [closed=[], 
open=[[buffered_nanos=1213505111, buffered_nanos=201484164, 
remote_addr=fontusproxy-tcop.vip.ebay.com/10.20.172.78:80]]], cause=null}. 
[2022-02-10 03:53:43,364] {bash.py:173} INFO - 03:53:43.364 
[pool-9-thread-2] ERROR c.e.m.d.c.g.s.GoogleAdsAPIReportDownloadHelper - 
Donwload got exception: com.google.api.gax.rpc.DeadlineExceededException: 
io.grpc.StatusRuntimeException: DEADLINE_EXCEEDED: deadline exceeded after 
3599.802393928s. [closed=[], open=[[buffered_nanos=1213505111, 
buffered_nanos=201484164, 
remote_addr=fontusproxy-tcop.vip.ebay.com/10.20.172.78:80]]] [2022-02-10 
03:53:43,365] {bash.py:173} INFO - 
com.google.api.gax.rpc.DeadlineExceededException: 
io.grpc.StatusRuntimeException: DEADLINE_EXCEEDED: deadline exceeded after 
3599.802393928s. [closed=[], open=[[buffered_nanos=1213505111, 
buffered_nanos=201484164, 
remote_addr=fontusproxy-tcop.vip.ebay.com/10.20.172.78:80]]] [2022-02-10 
03:53:43,365] {bash.py:173} INFO - at 
com.google.api.gax.rpc.ApiExceptionFactory.createException(ApiExceptionFactory.java:51)
 
[2022-02-10 03:53:43,365] {bash.py:173} INFO - at 
com.google.api.gax.grpc.GrpcApiExceptionFactory.create(GrpcApiExceptionFactory.java:72)
 
[2022-02-10 03:53:43,365] {bash.py:173} INFO - at 
com.google.api.gax.grpc.GrpcApiExceptionFactory.create(GrpcApiExceptionFactory.java:60)
 
[2022-02-10 03:53:43,365] {bash.py:173} INFO - at 
com.google.api.gax.grpc.ExceptionResponseObserver.onErrorImpl(ExceptionResponseObserver.java:82)
 
[2022-02-10 03:53:43,365] {bash.py:173} INFO - at 
com.google.api.gax.rpc.StateCheckingResponseObserver.onError(StateCheckingResponseObserver.java:86)
 
[2022-02-10 03:53:43,365] {bash.py:173} INFO - at 
com.google.api.gax.grpc.GrpcDirectStreamController$ResponseObserverAdapter.onClose(GrpcDirectStreamController.java:149)
 
[2022-02-10 03:53:43,365] {bash.py:173} INFO - at 
io.grpc.PartialForwardingClientCallListener.onClose(PartialForwardingClientCallListener.java:39)
 
[2022-02-10 03:53:43,365] {bash.py:173} INFO - at 
io.grpc.ForwardingClientCallListener.onClose(ForwardingClientCallListener.java:23)
 
[2022-02-10 03:53:43,365] {bash.py:173} INFO - at 
io.grpc.ForwardingClientCallListener$SimpleForwardingClientCallListener.onClose(ForwardingClientCallListener.java:40)
 
[2022-02-10 03:53:43,365] {bash.py:173} INFO - at 
com.google.ads.googleads.lib.logging.LoggingInterceptor$1$1.onClose(LoggingInterceptor.java:113)
 
[2022-02-10 03:53:43,365] {bash.py:173} INFO - at 
io.grpc.internal.DelayedClientCall$DelayedListener$3.run(DelayedClientCall.java:463)
 
[2022-02-10 03:53:43,365] {bash.py:173} INFO - at 

Re: Ad Performance Report

2022-02-06 Thread 'Hao Long' via Google Ads API and AdWords API Forum
Thanks!

we found some useful information: The Google Ads API have 0 impression 
filter auto applied for each performance data, could you please help 
confirm?

if yes then should be this case led the gap between Google Adwords and Ads 
API. Cause we have ads structure data requirement, we need all the ads list 
even 0 impression, could you please help guide how to remove this auto 
applied filter?

btw we still confused the Google Adwords API return the same number on our 
daily batch download program:
Google Adword API: 

2022-01-18: 12328016
2022-01-19: 12328016
2022-01-20: 12328016

Thanks
Hao

On Saturday, January 29, 2022 at 1:50:02 AM UTC+8 adsapi wrote:

> Hello Hao,
>
> Thanks for getting back. For us to investigate, we will need a full log 
> of request 
> 
>  
> and response 
> 
>  
> logs with request ID 
> 
>  
> and request header 
> 
>  generated 
> on your end of API communications of the report pull.
>
> The request and response appears similar to the JSON Mappings in our REST 
> documentation 
> .
>  
> Our client libraries have loggers with logging instructions, to see these 
> instructions you can click on the client library you use in the sidebar of 
> our client library guide 
>  and 
> click on "Logging". Setting the logger to 'DEBUG' will get the desired log.
>
> Please send the requested details via the Reply privately to the 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] 
> Jakeia Sabrina 
> Google Ads API Team  
>
>
> ref:_00D1U1174p._5004Q2VPdQ4: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/ec9c0e44-618f-4d52-85da-5e3d24fdf5e4n%40googlegroups.com.


Re: Audience Performance Report

2022-02-06 Thread 'Hao Long' via Google Ads API and AdWords API Forum

Thanks Baker,

According by the AWQL attached below in Adword API I have a thought: the 
data we requested in Adwords API are all on ad group level(cause campaign 
and ad group field included in returned fields) and we could also summary 
the data on campaign level.

Performance data feed:
select
Date,
AccountCurrencyCode,
Id,
CampaignId,
CampaignName,
Device,
Impressions,
Clicks,
Cost,
UserListName,
BidModifier,
AdGroupId
FROM AUDIENCE_PERFORMANCE_REPORT
DURING LAST_7_DAYS

Structure data feed:
select
, Date
, AccountCurrencyCode
, AccountDescriptiveName
, AccountTimeZone
, AdGroupId
, BaseAdGroupId
, BaseCampaignId
, BiddingStrategyId
, BiddingStrategyName
, BiddingStrategyType
, BidModifier
, CampaignId
, CampaignName
, CampaignStatus
, CpcBid
, CpcBidSource
, CpmBid
, CpmBidSource
, Criteria
, CriteriaDestinationUrl
, CriterionAttachmentLevel
, CustomerDescriptiveName
, ExternalCustomerId
, FinalAppUrls
, FinalMobileUrls
, FinalUrls
, Id
, IsRestrict
, Status
, TrackingUrlTemplate
, UrlCustomParameters
, UserListName
FROM AUDIENCE_PERFORMANCE_REPORT
DURING LAST_7_DAYS

could you please help on below two questions?
1. could you please help confirm my thought? 
2. for UserListName need you help guide how to fetch in Ads API, detail 
please refer below detail:

Migration Query : 
SELECT segments.date, customer.currency_code, campaign.id, campaign.name, 
segments.device, metrics.impressions, metrics.clicks, metrics.cost_micros, 
user_list.name, ad_group.id, ad_group_criterion.criterion_id, 
ad_group_criterion.bid_modifier FROM ad_group_audience_view WHERE 
segments.date DURING LAST_7_DAYS

Query Valid Tool Exception Message:

Fix your query to address the errors below and re-submit.

   - 'user_list.name' is incompatible with 'segments.device'.
   - 'user_list.name' is incompatible with 'metrics.impressions'.
   - 'user_list.name' is incompatible with 'metrics.clicks'.
   - 'user_list.name' is incompatible with 'metrics.cost_micros'.



Thanks
Hao
On Saturday, January 29, 2022 at 2:07:13 AM UTC+8 adsapi wrote:

> Hi Hao,
>
> We do not have guidance on combining reports and there are breaking 
> changes from AdWords to the new API that affect the availability of the 
> exact report style you are used to. The Ads API is built to mirror the new 
> UI as much as possible. To assist you we will need a concrete example.
>
> Could you provide us privately with logs of request and response to the 
> API's with request ID 
> 
>  of 
> the reports under consideration, combined with a full screen screenshot of 
> a UI report screen you are attempting to replicate so that we can see the 
> numbers that you are seeing and attempt to assist you? 
>
> In the Ads API , 
> the request and response appears similar to the JSON Mappings in our REST 
> documentation 
> .
>  
> Our client libraries have loggers with logging instructions, to see these 
> instructions you can click on the client library you use in the sidebar of 
> our client library guide 
>  and 
> click on "Logging".
>
> In the AdWords API 
>  , then a 
> request looks like the 3rd section in request 
> 
>  and 
> a response looks similar to response 
> .
>  
> Logging instructions are in the read.me on Github of each client library 
> .
>
> The requested log can be generated when the log level is set to 'DEBUG'.
>
> Your first report appears to be a structure report and we do recommend 
> using  ad_group_criterion 
> 
>  and campaign_criterion 
>  
> for 
> structure reports. 
>
> Regards,
>
> [image: Google Logo] 
> Aryeh Baker 
> Google Ads API Team 
>   
>
>
>  
>
> ref:_00D1U1174p._5004Q2VPd3f: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.

Re: Keyword performance Report

2022-02-06 Thread 'Hao Long' via Google Ads API and AdWords API Forum
Thanks i will have a try, to make sure align with Google Adwords API return 
could you please advice how to including 0 impression keywords records in 
Ads API?

Thanks
Hao

On Saturday, January 29, 2022 at 4:23:23 AM UTC+8 adsapi wrote:

> Hi Hao,
>
> Checking the UI, I see that there are ~100,000 keywords in the campaign, 
> but just under 2,000 received an impression in the given date range. The 
> Ads API excludes zero impressions by default when a report is segmented 
> .
>  
> This could explain why you are seeing fewer results in the Ads API report. 
>
> Please ensure that you are excluding zero impressions in both APIs. If 
> this is not the source of the issue, please provide us with the results 
> from the reports, including the complete report definition.
>
>
> Thanks,
> Matt
> Google Ads API Team
>
> [image: Google Logo] 
> Matt 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2VPepU: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/69ffcd7d-431a-487c-97cb-1d73e465412bn%40googlegroups.com.


Re: GEO_PERFORMANCE_REPORT migration

2022-02-06 Thread 'Hao Long' via Google Ads API and AdWords API Forum
Thanks Jakeia,

I could got the same information as you provide in previous mail. 

My question is i could get below fields in Google Adwords API 
GEO_PERFORMANCE_REPORT 
and we need migrate to use Google Ads API before this Apr. according the 
mapping relationship we could found there have two resources we need access 
if we want download the same data as Google Adwords API 
GEO_PERFORMANCE_REPORT returned.

AccountCurrencyCode
AdGroupId
CampaignId
CampaignName
CityCriteriaId
Clicks
Cost
CountryCriteriaId
Date
Device
Impressions
IsTargetingLocation
LocationType
MetroCriteriaId
MostSpecificCriteriaId
RegionCriteriaId  

Questions:
1. what the relationship for these two resources(geographic_view 
 
and user_location_view 

 
reports) in Google Ads API?
2. i draft below queries for geographic_view and user_location_view, two 
feeds will be returned. how to merge these two feeds into one(union or 
join) data feed as original Adwords ?


SELECT 
customer.currency_code, 
ad_group.id, 
campaign.id, 
campaign.name, 
segments.geo_target_city, 
metrics.clicks, 
metrics.cost_micros, 
metrics.impressions, 
geographic_view.country_criterion_id, 
segments.date, 
segments.device, 
geographic_view.location_type, 
segments.geo_target_metro, 
segments.geo_target_most_specific_location, 
segments.geo_target_region 
FROM geographic_view
WHERE segments.date DURING LAST_30_DAYS

SELECT 
customer.currency_code, 
ad_group.id, 
campaign.id, 
campaign.name, 
segments.geo_target_city, 
metrics.clicks, 
metrics.cost_micros, 
metrics.impressions ,
user_location_view.country_criterion_id, 
segments.date, 
segments.device, 
user_location_view.targeting_location,
segments.geo_target_metro, 
segments.geo_target_most_specific_location, 
segments.geo_target_region
FROM user_location_view
WHERE segments.date DURING LAST_30_DAYS





On Saturday, January 29, 2022 at 5:56:33 AM UTC+8 adsapi wrote:

> Hello,
>
> Thanks for reaching out to the Google Ads API Forum. The resource name has 
> been changed to the following mapping 
>  
> from the AdWords API reports to the corresponding Google Ads API 
> resources.The 
> GEO_PERFORMANCE_REPORT details you can find in the Google Ads API from the 
> geographic_view 
> 
>  
> and user_location_view 
> 
>  
> reports. Both reports have the same segments and metrics fields. 
>
> Please share your full AWQL query or those specific fields you are 
> referring to? To get further clarity to investigate further, please share 
> a full screen screenshot of the UI to indicate which activities you are 
> referring to API. Hope this helps. Let us know if you have any further 
> questions.
>
> Best regards,
> [image: Google Logo] 
> Jakeia Sabrina 
> Google Ads API Team  
>
>
> ref:_00D1U1174p._5004Q2VQTBd: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/7219b5ac-f033-4681-bcb9-f625b319f804n%40googlegroups.com.


GEO_PERFORMANCE_REPORT migration

2022-01-28 Thread 'Hao Long' via Google Ads API and AdWords API Forum
Hi Team,

we are migrate GEO_PERFORMANCE_REPORT from Google Adwords API to Ads API 
and found there have two resources(geographic_view,user_location_view) 
mapped in Google Ads API.

in Google Adwords API we download below fields :
Date
AccountCurrencyCode
CampaignId
CampaignName
CityCriteriaId
CountryCriteriaId
IsTargetingLocation
MetroCriteriaId
MostSpecificCriteriaId
RegionCriteriaId
AdGroupId
Device
LocationType
Clicks
Cost
Impressions

to migrate to Google Ads API we need split into two queries, could you 
please help below questions:
1. could you please help advice the two queries if i want to get the same 
fields as adwords?
2. how to merge two returned data set into one?


Thanks
Hao

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/357b542e-7eee-4f16-9f1e-dc37762080f3n%40googlegroups.com.


Extension Setting Migration

2022-01-28 Thread 'Hao Long' via Google Ads API and AdWords API Forum
Hi Team,

we have extension 
setting(https://developers.google.com/adwords/api/docs/guides/extension-settings)
 
service depend on Google Adwords API need migrate to Google Ads API.

and we get below fields from Google Adwords API:
customerId
campaignId
extensionType
feedItem

but we found below wiki in Google Ads API:
https://developers.google.com/google-ads/api/docs/extensions/extension-settings/overview?hl=en
as wiki showed it means we need call below three services and use 
get***ExtensionSetting?

   - CustomerExtensionSettingService 
   

   - CampaignExtensionSettingService 
   

   - AdGroupExtensionSettingService 
   


let's take campaign as example, could you please help share how to get all 
campaign extension setting info under a customer or i need get the campaign 
list under customer first them loop the campaign list to get campaign 
extension settings?


Thanks
Hao

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/7b48ba86-1daa-4b19-9d4a-ad527c8ca4a8n%40googlegroups.com.


Re: Ad Performance Report

2022-01-28 Thread 'Hao Long' via Google Ads API and AdWords API Forum

The full log have some sensitive info, i list download one account data as 
example:

[2022-01-28 04:25:05,673] {bash.py:173} INFO - 04:25:05.673 
[grpc-default-executor-0] INFO c.g.a.googleads.lib.request.summary - 
SUCCESS REQUEST SUMMARY. Method: 
google.ads.googleads.v9.services.GoogleAdsService/SearchStream, Endpoint: 
googleads.googleapis.com:443, CustomerID: 7462172884, RequestID: 
kKO2hWxD7kCjj8yL-La7jg, ResponseCode: OK, Fault: null.

we could download 7462172884 account data from google adwords API but no 
data returned for Google Ads API. 

btw, i want to know the reason why it return the same volume of data for  
Google Adword API when we download on daily batch?
On Thursday, January 27, 2022 at 2:23:50 AM UTC+8 adsapi wrote:

> Hello Hao,
>
> Thanks for reaching out to the Google Ads API support. For us to 
> investigate, we will need a full log of request 
> 
>  
> and response 
> 
>  
> logs with request ID 
> 
>  
> and request header 
> 
>  
> generated on your end of API communications of the report pull. 
> The request and response appears similar to the JSON Mappings in our REST 
> documentation 
> .
>  
> Our client libraries have loggers with logging instructions, to see these 
> instructions you can click on the client library you use in the sidebar of 
> our client library guide 
>  and 
> click on "Logging". Setting the logger to 'DEBUG' will get the desired log. 
> Kindly use the  Reply privately to the author option while sharing the 
> details.
>
> Please note that zero impressions are always excluded when segmenting a 
> report, provided all selected metrics are zero, please refer to this link 
> 
> .
>
> Best regards,
> [image: Google Logo] 
> Jakeia Sabrina 
> Google Ads API Team  
>
> ref:_00D1U1174p._5004Q2VPdQ4: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/4d06d207-2668-43a1-bf05-e0c7b4de715fn%40googlegroups.com.


Re: Keyword performance Report

2022-01-28 Thread 'Hao Long' via Google Ads API and AdWords API Forum
 
we setcustomerid as 7390598815 when build google ads service and execute 
query as attached in previous mail i sent. compare with Adwords API there 
have huge data volume gap. data from Google Ads API missing lot of data, 
such as the ads data under below campaign:

account: UK_Vertical_Parts_and_Accessories_Exact_1(7390598815)
campaign: TextAds_UK_MatchType_Vertical-9300600-EXACT-Parts & 
Accessories-Auto - Parts-1766ec53-5fd8-47e8-b4dc-aafb425b5aa5

could you please help on this data issue?

On Friday, January 28, 2022 at 12:02:38 AM UTC+8 adsapi wrote:

> Hi Hao,
>
> Thanks for providing the queries. Can you please provide the results for 
> each report as well?
>
> Can you also please verify if the Ads API reporting results match your UI?
>
>
> Thanks,
> Matt
> Google Ads API Team
>
> [image: Google Logo] 
> Matt 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2VPepU: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/36684e0f-0739-42a7-b8c9-5e4f791ed044n%40googlegroups.com.


Re: Audience Performance Report

2022-01-28 Thread 'Hao Long' via Google Ads API and AdWords API Forum
yes i know, as mentioned in previous mail we have two feeds downloan from 
Google need migrate from Google Adwords Api to Ads API and according by 
migration guide the  Audience Performance report in Adwords will mapping to 
two resources (campaign_audience_view and ad_group_audience_view). we need 
you help guide how to split below two adwrods download feeds to Google Ads 
query and how to merge the returned two dataset into one file as adwords.

1. get below fields from google adwords api AUDIENCE_PERFORMANCE_REPORT on 
daily batch

Date
AccountCurrencyCode
AccountDescriptiveName
AccountTimeZone
AdGroupId
BaseAdGroupId
BaseCampaignId
BiddingStrategyId
BiddingStrategyName
BiddingStrategyType
BidModifier
CampaignId
CampaignName
CampaignStatus
CpcBid
CpcBidSource
CpmBid
CpmBidSource
Criteria
CriteriaDestinationUrl
CriterionAttachmentLevel
CustomerDescriptiveName
ExternalCustomerId
FinalAppUrls
FinalMobileUrls
FinalUrls
Id
IsRestrict
Status
TrackingUrlTemplate
UrlCustomParameters
UserListName

2. get below fields from google adwords api AUDIENCE_PERFORMANCE_REPORT on 
daily batch
Date
AccountCurrencyCode
Id
CampaignId
CampaignName
Device
Impressions
Clicks
Cost
UserListName
BidModifier
AdGroupId

On Friday, January 28, 2022 at 1:08:27 AM UTC+8 adsapi wrote:

> Hello,
>
> Thank you for reaching out to the Google Ads API support team.
>
> You can use ad_group_criterion 
> 
>  and campaign_criterion 
> . 
> Regarding 
> migrating API from AdWords API to Google Ads API, you can check migration 
> guide . Let 
> me know if you have any question.
>
> Thanks,
> [image: Google Logo] 
> Nirmita Patel 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2VPd3f: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/ffdbbca3-5aa5-4508-a317-a44531ff8ecfn%40googlegroups.com.


Re: Keyword performance Report

2022-01-27 Thread 'Hao Long' via Google Ads API and AdWords API Forum
Thanks Matt,

Below list the info you mentioned in previous conversation:

Google Adwords API: KEYWORDS_PERFORMANCE_REPORT
Fields list:
Date
AdGroupId
CampaignId
Id
Interactions
InteractionRate
SearchAbsoluteTopImpressionShare
SearchBudgetLostAbsoluteTopImpressionShare
SearchBudgetLostTopImpressionShare
SearchExactMatchImpressionShare
SearchImpressionShare
SearchRankLostAbsoluteTopImpressionShare
SearchRankLostImpressionShare
SearchRankLostTopImpressionShare
SearchTopImpressionShare
HistoricalQualityScore
HistoricalSearchPredictedCtr
HistoricalLandingPageQualityScore
HistoricalCreativeQualityScore

Migrated Google Ads query:
select segments.date, ad_group.id, campaign.id, 
ad_group_criterion.criterion_id, metrics.interactions, 
metrics.interaction_rate, metrics.search_absolute_top_impression_share, 
metrics.search_budget_lost_absolute_top_impression_share, 
metrics.search_budget_lost_top_impression_share, 
metrics.search_exact_match_impression_share, 
metrics.search_impression_share, 
metrics.search_rank_lost_absolute_top_impression_share, 
metrics.search_rank_lost_impression_share, 
metrics.search_rank_lost_top_impression_share, 
metrics.search_top_impression_share, metrics.historical_quality_score, 
metrics.historical_search_predicted_ctr, 
metrics.historical_landing_page_quality_score, 
metrics.historical_creative_quality_score from keyword_view where 
segments.date between '2022-01-20' and '2022-01-23' 

On Thursday, January 27, 2022 at 2:49:53 AM UTC+8 adsapi wrote:

> Hi Hao,
>
> Thanks for reaching out. Can you please provide us with more details on 
> this issue? For example, can you provide us with the queries that you are 
> using from the AdWords API and the Ads API?
>
> Thanks,
> Matt
> Google Ads API Team
>
> [image: Google Logo] 
> Matt 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2VPepU: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/d2baf1cb-8905-478d-ab31-8ed19ecf1f37n%40googlegroups.com.


Keyword performance Report

2022-01-26 Thread 'Hao Long' via Google Ads API and AdWords API Forum
Hi Team,

we are working on keyword performance report migration from adwords to 
ads(keyword_view) api. we found there have some records existing adwords 
api but not in ads api. 

exception case:

account: UK_Vertical_Parts_and_Accessories_Exact_1(7390598815)
campaign: TextAds_UK_MatchType_Vertical-9300600-EXACT-Parts & 
Accessories-Auto - Parts-1766ec53-5fd8-47e8-b4dc-aafb425b5aa5

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ac8511a7-b5df-4e5c-a5fd-281623241d08n%40googlegroups.com.


Re: Ad Performance Report

2022-01-26 Thread 'Hao Long' via Google Ads API and AdWords API Forum
btw, i want to know the reason why it return the same volume of data for  
Google Adword API?

On Wednesday, January 26, 2022 at 5:58:07 PM UTC+8 Hao Long wrote:

> Hi Team,
>
> we are facing huge row count gap for ad performance report when migrate 
> from Adwords to Ads API.
>
> the background is we query  ad performance report in adwords API to get 
> ads structure meta data and the query field list as below: 
> Date
> Id
> AccentColor
> AccountCurrencyCode
> AdGroupId
> AdGroupStatus
> AdStrengthInfo
> AdType
> AllowFlexibleColor
> Automated
> BaseAdGroupId
> BaseCampaignId
> BusinessName
> CallOnlyPhoneNumber
> CallToActionText
> CampaignId
> CampaignStatus
> CombinedApprovalStatus
> CreativeDestinationUrl
> CreativeFinalAppUrls
> CreativeFinalMobileUrls
> CreativeFinalUrls
> CreativeFinalUrlSuffix
> CreativeTrackingUrlTemplate
> CreativeUrlCustomParameters
> CustomerDescriptiveName
> DisplayUrl
> EnhancedDisplayCreativeLandscapeLogoImageMediaId
> EnhancedDisplayCreativeLogoImageMediaId
> EnhancedDisplayCreativeMarketingImageMediaId
> EnhancedDisplayCreativeMarketingImageSquareMediaId
> ExpandedDynamicSearchCreativeDescription2
> ExpandedTextAdDescription2
> ExpandedTextAdHeadlinePart3
> ExternalCustomerId
> FormatSetting
> GmailCreativeHeaderImageMediaId
> GmailCreativeLogoImageMediaId
> GmailCreativeMarketingImageMediaId
> GmailTeaserBusinessName
> GmailTeaserDescription
> GmailTeaserHeadline
> Headline
> HeadlinePart1
> HeadlinePart2
> ImageAdUrl
> ImageCreativeImageHeight
> ImageCreativeImageWidth
> ImageCreativeMimeType
> ImageCreativeName
> LabelIds
> Labels
> LongHeadline
> MainColor
> MarketingImageCallToActionText
> MarketingImageCallToActionTextColor
> MarketingImageDescription
> MarketingImageHeadline
> MultiAssetResponsiveDisplayAdAccentColor
> MultiAssetResponsiveDisplayAdAllowFlexibleColor
> MultiAssetResponsiveDisplayAdBusinessName
> MultiAssetResponsiveDisplayAdCallToActionText
> MultiAssetResponsiveDisplayAdDescriptions
> MultiAssetResponsiveDisplayAdDynamicSettingsPricePrefix
> MultiAssetResponsiveDisplayAdDynamicSettingsPromoText
> MultiAssetResponsiveDisplayAdFormatSetting
> MultiAssetResponsiveDisplayAdHeadlines
> MultiAssetResponsiveDisplayAdLandscapeLogoImages
> MultiAssetResponsiveDisplayAdLogoImages
> MultiAssetResponsiveDisplayAdLongHeadline
> MultiAssetResponsiveDisplayAdMainColor
> MultiAssetResponsiveDisplayAdMarketingImages
> MultiAssetResponsiveDisplayAdSquareMarketingImages
> MultiAssetResponsiveDisplayAdYouTubeVideos
> Path1
> Path2
> PolicySummary
> PricePrefix
> PromoText
> ResponsiveSearchAdDescriptions
> ResponsiveSearchAdHeadlines
> ResponsiveSearchAdPath1
> ResponsiveSearchAdPath2
> ShortHeadline
> Status
> SystemManagedEntitySource
> UniversalAppAdDescriptions
> UniversalAppAdHeadlines
> UniversalAppAdHtml5MediaBundles
> UniversalAppAdImages
> UniversalAppAdMandatoryAdText
> UniversalAppAdYouTubeVideos
> Description
> Description1
> Description2
>
> and we migrate to Ads API ad_group_ad resource to get the same data, but 
> we get the data have huge decrease than Adwords API, detail list as below:
>
> Google Adword API: 
>
> 2022-01-18: 12328016
> 2022-01-19: 12328016
> 2022-01-20: 12328016
>
> Google Ads API:
>
> 2022-01-18:535557
> 2022-01-19:553971
> 2022-01-20:550469
>
> missing data in Ads API sample:
>
> cal_dt,ptnr_ad_id,ptnr_adgroup_id,ptnr_cmpgn_id,customer_id
> 2022-01-18,10116117157,3028199917 <(302)%20819-9917>,65523757,7462172884
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/60abdba4-47f1-4fb2-83c5-ddea09a9857cn%40googlegroups.com.


Ad Performance Report

2022-01-26 Thread 'Hao Long' via Google Ads API and AdWords API Forum
Hi Team,

we are facing huge row count gap for ad performance report when migrate 
from Adwords to Ads API.

the background is we query  ad performance report in adwords API to get ads 
structure meta data and the query field list as below: 
Date
Id
AccentColor
AccountCurrencyCode
AdGroupId
AdGroupStatus
AdStrengthInfo
AdType
AllowFlexibleColor
Automated
BaseAdGroupId
BaseCampaignId
BusinessName
CallOnlyPhoneNumber
CallToActionText
CampaignId
CampaignStatus
CombinedApprovalStatus
CreativeDestinationUrl
CreativeFinalAppUrls
CreativeFinalMobileUrls
CreativeFinalUrls
CreativeFinalUrlSuffix
CreativeTrackingUrlTemplate
CreativeUrlCustomParameters
CustomerDescriptiveName
DisplayUrl
EnhancedDisplayCreativeLandscapeLogoImageMediaId
EnhancedDisplayCreativeLogoImageMediaId
EnhancedDisplayCreativeMarketingImageMediaId
EnhancedDisplayCreativeMarketingImageSquareMediaId
ExpandedDynamicSearchCreativeDescription2
ExpandedTextAdDescription2
ExpandedTextAdHeadlinePart3
ExternalCustomerId
FormatSetting
GmailCreativeHeaderImageMediaId
GmailCreativeLogoImageMediaId
GmailCreativeMarketingImageMediaId
GmailTeaserBusinessName
GmailTeaserDescription
GmailTeaserHeadline
Headline
HeadlinePart1
HeadlinePart2
ImageAdUrl
ImageCreativeImageHeight
ImageCreativeImageWidth
ImageCreativeMimeType
ImageCreativeName
LabelIds
Labels
LongHeadline
MainColor
MarketingImageCallToActionText
MarketingImageCallToActionTextColor
MarketingImageDescription
MarketingImageHeadline
MultiAssetResponsiveDisplayAdAccentColor
MultiAssetResponsiveDisplayAdAllowFlexibleColor
MultiAssetResponsiveDisplayAdBusinessName
MultiAssetResponsiveDisplayAdCallToActionText
MultiAssetResponsiveDisplayAdDescriptions
MultiAssetResponsiveDisplayAdDynamicSettingsPricePrefix
MultiAssetResponsiveDisplayAdDynamicSettingsPromoText
MultiAssetResponsiveDisplayAdFormatSetting
MultiAssetResponsiveDisplayAdHeadlines
MultiAssetResponsiveDisplayAdLandscapeLogoImages
MultiAssetResponsiveDisplayAdLogoImages
MultiAssetResponsiveDisplayAdLongHeadline
MultiAssetResponsiveDisplayAdMainColor
MultiAssetResponsiveDisplayAdMarketingImages
MultiAssetResponsiveDisplayAdSquareMarketingImages
MultiAssetResponsiveDisplayAdYouTubeVideos
Path1
Path2
PolicySummary
PricePrefix
PromoText
ResponsiveSearchAdDescriptions
ResponsiveSearchAdHeadlines
ResponsiveSearchAdPath1
ResponsiveSearchAdPath2
ShortHeadline
Status
SystemManagedEntitySource
UniversalAppAdDescriptions
UniversalAppAdHeadlines
UniversalAppAdHtml5MediaBundles
UniversalAppAdImages
UniversalAppAdMandatoryAdText
UniversalAppAdYouTubeVideos
Description
Description1
Description2

and we migrate to Ads API ad_group_ad resource to get the same data, but we 
get the data have huge decrease than Adwords API, detail list as below:

Google Adword API: 

2022-01-18: 12328016
2022-01-19: 12328016
2022-01-20: 12328016

Google Ads API:

2022-01-18:535557
2022-01-19:553971
2022-01-20:550469

missing data in Ads API sample:

cal_dt,ptnr_ad_id,ptnr_adgroup_id,ptnr_cmpgn_id,customer_id
2022-01-18,10116117157,3028199917,65523757,7462172884

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/7a4f05b3-fe71-470f-85b4-99cf1f6f1e25n%40googlegroups.com.


Audience Performance Report

2022-01-26 Thread 'Hao Long' via Google Ads API and AdWords API Forum
Hi Team,

We are migrate Audience Performance report form Google Adwords API to 
Google Ads API and according by resource mappings from Google Ads API wiki  
page(https://developers.google.com/google-ads/api/docs/migration/mapping) 
there map to two resources(campaign_audience_view and 
ad_group_audience_view) in Google Ads API.

for my case there have two purposes:
1. get audience structure as meta data and we got below fields from Google 
Adwords API:
Date
AccountCurrencyCode
AccountDescriptiveName
AccountTimeZone
AdGroupId
BaseAdGroupId
BaseCampaignId
BiddingStrategyId
BiddingStrategyName
BiddingStrategyType
BidModifier
CampaignId
CampaignName
CampaignStatus
CpcBid
CpcBidSource
CpmBid
CpmBidSource
Criteria
CriteriaDestinationUrl
CriterionAttachmentLevel
CustomerDescriptiveName
ExternalCustomerId
FinalAppUrls
FinalMobileUrls
FinalUrls
Id
IsRestrict
Status
TrackingUrlTemplate
UrlCustomParameters
UserListName

2. get audience performance data  from Google Adwords API and below fields 
asked:
Date
AccountCurrencyCode
Id
CampaignId
CampaignName
Device
Impressions
Clicks
Cost
UserListName
BidModifier
AdGroupId

and we have below questions:
1. for my understanding campaign and adgroup they are not at the same 
level, ad group should be more low granularity, could we think 
campaign_audience_view,ad_group_audience_view are base on the same raw data 
but summary on diff level?
2. to get the same fields as we we get from Google adwords API we need 
query from two resources? if yes could you please help identify which field 
should from which resource?
3. this is continues question regarding #2, two data feeds returned from 
campaign and adgroup audience view, how to combine these two feeds into 
one(join keys)?
4. IsRestrict retuen Boolean value in Google Adwords API but Google Ads API 
returned list, could you please help guide how to transfer from list value 
to Boolean value in Google Ads API return value?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/81f4d7a0-9216-4c29-b053-7dd898f98f47n%40googlegroups.com.


Re: Get account information

2022-01-26 Thread 'Hao Long' via Google Ads API and AdWords API Forum
Thanks Peter,

yes, as your suggest first we get label from customer_label resource and 
use the label(customers/{customer_id}/labels/{label_id}) value to map  
resource_name in label resource to get label.name. we got the value as we 
want.

On Tuesday, January 25, 2022 at 10:52:50 AM UTC+8 adsapi wrote:

> Hi Hao,
>
> In my earlier response, I recommended that customer_label 
>  
> (*Represents 
> a relationship between a customer and a label.*) report so that this may 
> return the applied label to the customer_id specified in your API request. 
>
> The customer_client.applied_labels 
> 
>  (*The resource names of the labels owned by the requesting customer that 
> are applied to the client customer.*) that you then responded to me, 
> refers to the labels *owned* by the requesting customer but not 
> necessarily the label applied to that customer.
>
> Best regards,
>
> [image: Google Logo] 
> Peter Laurence Napa Oliquino 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2UikHa: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/52428f83-b6ee-4c37-81ca-2de950ee558an%40googlegroups.com.


Re: Get account information

2022-01-24 Thread 'Hao Long' via Google Ads API and AdWords API Forum
Hi Baker,

The current pending issue is how to get the account labels on client 
account, the account will help us to derive some useful fields like 
channel/subchannel

and we tried your suggestion get the resource_name from  customer_client 
and is returned customers/***/customerClients/*** 
not customers/{customer_id}/labels/{label_id}



On Saturday, January 22, 2022 at 4:54:39 AM UTC+8 adsapi wrote:

> Hi Hao,
>
> You can try customer_client on an MCC account to see the resource names of 
> the labels that that MCC gives to the client accounts beneath it. It will 
> also tell you how many levels down in the hierarchy the account is. You can 
> get the label contents from a label report with that MCC. It's not 
> recommended for use on a standard account.
>
> Could you send us privately a full screen screenshot of the UI that you 
> want to copy using the API? You can then clearly show what you want the API 
> to do.
>
> Regards,
>
> [image: Google Logo] 
> Aryeh Baker 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2UikHa: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/1de3de5b-b142-45b0-9a6b-1bcc9f39b33cn%40googlegroups.com.


Re: Get account information

2022-01-21 Thread 'Hao Long' via Google Ads API and AdWords API Forum
Currently we only found one way to get the account labels:

call customer_client to get the customer list  then call customer_lable to 
get the lables, and at last to call label to get the label name.

as we could find there have efficient way to get account labels: 
customer_client.applied_labels from 
wiki 
https://developers.google.com/google-ads/api/fields/v9/customer_client?hl=en#customer_client.applied_labels
and currently seems this field not support cause we get null in returned 
object:
query:  "SELECT customer_client.applied_labels, 
customer_client.client_customer, customer_client.level, 
customer_client.manager, 
customer_client.descriptive_name,customer_client.currency_code, 
customer_client.time_zone,customer_client.id FROM customer_client where 
customer_client.id = '3946126948' "

returned object
Body: results { customer_client { resource_name: 
"customers/3946126948/customerClients/3946126948" client_customer: 
"customers/3946126948" level: 0 time_zone: "America/Los_Angeles" manager: 
false descriptive_name: "CA DSA" currency_code: "USD" id: 3946126948 } } 
field_mask { paths: "customer_client.applied_labels" paths: 
"customer_client.client_customer" paths: "customer_client.level" paths: 
"customer_client.manager" paths: "customer_client.descriptive_name" paths: 
"customer_client.currency_code" paths: "customer_client.time_zone" paths: 
"customer_client.id" }


could you please help advice when customer_client.applied_labels could be 
available?
On Friday, January 21, 2022 at 4:03:12 PM UTC+8 Hao Long wrote:

> Thanks John,
>
> for your inputs that means the account labels are setup on MCC level, all 
> the accounts under this mcc account will have the same account label value?
>
> Thanks
> Hao
>
> On Friday, January 21, 2022 at 2:32:24 PM UTC+8 adsapi wrote:
>
>> Hi Hao,
>>
>> Thank you for providing further details to your concern.
>>
>> The label that you've shown to the provided screenshot is created and 
>> belongs in the higher MCC account 236-043-6167. With this, if you want to 
>> get the "*Display*" label, then you need to query the report for the 
>> MCC account 236-043-6167.
>>
>> Let me know if you have further questions.
>>
>> Regards,
>> [image: Google Logo] 
>> Ernie John Blanca Tacata 
>> Google Ads API Team 
>>   
>>
>> ref:_00D1U1174p._5004Q2UikHa: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/a3b6f741-d1df-4cc2-9449-3d88d0a780d1n%40googlegroups.com.


Re: Get account information

2022-01-21 Thread 'Hao Long' via Google Ads API and AdWords API Forum
made up some info base on previous message.

the account label should setup on account level not MCC account, we could 
see lots of case the accounts have diff labels under the same mcc account. 
detail please see attached pic.

On Friday, January 21, 2022 at 4:03:12 PM UTC+8 Hao Long wrote:

> Thanks John,
>
> for your inputs that means the account labels are setup on MCC level, all 
> the accounts under this mcc account will have the same account label value?
>
> Thanks
> Hao
>
> On Friday, January 21, 2022 at 2:32:24 PM UTC+8 adsapi wrote:
>
>> Hi Hao,
>>
>> Thank you for providing further details to your concern.
>>
>> The label that you've shown to the provided screenshot is created and 
>> belongs in the higher MCC account 236-043-6167. With this, if you want to 
>> get the "*Display*" label, then you need to query the report for the 
>> MCC account 236-043-6167.
>>
>> Let me know if you have further questions.
>>
>> Regards,
>> [image: Google Logo] 
>> Ernie John Blanca Tacata 
>> Google Ads API Team 
>>   
>>
>> ref:_00D1U1174p._5004Q2UikHa: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/48c660b7-591c-461b-b408-0d12825440e6n%40googlegroups.com.


Re: Get account information

2022-01-21 Thread 'Hao Long' via Google Ads API and AdWords API Forum
Thanks John,

for your inputs that means the account labels are setup on MCC level, all 
the accounts under this mcc account will have the same account label value?

Thanks
Hao

On Friday, January 21, 2022 at 2:32:24 PM UTC+8 adsapi wrote:

> Hi Hao,
>
> Thank you for providing further details to your concern.
>
> The label that you've shown to the provided screenshot is created and 
> belongs in the higher MCC account 236-043-6167. With this, if you want to 
> get the "*Display*" label, then you need to query the report for the 
> MCC account 236-043-6167.
>
> Let me know if you have further questions.
>
> Regards,
> [image: Google Logo] 
> Ernie John Blanca Tacata 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2UikHa: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/aabcf026-213e-4436-aee6-77e818d76f1cn%40googlegroups.com.


Re: Get account information

2022-01-20 Thread 'Hao Long' via Google Ads API and AdWords API Forum
Thanks Yasar,

we try to use your suggestion to get account label and find below exception 
case:

String searchQuery = "*SELECT label.id, label.name, label.resource_name 
FROM label * ";

SearchGoogleAdsStreamRequest request = 
SearchGoogleAdsStreamRequest.newBuilder() 
.setCustomerId(Long.toString(customerId)) -- 2416439399(Mediacom eBay 
Strategic 3 ) .setQuery(searchQuery) .build(); 
the label.name returned 
"*rotationid:707-242133-51242-2,rotationid:707-242133-51242-0,rotationid:707-242133-51242-4,rotationid:707-242133-51242-3,rotationid:707-242133-51242-1,rotationid:707-242133-51242-5,rotationid:217484,rotationid:217479,rotationid:217477,rotationid:217475,rotationid:217473,rotationid:217470,rotationid:217481,rotationid:217486,rotationid:217483,rotationid:217482,rotationid:217478,rotationid:217476,rotationid:217474,rotationid:217472,rotationid:217471,rotationid:217485,rotationid:217469,rotationid:217480,rotationid:225302,rotationid:225303,rotationid:225306,rotationid:225305,rotationid:225301,rotationid:225304,Phase
 
1,rotationid:707-153632-990044-9,Phase 

Re: migrate AD_PERFORMANCE_REPORT

2022-01-18 Thread 'Hao Long' via Google Ads API and AdWords API Forum
sample account:  3292676853

On Wednesday, January 19, 2022 at 10:28:31 AM UTC+8 Hao Long wrote:

> Hi Team,
>
> we found an issue when migrate AD_PERFORMANCE_REPORT from Adwords to Ads.
>
> here is the query we used for google Ads API:
> select segments.date, segments.keyword.ad_group_criterion, 
> ad_group_ad.ad.id, ad_group.id, campaign.id, customer.currency_code, 
> metrics.cost_micros, metrics.clicks, metrics.impressions, segments.device, 
> metrics.interactions, metrics.interaction_rate from ad_group_ad where 
> segments.date between \"2021-01-31\" and \"2022-01-15\" and 
> metrics.impressions > 0
>
> we found we only could get data before 2021-02-18 in Ads API but the 
> Adwords API returned data is active till today. could you please help check 
> with high priority?
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/50200d31-dbf3-4a58-9661-dbb3b3737e8bn%40googlegroups.com.


migrate AD_PERFORMANCE_REPORT

2022-01-18 Thread 'Hao Long' via Google Ads API and AdWords API Forum
Hi Team,

we found an issue when migrate AD_PERFORMANCE_REPORT from Adwords to Ads.

here is the query we used for google Ads API:
select segments.date, segments.keyword.ad_group_criterion, 
ad_group_ad.ad.id, ad_group.id, campaign.id, customer.currency_code, 
metrics.cost_micros, metrics.clicks, metrics.impressions, segments.device, 
metrics.interactions, metrics.interaction_rate from ad_group_ad where 
segments.date between \"2021-01-31\" and \"2022-01-15\" and 
metrics.impressions > 0

we found we only could get data before 2021-02-18 in Ads API but the 
Adwords API returned data is active till today. could you please help check 
with high priority?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c3115006-ca3d-47db-bd8c-0905be0860fcn%40googlegroups.com.


Re: Get account information

2022-01-18 Thread 'Hao Long' via Google Ads API and AdWords API Forum
Thanks

you mean i could  use customer_client.applied_labels to get label resource 
name like  'customers/9293907848/labels/3064162226' and then use label 
report  'label.resource_name 
'
 
= 'customers/9293907848/labels/3064162226' to get  label.id and  label.name?

is there anyway we could pull label report on manager account to get all 
the accounts label is and label name, and use attribute resource 
customer.id in label report to mapping the account list ?

On Monday, January 17, 2022 at 11:24:17 PM UTC+8 adsapi wrote:

> Hi Hao,
>
> You can get the label contents by pulling a label report 
>  on manager 
> account 9293907848 <(929)%20390-7848>. 'label.resource_name 
> '
>  
> matches 'customers/9293907848 <(929)%20390-7848>/labels/3064162226 
> <(306)%20416-2226>'.
>
> My team came back to me that:
>
> 'UNKNOWN 
> 
>  
> ' - it's used for unrecognized values, which is potentially caused by newer 
> versions of the API overlapping with older versions of our generated 
> protobufs.
>
> 'UNSPECIFIED' is included because it's a convention of protobuf 
>  for the 
> 0 value to have this name. It's not really used explicitly and it's not 
> something you should need to think about.
>
>
> Regards,
>
> [image: Google Logo] 
> Aryeh Baker 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2UikHa: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/ca50c2ba-250f-49d4-ab50-2926ebb42c4an%40googlegroups.com.


Re: Get account information

2022-01-17 Thread 'Hao Long' via Google Ads API and AdWords API Forum
for customer.getAccountLabels migrate, i try customer_client.applied_labels 
and customer_labe 
 to 
get the values and returned below sample values:
customers/8772668342 customers/9293907848/labels/3064162226 
customers/8772668342/customerLabels/3064162226 customers/8772668342 
customers/9293907848/labels/4016686538 
customers/8772668342/customerLabels/4016686538 customers/8772668342 
customers/9293907848/labels/4016758408 
customers/8772668342/customerLabels/4016758408 customers/8772668342 
customers/9293907848/labels/4396769194 
customers/8772668342/customerLabels/4396769194

it totally diff with adwords returns:
 Text,New Account Structure,Phrase,Real Estate
DSA,Text,New Account Structure Text,Broad,New Account Structure,H 
Text,New Account Structure,Fashion,Exact 
Text,New Account Structure,Exact,Null Text,Broad,New Account Structure,Null 
Text,New Account Structure,Phrase,Null 
Text,New Account Structure,Exact,Null 
Text,New Account Structure,Vehicles,Phrase  

On Sunday, January 16, 2022 at 10:26:30 PM UTC+8 Hao Long wrote:

> Thanks Baker,
>
> as suggestion we have tried customer_client.applied_labels and  
> customer_label 
>  both, 
> they all return empty.
>
> customer.getAccountLabels is very important field for us, could you please 
> help on this?
>
> On Saturday, January 15, 2022 at 12:08:11 AM UTC+8 adsapi wrote:
>
>> Hi, Hao,
>>
>> UNKNOWN 
>> 
>>  
>> is for devices unspecified in this version of Ads API, it's there to allow 
>> for compatibility with v9 if new devices are added in v10 or higher. We 
>> will get back to you as soon as possible on UNKNOWN.
>>
>>
>> Regards,
>>
>> [image: Google Logo] 
>> Aryeh Baker 
>> Google Ads API Team 
>>   
>>
>> ref:_00D1U1174p._5004Q2UikHa: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/d190865d-0945-4089-b91a-bda4d45af690n%40googlegroups.com.


Re: Get account information

2022-01-16 Thread 'Hao Long' via Google Ads API and AdWords API Forum
Thanks Baker,

as suggestion we have tried customer_client.applied_labels and  
customer_label 
 both, 
they all return empty.

customer.getAccountLabels is very important field for us, could you please 
help on this?

On Saturday, January 15, 2022 at 12:08:11 AM UTC+8 adsapi wrote:

> Hi, Hao,
>
> UNKNOWN 
> 
>  
> is for devices unspecified in this version of Ads API, it's there to allow 
> for compatibility with v9 if new devices are added in v10 or higher. We 
> will get back to you as soon as possible on UNKNOWN.
>
>
> Regards,
>
> [image: Google Logo] 
> Aryeh Baker 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2UikHa: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/85e76eaa-9c18-406b-a2e2-b604ff31a611n%40googlegroups.com.


Re: Get account information

2022-01-14 Thread 'Hao Long' via Google Ads API and AdWords API Forum
Here i need summary my encounter issues when i migrate my program from 
Google Adwords API to Google Ads API:

1. for ad group performance report migrate from 
adwords(ADGROUP_PERFORMANCE_REPORT) to ads(ad_group)
 a. for Device we could found the mapping between two API(Device - 
segments.device) and we found each API have below possible values:
 Adwords: Computers, Mobile devices with full browsers, Other, 
Tablets with full browsers, Devices streaming video content to TV screens
 Ads:  DESKTOP, MOBILE, OTHER, TABLET, CONNECTED_TV, UNKNOW, 
UNSPECIFIED
 we know except new added UNKNOW, UNSPECIFIED value the rest 
five device have one-one mapping between adwords and ads API, could you 
please help guide the two new added device value?
b. during the download the ad grp performance data we could 
download more data from ads api than adwords api, we know there have some 
unsupported data(campaign type) on adwords available on ads, could you 
please provide the list which support in ads api but not support on adwrods 
api?


2. for account service on adwords API we use customer.getAccountLabels to 
get the account information, it could use this field to identify the 
account dimension info such as channel. and below list some sample returned 
values for this field:
 Text,New Account Structure,Phrase,Real Estate
DSA,Text,New Account Structure Text,Broad,New Account Structure,H 
Text,New Account Structure,Fashion,Exact 
Text,New Account Structure,Exact,Null Text,Broad,New Account Structure,Null 
Text,New Account Structure,Phrase,Null 
Text,New Account Structure,Exact,Null 
Text,New Account Structure,Vehicles,Phrase
 
we tried customer_client.applied_labels and  customer_label 
 both, 
but they all returned null. could you please help investigate?
On Friday, January 14, 2022 at 11:27:44 AM UTC+8 Hao Long wrote:

> Thanks Peter,
>
> you mean i need query the lables from another resource? 
>
> how about  customer_client.applied_labels in 
> https://developers.google.com/google-ads/api/fields/v9/customer_client
>
> On Friday, January 14, 2022 at 10:52:11 AM UTC+8 adsapi wrote:
>
>> Hi Hao,
>>
>> Thank you for your follow up.
>>
>> By *managedCustomer.accountLabels*, are you referring to labels 
>> associated to an account/customer? If yes, then you can try the 
>> customer_label 
>>  
>> report. Let me know if this is what you're looking for.
>>
>> Otherwise, could you share further details on the above labels field so 
>> our team can verify and provide appropriate recommendations?
>>
>> Best regards,
>>
>> [image: Google Logo] 
>> Peter Laurence Napa Oliquino 
>> Google Ads API Team 
>>   
>>
>> ref:_00D1U1174p._5004Q2UikHa: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/d5526d6a-5727-42cc-8b2c-50c09179dcd1n%40googlegroups.com.


Re: Get account information

2022-01-13 Thread 'Hao Long' via Google Ads API and AdWords API Forum
Thanks Peter,

you mean i need query the lables from another resource? 

how about  customer_client.applied_labels 
in https://developers.google.com/google-ads/api/fields/v9/customer_client

On Friday, January 14, 2022 at 10:52:11 AM UTC+8 adsapi wrote:

> Hi Hao,
>
> Thank you for your follow up.
>
> By *managedCustomer.accountLabels*, are you referring to labels 
> associated to an account/customer? If yes, then you can try the 
> customer_label 
>  
> report. Let me know if this is what you're looking for.
>
> Otherwise, could you share further details on the above labels field so 
> our team can verify and provide appropriate recommendations?
>
> Best regards,
>
> [image: Google Logo] 
> Peter Laurence Napa Oliquino 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2UikHa: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/545754fc-97ec-408e-ae9d-fba67a48ee24n%40googlegroups.com.


Re: Get account information

2022-01-13 Thread 'Hao Long' via Google Ads API and AdWords API Forum
Thanks John,

we have the same question on  managedCustomer.accountLabels, could you 
please help guide how to get this field in Google Ads?

On Wednesday, January 12, 2022 at 5:07:47 PM UTC+8 adsapi wrote:

> Hi Hao,
>
> Thank you for the reply.
>
> The possible field that you can use in the *canManageClients *is 
> customer.manager 
> 
>  
> while 
> customer.conversion_tracking_setting.cross_account_conversion_tracking_id 
> 
>  for *EffectiveConversionTrackingId. *Please verify if you can get the 
> information that you are looking for in the suggested fields.
>
> If not please let us know so that I can include it to the feature request 
> that I am going to create for parallelTrackingEnabled 
> 
> .
>
> Regards,
> [image: Google Logo] 
> Ernie John Blanca Tacata 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2UikHa: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/3cda0425-7707-4089-af97-b65866e2762an%40googlegroups.com.


Re: Get account information

2022-01-11 Thread 'Hao Long' via Google Ads API and AdWords API Forum
Hi Baker,

Thanks for your updates, i know your points we could draft query from 
customer_client(https://developers.google.com/google-ads/api/fields/v9/customer_client)
but we can not find the relationship for some fields, such as from google 
adwords *getEffectiveConversionTrackingId* to google ads which field

could you please help provide below fields relationship between adwords and 
ads api?

adwords fields:

customer.getCanManageClients,
customer.getParallelTrackingEnabled,
customer.getConversionTrackingSettings.getEffectiveConversionTrackingId,  


On Tuesday, January 11, 2022 at 9:45:22 PM UTC+8 adsapi wrote:

> Hi there,
>
> You may modify the Get Account Hierarchy sample 
> 
>  
> by adding a customer 
>  report 
> pull for each customer Id of each production account. Feel free to get back 
> to us.
>
> Regards,
>
> [image: Google Logo] 
> Aryeh Baker 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2UikHa: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/df07c8e8-3f22-439f-b675-04e1def72f3fn%40googlegroups.com.


Get account information

2022-01-11 Thread 'Hao Long' via Google Ads API and AdWords API Forum
Hi Team,

we have below adwords code to get customer info:
val session = googleSessionService 
.buildAdwordsSession(managedCustomer.customerId, siteId) val 
customerService = adwordsService.get(session, 
classOf[CustomerServiceInterface]) val customerList = new 
ListBuffer[Customer]() val customers = customerService.getCustomers 
customers.map(customer => { customerList.append(new Customer( 
customer.getCustomerId, customer.getDescriptiveName, 
customer.getCurrencyCode, customer.getDateTimeZone, 
customer.getTrackingUrlTemplate, 
customer.getRemarketingSettings.getGoogleGlobalSiteTag, 
customer.getConversionTrackingSettings.getEffectiveConversionTrackingId, 
customer.getConversionTrackingSettings.getUsesCrossAccountConversionTracking, 
customer.getFinalUrlSuffix, customer.getParallelTrackingEnabled, 
customer.getAutoTaggingEnabled, customer.getCanManageClients, 
managedCustomer.mccCustomerId, managedCustomer, 
managedCustomer.accountLabels) ) } ) customerList.toList


could you please advice how to get the same fields list from Google Ads API?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d794ed1e-f880-47fc-a8e5-6f032ce73697n%40googlegroups.com.