Re: Filter Generated Keyword (Google ads API)

2022-01-30 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Ngon,

Do you also have any concerns related to the AdWords / Google Ads API? If yes, 
could you provide the details so our team can assist you?

Best regards,

Peter Laurence Napa Oliquino
Google Ads API Team
ref:_00D1U1174p._5004Q2VPzBv: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/M1E210R6KDSD00sMDA5yULT3O5XEhwZ07t1A%40sfdc.net.


Re: Filter Generated Keyword (Google ads API)

2022-01-30 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Rohit,

Our API support team unfortunately would not be able to provide you with code 
specific to your requirement. Apart from the Python reporting example codes 
here, you may reach out and seek code level assistance from the Python library 
owners via this link, as also suggested earlier by our colleague Matt. I hope 
this helps.

Best regards,

Peter Laurence Napa Oliquino
Google Ads API Team
ref:_00D1U1174p._5004Q2VPzBv: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/P4B_a0R6KDO800NbqbOI0EQbeh-2O8Y3hJKw%40sfdc.net.


RE: Google api error occur

2022-01-30 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hello Ritik,

Could you please confirm if you already follow this configuration guide for 
setting your YAML file. If not please do so, but if you already followed that 
guide and the error persists, you can reach out to the author of the Python 
client library as they are more equipped to provide support here. You can reach 
out to them by posting your concern here.

Let me know if you have any questions with provided documents. I hope it helps.

Best regards,

Jinky Mandaya
Google Ads API Team
ref:_00D1U1174p._5004Q2VQjX2: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/4NWx40R6KCYG00rxMCrOEMSTaUfJEow9CXBg%40sfdc.net.


AdsCommon::Errors::UnexpectedParametersError

2022-01-30 Thread Joel Hendy
Hello,
I'm using the google adwords ruby gem to try and mutate an audience but I 
get this error in return, I was wondering if someone could explain it a 
little better 

Google Ads error: AdsCommon::Errors::UnexpectedParametersError: 
[:hashed_first_name]. Parameters for members: [:hashed_first_name, 
:hashed_email], [\"google_ads_hashed_first_name\", 
\"google_ads_email_sha256\"]"

So to me that reads, 
"""You have provided a parameter "hashed_first_name" which is unexpected, 
the parameters for members are [:hashed_first_name, :hashed_email]"""

So why is it rejecting the hashed_first_name field when it seems to be 
expecting it? 

Any help would be amazing 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/618aa2e1-fd39-45b6-9a88-49e6c81f5697n%40googlegroups.com.


Re: Filter Generated Keyword (Google ads API)

2022-01-30 Thread Ngon Nguyen
Vào 2:36, CN, 30 thg 1, 2022 Rohit Nishad 
đã viết:

> Hi
> i need example code with filtered list
> Thanks
> On Friday, 28 January, 2022 at 10:02:21 pm UTC+5:30 adsapi wrote:
>
>> Hi Rohit,
>>
>> If you have questions specific to the Python client library, please reach
>> out to the client library owners, here
>> .
>>
>> Regards,
>> Matt
>> Google Ads API Team
>>
>> [image: Google Logo]
>> Matt
>> Google Ads API Team
>>
>>
>> ref:_00D1U1174p._5004Q2VPzBv: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/c1353295-27a5-4fbd-b60a-9e7beb1f5323n%40googlegroups.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/CAGPr9n%2BOCwSSW_38sopUgq8Awrd322U%2BEam1MzWzrV4HDTdgSg%40mail.gmail.com.


Re: Retrieving sitelinks

2022-01-30 Thread Ngon Nguyen
Vào 8:01, Th 2, 31 thg 1, 2022 'Google Ads API Forum Advisor' via Google
Ads API and AdWords API Forum  đã viết:

> Hi Zweitze,
>
> Thanks for getting back to us.
>
> You may check this *guide*
> 
> for Identify Feed-based extensions. Let us know if you have any further
> questions.
>
> Regards,
> [image: Google Logo]
> Yasar
> Google Ads API Team
>
>
> ref:_00D1U1174p._5004Q2VQ9mn: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/4PgT10R6JUTL00czvBk2g8QXSse6a0CmYAhw%40sfdc.net
> 
> .
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/CAGPr9nK7zYc%3Djf4A8o57STsY%3DgKSHJ6YoTrSWM7jzN5z2vUgPw%40mail.gmail.com.


Re: How to Upload millions of customer data without getting into exceptions?

2022-01-30 Thread Ngon Nguyen
Vào 8:01, Th 2, 31 thg 1, 2022 'Google Ads API Forum Advisor' via Google
Ads API and AdWords API Forum  đã viết:

> Hi,
>
> Thank you for posting your concern.
>
> Please note that there is an update for the customer list in Google Ads
> API that the maximum number of *user_identifers* set in a *UserData*
> object will be reduced from 100,000 to 20 and this update will be applied
> to *OfflineUserDataJobService.AddOfflineUserDataOperations *and
> *UserDataService.UploadUserDataRequest* as according to this blog
> 
> .
>
> With this, allow me to raise your concern to the team on how you can
> upload 100 million customers to the audience/segment with the current
> update. We will revert back to you with any updates about this.
>
> Regards,
> [image: Google Logo]
> Ernie John Blanca Tacata
> Google Ads API Team
>
>
> ref:_00D1U1174p._5004Q2VQUUg: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/VxdL00R6JUT300hYtKoflrQWKJhNkp4njAug%40sfdc.net
> 
> .
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/CAGPr9nK-M%2Bz6A_YF_SnKW3wNni5u%3DigFRLJJ5_UX%3DU2R5CZB4Q%40mail.gmail.com.


Re: unexpected error TOO_MANY_USER_IDENTIFIERS when add_offline_user_data_job_operations

2022-01-30 Thread Ngon Nguyen
Vào 8:28, Th 2, 31 thg 1, 2022 'Google Ads API Forum Advisor' via Google
Ads API and AdWords API Forum  đã viết:

> Hi All,
>
> I received an update from the team and let me share it to you.
>
> Please apply the changes on this blog post
> 
> on uploading customers to customer list / segments. Our team is already
> working to reflect this update in Google Ads API document
>  as well and it
> will be updated soon.
>
> Regards,
> [image: Google Logo]
> Ernie John Blanca Tacata
> Google Ads API Team
>
>
> ref:_00D1U1174p._5004Q2VOr8G: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/ZXltH0R6JW3N00ZQYvs4TZSHeGUPCD87O4uw%40sfdc.net
> 
> .
>

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


Re: The click associated with the given identifier or iOS URL parameter occurred less than 6 hours ago, please retry after 6 hours have passed.

2022-01-30 Thread Ngon Nguyen
Vào 10:30, Th 2, 31 thg 1, 2022 陈先生  đã viết:

> My problem has been solved, because this is a cross-account import, so I
> must import into the correct account, and the conversion operation must be
> the click import type
>
> 在2022年1月30日星期日 UTC+8 23:42:35<陈先生> 写道:
>
>> I am getting the following error when reporting offline conversion
>> operation using google ads api
>>
>>
>> SUCCESS REQUEST SUMMARY. Method:
>> google.ads.googleads.v9.services.ConversionUploadService/UploadClickConversions,
>> Endpoint: googleads.googleapis.com:443, CustomerID: 9342295754
>> <(934)%20229-5754>, RequestID: NXnXyLmU-DDqGP_Qa4yKSg, ResponseCode: OK,
>> Fault: null.
>>
>> Partial failure occurred: error_code {
>>   conversion_upload_error: TOO_RECENT_EVENT
>> }
>> message: "The click associated with the given identifier or iOS URL
>> parameter occurred less than 6 hours ago, please retry after 6 hours have
>> passed."
>> trigger {
>>   string_value:
>> "Cj0KCQiAi9mPBhCJARIsAHchl1xh7WIX2Agye9_7bJzvC3KWzLPpifigrIbvefcc6K5vDgdh-DDqfAYaApfeEALw_wcB"
>> }
>> location {
>>   field_path_elements {
>> field_name: "conversions"
>> index: 0
>>   }
>>   field_path_elements {
>> field_name: "gclid"
>>   }
>> }
>>
>> 1、At what point does the 6 hours start?
>> 2、Other errors will be reported after 6 hours, the errors are as follows:
>> Partial failure occurred: The click associated with the given identifier
>> or iOS URL parameter isn't from the account where conversion tracking is
>> set up.
>>
>> My account structure is like this, my manager account id is 9634597629
>> and my client id is 9342295754 <(934)%20229-5754>. The client ID is
>> using the conversion action created by the manager account
>>
>> Java:
>>
>> public class UploadOfflineConversion1 {
>> private static class UploadOfflineConversionParams {
>>
>> private long customerId;
>>
>> private long conversionActionId;
>>
>> private String gclid;
>>
>> private String conversionDateTime;
>>
>> private Double conversionValue;
>>
>> // Optional: Specify the conversion custom variable ID and value you want
>> to
>> // associate with the click conversion upload.
>> private Long conversionCustomVariableId;
>>
>> private String conversionCustomVariableValue;
>>
>> // Optional: Specify the unique order ID for the click conversion.
>> private String orderId;
>> }
>>
>> public static void main(String[] args) {
>> UploadOfflineConversionParams params = new
>> UploadOfflineConversionParams();
>>
>> // Either pass the required parameters for this example on the command
>> line, or insert them
>> // into the code here. See the parameter class definition above for
>> descriptions.
>> params.customerId = Long.parseLong("9342295754 <(934)%20229-5754>");
>> params.conversionActionId = Long.parseLong("849097845");
>> params.gclid =
>> "Cj0KCQiAi9mPBhCJARIsAHchl1xh7WIX2Agye9_7bJzvC3KWzLPpifigrIbvefcc6K5vDgdh-DDqfAYaApfeEALw_wcB";
>>
>> params.conversionDateTime = DateFormatUtils.format(new Date(),
>> "-MM-dd HH:mm:ss+08:00");
>> params.conversionValue = Double.parseDouble("111");
>> // Optionally specify the conversion custom variable ID and value you
>> want to
>> // associate with the click conversion upload.
>> params.conversionCustomVariableId = null;
>> params.conversionCustomVariableValue = null;
>> // Optionally specify the order ID for the click conversion.
>> params.orderId = null;
>>
>> GoogleAdsClient googleAdsClient = null;
>> try {
>> long loginCustomID = 9634597629L;
>> googleAdsClient = GoogleAdsClient.newBuilder
>> ().setLoginCustomerId(loginCustomID)
>> .setDeveloperToken("xx")
>> .fromPropertiesFile()
>> .build();
>> } catch (FileNotFoundException fnfe) {
>> System.err.printf(
>> "Failed to load GoogleAdsClient configuration from file. Exception:
>> %s%n", fnfe);
>> System.exit(1);
>> } catch (IOException ioe) {
>> System.err.printf("Failed to create GoogleAdsClient. Exception: %s%n",
>> ioe);
>> System.exit(1);
>> }
>> try {
>> new UploadOfflineConversion1()
>> .runExample(
>> googleAdsClient,
>> params.customerId,
>> params.conversionActionId,
>> params.gclid,
>> params.conversionDateTime,
>> params.conversionValue,
>> params.conversionCustomVariableId,
>> params.conversionCustomVariableValue,
>> params.orderId);
>> } catch (GoogleAdsException gae) {
>> // GoogleAdsException is the base class for most exceptions thrown by an
>> API request.
>> // Instances of this exception have a message and a GoogleAdsFailure that
>> contains a
>> // collection of GoogleAdsErrors that indicate the underlying causes of
>> the
>> // GoogleAdsException.
>> System.err.printf(
>> "Request ID %s failed due to GoogleAdsException. Underlying errors:%n",
>> gae.getRequestId());
>> int i = 0;
>> for (GoogleAdsError googleAdsError :
>> gae.getGoogleAdsFailure().getErrorsList()) {
>> System.err.printf(" Error %d: %s%n", i++, googleAdsError);
>> }
>> System.exit(1);
>> }
>> }
>>
>> /**
>> * Runs the example.
>> *
>> * @param googleAdsClient the Google Ads API client.
>> * @param custome

RE: Refresh token and adclient

2022-01-30 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hello Jimmy,

Thank you for reaching out to us.

Since you're using Google Ads API in python, we recommend using the Python 
client library instead. For its authentication, you can then check the 
available guides below:

OAuth Desktop Application Flow
OAuth Web Application Flow
OAuth Service Account Flow

Regards,

Mark Kevin Albios
Google Ads API Team
ref:_00D1U1174p._5004Q2W2kjs: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/dS5NR0R6KBW900KmIsoYYkTzeCdKvnf-j07A%40sfdc.net.


Re: How to remove criterion in Google Ads API?

2022-01-30 Thread Ngon Nguyen
Vào 20:08, CN, 30 thg 1, 2022 Samir Sabri  đã viết:

> Is there any example of removing criterion using the new Google Ads API?
> as we are migrating our code from Google AdWord to Google Ads
>
> Also, in general, is there a migration docs?
>
> Thanks in advance.
>
> - Samir
>
> --
> --
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 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/c78477cc-9646-46d1-833f-d7002250e066n%40googlegroups.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/CAGPr9nJ_KDrYeajTh5OGi_vP_UkgqX0juTT_rsBhRHQZxEEwhw%40mail.gmail.com.


Re: manager_link_error: INVALID_CHANGE

2022-01-30 Thread 'Ionut Mihai' via Google Ads API and AdWords API Forum
Well I'm 100% sure I'm setting oauth2 with the user access token, yet I get 
the same error.

On Monday, January 31, 2022 at 7:13:58 AM UTC+2 adsapi wrote:

> Hi Katerina,
>
> Thank you for providing more details to your concern.
>
> Upon checking the API logs for accepting link request, I can see that you 
> are authenticating as a manager account because you've set the customer ID 
> of the manager account in the *login-customer-id*. However, please note 
> that according to this procedure 
> ,
>  
> step 3, you need to authenticate as a client account. With this, try 
> generating oauth2 credential using one of the user accounts that has direct 
> access to the client account and use it in authentication, then set its 
> customer ID in the *login-customer-id* and the *customer_id*.
>
> Let me know how it goes after.
>
>
> Regards,
> [image: Google Logo] 
> Ernie John Blanca Tacata 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2UjJFj: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/79e70dae-9103-4add-a08e-11de0e9e946dn%40googlegroups.com.


Re: How to remove criterion in Google Ads API?

2022-01-30 Thread Samir Sabri
Thanks adsapi, but what if I want to remove batch of criterion_id's in a 
single request?

On Monday, January 31, 2022 at 9:30:11 AM UTC+3 adsapi wrote:

> Hi Samir,
>
> Thanks for reaching out to the Google Ads API Forum.
>
> You may use *CampaignCriterionService.MutateCampaignCriteria* 
> 
>  
> and  *AdGroupCriterionService.MutateAdGroupCriteria()* 
> 
>  
> at a specific level and perform the *remove* 
> 
>  
> operation to remove criterion from the entity.  
>
> For migration, here are some resources to get you started:
>
>- Subscribe to the *Google Ads developer blog* 
>
> 
>  
>for announcements and tips for upgrading. 
>- Subscribe to the *Google Ads Developers YouTube channel* 
>
> .
>  
>Check out our *60-second API welcome video* 
>
> 
>  
>and *migration webinar* 
>
> 
>. 
>- Take a look at our *Migration guide* 
>
> 
>  
>that includes a list of new features in the new Google Ads API and the 
>mapping of the legacy *AdWords API features to the new Google Ads API 
>features* 
>
> 
>. 
>
> Let us know if you have any further questions.
>
> Regards, 
> [image: Google Logo] 
> Yasar 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2W2hGv: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/dd792fe1-e59b-40d5-a393-e8895c97efd4n%40googlegroups.com.


RE: Report Download in ADS api

2022-01-30 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hello Akash,

Thank you for reaching out to us.

With regard to downloading reports, you can make use of this sample code for 
reference. From that sample, you can also add multiple query strings to run for 
each customer ID.

Regards,

Mark Kevin Albios
Google Ads API Team
ref:_00D1U1174p._5004Q2W2j5S: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/CJRvK0R6KABP00Vn01aHbVR9W6TEV3gef0bg%40sfdc.net.


RE: How to remove criterion in Google Ads API?

2022-01-30 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Samir,

Thanks for reaching out to the Google Ads API Forum.

You may use CampaignCriterionService.MutateCampaignCriteria and 
AdGroupCriterionService.MutateAdGroupCriteria() at a specific level and perform 
the remove operation to remove criterion from the entity.

For migration, here are some resources to get you started:

Subscribe to the Google Ads developer blog for announcements and tips for 
upgrading.
Subscribe to the Google Ads Developers YouTube channel. Check out our 60-second 
API welcome video and migration webinar.
Take a look at our Migration guide that includes a list of new features in the 
new Google Ads API and the mapping of the legacy AdWords API features to the 
new Google Ads API features.

Let us know if you have any further questions.

Regards,

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


Re: manager_link_error: INVALID_CHANGE

2022-01-30 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Katerina,

Thank you for providing more details to your concern.

Upon checking the API logs for accepting link request, I can see that you are 
authenticating as a manager account because you've set the customer ID of the 
manager account in the login-customer-id. However, please note that according 
to this procedure, step 3, you need to authenticate as a client account. With 
this, try generating oauth2 credential using one of the user accounts that has 
direct access to the client account and use it in authentication, then set its 
customer ID in the login-customer-id and the customer_id.

Let me know how it goes after.

Regards,

Ernie John Blanca Tacata
Google Ads API Team
ref:_00D1U1174p._5004Q2UjJFj: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/3yMXU0R6K6IS00tH1qpGxTSdOyfyrW6kjuRA%40sfdc.net.


Re: Report Download in ADS api

2022-01-30 Thread Akash Prajapati
Hello Team,
Can you please provide any Information? 
On Sunday, January 30, 2022 at 10:54:06 PM UTC+5:30 Akash Prajapati wrote:

> Hi Team,
>
> 1. Is there any service in Google ads api that I can use to download the 
> reports?
> 2. If I have to download multiple reports from google ads and each 
> report/resource contains a lot of columns(30+) it's not feasible to write - 
> *"*try:
> for batch in stream:
>  for row in batch.results:
>   print(row.campaign.id)
>   print(row.campaign.name) "
> *Can you guide us on an easy path of downloading a report where we have a 
> lot of columns?*
> Thanks and 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/306fe1c2-3a9f-473b-81df-9081d9024ca6n%40googlegroups.com.


Re: The click associated with the given identifier or iOS URL parameter occurred less than 6 hours ago, please retry after 6 hours have passed.

2022-01-30 Thread 陈先生
My problem has been solved, because this is a cross-account import, so I 
must import into the correct account, and the conversion operation must be 
the click import type

在2022年1月30日星期日 UTC+8 23:42:35<陈先生> 写道:

> I am getting the following error when reporting offline conversion 
> operation using google ads api
>
>
> SUCCESS REQUEST SUMMARY. Method: 
> google.ads.googleads.v9.services.ConversionUploadService/UploadClickConversions,
>  
> Endpoint: googleads.googleapis.com:443, CustomerID: 9342295754 
> <(934)%20229-5754>, RequestID: NXnXyLmU-DDqGP_Qa4yKSg, ResponseCode: OK, 
> Fault: null.
>
> Partial failure occurred: error_code {
>   conversion_upload_error: TOO_RECENT_EVENT
> }
> message: "The click associated with the given identifier or iOS URL 
> parameter occurred less than 6 hours ago, please retry after 6 hours have 
> passed."
> trigger {
>   string_value: 
> "Cj0KCQiAi9mPBhCJARIsAHchl1xh7WIX2Agye9_7bJzvC3KWzLPpifigrIbvefcc6K5vDgdh-DDqfAYaApfeEALw_wcB"
> }
> location {
>   field_path_elements {
> field_name: "conversions"
> index: 0
>   }
>   field_path_elements {
> field_name: "gclid"
>   }
> }
>
> 1、At what point does the 6 hours start?
> 2、Other errors will be reported after 6 hours, the errors are as follows:
> Partial failure occurred: The click associated with the given identifier 
> or iOS URL parameter isn't from the account where conversion tracking is 
> set up.
>
> My account structure is like this, my manager account id is 9634597629 and 
> my client id is 9342295754 <(934)%20229-5754>. The client ID is using the 
> conversion action created by the manager account
>
> Java:
>
> public class UploadOfflineConversion1 {
> private static class UploadOfflineConversionParams {
>
> private long customerId;
>
> private long conversionActionId;
>
> private String gclid;
>
> private String conversionDateTime;
>
> private Double conversionValue;
>
> // Optional: Specify the conversion custom variable ID and value you want 
> to
> // associate with the click conversion upload.
> private Long conversionCustomVariableId;
>
> private String conversionCustomVariableValue;
>
> // Optional: Specify the unique order ID for the click conversion.
> private String orderId;
> }
>
> public static void main(String[] args) {
> UploadOfflineConversionParams params = new UploadOfflineConversionParams();
>
> // Either pass the required parameters for this example on the command 
> line, or insert them
> // into the code here. See the parameter class definition above for 
> descriptions.
> params.customerId = Long.parseLong("9342295754 <(934)%20229-5754>");
> params.conversionActionId = Long.parseLong("849097845");
> params.gclid = 
> "Cj0KCQiAi9mPBhCJARIsAHchl1xh7WIX2Agye9_7bJzvC3KWzLPpifigrIbvefcc6K5vDgdh-DDqfAYaApfeEALw_wcB";
>
> params.conversionDateTime = DateFormatUtils.format(new Date(), 
> "-MM-dd HH:mm:ss+08:00");
> params.conversionValue = Double.parseDouble("111");
> // Optionally specify the conversion custom variable ID and value you want 
> to
> // associate with the click conversion upload.
> params.conversionCustomVariableId = null;
> params.conversionCustomVariableValue = null;
> // Optionally specify the order ID for the click conversion.
> params.orderId = null;
>
> GoogleAdsClient googleAdsClient = null;
> try {
> long loginCustomID = 9634597629L;
> googleAdsClient = GoogleAdsClient.newBuilder
> ().setLoginCustomerId(loginCustomID)
> .setDeveloperToken("xx")
> .fromPropertiesFile()
> .build();
> } catch (FileNotFoundException fnfe) {
> System.err.printf(
> "Failed to load GoogleAdsClient configuration from file. Exception: %s%n", 
> fnfe);
> System.exit(1);
> } catch (IOException ioe) {
> System.err.printf("Failed to create GoogleAdsClient. Exception: %s%n", 
> ioe);
> System.exit(1);
> }
> try {
> new UploadOfflineConversion1()
> .runExample(
> googleAdsClient,
> params.customerId,
> params.conversionActionId,
> params.gclid,
> params.conversionDateTime,
> params.conversionValue,
> params.conversionCustomVariableId,
> params.conversionCustomVariableValue,
> params.orderId);
> } catch (GoogleAdsException gae) {
> // GoogleAdsException is the base class for most exceptions thrown by an 
> API request.
> // Instances of this exception have a message and a GoogleAdsFailure that 
> contains a
> // collection of GoogleAdsErrors that indicate the underlying causes of the
> // GoogleAdsException.
> System.err.printf(
> "Request ID %s failed due to GoogleAdsException. Underlying errors:%n",
> gae.getRequestId());
> int i = 0;
> for (GoogleAdsError googleAdsError : 
> gae.getGoogleAdsFailure().getErrorsList()) {
> System.err.printf(" Error %d: %s%n", i++, googleAdsError);
> }
> System.exit(1);
> }
> }
>
> /**
> * Runs the example.
> *
> * @param googleAdsClient the Google Ads API client.
> * @param customerId the client customer ID.
> * @param conversionActionId conversion action ID associated with this 
> conversion.
> * @param gclid the GCLID for the conversion.
> * @param conve

RE: Historical metrics in REST interface

2022-01-30 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Rohit,

Thank you for raising your concern to our team. Allow me to provide support 
here.

First, I would suggest referring to this document as it presents details 
specific to REST and explains what you need to know to call the REST interface 
directly. Then, check this section to know how to construct the body of the API 
request for Historical metrics. Lastly, check this document to read more 
information about generating historical metrics using Google Ads API.

Let me know if you have questions with the provided support.

Best regards,

Jinky Mandaya
Google Ads API Team
ref:_00D1U1174p._5004Q2W2kRa: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/DVZqD0R6K1A500SsdayurIT8OZkzgLuYT8cw%40sfdc.net.


Re: unexpected error TOO_MANY_USER_IDENTIFIERS when add_offline_user_data_job_operations

2022-01-30 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi All,

I received an update from the team and let me share it to you.

Please apply the changes on this blog post on uploading customers to customer 
list / segments. Our team is already working to reflect this update in Google 
Ads API document as well and it will be updated soon.

Regards,

Ernie John Blanca Tacata
Google Ads API Team
ref:_00D1U1174p._5004Q2VOr8G: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/ZXltH0R6JW3N00ZQYvs4TZSHeGUPCD87O4uw%40sfdc.net.


Re: RunOfflineUserDataJobAsync does sequential Processing of Submitted Jobs?

2022-01-30 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi,

Thank you once again for your reply.

We currently do not have a definite time gap / interval to recommend. However, 
what we do recommend is to allow each operation / job to finish first.

For example, when you perform a remove operation, you can then perform a 
request using the offline_user_data_job report and determine if the 
offline_user_data_job.status is still RUNNING, or if it is already a SUCCESS 
and have finished.

Afterwards, you may then perform the operations to repopulate that userlist.

Best regards,

Peter Laurence Napa Oliquino
Google Ads API Team
ref:_00D1U1174p._5004Q2VOF6X: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/9UqU20R6JVKH00OyzW2qs_TBi9S2PznK6kDg%40sfdc.net.


Re: Retrieving sitelinks

2022-01-30 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Zweitze,

Thanks for getting back to us.

You may check this guide for Identify Feed-based extensions. Let us know if you 
have any further questions.

Regards,

Yasar
Google Ads API Team
ref:_00D1U1174p._5004Q2VQ9mn: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/4PgT10R6JUTL00czvBk2g8QXSse6a0CmYAhw%40sfdc.net.


RE: How to Upload millions of customer data without getting into exceptions?

2022-01-30 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi,

Thank you for posting your concern.

Please note that there is an update for the customer list in Google Ads API 
that the maximum number of user_identifers set in a UserData object will be 
reduced from 100,000 to 20 and this update will be applied to 
OfflineUserDataJobService.AddOfflineUserDataOperations and
UserDataService.UploadUserDataRequest as according to this blog.

With this, allow me to raise your concern to the team on how you can upload 100 
million customers to the audience/segment with the current update. We will 
revert back to you with any updates about this.

Regards,

Ernie John Blanca Tacata
Google Ads API Team
ref:_00D1U1174p._5004Q2VQUUg: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/VxdL00R6JUT300hYtKoflrQWKJhNkp4njAug%40sfdc.net.


RE: Is there any guidance for the Ads API relating to unit testing?

2022-01-30 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hello Tim,

Thank you for reaching out to us.

Please note that this forum channel can only provide assistance to 
issues/concerns related to the AdWords API / Google Ads API.

As far as the documentation is concern, there is no such document related to 
the API's unit testing. However, since this is more on the testing side, you 
can reach out to the client library owners instead. You can navigate by 
selecting your Client library and select on the View on GitHub link. In the 
GitHub link, navigate to the Issues tab (e.g using Java Client Library). Once 
you've receive suggestions from the client library owners, you can then make 
use of Test accounts for your unit testing.

Regards,

Mark Kevin Albios
Google Ads API Team
ref:_00D1U1174p._5004Q2VQU9T: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/RbEwq0R6JUSN00TeIKlUvMR-ejKBTZed35qw%40sfdc.net.


Refresh token and adclient

2022-01-30 Thread jimmy m
How you migrate these 2 lines of code from adwords api to google ads api 
using the new google-ads-python package?

from googleads import adwords (old package)
from googleads import oauth2  (old package)

oauth2_client = oauth2.GoogleRefreshTokenClient(client_id, client_secret, 
refresh_token)
ac = adwords.AdWordsClient(developer_token, oauth2_client, user_agent)

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1a86d5a3-45b9-4a4a-9e1b-a861b4a29549n%40googlegroups.com.


Historical metrics in REST interface

2022-01-30 Thread Rohit Nishad
How can i cell Historical metrics in REST interface? In javascript

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/5087a300-ace2-47c6-8cdd-53731ec7842cn%40googlegroups.com.


Report Download in ADS api

2022-01-30 Thread Akash Prajapati
Hi Team,

1. Is there any service in Google ads api that I can use to download the 
reports?
2. If I have to download multiple reports from google ads and each 
report/resource contains a lot of columns(30+) it's not feasible to write - 
*"*try:
for batch in stream:
 for row in batch.results:
  print(row.campaign.id)
  print(row.campaign.name) "
*Can you guide us on an easy path of downloading a report where we have a 
lot of columns?*
Thanks and 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/8fb0a39d-a44c-44eb-8a78-9dd553aebd2fn%40googlegroups.com.


The click associated with the given identifier or iOS URL parameter occurred less than 6 hours ago, please retry after 6 hours have passed.

2022-01-30 Thread 陈先生
I am getting the following error when reporting offline conversion 
operation using google ads api


SUCCESS REQUEST SUMMARY. Method: 
google.ads.googleads.v9.services.ConversionUploadService/UploadClickConversions,
 
Endpoint: googleads.googleapis.com:443, CustomerID: 9342295754, RequestID: 
NXnXyLmU-DDqGP_Qa4yKSg, ResponseCode: OK, Fault: null.

Partial failure occurred: error_code {
  conversion_upload_error: TOO_RECENT_EVENT
}
message: "The click associated with the given identifier or iOS URL 
parameter occurred less than 6 hours ago, please retry after 6 hours have 
passed."
trigger {
  string_value: 
"Cj0KCQiAi9mPBhCJARIsAHchl1xh7WIX2Agye9_7bJzvC3KWzLPpifigrIbvefcc6K5vDgdh-DDqfAYaApfeEALw_wcB"
}
location {
  field_path_elements {
field_name: "conversions"
index: 0
  }
  field_path_elements {
field_name: "gclid"
  }
}

1、At what point does the 6 hours start?
2、Other errors will be reported after 6 hours, the errors are as follows:
Partial failure occurred: The click associated with the given identifier or 
iOS URL parameter isn't from the account where conversion tracking is set 
up.

My account structure is like this, my manager account id is 9634597629 and 
my client id is 9342295754. The client ID is using the conversion action 
created by the manager account

Java:

public class UploadOfflineConversion1 {
private static class UploadOfflineConversionParams {

private long customerId;

private long conversionActionId;

private String gclid;

private String conversionDateTime;

private Double conversionValue;

// Optional: Specify the conversion custom variable ID and value you want to
// associate with the click conversion upload.
private Long conversionCustomVariableId;

private String conversionCustomVariableValue;

// Optional: Specify the unique order ID for the click conversion.
private String orderId;
}

public static void main(String[] args) {
UploadOfflineConversionParams params = new UploadOfflineConversionParams();

// Either pass the required parameters for this example on the command 
line, or insert them
// into the code here. See the parameter class definition above for 
descriptions.
params.customerId = Long.parseLong("9342295754");
params.conversionActionId = Long.parseLong("849097845");
params.gclid = 
"Cj0KCQiAi9mPBhCJARIsAHchl1xh7WIX2Agye9_7bJzvC3KWzLPpifigrIbvefcc6K5vDgdh-DDqfAYaApfeEALw_wcB";

params.conversionDateTime = DateFormatUtils.format(new Date(), "-MM-dd 
HH:mm:ss+08:00");
params.conversionValue = Double.parseDouble("111");
// Optionally specify the conversion custom variable ID and value you want 
to
// associate with the click conversion upload.
params.conversionCustomVariableId = null;
params.conversionCustomVariableValue = null;
// Optionally specify the order ID for the click conversion.
params.orderId = null;

GoogleAdsClient googleAdsClient = null;
try {
long loginCustomID = 9634597629L;
googleAdsClient = GoogleAdsClient.newBuilder
().setLoginCustomerId(loginCustomID)
.setDeveloperToken("xx")
.fromPropertiesFile()
.build();
} catch (FileNotFoundException fnfe) {
System.err.printf(
"Failed to load GoogleAdsClient configuration from file. Exception: %s%n", 
fnfe);
System.exit(1);
} catch (IOException ioe) {
System.err.printf("Failed to create GoogleAdsClient. Exception: %s%n", ioe);
System.exit(1);
}
try {
new UploadOfflineConversion1()
.runExample(
googleAdsClient,
params.customerId,
params.conversionActionId,
params.gclid,
params.conversionDateTime,
params.conversionValue,
params.conversionCustomVariableId,
params.conversionCustomVariableValue,
params.orderId);
} catch (GoogleAdsException gae) {
// GoogleAdsException is the base class for most exceptions thrown by an 
API request.
// Instances of this exception have a message and a GoogleAdsFailure that 
contains a
// collection of GoogleAdsErrors that indicate the underlying causes of the
// GoogleAdsException.
System.err.printf(
"Request ID %s failed due to GoogleAdsException. Underlying errors:%n",
gae.getRequestId());
int i = 0;
for (GoogleAdsError googleAdsError : 
gae.getGoogleAdsFailure().getErrorsList()) {
System.err.printf(" Error %d: %s%n", i++, googleAdsError);
}
System.exit(1);
}
}

/**
* Runs the example.
*
* @param googleAdsClient the Google Ads API client.
* @param customerId the client customer ID.
* @param conversionActionId conversion action ID associated with this 
conversion.
* @param gclid the GCLID for the conversion.
* @param conversionDateTime date and time of the conversion.
* @param conversionValue the value of the conversion.
* @param conversionCustomVariableId the ID of the conversion custom 
variable to associate with
* the upload.
* @param conversionCustomVariableValue the value of the conversion custom 
variable to associate
* with the upload.
* @param orderId the unique ID (transaction ID) of the conversion.
*/
// [START upload_offline_conversion]
private void runExample(
GoogleAdsClient googleAdsClient,
long customerId,
long conversionActionId,
String gclid,
S

How to remove criterion in Google Ads API?

2022-01-30 Thread Samir Sabri
Is there any example of removing criterion using the new Google Ads API? as 
we are migrating our code from Google AdWord to Google Ads

Also, in general, is there a migration docs?

Thanks in advance.

- Samir

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c78477cc-9646-46d1-833f-d7002250e066n%40googlegroups.com.