RE: google ads api developer token protection in desktop app environment

2024-05-22 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Yao,

Thank you for contacting the Google Ads API support team.

The Google Ads API does support deploying your application on customers' 
machines. It is important to take appropriate security measures to protect your 
developer token and ensure compliance with our policies. To mitigate the risk 
of your developer token being leaked or compromised, consider using OAuth 2.0 
authorization. OAuth allows you to access user data without storing their 
credentials on your server. OAuth allows users to grant your application access 
to their Google Ads account without sharing their credentials. This reduces the 
risk of your developer token being compromised. Let us know if you have any 
further queries.

This message is in relation to case "ref:!00D1U01174p.!5004Q02tJ3PA:ref" 
(ADR-00235956)

Thanks,

Google Ads API Team

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

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


RE: callrail conversions not appearing on google ads conversions

2024-05-22 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi,

Thank you for reaching out to the Google Ads API support team.

Based on the screenshot provided, I could see that you are uploading 
conversions using the Google Ads UI by uploading spreadsheets manually. Kindly 
note that we can only assist with issues/concerns related to the Google Ads 
API. As you are facing issues with the conversions not being populated by using 
the Google Ads UI, I would recommend you to reach out to the Google Ads Product 
support team as they are better equipped to address your concerns.
This message is in relation to case "ref:!00D1U01174p.!5004Q02tJ3PE:ref" 
(ADR-00235957)

Thanks,

Google Ads API Team

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

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


Re: product_item_id in lowercase

2024-05-22 Thread 'Dhiraj Sharma' via Google Ads API and AdWords API Forum
Was there a solution provided to this? I am also facing a similar issue 
where I get the productItemId in lowercase even when it has uppercase 
characters in the merchant center. 
On Thursday, November 23, 2023 at 8:28:36 AM UTC+5:30 Google Ads API Forum 
Advisor wrote:

> Hi,
>
> Thank you for contacting the Google Ads API support team.
>
> By reviewing your concern, I understand that you are making a call to 
> Google Ads API but you are not getting the case-sensitive information of 
> the segment.product_item_id 
> .
>  In 
> order to investigate your issue further, kindly provide us with the 
> complete API logs (*request* 
> 
>  
> and 
> 
> *response* 
> 
>  
> with 
> 
> *request-id* 
> 
>  
> and 
> *request
>  
> header* 
> )
>  
> generated at your end and uncropped UI screenshot of the report that 
> displays segment.product_item_id.
>
> If you are using a client library and haven't enabled the logging yet, I 
> would request you to enable logging for the specific client library that 
> you are using. You can refer to the guides 
> 
> *Java* 
> 
> , 
> 
> *.Net* 
> 
> , 
> 
> *PHP* 
> 
> , 
> 
> *Python* 
> 
> , 
> 
> *Ruby* 
>  
> or 
> 
> *Perl* 
>  
> to enable logging at your end. For REST interface requests, you can enable 
> logging via the curl command by using the -i flag. 
>
> You can send the details via *Reply privately to the author option*, or 
> *direct 
> private reply* to this email.
>   
> This message is in relation to case "ref:!00D1U01174p.!5004Q02qUdks:ref"
>
> Thanks,
>   
> [image: Google Logo] Google Ads API Team 
>
>
>

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

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


Re: google ads api - getting campaign labels owned by mcc

2024-05-22 Thread Maciej Ł
Thank you for the answer!

Regarding the labels, it is all clear. But still, I didn't find a way to 
retrieve campaigns with labels owned by the MCC. If I try to get campaigns 
with their assigned labels, I get only owned by the specific account but I 
need also to get labels assigned to campaigns but owned by MCC. Is there a 
way to do that? To get campaigns with all assigned labels (MCC labels + 
specific account labels)?
środa, 22 maja 2024 o 08:52:54 UTC+2 Google Ads API Forum Advisor 
napisał(a):

> Hi,
>
> Thank you for reaching out to the Google Ads API support team.
>
> To retrieve the manager-owned labels, you can query for them with the 
> login_customer_id header set to the ID of the owning manager (the owner 
> account ID), and pass the client account ID as the customer_id. If you 
> wanted to retrieve labels by supplying just the ID of the client account, 
> the client account would need to own the label.
>
> Let us know if you still have any concerns.
>
>   
> This message is in relation to case 
> "ref:!00D1U01174p.!5004Q02tJ3P9:ref" (ADR-00235955)
>
> Thanks,
>   
> [image: Google Logo] Google Ads API Team 
>
>
>

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

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


what resource to query to detect failed payments?

2024-05-22 Thread Nils Rooijmans
Is there a way to use GAQL to check and detect payment failures in the 
Google Ads account?

Thanks already!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2ebc7a0b-3168-4e07-8b81-ae106637885bn%40googlegroups.com.


Re: get objective name

2024-05-22 Thread Rajat Singh
Okay, so I tried this GAQL query but I am not getting the names of the 
objectives. I am expecting to retrieve the objectives that we select in the 
first step of creating a campaign in Google Ads (such as sales, leads, 
website traffic, app promotion, awareness and consideration, local store 
visits and promotions, and create a campaign without a goal guidance). I 
want to get the names of these objectives through an API or a query.
I am trying to build a web application in which I have designed a UI screen 
for selecting objectives. How can I retrieve these objective names from the 
Google Ads API? What would be the best approach to get the names of the 
objectives?
Thanks in Advance.

On Monday, May 20, 2024 at 4:53:31 PM UTC+5:30 Google Ads API Forum Advisor 
wrote:

> Hi,
>
> Thank you for reaching out to the Google Ads API support team.
>
> Yes, we can obtain the objective of a campaign by using the GAQL query.  I 
> would recommend you to kindly refer to the campaign_conversion_goal 
> 
>  
> to retrieve the objective of a campaign by using the Google Ads API. Please 
> find the sample GAQL query as per your requirement: 
>
>
> SELECT campaign_conversion_goal.campaign, campaign_conversion_goal.category, 
> campaign_conversion_goal.origin, campaign_conversion_goal.biddable, 
> campaign.id, campaign.name FROM campaign_conversion_goal
>
> You can use the search 
> 
>  
> or searchStream 
> 
>  
> methods for making the API calls while retrieving the data. Also, I would 
> suggest you to refer to the Campaign goals 
> 
>  
> documentation for more information. Additionally, you can utilize the Google 
> Ads Query Builder 
> 
>  
> and Query Validator 
>  
> to build and validate the queries for retrieving the data from the Google 
> Ads API.
>   
> This message is in relation to case 
> "ref:!00D1U01174p.!5004Q02tJ1Rg:ref" (ADR-00235564)
>
> Thanks,
>   
> [image: Google Logo] Google Ads API Team 
>
>
>

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

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


Re: get campaign data

2024-05-22 Thread Varinder Sohal
Hi,
Thank you for this conversation. It has been very helpful. However, I did 
not get the values when using metrics.conversations. It seems like 
something might be missing when running the campaign, as it has been 
showing a value of 0 for the past two months. 
On Friday, August 11, 2023 at 11:26:50 AM UTC+5:30 Google Ads API Forum 
Advisor wrote:

> Hi Shafayet,
>
> Thank you for the reply.
>
> You may try the below sample query and utilize *Campaign Builder (*
> https://developers.google.com/google-ads/api/fields/v14/campaign_query_builder
> *)* to see the selectable fields you may use when selecting campaign 
> resource attributes:
>
> *"SELECT campaign.status, campaign.name , 
> campaign_budget.name , customer.currency_code, 
> campaign.campaign_budget, campaign_budget.type, campaign.primary_status, 
> campaign.primary_status_reasons, campaign.advertising_channel_type, 
> metrics.cost_micros, metrics.impressions, metrics.clicks, metrics.ctr, 
> metrics.interaction_rate, metrics.search_impression_share, 
> metrics.search_budget_lost_impression_share, 
> metrics.view_through_conversions, campaign.optimization_score, 
> customer.optimization_score, metrics.active_view_ctr, 
> metrics.active_view_impressions, metrics.conversions_value, 
> metrics.current_model_attributed_conversions_value_per_cost, 
> metrics.conversions, metrics.cost_per_conversion, 
> metrics.top_impression_percentage, metrics.average_cpc, 
> metrics.value_per_all_conversions_by_conversion_date, 
> metrics.value_per_conversions_by_conversion_date, 
> metrics.conversions_by_conversion_date, metrics.all_conversions_from_order, 
> metrics.bounce_rate FROM campaign"*
>
> On the other hand, if the query we have provided is still not what you are 
> referring to, you may provide us with the entire UI screenshot without 
> cropping, including the customer ID, where you can see the expected data 
> you want to retrieve in the API. We asked that as the Google Ads API 
> mirrors the Google Ads UI. Whatever data shows on the Ads UI report, the 
> API should pull it the same, and upon checking the screenshot you have 
> provided, it seems not to have been taken from the exact Google Ads UI. 
>
> You may then send the requested information via the Reply privately to 
> author option. If this option is not available, you may send the details 
> directly to our googleadsa...@google.com alias instead.
>  
> This message is in relation to case "ref:_00D1U1174p._5004Q2nqkUS:ref"
>
> Thanks,
>   
> [image: Google Logo] Google Ads API Team 
>
>
>

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

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


Can't Remove Specific Adset from Adgroup

2024-05-22 Thread Galih Laras Prakoso
I read that we can't delete asset using AssetService but some of the Google 
Team recommended users to mutate via AdService instead. 

So I tried to remove specific asset from AdGroup by using this code:
```
def _pause_assets_by_campaign(
self,
campaign_resource_name,
paused_assets_resource_names
):
ga_service = self._client.get_service("GoogleAdsService")
query = f"""SELECT
ad_group_ad.resource_name,
ad_group_ad.ad.id,
ad_group_ad.ad.app_ad.images,
ad_group_ad.ad.app_ad.youtube_videos,
campaign.resource_name
FROM ad_group_ad
WHERE campaign.resource_name = '{campaign_resource_name}'"""

self._get_logger().info(f"pause_ads_by_campaign -> query: {query}")

response = ga_service.search_stream(customer_id=self._customer_id, query=
query)

self._get_logger().info(f"pause_ads_by_campaign -> response: {response}")

paused_assets_resource_names_map = {}

for resource_name in paused_assets_resource_names:
paused_assets_resource_names_map[resource_name] = True
self._get_logger().info(f"pause_ads_by_campaign -> 
paused_assets_resource_names_map: {paused_assets_resource_names_map}")

for batch in response:
for row in batch.results:
self._get_logger().info(f"pause_ads_by_campaign -> AdGroupAd: {row}")
ad = row.ad_group_ad.ad

ad_service = self._client.get_service("AdService")
ad_operation = self._client.get_type("AdOperation")

updated_ad = ad_operation.update
updated_ad.resource_name = ad.resource_name

extended_youtube_videos = [
youtube_asset for youtube_asset in ad.app_ad.youtube_videos if 
youtube_asset.asset 
not in paused_assets_resource_names_map
]

self._get_logger().info(f"pause_ads_by_campaign -> extended_youtube_videos: 
{extended_youtube_videos}")

updated_ad.app_ad.youtube_videos = extended_youtube_videos

extended_images = [
image_asset for image_asset in ad.app_ad.images if image_asset.asset not in 
paused_assets_resource_names_map
]

self._get_logger().info(f"pause_ads_by_campaign -> extended_images: {
extended_images}")

updated_ad.app_ad.images = extended_images

field_mask = protobuf_helpers.field_mask(
None, updated_ad._pb
)

self._get_logger().info(f"pause_ads_by_campaign -> field_mask: {field_mask}"
)

self._client.copy_from(ad_operation.update_mask, field_mask)

self._get_logger().info(f"pause_ads_by_campaign -> ad_operation: {
ad_operation}")
self._get_logger().info(f"pause_ads_by_campaign -> 
ad_operation.update_mask: {ad_operation.update_mask}")

response = ad_service.mutate_ads(
customer_id=self._customer_id, operations=[ad_operation],
)

self._get_logger().info(f"pause_ads_by_campaign -> response: {response}")

resource_name = response.results[0].resource_name

self._get_logger().info(f"pause_ads_by_campaign -> Ad updated! 
resource_name:{resource_name}") 
```
There is no error thrown but my asset is not getting excluded by this 
update. Please help me to resolve this. :)

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/91db49dd-28d4-4b05-a912-2c059e1e5ba8n%40googlegroups.com.


Query Regarding Campaign Objective in Google Ads

2024-05-22 Thread Amit Tomar
Hello,

I have a couple of questions about the campaign objective feature in Google 
Ads.

*1. Campaign Objective Field Usage:*
When creating a campaign using the Google Ads UI, the first step is to 
select a campaign objective. However, it appears that there is no field or 
attribute in the campaign data to explicitly define the value of the 
objective. I have tested this by querying campaign data using the Google 
Ads Query Builder and found that the objective value is not present. Am I 
correct in understanding that the campaign objective is used only for 
guiding the UI flow and validation, such as determining the next input 
screens based on the selected objective?

*2. Managing Campaign Objectives Using Google Ads API:*
If the campaign objective is only used in the UI for validation, how can we 
manage this using the Google Ads API? Specifically, how can we determine 
the required and optional fields for different campaign types (e.g., Sales 
campaign vs. App Promotion campaign) programmatically?

Thank you for your assistance.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d10fb30c-902c-4490-bb3b-b41a9b691738n%40googlegroups.com.


Re: get campaign data

2024-05-22 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi,

Thank you for reaching out to the Google Ads API support team.

Kindly provide us with the uncropped screenshot of the Google Ads account where 
the values are showing zero and updated complete API logs (request and response 
with request-id and request header) generated at your end so that we can 
investigate why the metrics.conversations are not returned via the API.

If you are using a client library and haven't enabled the logging yet, I would 
request you to enable logging for the specific client library that you are 
using. You can refer to the guides Java, .Net, PHP, Python, Ruby or Perl to 
enable logging at your end. For REST interface requests, you can enable logging 
via the curl command by using the -i flag.

You can send the details via Reply privately to the author option, or direct 
private reply to this email.
This message is in relation to case "ref:!00D1U01174p.!5004Q02nqkUS:ref" 
(ADR-00192758)

Thanks,

Google Ads API Team

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

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


Re: product_item_id in lowercase

2024-05-22 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi,

Thank you for contacting the Google Ads API support team.

I understand that you are facing a similar issue with segment.product_item_id. 
To analyse the issue from our end we need sufficient details, without that we 
cannot move further. Hence, could you please provide us with an uncropped UI 
screenshot of the Google Ads account by highlighting the specific product item 
ID. Also, share the complete API logs (request and response with request-id and 
request header) generated at your end.

If you are using a client library and haven't enabled the logging yet, I would 
request you to enable logging for the specific client library that you are 
using. You can refer to the guides Java, .Net, PHP, Python, Ruby or Perl to 
enable logging at your end. For REST interface requests, you can enable logging 
via the curl command by using the -i flag.

You can send the details via Reply privately to the author option, or direct 
private reply to this email.
This message is in relation to case "ref:!00D1U01174p.!5004Q02qUdks:ref" 
(ADR-00212108)

Thanks,

Google Ads API Team

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

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


Re: query regarding campaign objective in google ads

2024-05-22 Thread Amit Tomar
PFA

On Thursday, May 23, 2024 at 12:55:18 AM UTC+5:30 Google Ads API Forum 
Advisor wrote:

> Hi,
>
> Thank you for reaching out to the Google Ads API support team. 
>
> In order to investigate the issue further, kindly provide us with the 
> uncropped UI screenshot of the Google Ads Account with the visibility of 
> the customer ID where you are able to see campaign objectives.  
> This message is in relation to case 
> "ref:!00D1U01174p.!5004Q02tJ3cb:ref" (ADR-00236030)
>
> Thanks,
>   
> [image: Google Logo] Google Ads API Team 
>
>
>

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

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


fsdafsaf

2024-05-22 Thread Debora Maria Gruske
fdafsdafaf

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/31d05778-6527-4fbb-9534-b6db43fab0bdn%40googlegroups.com.


Custom Conversion Goal

2024-05-22 Thread Guilherme Barros
Hello there, 
I've been trying to add a custom conversion goal into my campaign and I'm 
getting this message back 
{"errors":[{"error_code":{"mutate_error":"RESOURCE_NOT_FOUND"},"message":"Resource
 
was not 
found.","location":{"field_path_elements":[{"field_name":"operations","index":0},{"field_name":"update"},{"field_name":"custom_conversion_goal"}]}}]
 

I've checked if the custom conversion goal exists and all the data seems 
right, could anyone help me?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ee03c43a-9b21-4b5a-a05b-e952ff803f30n%40googlegroups.com.


Re: add campaign.urlcustomparameters

2024-05-22 Thread China Wendel
We are not using the REST interface directly, as I said, we are using the 
C# library. There is no customers.campaigns.mutate method in the C# 
library. https://github.com/googleads/google-ads-dotnet

[image: unnamed.png]
Attached is a picture of what I'm talking about. The Campaign object is a 
Google.Ads.GoogleAds.V16.Resources.Campaign object.
On Monday, May 20, 2024 at 6:47:16 AM UTC-5 Google Ads API Forum Advisor 
wrote:

> Hi,
>
> Please be informed that you can add and update custom urls at a campaign 
> level using urlCustomParameters field using this  
> customers.campaigns.mutate 
> 
>  method. 
> You can pass the key and value to each custom url parameter that you want 
> to set. I would recommend you refer to this Custom parameters 
> 
>  guide 
> for more information. If you still face issues, provide us the url of the 
> code that you are referring to add custom parameters using #c library to 
> assist you further.
>
>   
> This message is in relation to case 
> "ref:!00D1U01174p.!5004Q02tIyBO:ref" (ADR-00234932)
>
> Thanks,
>   
> [image: Google Logo] Google Ads API Team 
>
>
>

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

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


Re: google ads api product link invitation reference

2024-05-22 Thread Ansh Ved
Hi,

I have enabled logging from the guide. I am sending you the updated code
and the logs. There are no errors or warnings. The request code is 200.

Here is my updated code.

public function listPendingYoutubeLinkInvitations($customerId)
{
$googleAdsServiceClient = $this->client->
getGoogleAdsServiceClient();
$query = 'SELECT product_link_invitation.resource_name FROM
product_link_invitation';

$logger = $this->client->getLogger();
$logger->info("Executing query: $query for customer ID: $customerId"
);

$response = $googleAdsServiceClient->
search(SearchGoogleAdsRequest::build($customerId, $query));

$logger->info('Response: ' . json_encode($response));

$invitations = [];
foreach ($response->iterateAllElements() as $row) {
$invitationResourceName = $row->getProductLinkInvitation()->
getResourceName();
$invitations[] = [
'resource_name' => $invitationResourceName,
];
}

$logger->info('Query executed successfully, invitations fetched.',
$invitations);

return $invitations;
}



Here is my log output
[2024-05-22T14:41:07.675860+00:00] google-ads-logger.INFO: Google Ads
Service logger initialized. [] []
[2024-05-22T14:41:08.419727+00:00] google-ads-logger.INFO: Executing query:
SELECT product_link_invitation.resource_name FROM product_link_invitation
for customer ID: 8166733962 [] []
[2024-05-22T14:41:12.181379+00:00] google-ads-logger.INFO: Response: {} []
[]
[2024-05-22T14:41:12.182676+00:00] google-ads-logger.INFO: Query executed
successfully, invitations fetched. [] []

On Wed, May 22, 2024 at 11:22 AM Google Ads API Forum Advisor
 wrote:

> Hi,
>
> In order to assist you further, kindly provide us with the complete API
> logs (request
> 
>  and response
> 
>  with request-id
> 
>  and request header
> )
> generated at your end while you are receiving an empty array when fetching
> the pending invitations.
>
> Since you are using the PHP client library, if you haven't enabled logging
> yet, I would request you to enable it by referring to this guide PHP
> 
> .
>
>
> This message is in relation to case
> "ref:!00D1U01174p.!5004Q02tJ292:ref" (ADR-00235756)
>
> Thanks,
>
> [image: Google Logo] Google Ads API Team
>
>
>

-- 
Thanks & Regards,
Ansh Ved
+91 8898898131
https://anshved.github.io

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/CA%2BBLo0uXbsCisv35G7SSNPeHSqDu-%3DxKYkZmdihoXjdiNS-3Ew%40mail.gmail.com.


Re: Google LSA Call Recording 500 Response

2024-05-22 Thread Julius Decena
Hello,

I'm writing to see if there are any updates on the matter we discussed 
regarding the LSA call recording issue.

Your assistance is greatly appreciated.

On Saturday, May 11, 2024 at 7:54:55 AM UTC+8 Julius Decena wrote:

> Hello,
>
> Thank you for getting back to me. I appreciate your assistance on this 
> matter. Looking forward to your response once you have more information.
>
> On Fri, May 10, 2024 at 8:05 PM Google Ads API Forum Advisor 
>  wrote:
>
>> Hello,
>>
>> I'm checking with the team on the status of this fix. I know it was 
>> planned for v16_1 but it's not clear whether it actually made that release. 
>> I'll let you know when I find out.
>>
>> Also, for additive minor releases like v16_1, the API version remains v16 
>> for actual requests and other important endpoints, and the distinction of 
>> the minor version is just for the sake of keeping track of which features 
>> were added after the initial v16 release in the documentation. So the URL 
>> should be unaffected.
>>   
>> This message is in relation to case 
>> "ref:!00D1U01174p.!5004Q02s01O1:ref" (ADR-00227692)
>>
>> Thanks,
>>   
>> [image: Google Logo] 
>> Michael Cloonan 
>> Google Ads API Team 
>>
>>
>>

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

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


Re: google ads api product link invitation reference

2024-05-22 Thread Ansh Ved
Hi,

Request Headers
array(5) {
  ["headers"]=>
  array(3) {
["x-goog-request-params"]=>
array(1) {
  [0]=>
  string(22) "customer_id=8166733962"
}
["developer-token"]=>
array(1) {
  [0]=>
  string(22) "QFflzpuSvBBusAuhpTm8iA"
}
["login-customer-id"]=>
array(1) {
  [0]=>
  string(10) "7471886550"
}
  }
  ["timeoutMillis"]=>
  NULL
  ["transportOptions"]=>
  array(0) {
  }
  ["retrySettings"]=>
  NULL
  ["audience"]=>
  string(33) "https://googleads.googleapis.com/";
}

These are the headers, We are unable to get the request-id since the
response code is 200
Also I am able to get the correct youtube product links connected to my
account. This makes sure that the headers are correct.

The only issue that I am facing is that product link invitation is giving
an empty response. If there is a way to get the request id for a 200
response code please let me know
I cannot see any request-id unless the request fails.
If i try to get $response->requestId or $response->getRequestId()
It gives me errors like requestId does not exist or getRequestId() is not a
function

Is there a way to fastrack this?

Please let me know

On Thu, May 23, 2024 at 3:58 AM Google Ads API Forum Advisor
 wrote:

> Hi,
>
> To further investigate your issue, kindly provide the request-id
> 
> and request header
> 
> generated at your end when hitting the API, as we couldn’t find the
> request-id and header in the provided code snippet.
> This message is in relation to case
> "ref:!00D1U01174p.!5004Q02tJ292:ref" (ADR-00235756)
>
> Thanks,
>
> [image: Google Logo] Google Ads API Team
>
>
>

-- 
Thanks & Regards,
Ansh Ved
+91 8898898131
https://anshved.github.io

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


activity time slot

2024-05-22 Thread Maxime Heurtevent
Hi, 

Can you tell me how to define an activity time slot for a campaign? If, for 
example, I want my campaign to be active only from 9am to 6pm, what do I 
do? 

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/86cb9024-3e97-4b6f-a81f-c01bd369691bn%40googlegroups.com.


How to make a copy of campaigns/ad groups?

2024-05-22 Thread zhiwei hu
Is there an interface that can be copied without me having to recreate it 
one by one?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c0693c09-0eef-4e17-a86c-1e26f33bdbcan%40googlegroups.com.