RE: How to get the "Served Cost" for a campaign for a specific date?

2023-01-04 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Chris,

Thanks for reaching out to the Google Ads API Forum. I hope you are doing well 
today.

With regard to your concern, “Using the Google Ads API, how can I get the 
"Served Cost" for a campaign?”, the campaign report and metrics.cost_micros 
field is correct for the query provided.

However, could you confirm if you are using date filters with the same filters 
in UI and API? If you still get an issue after following the steps, for our 
team to further compare, investigate, and validate why you are encountering 
discrepancies between the UI and the API, could you please provide us the whole 
UI screenshot where you can see the expected data you want to retrieve?

You may then send the requested information via the Reply privately to the 
author option. If this option is not available, you may send the details 
directly to our googleadsapi-supp...@google.com alias instead.

Regards,

Marjorie
Google Ads API Team
ref:_00D1U1174p._5004Q2hZoaz: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/knflN0RNZZNH00KBgm8zJ5S9Gt3pOp1tcPdQ%40sfdc.net.


Re: "Maximum number of user identifiers allowed per request is 100000 and per operation is 20" error

2023-01-04 Thread Chethan U
Hi I need one more clarification.
I have a csv file which has 7 rows in which it contains 2 columns named 
as 'Mobilenumber' and 'email'. I was trying to upload this file to google 
ads account through google ads api.
In this case both mobilenumber and email together considered as 14 
identifiers?
Is this the reason behind the error I'm getting  "Maximum number of user 
identifiers allowed per request is 10 and per operation is 20"?
Please reply me as ASAP
Thanks

On Wednesday, January 4, 2023 at 1:46:04 PM UTC+5:30 adsapi wrote:

> Hi Chethan,
>
> Thank you for reaching us out. I am Sherwin from Google Ads API support 
> team. I hope that you are doing well today.
>
> Moving forward to your concern, I can see here that the error that you got 
> is "*TOO_MANY_USER_IDENTIFIERS*." Please note that there's an update 
> that the maximum number of user_identifers 
> 
>  set 
> in a UserData 
>  
> to 
> 20. If the number of user_identifiers for a single set exceeds the new 
> limit of 20, a TOO_MANY_USER_IDENTIFIERS error will be generated. You may 
> check this blog post 
> 
>  for 
> detailed information regarding this.
>
> If the issue persists, please provide us the complete request 
> 
>  and response 
> 
>  logs 
> with request ID 
> 
>  and request header 
> 
>  generated 
> on your end? If you haven't enabled the logging yet, logging can be enabled 
> by navigating to the Client libraries > Your client library (ex. Java) > 
> Logging documentation, which you can access from this link 
> .
>
> Please provide the logs via Reply privately to the author option. If this 
> option is not available, then send it instead on this email address 
> *googleadsa...@google.com.*
>
> Kind regards, 
> [image: Google Logo] 
> Sherwin Vincent 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2hZOVp: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/f4fcaad9-ed95-45c8-97c6-3c8c72ebce66n%40googlegroups.com.


How to get the "Served Cost" for a campaign for a specific date?

2023-01-04 Thread Chris Sun
Hello,

In this webpage , 
there's a section that shows how to view a "Billed Cost" report.
That report includes a "Served Cost" value for a campaign for a given date 
range.

Using the Google Ads API, how can I get the "Served Cost" for a campaign?

I have tried querying for the *metrics.cost_micros *(query shown below), 
but that value is slightly lower than what the report shows.
My query:
SELECT campaign.name, metrics.cost_micros
FROM campaign
WHERE segments.date >= '2023-01-02' AND
segments.date < '2023-01-03' AND
campaign.name = 'my_campaign_name'

Also, I set the summary_row_setting to be the SUMMARY_ROW_WITH_RESULTS enum 
value.

Any feedback is appreciated.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/218a10fe-13b2-42b7-9fa9-910ac5630989n%40googlegroups.com.


Re: DynamicSearchAdsSetting conflict

2023-01-04 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Alin,

I can confirm that you should use the asset based workflow instead.

Please find an example of associating an asset set with a campaign, here.

Regards,

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


RE: MissingMethodException: Method not found: 'Google.Cloud.Logging.V2.LoggingServiceV2Client Google.Cloud.Logging.V2.LoggingServiceV2Client.Create(Google.Api.Gax.Grpc.ServiceEndpoint, Google.Cloud.Lo

2023-01-04 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Naresh,

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

Kindly note that this channel and our team provide support for Google Ads API 
related concerns only.  With regards to your concern, I would suggest you 
please reach out to the GCP support team as they're better equipped to assist 
you on this.

Thanks,

Nirmita
Google Ads API Team
ref:_00D1U1174p._5004Q2hZWzr: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/ERM7-0RNZ17200L8G2O_7dQ9WWf41rkYguDw%40sfdc.net.


Re: Getting 401 Unauthorized error while oauth request

2023-01-04 Thread Brahim haddad
how i can check my credentials


Le jeudi 19 août 2021 à 18:25:36 UTC+1, adsapi a écrit :

> Hi,
>
> Please double check if the credentials (i.e. client ID and client secret) 
> are correct and there are no blank spaces.
>
> Thanks,
> [image: Google Logo] 
> Lakshmi Prathipati 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2LoWee: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/97933ce3-9b7f-4b68-961c-8970120ad371n%40googlegroups.com.


Re: Image Extensions

2023-01-04 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi,

Thank you for your reply.

It appears that this is more on the client library, could you please clarify 
this to the author of your client library via this .Net client library issues 
on github. If not, you may provide us the screenshot of the UI that you are 
referring to so that we can further check this.

Best regards,

Jinky
Google Ads API Team
ref:_00D1U1174p._5004Q2hYxY0: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/HWt830RNYWL100te-TgSfeT22S4nYzougQZw%40sfdc.net.


RE: The API is too slow on AWS Lambda

2023-01-04 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi,


Thanks for reaching out to the Google Ads API team. I hope you are doing well 
today.

With regards to your concern, could you please confirm if you encountered an 
issue with the API? If yes, then could you provide the complete request and 
response logs with request ID and request header generated on your end? If not, 
could you please provide more details or a full screenshot where you are 
referring to?


You can provide it via Reply privately to the author option. If this option is 
not available, then send it instead on this email address 
googleadsapi-supp...@google.com.

Regards,

Darwin
Google Ads API Team
ref:_00D1U1174p._5004Q2hZR7z: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/DJGSd0RNYW4700bbF-1F8iRMC4VPyKzBieiA%40sfdc.net.


RE: What means "Assets are duplicated across operations."?

2023-01-04 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Markus,

Thank you for reaching out to our API support team.

So our team can take a closer look at the error your are encountering and 
identify the cause, could you also provide to our team your complete request 
and response logs, and request-id? If you haven't yet, logging can be enabled 
by referring to this guide and by using the DEBUG log setting.

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.

The details from the complete logs should provide our team with more details 
and also would allow us to come up with recommendations to the cause and how to 
resolve the error.

Best regards,

Peter Laurence
Google Ads API Team
ref:_00D1U1174p._5004Q2hZUBB: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/2xKjC0RNYV5U00lOdQtl9_QQmYga6IzQqT0A%40sfdc.net.


MissingMethodException: Method not found: 'Google.Cloud.Logging.V2.LoggingServiceV2Client Google.Cloud.Logging.V2.LoggingServiceV2Client.Create(Google.Api.Gax.Grpc.ServiceEndpoint, Google.Cloud.Loggin

2023-01-04 Thread Naresh Afzalpurkar
Hi All, 

I am getting this exception while running application on google cloud. can 
you please suggest on this ?


Thanks 
Naresh S Afzalpurkar

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/868ee820-d299-4865-9387-8e27ce0ecc2bn%40googlegroups.com.


check Client Id And Client Secret is working

2023-01-04 Thread Brahim haddad
Hi.
How can I check is Client Id And Client Secret is working

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/25614d7e-3c41-4aa8-a7e7-c709443f5dcen%40googlegroups.com.


Conversion precedes event error google api

2023-01-04 Thread 'Sofia Aboy' via Google Ads API and AdWords API Forum
Hi support, I use Google Ad API for uploading offline conversation. We 
never have any issues with the upload until a few days ago. Suddenly all 
gclids are having this error CONVERSION_PRECEDES_CLICK.
Please help with this issue.

Method Name: 
/google.ads.googleads.v10.services.ConversionUploadService/UploadClickConversions
 
2Host: googleads.googleapis.com 3Headers: { 4 "x-goog-api-client": 
"gl-php\/7.4.29 gccl\/14.0.0 gapic\/14.0.0 gax\/1.12.1 grpc\/1.45.0 
rest\/1.12.1", 5 "x-goog-request-params": "customer_id=9829747784", 6 
"developer-token": "REDACTED", 7 "login-customer-id": "9829747784" 8} 
9Request: 
10{"customerId":"9829747784","conversions":[{"gclid":"EAIaIQobChMIobb9vpup_AIVOgW5Bh3h-wGeEAEYASAAEgLLIfD_BwE","conversionAction":"customers/9829747784/conversionActions/346628319","conversionDateTime":"2023-01-02
 
12:36:01-03:00","conversionValue":2.5,"currencyCode":"USD"}],"partialFailure":true}
 
11 12Response 13--- 14Headers: { 15 "content-disposition": 
"attachment", 16 "request-id": "k95cZk8OhYOdfJEu7yT2ow", 17 "date": "Mon, 
02 Jan 2023 17:48:03 GMT", 18 "alt-svc": "h3=\":443\"; 
ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; 
ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; 
ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"" 19} 20Response: 
21{"partialFailureError":{"code":3,"message":"This conversion is reported 
to have happened before the click associated with the given identifier or 
iOS URL parameter., at 
conversions[0].conversion_date_time","details":[{"@type":"type.googleapis.com/google.ads.googleads.v10.errors.GoogleAdsFailure","errors":[{"errorCode":{"conversionUploadError":"CONVERSION_PRECEDES_EVENT"},"message":"This
 
conversion is reported to have happened before the click associated with 
the given identifier or iOS URL 
parameter.","trigger":{"stringValue":"2023-01-02 
12:36:01-03:00"},"location":{"fieldPathElements":[{"fieldName":"conversions","index":0},{"fieldName":"conversion_date_time"}]}}]}]},"results":[{}]}
 
22[2023-01-02T17:48:04.033964+00:00] google-ads.INFO: Request made: Host: 
"googleads.googleapis.com", Method: 
"/google.ads.googleads.v10.services.ConversionUploadService/UploadClickConversions",
 
CustomerId: 9829747784, RequestId: "ZAEBrdl2U532Hrffkiiisw", IsFault: 0, 
FaultMessage: "None" 23[2023-01-02T17:48:04.034175+00:00] google-ads.DEBUG: 
Request 24

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/718a18b2-339b-4f53-8072-cd4e15e58ac9n%40googlegroups.com.


Re: "AttributeError: 'int' object has no attribute 'name'" when I'm trying to get enum's name

2023-01-04 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Corrine,

Thank you for your reply. Thanks for updating us on the said issue that it 
resolved by setting the use_proto_plus to TRUE, and not FALSE. Thank you for 
validating this. However, if you wish to validate this with client library 
owner, then you may create new issue here as well.

Regards,

Yasar
Google Ads API Team
ref:_00D1U1174p._5004Q2RujbX: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/rhw4q0RNYQJZ001b-2MHaxSsOSWOrPnTmlIw%40sfdc.net.


What means "Assets are duplicated across operations."?

2023-01-04 Thread Markus Heiden
Hi,

we get an ASSET_ERROR / DUPLICATE_ASSET "Assets are duplicated across 
operations." when creating an AdGroupAd / Ad / ResponsiveSearchAdInfo.

Please explain in a bit more detail what may cause the problem.

In this case, the headline at position 9 seems to be the problem. But 
against what is the duplicate check done? The same RSA, another RSA in the 
ad group, or another RSA in the account? Does it conflict only with the 
"create RSA" operations in the same call or against already existing RSAs 
too?

The error:
error_code { asset_error: DUPLICATE_ASSET } message: "Assets are duplicated 
across operations." location { field_path_elements { field_name: 
"mutate_operations" index: 0 } field_path_elements { field_name: 
"ad_group_ad_operation" } field_path_elements { field_name: "create" } 
field_path_elements { field_name: "ad" } field_path_elements { field_name: 
"responsive_search_ad" } field_path_elements { field_name: "headlines" 
index: 9 } } 

Thanks,
Markus

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/24de3e39-8b56-4cd8-85a1-8ca0d17b3cbfn%40googlegroups.com.


Re: Image Extensions

2023-01-04 Thread 'Rajender Gottipamula' via Google Ads API and AdWords API Forum
Hi Team,

Thank you for your prompt response.

Seems you have provided the same URL's, which I referring in my initial 
email. Could you please provide information on how to create ImageAssetId 
(i..e, /// ID of the image asset to be used for 
creating the extension). and from where we can get this ImageAssetID. Also, 
seems AddImageExtension.cs 

 logic 
contains create Image extensions as campaign level and would like to know, 
how to create image extensions at adgroup level.

Regards,
Rajender G



On Tuesday, January 3, 2023 at 8:57:21 PM UTC+5:30 adsapi wrote:

> Hi,
>
> Thank you for reaching out to the Google Ads API support team.
>
> You may refer .Net client library 
> 
>  
> on github. Please see below code example.
>
>
> https://github.com/googleads/google-ads-dotnet/blob/main/Google.Ads.GoogleAds/examples/Misc/UploadImageAsset.cs
>
> https://github.com/googleads/google-ads-dotnet/blob/main/Google.Ads.GoogleAds/examples/Extensions/AddImageExtension.cs
>
> Let me know if you have any questions.
>
> Thanks, 
> [image: Google Logo] 
> Nirmita 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2hYxY0: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/bd186bbc-d642-4223-b83f-8701ca57c20cn%40googlegroups.com.


The API is too slow on AWS Lambda

2023-01-04 Thread 'Piotr Popławski' via Google Ads API and AdWords API Forum
Hi,

I've been integrating the application with the googleAds API and the 
problem is that the first googleAds request takes quite long (~15 s). I'm 
using the npm package 'google-ads-api' to communicate with the API.

Request: SELECT conversion_action.name FROM conversion_action WHERE 
conversion_action.status IN ('ENABLED').

The request is called by AWS Lambda and the interesting thing is that as 
long as lambda is still running, the second request that looks exactly the 
same takes ~2s. I've tried to increase the RAM and update the node version 
on Lambda but it didn't help.

However, when I run the script locally, it takes ~2s as well.

I also checked in the logs that the issue is *not* related to cold lambda 
starts. Do you have any other ideas of why it takes so long or what might 
be the issue?

Thanks in advance!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/6afbbc8f-a29a-440b-9071-7206f3559fc8n%40googlegroups.com.


RE: "Maximum number of user identifiers allowed per request is 100000 and per operation is 20" error

2023-01-04 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Chethan,

Thank you for reaching us out. I am Sherwin from Google Ads API support team. I 
hope that you are doing well today.

Moving forward to your concern, I can see here that the error that you got is 
"TOO_MANY_USER_IDENTIFIERS." Please note that there's an update that the 
maximum number of user_identifers set in a UserData to 20. If the number of 
user_identifiers for a single set exceeds the new limit of 20, a 
TOO_MANY_USER_IDENTIFIERS error will be generated. You may check this blog post 
for detailed information regarding this.

If the issue persists, please provide us the complete request and response logs 
with request ID and request header generated on your end? If you haven't 
enabled the logging yet, logging can be enabled by navigating to the Client 
libraries > Your client library (ex. Java) > Logging documentation, which you 
can access from this link.

Please provide the logs via Reply privately to the author option. If this 
option is not available, then send it instead on this email address 
googleadsapi-supp...@google.com.

Kind regards,

Sherwin Vincent
Google Ads API Team
ref:_00D1U1174p._5004Q2hZOVp: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/ex8oi0RNYCA900ANnFIBW3QC-cF-lkYkszew%40sfdc.net.