Unable to work on V10 version API calls

2022-05-19 Thread MOUNICA GRANDHI
Hi Team,

As per the latest v10 API Doc: 
https://developers.google.com/google-ads/api/reference/rpc/v10/Campaign, we 
are working on few API calls (eg: Campaigns and Campaign budgets) but those 
are not working as expected it is throwing an error like "404 status code". 
Can you please update and help us.

Note: V10 API Doc is live? Unable to find few endpoints in V10 those 
endpoints are available in remaining versions.

Thank you!

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"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/50bd0bc1-8b5c-46a0-8fda-f12d358212fdn%40googlegroups.com.


About getting "Impression Statistics (Co-Viewing)" columns from the API

2022-05-19 Thread 堀場未波
Hello.

I use Google Ads.
I would like to confirm if it is possible to get the "Impression statistics 
(co-viewing)" which can be retrieved from the admin page via API.


*questions*
①Is it possible to retrieve "impression statistics (co-viewing)" data from 
the API?

②If not, do you have any plans to do so in the future?

※"Impression Statistics (Co-Viewing)" =インプレッションの統計情報(共視聴)←Japanese
I am writing this because I could not find the official English name of the 
column.

[image: キャプチャ.PNG]


-- 

-
もし、このメッセージが誤って貴殿に送信されたと思われる場合には、
機密情報を含んでいる可能性もありますので、どなたにも転送せず、
付属したファイルも含めて削除していただくとともに、発信者にその旨を
お伝えいただきますようお願いいたします。
This email may be 
confidential or privileged.
If you received this communication
by mistake, 
please don't forward it to anyone else,
please erase all copies and 
documents,
and please let me know that it went to the wrong person.
Thank 
you very much.
-

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"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/5b1ebbe8-b68d-44da-9bac-ac1a99c3bd25n%40googlegroups.com.


Hello, I want to get the advertising consumption data of various countries under customer. I'm here https://developers.google.com/google-ads/api/fields/v10/campaign query builder Country field not fou

2022-05-19 Thread zhangyujie0625












Hello, I want to get the advertising consumption data of various countries under customer. I'm here https://developers.google.com/google-ads/api/fields/v10/campaign_query_builder Country field not found in API address. Which API can I use to meet my needs
















-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/D584FA6F-5818-4DBD-948E-18B321802B03%40gmail.com.


Re: I'm getting OPERATION_NOT_PERMITTED_FOR_CONTEXT when trying to create a campaign budget using Google ads api

2022-05-19 Thread Faith Amao
I have figured it, thanks

On Thursday, May 19, 2022 at 7:56:59 PM UTC+1 Faith Amao wrote:

> I have sent a message as "reply to author" please check and help me out, 
> something is really at stake if this doesn’t work out ASAP 
> Thanks
>
> On Tuesday, May 17, 2022 at 3:42:45 PM UTC+1 adsapi wrote:
>
>> Hi Faith,
>>
>> Thank you for considering my insights. However, If you have additional 
>> questions regarding the topic being discussed in this thread, feel free to 
>> send those over to our team and we would be happy to assist you further.
>>
>>
>> Best regards,
>> [image: Google Logo] 
>> Jinky 
>> Google Ads API Team 
>>   ​​​
>>
>> ref:_00D1U1174p._5004Q2ariYM: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/18d948b2-b5cc-4650-a9b0-6f5513f624d6n%40googlegroups.com.


Re: Batch Jobs stuck on RUNNING state on GoogleAds API

2022-05-19 Thread bigapp...@gmail.com
Just chipping in here - we're seeing the same issue and are working with 
the support team. A couple of notes on what we're seeing:

- It only appears to affect AdGroupCriterion operations. In our case, we're 
creating product groups in Shopping campaigns. Where we submit operations 
to create ad groups , set bid modifiers or create ads, the batches complete 
efficiently.
- We found that batches with more than 1k operations would all be slow to 
complete with all operations after the thousandth failing with "Duplicate 
Element" errors. Batches of 1k were working yesterday, but from late last 
night, small batches including batches of 1k, 500 and 50 do not seem to be 
completing and remain in RUNNING status

On Thursday, May 19, 2022 at 11:40:57 AM UTC-4 adsapi wrote:

> Hello All,
>
> Thank you for providing all the additional details. I'm currently working 
> through each of the messages sent to determine what specifically is causing 
> the issue for your individual batch jobs. I'll reply privately to each of 
> you.
>
> Regards,
>
> [image: Google Logo] 
> Nadine Wang 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2aQjmG: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/a85dc5be-7b11-4cad-8378-558cb4caebf1n%40googlegroups.com.


Unable to obtain all the results that I can see in UI

2022-05-19 Thread Arturo Martínez Pacheco
Im making a query to obtain all the campaigns that are enabled or stopped, 
like so:
SELECT ...
FROM ad_group_ad WHERE campaign.status IN ('ENABLED', 'PAUSED', 'REMOVED', 
'UNKNOWN')
AND ad_group_ad.status IN ('ENABLED', 'PAUSED', 'REMOVED', 'UNKNOWN')
AND campaign.name LIKE "%ES%" 
AND segments.date BETWEEN '2022-05-05' AND '2022-05-07'
I validated my query and it is ok, the problem is that it isnt bringing me 
some campaigns that I can see in the UI, does anyone has experienced 
something similar?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a578b75e-c65d-401d-8199-ee7114d524dan%40googlegroups.com.


Re: Google Ads API : RESULTS_NOT_READY

2022-05-19 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Arvind,

You can make a ListBatchJobResultsRequest for a batch job as soon as it 
finishes. You do not have to wait for other independently running batch jobs to 
finish in order to list results for a finished job.

Regards,
Matt
Google Ads API Team

Matt
Google Ads API Team
ref:_00D1U1174p._5004Q2at6B7: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/oDEHQ0RC5C3800xNTSt78HR36lDnbw3uJ81Q%40sfdc.net.


Re: GeographicView - migrating form v9 to v10

2022-05-19 Thread 'AH' via Google Ads API and AdWords API Forum
Any ideas?

On Monday, May 16, 2022 at 5:08:48 PM UTC-7 AH wrote:

> Hi,
> we are migrating from v9 to v10 and we discovered that when 
> querying geographic_view we get slightly different data back in v10 
> compared to v9.
> Here is a script that we use to compare:
>
> client = GoogleAdsClient.load_from_dict(config_dict=config_dict, 
> version="v9")
> ads_service = client.get_service("GoogleAdsService", version="v9")
>
> clientv10 = GoogleAdsClient.load_from_dict(config_dict=config_dict, 
> version="v10")
> ads_servicev10 = clientv10.get_service("GoogleAdsService", version="v10")
>
> query=f"""
> SELECT
> customer.id,
> customer.descriptive_name, 
> campaign.id,
> campaign.name,
> campaign.status,
> ad_group.id,
> ad_group.name,
> ad_group.status,
> segments.date,
> segments.device,
> metrics.conversions,
> metrics.impressions,
> metrics.clicks,
> metrics.cost_micros,
> metrics.average_cost,
> metrics.average_cpc,
> metrics.average_cpm,
> geographic_view.country_criterion_id,
> geographic_view.location_type
> FROM geographic_view
> WHERE segments.date BETWEEN '2022-01-01' AND '2022-01-01'
> """
> account_id = "XXX"
>
> response = ads_service.search_stream(customer_id=account_id, query=query)
> responsev10 = ads_servicev10.search_stream(customer_id=account_id, 
> query=query)
>
> data = [json_format.MessageToDict(row._pb, 
> preserving_proto_field_name=True) for batch in response for row in 
> batch.results]
> datav10 = [json_format.MessageToDict(row._pb, 
> preserving_proto_field_name=True) for batch in responsev10 for row in 
> batch.results]
>
> Questions:
> 1) why responses are different for v9 and v10?
> 1) are there any documented changes in geographic_view v10 compared to v9 ?
>
> Thank you.
>
>
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"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/f6aa2175-cb1f-4513-adf4-3f43a8812337n%40googlegroups.com.


Re: I'm getting OPERATION_NOT_PERMITTED_FOR_CONTEXT when trying to create a campaign budget using Google ads api

2022-05-19 Thread Faith Amao
I have sent a message as "reply to author" please check and help me out, 
something is really at stake if this doesn’t work out ASAP 
Thanks

On Tuesday, May 17, 2022 at 3:42:45 PM UTC+1 adsapi wrote:

> Hi Faith,
>
> Thank you for considering my insights. However, If you have additional 
> questions regarding the topic being discussed in this thread, feel free to 
> send those over to our team and we would be happy to assist you further.
>
>
> Best regards,
> [image: Google Logo] 
> Jinky 
> Google Ads API Team 
>   ​​​
>
> ref:_00D1U1174p._5004Q2ariYM: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/e63bf1fc-bfe6-4ec3-b113-57f5c7bef2c3n%40googlegroups.com.


googleadsapi-supp...@google.com; adsapi@forumsupport.google;

2022-05-19 Thread Ronak Shah
Hello,

We have completed the Adowrds to GoogleAds Api migration.
We are using Google Ads API to get ad_group_ad and keyword_view report data 
by issuing a GAQL search query.
There are 2 accounts under our managerId: Once for web and one for mobile 
application.
When we issue a query we are able to get the data for the CustomerId for 
web account whereas the customerId for mobile App account returns 0 records.
We see that the customerId for which we are not getting any data ingested 
contains inactive campaigns. 
When we do backfills, the API is not returning any records even if the 
campaigns were active during the previous date range used in backfill, if 
those campaigns are inactive currently.
Is there a way to ingest data even for customerIds currently containing 
inactive campaigns that were active at some point in the past?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/657a7909-3968-4a75-b802-d78f2309bf6bn%40googlegroups.com.


Re: Performance Max Placement and Asset reporting via Google Ads API

2022-05-19 Thread Jeff Strome
Quick update for anyone looking for this in the future - the  Asset 
Reporting 

 for 
Performance Max can be replicated by pulling from the "asset_group_asset" 
resource.  The specific "performance" field from that report is " 
asset_group_asset.performance_label " My GAQL query pulls a few other 
interesting fields and looks like this:
SELECT

customer.id,
customer.descriptive_name,
campaign.name,
asset_group_asset.field_type,
asset.name,
asset_group.name,
asset.call_to_action_asset.call_to_action,
asset.type,
asset.text_asset.text,
asset.image_asset.full_size.url,
asset.youtube_video_asset.youtube_video_id,
asset_group_asset.performance_label

FROM asset_group_asset
WHERE campaign.advertising_channel_type = 'PERFORMANCE_MAX'
On Thursday, May 19, 2022 at 11:58:50 AM UTC-4 adsapi wrote:

> Hi Jeff,
>
> Thank you for reaching out to the Google Ads API support team.
>
> I can confirm that it will return similar reports. If you are not getting 
> similar report, can you please provide full screen screenshot of the UI of 
> what you are looking for? so that i can further investigate the issue. Let 
> me know if you have any question.
>
> Thanks,
> [image: Google Logo] 
> Nirmita 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2atY7e: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/13966016-1c06-4ef4-abb9-83a3b1352f42n%40googlegroups.com.


Re: Performance Max Placement and Asset reporting via Google Ads API

2022-05-19 Thread Jeff Strome
Quick update for anyone looking for this in the future - the  Asset 
Reporting 

 for 
Performance Max can be replicated by pulling from the "asset_group_asset" 
resource.  The specific "performance" field from that report is " 
asset_group_asset.performance_label " My GAQL query pulls a few other 
interesting fields and looks like this:

SELECT
   
customer.id,
customer.descriptive_name,
campaign.name,
asset_group_asset.field_type,
asset.name,
asset_group.name,
asset.call_to_action_asset.call_to_action,
asset.type,
asset.text_asset.text,
asset.image_asset.full_size.url,
asset.youtube_video_asset.youtube_video_id,
asset_group_asset.performance_label
   
FROM asset_group_asset
WHERE campaign.advertising_channel_type = 'PERFORMANCE_MAX'

On Thursday, May 19, 2022 at 11:58:50 AM UTC-4 adsapi wrote:

> Hi Jeff,
>
> Thank you for reaching out to the Google Ads API support team.
>
> I can confirm that it will return similar reports. If you are not getting 
> similar report, can you please provide full screen screenshot of the UI of 
> what you are looking for? so that i can further investigate the issue. Let 
> me know if you have any question.
>
> Thanks,
> [image: Google Logo] 
> Nirmita 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2atY7e: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/112bb45c-d58a-430e-9b54-eb36f54a3e9en%40googlegroups.com.


Re: Performance Max Placement and Asset reporting via Google Ads API

2022-05-19 Thread Jeff Strome
Quick update for anyone looking for this in the future - the  Asset 
Reporting 

 for 
Performance Max can be replicated by pulling from the "asset_group_asset" 
resource.  The specific "performance" field from that report is " 
asset_group_asset.performance_label " My GAQL query pulls a few other 
interesting fields and looks like this:

SELECT

customer.id,
customer.descriptive_name,
campaign.name,
asset_group_asset.field_type,
asset.name,
asset_group.name,
asset.call_to_action_asset.call_to_action,
asset.type,
asset.text_asset.text,
asset.image_asset.full_size.url,
asset.youtube_video_asset.youtube_video_id,
asset_group_asset.performance_label

FROM asset_group_asset
WHERE campaign.advertising_channel_type = 'PERFORMANCE_MAX'



On Thursday, May 19, 2022 at 11:58:50 AM UTC-4 adsapi wrote:

> Hi Jeff,
>
> Thank you for reaching out to the Google Ads API support team.
>
> I can confirm that it will return similar reports. If you are not getting 
> similar report, can you please provide full screen screenshot of the UI of 
> what you are looking for? so that i can further investigate the issue. Let 
> me know if you have any question.
>
> Thanks,
> [image: Google Logo] 
> Nirmita 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2atY7e: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/4d3ba1bd-8f30-4e58-b2fd-330879d4e052n%40googlegroups.com.


Re: PERMISSION_DENIED issue

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


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

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

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

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

)

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


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

> Hi, I'm using the google_ads_python client to get basic report. However, 
> all requests failed with "PERMISSION_DENIED":
> ```
> Request with ID "o_4ckXPxV31snJM-GCbq8Q" failed with status 
> "PERMISSION_DENIED" and includes the following errors:
> Error with message "The user does not have permission to perform this 
> action on the resource or call a method.".
> ```
> Manager(login)_account_id: 6883111497
> account_id: 8368064507
>
> Please help to take a look.
>
> Thanks
>

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

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


RE: dev_token_invalid

2022-05-19 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hello Zoran,

Thanks for reaching out to the Google Ads API forum. I see that you're 
experiencing an Invalid_Dev_Token error. Could I ask if you've obtained a 
developer token for "App Conversion and Remarketing API"? If you would like to 
use App Conversion and Remarketing API, you will need to create a separate 
manager account and developer token to access App Conversion and Remarketing 
API. You can read more about this here. Let me know if you have further 
questions.

Best Regards,

Jakeia
Google Ads API Team
ref:_00D1U1174p._5004Q2YbscT: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/Jb6Ti0RC56GI003dsTVFJ4SoGrpZ8xDx6wNQ%40sfdc.net.


requesting data for product listing ads from 'ad_group_ad' view

2022-05-19 Thread Subhash
Hi There

Prior to migration we were able to request ad level data for product 
listing ads from the AD_PERFORMANCE report type.

Now that we have migrated the 'ad_group_ad' view does not seem to return 
data for product listing ads, among other ad types.

The API query I am using is below. Can you please advise?

Best,

Max

--
SELECT campaign.name, ad_group.name, ad_group_ad.ad.text_ad.headline, 
ad_group_ad.ad.text_ad.description1, ad_group_ad.ad.call_ad.description1, 
ad_group_ad.ad.text_ad.description2, ad_group_ad.ad.call_ad.description2, 
ad_group_ad.ad.display_url, ad_group_ad.ad.id, ad_group_ad.ad.type, 
ad_group_ad.status, segments.ad_network_type, ad_group.status, 
campaign.status, metrics.impressions, metrics.clicks, metrics.ctr, 
metrics.cost_micros, ad_group_ad.ad.id, segments.slot, segments.device, 
segments.keyword.ad_group_criterion, ad_group_ad.ad.device_preference, 
ad_group_ad.ad.final_mobile_urls, ad_group_ad.ad.final_urls, 
ad_group_ad.ad.tracking_url_template, ad_group_ad.ad.url_custom_parameters, 
ad_group_ad.labels, ad_group_ad.ad.expanded_text_ad.headline_part1, 
ad_group_ad.ad.expanded_text_ad.headline_part2, 
ad_group_ad.ad.expanded_text_ad.description, 
ad_group_ad.ad.legacy_responsive_display_ad.description, 
ad_group_ad.ad.expanded_dynamic_search_ad.description, 
ad_group_ad.ad.expanded_text_ad.path1, 
ad_group_ad.ad.expanded_text_ad.path2, 
ad_group_ad.ad.responsive_search_ad.headlines, 
ad_group_ad.ad.responsive_search_ad.descriptions, 
ad_group_ad.ad.responsive_search_ad.path1, 
ad_group_ad.ad.responsive_search_ad.path2, 
ad_group_ad.ad.expanded_text_ad.headline_part3, 
ad_group_ad.ad.expanded_text_ad.description2, 
ad_group_ad.ad.final_url_suffix FROM ad_group_ad WHERE metrics.impressions 
> 0 AND segments.date BETWEEN '2022-05-15' AND '2022-05-15' PARAMETERS 
omit_unselected_resource_names = true
--


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/94486050-61a8-45bc-91cc-72d1eb951c9en%40googlegroups.com.


RE: The error code is not in this version

2022-05-19 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi,

Thanks for reaching out to the Google Ads API Forum.

For us to investigate the encountered error request _error: UNKNOWN, could you 
provide us with the complete request and response logs with the request-id, so 
our team can better check?

For the client library, logging can be enabled by navigating to the Client 
libraries > Your client library (ex Java) > Logging documentation, which you 
can access from this link. You may then send the requested information via the 
Reply privately to author option. If this option is not available, you may send 
the details directly to our googleadsapi-supp...@google.com alias instead.

Regards,

Yasar
Google Ads API Team
ref:_00D1U1174p._5004Q2YbqPG: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/0u6Yr0RC4ZNC00z0YdhpTETXyhvcwoGzM0RQ%40sfdc.net.


Re: Batch Jobs stuck on RUNNING state on GoogleAds API

2022-05-19 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hello All,

Thank you for providing all the additional details. I'm currently working 
through each of the messages sent to determine what specifically is causing the 
issue for your individual batch jobs. I'll reply privately to each of you.

Regards,

Nadine Wang
Google Ads API Team
ref:_00D1U1174p._5004Q2aQjmG: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/XnoDw0RC4ZJU00kd684rDuSAqQfSvTHp62JA%40sfdc.net.


Re: Batch Jobs stuck on RUNNING state on GoogleAds API

2022-05-19 Thread Skander Mansouri
did the same! 

Status stuck on Pending and we are getting kicked out of the /GetOperation 
with a Task was cancelled error. not sure if someone is facing the same 
issue here?

Le jeudi 19 mai 2022 à 16:28:17 UTC+2, Prototype.co a écrit :

> I've sent an e-mail with some customer and batch job ids.
>
> adsapi a következőt írta (2022. május 18., szerda, 19:46:25 UTC+2):
>
>> Greetings All,
>>
>> Thank you for chiming in on this. It looks like we have multiple reasons 
>> at this time as to why a batch job could be either stuck running or slower 
>> than expected.
>>
>> First, there were general issues with Batch Jobs that were resolved on 
>> May 11th. We had a bit of a backlog, and we burned through that backlog. 
>> So, that did solve the problem for many of you.
>>
>> For other developers on the 'stuck running' state continuing, I've 
>> checked in with the folks looking into this, and it appears there is a 
>> common theme amongst many of the jobs. It appears that at times the batch 
>> job will retry when an error will permanently result in failure. So, the 
>> job runs for much longer trying to retry failures that it should give up on 
>> right away. 
>>
>> So, here's what I need from you folks to figure out what's happening in 
>> your individual cases. If you could reply privately to author on the forum 
>> (or send an email to googleadsapi-supp...@google.com if replying 
>> privately to me does not work) with less than 5 samples of customer IDs and 
>> batch jobs IDs (so I don't get too many at one time) where you see the 
>> constant running or significant slowdown with a note saying whether or not 
>> it's a slowdown or stuck running, that would be a huge help. I believe 
>> based on this sample of descriptions here that there may be slightly 
>> different issues happening, and I want to make sure to address all of them.
>>
>
>>
>> Thanks,
>> [image: Google Logo] 
>> Nadine Wang 
>> Google Ads API Team 
>>   
>>
>> ref:_00D1U1174p._5004Q2aQjmG: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/0bb242da-0cb3-4573-8afb-9a78e7e11a27n%40googlegroups.com.


Google Return Enum Values As Strings

2022-05-19 Thread Michael Brown
I have only ever known the GoogleAds API to return ENUM values as numbers 
unless specified otherwise, e.g.

*[**'ad_group_ad.policy_summary.approval_status': 3, 'ad_group_ad.status': 
4}]*

However, if I include "ad_group_ad.policy_summary.approval_status" in my 
request, the returned result has the approval_status as the string value:

*[*
*'ad_group_ad.policy_summary.approval_status': 'APPROVED_LIMITED', 
'ad_group_ad.status': 4, 'ad_group_ad.policy_summary.policy_topic_entries': 
[{'type_': 'LIMITED', 'evidences': [{'text_list': {'texts': ['google']}}], 
'constraints': [{'reseller_constraint': {}}], 'topic': 
'TRADEMARKS_IN_AD_TEXT'}]},*
*]*

This messed with my logic which was always expecting the ENUM integer value.

I'm using google client v10,  and python google-ads==16.0.0.

Is the above behaviour a bug, or should I not always expect Google to 
return ENUM values as integers (unless specified)?

Kind Regards,

Michael


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/3e3f0b5f-1b76-4dbd-8776-aafa40eb0f8en%40googlegroups.com.


Re: AssetLinkError.EXCLUDED_PARENT_FIELD_TYPE

2022-05-19 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Mariam,

We have fully detailed your issue in our report. Unfortunately, we are unable 
to share specifics on this matter publicly. However, when this issue is 
addressed the error message will contain more useful information.

Regards,
Matt
Google Ads API Team

Matt
Google Ads API Team
ref:_00D1U1174p._5004Q2ar1LI: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/1KT760RC4Y3G00WEs9Emn3Qs2Nbto2kiYfHA%40sfdc.net.


I am working on Google Ads API - I can't get new refresh token

2022-05-19 Thread Meraklı Web
First of all, I apologize for my bad english.

With Postman, I can generate my first token with Oauth2.0, it directs me to 
the google verification page, I approve, and I can do whatever I want on 
PHP. but then i need to renew my token and i haven't been able to do it via 
php yet

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/0c4871cb-d9cb-4449-a366-1d31b7f847den%40googlegroups.com.


e773778...@gmail.com

2022-05-19 Thread فارس شايف العليمي




Sent with Aqua Mail for Android
https://www.aqua-mail.com







-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/180dcc022c8.28b8.ccf66bcfb4b5da78330ca6665cd477d9%40gmail.com.


dev_token_invalid

2022-05-19 Thread Zoran Gasic
Hi guys,
we are trying to make the App Conversion Tracking and Remarketing api work. 
We had our developer token approved and whitelisted. However no matter how 
we form the http post request we always have the following error:
{
"ad_events": [],
"errors": ["dev_token_invalid"],
"attributed": false
}

This looks like a generic error code as it is displayed even in case that 
we send an empty http request. We are concerned that we are missing 
something here. We simply dont see it.
Please advise if you had similar issues.
Thanks!

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

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


Re: Batch Jobs stuck on RUNNING state on GoogleAds API

2022-05-19 Thread Prototype.co
I've sent an e-mail with some customer and batch job ids.

adsapi a következőt írta (2022. május 18., szerda, 19:46:25 UTC+2):

> Greetings All,
>
> Thank you for chiming in on this. It looks like we have multiple reasons 
> at this time as to why a batch job could be either stuck running or slower 
> than expected.
>
> First, there were general issues with Batch Jobs that were resolved on May 
> 11th. We had a bit of a backlog, and we burned through that backlog. So, 
> that did solve the problem for many of you.
>
> For other developers on the 'stuck running' state continuing, I've checked 
> in with the folks looking into this, and it appears there is a common theme 
> amongst many of the jobs. It appears that at times the batch job will retry 
> when an error will permanently result in failure. So, the job runs for much 
> longer trying to retry failures that it should give up on right away. 
>
> So, here's what I need from you folks to figure out what's happening in 
> your individual cases. If you could reply privately to author on the forum 
> (or send an email to googleadsapi-supp...@google.com if replying 
> privately to me does not work) with less than 5 samples of customer IDs and 
> batch jobs IDs (so I don't get too many at one time) where you see the 
> constant running or significant slowdown with a note saying whether or not 
> it's a slowdown or stuck running, that would be a huge help. I believe 
> based on this sample of descriptions here that there may be slightly 
> different issues happening, and I want to make sure to address all of them.
>
> Thanks,
> [image: Google Logo] 
> Nadine Wang 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2aQjmG: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/ad54abf2-31bd-4a6b-ae4f-fc9f592baddcn%40googlegroups.com.


Adding Ad schedules for Performance Max Campaigns returning error

2022-05-19 Thread 'Shipra' via Google Ads API and AdWords API Forum
Hi,
As per doc Performance Max campaign support AD_SCHEDULE campaign criteria. 
https://developers.google.com/google-ads/api/docs/performance-max/create-campaign-criteria

But when I try to create ad schedules using API: I am getting Mutate Error.
With Error Message: "Message": "Mutates are not allowed for the requested 
resource."
Could you confirm if Adding Campaign Criteria for Pmax campaigns is 
supported through API or not?

Regards!


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/52f71b4e-b11c-42d4-b6c7-2d8e23980c85n%40googlegroups.com.


RE: Majority of Google Ads API requests failing

2022-05-19 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hello,

Thanks for reaching out. Metrics cannot be requested for a manager account. If 
you are trying to retrieve metrics for multiple client accounts under a given 
manager, please issue separate requests against each client account under the 
manager account.

Regards,
Matt
Google Ads API Team

Matt
Google Ads API Team
ref:_00D1U1174p._5004Q2YbZ69: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/Rx5xh0RC4VHO00Gl-k36N5RVqMNfl_NaPTNA%40sfdc.net.


Re: KeywordPlanService.GenerateHistoricalMetricsRequest only returns GLOBAL results

2022-05-19 Thread 'Lasse Bonner' via Google Ads API and AdWords API Forum
Btw, I have implemented the code following this 
guide: 
https://developers.google.com/google-ads/api/docs/keyword-planning/generate-historical-metrics?hl=en#create_a_keyword_plan.

On Thursday, May 19, 2022 at 4:06:05 PM UTC+2 Lasse Bonner wrote:

> Hello, 
>
> I am using Google Ads API v10.1 and I am creating a keyword plan with a 
> campaign with a geotarget. The results returned 
> by KeywordPlanService.GenerateHistoricalMetricsRequest for the given 
> keywords and geotarget return global results only. I am expecting this to 
> be an error, as it has been running without any issues for the last couple 
> of months. 
> For now I have reverted to using the old Google Adwords API, but as you 
> probably know is already in sunset mode.
>
> I have attached request logs for the entire flow of my api. To show you 
> the problem I have attached a request containing the danish words "rød grød 
> med fløde" and with geotargets for both Denmark and Portugal. It shows the 
> same search volume data for both locations. 
>
> Looking forward to hearing from you,
>
> Best regards
> Lasse Bonner
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/6ae2dfaf-eab0-4270-8a9b-5c0f6318fee1n%40googlegroups.com.


KeywordPlanService.GenerateHistoricalMetricsRequest only returns GLOBAL results

2022-05-19 Thread 'Lasse Bonner' via Google Ads API and AdWords API Forum
Hello, 

I am using Google Ads API v10.1 and I am creating a keyword plan with a 
campaign with a geotarget. The results returned 
by KeywordPlanService.GenerateHistoricalMetricsRequest for the given 
keywords and geotarget return global results only. I am expecting this to 
be an error, as it has been running without any issues for the last couple 
of months. 
For now I have reverted to using the old Google Adwords API, but as you 
probably know is already in sunset mode.

I have attached request logs for the entire flow of my api. To show you the 
problem I have attached a request containing the danish words "rød grød med 
fløde" and with geotargets for both Denmark and Portugal. It shows the same 
search volume data for both locations. 

Looking forward to hearing from you,

Best regards
Lasse Bonner

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c0154771-ea29-4f49-9070-f8933552da7bn%40googlegroups.com.


GoogleAds_complete_request_PT
Description: Binary data


GoogleAds_complete_request_DK
Description: Binary data


Track Click to Cost to Sale in our CRM?

2022-05-19 Thread Starfishup2
In our CRM we have orders. We want to be able to track the cost of the 
Adwords click assigned to that order in our CRM to see the Cost/ROI and if 
applicable, the campaign and keyword.

Is this possible with the Adwords 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/29ddafd2-a82d-4add-ad19-35881e02f2c7n%40googlegroups.com.


RE: "ad" and "image" fields

2022-05-19 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Rodrigo,

Thanks for reaching out. For each of the UI component you mentioned, you can 
find the corresponding report/field:

Ads :: ad_group_ad
images :: (various image fields in the above report)
Extensions :: asset_field_type_view / extension_feed_item

Regards,
Matt
Google Ads API Team

Matt
Google Ads API Team
ref:_00D1U1174p._5004Q2YbWw1: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/1myp60RC4UCK007K75kLAKShyINzJthxCx8Q%40sfdc.net.


Re: problems getting refresh token

2022-05-19 Thread Markus Tjoa
Hello Nirmita,
I didn't use Oauthplayground, I followed the insturctions on 
https://developers.google.com/google-ads/api/docs/oauth/cloud-project. I 
din't realize, there was a different way of doing this by using 
https://developers.google.com/oauthplayground.
Anyway: I tried it using OAuthplayground, and it worked :)
Thanks for your help 
Kind Regards
Markus

adsapi schrieb am Montag, 16. Mai 2022 um 19:38:02 UTC+2:

> Hi,
>
> Thank you for reaching out to the Google Ads API support team.
>
> Since you mentioned that you’re using OAuth Playground to generate my 
> refresh token, could you confirm if you’ve followed this guide 
>  
> to add a line with: https://developers.google.com/oauthplayground under 
> Authorized redirect URIs while setting up OAuth 2.0 web client app?If not 
> added said above URL, then you may refer to the above provided guide for 
> Playground, and let us know if issue persists.
>
> Thanks,
> [image: Google Logo] 
> Nirmita 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2atDbv: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/11464267-041d-42dc-8993-41ee7b23b6c0n%40googlegroups.com.


The error code is not in this version

2022-05-19 Thread 关键良
My request failed, it was a request to create a campaign, can you help me 
see what the problem is, I can't solve this problem myself. 
Below is the partial resp I received (because it was too long for me to 
write it all) and request_id:
errors { error_code { request_error: UNKNOWN } message: "The error code is 
not in this version." trigger { string_value: "[339514921, 340156078, 
349643231, 339384928, 486148982, 927038542]" } location { 
field_path_elements { field_name: "operations" index: 0 } 
field_path_elements { field_name: "create" } field_path_elements { 
field_name: "selective_optimization" } field_path_elements { field_name: 
"conversion_actions" } } } request_id: “u9QPJPzS2VqG6hImq6xT9A"

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a853b15b-6bf0-4682-9faa-93037d677c82n%40googlegroups.com.


Internal server error when requesting Video Ads data

2022-05-19 Thread 'Condati - Data Engineering' via Google Ads API and AdWords API Forum
Hi all,

We have an application that extracts GoogleAds data. And suddenly the 
following query stopped working:

SELECT metrics.average_cpc, segments.ad_network_type, ad_group.id, 
metrics.clicks, metrics.video_quartile_p75_rate, campaign.name, 
metrics.video_view_rate, video.channel_id, metrics.video_quartile_p50_rate, 
metrics.cost_micros, metrics.impressions, metrics.video_quartile_p100_rate, 
video.title, metrics.view_through_conversions, video.id, 
metrics.video_quartile_p25_rate, video.duration_millis, 
metrics.all_conversions, segments.date, metrics.video_views, 
metrics.all_conversions_value, ad_group.name FROM video WHERE segments.date 
BETWEEN "2022-05-05" AND "2022-05-18"

It used to work before, but now it is (consistently) returning "Internal 
error encountered" responses.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/977e2d48-acbf-4b1d-9149-4babc8d69807n%40googlegroups.com.


Re: getMetrics() result does not yield for all keywords

2022-05-19 Thread 'Lasse Bonner' via Google Ads API and AdWords API Forum
Hi Sascha,

I just had the same issue as you. Turns out the geotargets can be set on 
KeywordPlanIdeaService.GenerateKeywordIdeasRequest 
(https://developers.google.com/google-ads/api/reference/rpc/v10/GenerateKeywordIdeasRequest)
 
which return similar information as GenerateKeywordHistoricalMetrics.

Best regards
Lasse Bonner

On Thursday, May 12, 2022 at 8:55:24 AM UTC+2 sascha...@gmail.com wrote:

> Not really: In version 10.1 
> KeywordPlanIdeaService.GenerateKeywordHistoricalMetrics is meant to be used 
> without creating a Keyplan, Campaign, Adgroups or the like. 
> However, your link leads exactly to the description I found also before.
> Does this mean, specifying the context of a language and geolocations 
> still needs the creation of the overhead objects? 
> Best regards
> Alex
>
> adsapi schrieb am Donnerstag, 12. Mai 2022 um 04:30:36 UTC+2:
>
>> Hi Alexander,
>>
>> Thank you for your reply.
>>
>> You can refer to the example from this guide 
>> 
>>  
>> as it provides details on how to include geo targets as well as language 
>> constants, in your keyword plan. I hope this helps.
>>
>> Best regards,
>>
>> [image: Google Logo] 
>> Peter Laurence 
>> Google Ads API Team 
>>   
>>
>> ref:_00D1U1174p._5004Q2aqoWc: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/faba1f9b-09dd-45d7-ab0e-714478245f48n%40googlegroups.com.


Re: Strange bug in KeywordIdeaMetrics

2022-05-19 Thread Kalid Sherefuddin
I am very happy with 

በ2022 ሜይ 19, ሐሙስ 12:19:17 ከሰዓት UTC+3ላይ bru...@searchsmart.com.au የሚከተለውን 
ጽፈዋል፦

> Using the C# library, I'm getting the following (copied out of the Brim 
> JSON viewer):
>
> [image: KeywordIdeaMetrics oddity.png]
> Notice on the lines beginning with "8:" and "9:" how the Month value is 
> first "13" and then "2". This is ... odd ...
>
> It's in dotnet Google.Ads.GoogleAds v 12.0.0. Dad was right: be sceptical 
> about dot-zero releases.
>
> -- Bruce
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d2d27804-98bb-4148-b6e2-c83f797045ean%40googlegroups.com.


Re: googleadsapi-supp...@google.com

2022-05-19 Thread eftikhar emad
BTW, these list returned after *partial_failure *of 5000, does it mean one 
ID failed then mutating the next ids halted ? 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/007f5b87-61c7-48d0-bb33-2afbd757f508n%40googlegroups.com.


Re: Simple Web App using Google Ads API

2022-05-19 Thread G
Thank you, Darwin!

In my case, I was the person who created my OAuth credentials using the GCP
console. My customers (advertisers) only can have their Google account and
Google Ads account.

I kinda figured it out and it seems to work for my case. Here's the code
snippet (see below). I'm using Node.js (Express.js), btw. The idea is that
when the users hit a specific URL, it's supposed to call googleoauth
function defined in the handler object.

const { google } = require('googleapis');
const { GoogleAdsApi } = require('google-ads-api');

let oauth2Client;

const handler = {
googleoauth: async (req, res) => {
// if no code parameter, then this is an initial login, so redirect
to Google OAuth
if (!req.query.code) {
oauth2Client = new google.auth.OAuth2(
'',
'',
''
);

const url = oauth2Client.generateAuthUrl({
access_type: 'offline',
prompt: 'consent',
scope: 'https://www.googleapis.com/auth/adwords'
});
res.redirect(url);
}
//redirect with access code from Google OAuth
else {
const { tokens } = await oauth2Client.getToken(req.query.code);
oauth2Client.credentials = tokens;

const client = new GoogleAdsApi({
client_id: '',
client_secret: '',
developer_token: ''
});

const customers = await
client.listAccessibleCustomers(tokens.refresh_token);

return res.json(customers);
}
}
};

exports.handler = handler;

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/CAFLJBYBs3kpZBf3rgDHGvcVYQqGgSSW485kvTx4QYOJUD5jGSQ%40mail.gmail.com.


Re: googleadsapi-supp...@google.com

2022-05-19 Thread eftikhar emad
I try to add them again 
*google_operations = [*













*{:operator=>"ADD", :operand=>{:campaign_id=>X, 
:criterion=>{:xsi_type=>"Location", :id=>9014038}}},{:operator=>"ADD", 
:operand=>{:campaign_id=>X, :criterion=>{:xsi_type=>"Location", 
:id=>9014040}}},{:operator=>"ADD", :operand=>{:campaign_id=>X, 
:criterion=>{:xsi_type=>"Location", :id=>9025836}}},{:operator=>"ADD", 
:operand=>{:campaign_id=>X, :criterion=>{:xsi_type=>"Location", 
:id=>1013194}}},{:operator=>"ADD", :operand=>{:campaign_id=>X, 
:criterion=>{:xsi_type=>"Location", :id=>9025971}}},{:operator=>"ADD", 
:operand=>{:campaign_id=>X, :criterion=>{:xsi_type=>"Location", 
:id=>9025972}}},{:operator=>"ADD", :operand=>{:campaign_id=>X, 
:criterion=>{:xsi_type=>"Location", :id=>1013221}}},{:operator=>"ADD", 
:operand=>{:campaign_id=>X, :criterion=>{:xsi_type=>"Location", 
:id=>9025988}}},{:operator=>"ADD", :operand=>{:campaign_id=>X, 
:criterion=>{:xsi_type=>"Location", :id=>9053954}}},{:operator=>"ADD", 
:operand=>{:campaign_id=>X, :criterion=>{:xsi_type=>"Location", 
:id=>1013303}}},{:operator=>"ADD", :operand=>{:campaign_id=>X, 
:criterion=>{:xsi_type=>"Location", :id=>9025995}}},{:operator=>"ADD", 
:operand=>{:campaign_id=>X, :criterion=>{:xsi_type=>"Location", 
:id=>9025999}}},{:operator=>"ADD", :operand=>{:campaign_id=>X, 
:criterion=>{:xsi_type=>"Location", :id=>9026001}}},{:operator=>"ADD", 
:operand=>{:campaign_id=>X, :criterion=>{:xsi_type=>"Location", 
:id=>1013345}}}*





















*]response = 
@client.service.campaign_criterion.mutate_campaign_criteria(customer_id: 
@customer_id.to_s, operations: google_operations, partial_failure: 
true)Response:,   
,   
,   
,   
,   
,   
,   
,   
,   
,   
,   
,   
,   
]>*and 
they were added normally 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/e058d5bb-ee3a-4111-b866-fb515201b075n%40googlegroups.com.


Re: Permission error creating PMax campaigns using BatchJobs

2022-05-19 Thread 'Ciel Eijssen' via Google Ads API and AdWords API Forum
Hi,

I'd like to add to this that batch jobs containing AssetGroup operations do 
not finish for our test MCC account. So I am not sure if you are able to 
process these batch jobs, or if something needs to be enabled for our 
account? The same operations do succeed if I use the MutateRequest.

The operations are as follows:

asset_group_operation {
  create {
resource_name: "customers//assetGroups/-1"
campaign: "customers//campaigns/17306801024"
name: "d26e8877-1a49-40da-9e98-6f8fcae2cf80"
status: ENABLED
  }
}

asset_group_operation {
  create {
resource_name: "customers//assetGroups/-2"
campaign: "customers//campaigns/17295242067"
name: "6b97b83c-1c71-4d5a-8d8b-e0b785e0eb70"
status: ENABLED
  }
}

We would like to continue the development for Performance Max campaigns and 
- as an integrator - we rely heavily on batch jobs. Without it, we are 
uncertain whether we can make the deadline before the auto-migration of 
Smart Shopping Campaigns.

Hope you can help.

Best,
Ciel

On Monday, May 16, 2022 at 4:01:20 PM UTC+2 Miquel Isern Roca wrote:

> Hello Google,
>
> We are facing an error when trying to create a PMax campaign through 
> BatchJobs. We consistently get an error saying 'A mutate action is not 
> allowed on this resource, from this client.' with the code: 
> 'MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT'.
>
> We have checked and are able to create such campaigns via a MutateRequest, 
> but when doing so with a MutateOperation inside a BatchJob the operation 
> fails. The operations we send are to create exactly the same type of 
> Campaign with the same settings. See the examples of the operations.
>
> The operation for the MutateRequest:
> ```
> create {
>   status: PAUSED
>   advertising_channel_type: PERFORMANCE_MAX
>   bidding_strategy_type: MAXIMIZE_CONVERSION_VALUE
>   maximize_conversion_value {
> target_roas: 3.5
>   }
>   shopping_setting {
> merchant_id: XXX
> sales_country: "XX"
>   }
>   name: "automated_test_campaign_0_474d67eb-d35d-4bd4-8516-521e38483285"
>   campaign_budget: "customers/XXX/campaignBudgets/XXX"
>   url_expansion_opt_out: false
> }
> ```
>
> The operation inside the BatchJob:
> ```
> campaign_operation {
>   create {
> resource_name: "customers/XXX/campaigns/-57"
> status: PAUSED
> advertising_channel_type: PERFORMANCE_MAX
> bidding_strategy_type: MAXIMIZE_CONVERSION_VALUE
> maximize_conversion_value {
>   target_roas: 0.5
> }
> shopping_setting {
>   merchant_id: XXX
>   sales_country: "XX"
> }
> name: "Test - Mutate Campaign ops - 57"
> campaign_budget: "customers/XXX/campaignBudgets/XXX"
> url_expansion_opt_out: false
>   }
> }
> ```
>
> I have logs I can send privately of the BatchJob with the operation to 
> create the Campaign failed.
>
> Thanks,
>
> Miquel Isern Roca
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/6580f8a0-09cc-423a-8377-72275704500en%40googlegroups.com.


No results found when I use WHERE clause in GAQL for Bid Simulator

2022-05-19 Thread AMAP TEST
Hi,

I want to get the forecast details of a DISPLAY Campaign.
For that I have a running DISPLAY Campaign.

I use the following query:
"{
"query": "SELECT campaign_simulation.type, 
campaign_simulation.target_roas_point_list.points, 
campaign_simulation.target_cpa_point_list.points, 
campaign_simulation.target_impression_share_point_list.points, 
campaign_simulation.start_date, campaign_simulation.resource_name, 
campaign_simulation.modification_method, campaign_simulation.end_date, 
campaign_simulation.cpc_bid_point_list.points, 
campaign_simulation.campaign_id, 
campaign_simulation.budget_point_list.points FROM campaign_simulation"
}"

I get a result for this.

But when i try to add "WHERE campaign_simulation.start_date = '2022-04-02'" 
to the same query, it gives me no result.

Questions:

   - Is it not possible to generate the results based on a specific date 
   range?
   - In the docmentation I don't see any resources to mutate the  
   campaign_simulation. Can we only query campaign_simulation and not mutate?  
   In this case how does the Bid Simulator work?

Please let me know if any further details are required. I can provide the 
same privately.

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

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


Re: Google.Apis.Auth.OAuth2.Responses.TokenResponseException: Error:"unauthorized_client"

2022-05-19 Thread Reports1
Google Ad API team,
I responded privately to the author, so far I did not get a response yet.
Appreciate any help you can provide.
I can resend to another API team member if needed.
Thanks

On Friday, May 13, 2022 at 4:14:41 AM UTC-4 adsapi wrote:

> Hi,
>
> Thank you for reaching out to the Google Ads API team.
>
> Moving forward to your concern, *"Having issues with Unauthorized_Client 
> Google Ads API"*, so our team can better check and investigate this 
> issue, could you provide the complete request 
> 
>  
> and response 
> 
>  
> logs with request ID 
> 
>  
> and request header 
> 
>  generated 
> on your end?
>
> You can provide it via Reply privately to author option. If this option is 
> not available, then send it instead on this email address 
> googleadsa...@google.com 
> 
> .
>
> Regards,
> [image: Google Logo] 
> Carmela 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2asVeW: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/c7fdb119-e1b3-454d-95e7-b5d3cc798b1fn%40googlegroups.com.


Re: Google Campaign- To provide docs or reference links or sample codes in JavaScript

2022-05-19 Thread Karthik Muthumani
Thank you for the information.

On Thu, May 19, 2022 at 11:10 AM Google Ads API Forum Advisor
 wrote:

> Hi Karthik,
>
>
>
> I'm Kevin from the Google Ads API Team.
>
>
>
> I'm afraid that we don't have an official client library for Javascript.
> If you want to try to build your own custom API client, you can check out
> the published Bazel build files (files with a .bazel extension) for the
> Google Ads API on GitHub, alongside the protocol buffer sources in this
> link
>  
> for
> reference. Please note that these files are considered experimental and are
> not officially supported. For production ready client libraries, we highly
> suggest that you use our official client libraries
> .
>
>
>
> Alternatively, you may also want to check out our documentation
>  on
> REST interface to learn more on how you can call the Google Ads API via
> REST.
>
>
>
> Regards,
> [image: Google Logo]
> Kevin Gil
> Google Ads API Team
>
>
> ref:_00D1U1174p._5004Q2YbTNj: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/CADMf6xQvu7-N_m4%2BUSC9wQ0Ge8KyB8Fa5Jqtuheq9Ng%3DXpEvdw%40mail.gmail.com.


Upload Offline Conversions - BULK Upload

2022-05-19 Thread Dominik Raffetseder
Good Morning,
is there any example for bulk upload click conversions in PHP?
Is bulk upload possible?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/f676b258-8ffd-471d-9bf3-b698d1f267e6n%40googlegroups.com.