Re: Upload DSA Feeds - Google Ads API

2020-01-13 Thread oded zapgroup4

Thanks Mitchell, I was about half way translating the code.
actually was almost the same as the example you've linked me to.


On Monday, January 13, 2020 at 9:51:51 PM UTC+2, adsapiforumadvisor wrote:
>
> Hi,
>
> Thank you for reaching out. I believe this example 
> 
>  is 
> similar to the one you shared from the AdWords API. Also, here 
> 
>  
> is an example from the Google Ads API documentation for for creating and 
> updating feeds. You can also take a look at the Services 
>  
> migration guide for how to map services from AdWords API to Google Ads API. 
> This should be helpful for reproducing the code.
>
> Regards,
> Mitchell
> Google Ads API Team
>
> ref:_00D1U1174p._5001USwIWr: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 
"AdWords API and Google Ads 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/34d86f78-4eb1-4cd8-bfd9-752c076c1afe%40googlegroups.com.


[no subject]

2020-01-13 Thread فايز المزيريب


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/CA%2Bs1z%2BXDVCEaopFpa-NWC%3D7f4GFNZr-nUroXwEsCPKxmBEMdig%40mail.gmail.com.


Re: Do I Need to Migrate Google Ads Script?

2020-01-13 Thread 高嶋葵
Hi,

Thank you, 

I ask the Google Ads Scripts Support Team.


Regards,
Takashima Aoi.

2020年1月11日土曜日 3時38分37秒 UTC+9 adsapiforumadvisor:
>
> Hi,
>
> Thanks for reaching out to us. I’m more than happy to help you with your 
> issue. Because this is an issue related to Google Ads Scripts, I recommend 
> you to contact the Google Ads Scripts Support Team here 
> . If you have 
> any further questions about Google Ads / AdWords API, please let me know.
>
> Thank you,
> Bryan, Google Ads API Team
>
>
> ref:_00D1U1174p._5001USw2yJ: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 
"AdWords API and Google Ads 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/587b47ae-3348-4313-b59f-59d8a20c2373%40googlegroups.com.


NO_CUSTOMER_FOUND while getting Account Hierarchy

2020-01-13 Thread Pradeep Datla

Hi,

I am trying to get account hierarchy when logged in with manager account. I 
am able to get the accounts when i test with "Test Manager Account" but 
when i try with a real Manager account i get an error "NO_CUSTOMER_FOUND".

[image: accounthierarchy.jpg]

[image: erroraccounthi.jpg]




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/4e91d5ea-60bb-4ced-8b8e-137492db0bb2%40googlegroups.com.


Re: Unable to create and attach shared keywords in Google Ads API python client

2020-01-13 Thread Michael Xue
Just an update, I tried the API call 
https://googleads.googleapis.com/v2/customers/{obfuscated}/campaignSharedSets:mutate
 with 
a *Display* campaign this time and it worked. But I was able to apply a 
shared keyword set/shared negative placement set to a *video *campaigns 
before. Is this a bug or you guys no longer support shared sets for video 
campaigns?

On Monday, January 13, 2020 at 5:23:21 PM UTC-5, Michael Xue wrote:
>
> Hi Bryan,
>
> Thanks for getting back to me. I tried running the same file but with an 
> older version (4.0.0) of the client and got this exception:
>
> Request with ID "zHpKD9RV14iyrt3TsCd2Hg" failed with status 
> "INVALID_ARGUMENT" and includes the following errors:
> Request made: ClientCustomerId: 7887825568, Host: 
> googleads.googleapis.com:443, Method: 
> /google.ads.googleads.v2.services.CampaignSharedSetService/MutateCampaignSharedSets,
>  
> RequestId: zHpKD9RV14iyrt3TsCd2Hg, IsFault: True, FaultMessage: The error 
> code is not in this version.
> Error with message "The error code is not in this version.".
> On field: operations
>
>
> I can confirm the same error when I make an API call using curl with 
> https://googleads.googleapis.com/v2/customers/{obfuscated}/campaignSharedSets:mutate
> .
> Here's the JSON body:
> {
> "operations": [
> {
> "create": {
> "campaign": {
> "value": 
> "customers/{obfuscated}/campaigns/{obfuscated}"
> },
> "shared_set": {
> "value": 
> "customers/{obfuscated}/sharedSets/{obfuscated}"
> }
> }
> }
> ]
> }
>
> I get the following response 
>
> {
>   "error": {
> "code": 400,
> "message": "Request contains an invalid argument.",
> "status": "INVALID_ARGUMENT",
> "details": [
>   {
> "@type": "
> type.googleapis.com/google.ads.googleads.v2.errors.GoogleAdsFailure",
> "errors": [
>   {
> "errorCode": {
>   "requestError": "UNKNOWN"
> },
> "message": "The error code is not in this version.",
> "trigger": {
>   "int64Value": "4"
> },
> "location": {
>   "fieldPathElements": [
> {
>   "fieldName": "operations",
>   "index": "0"
> }
>   ]
> }
>   }
> ]
>   }
> ]
>   }
> }
>
> Any ideas on why this is happening?
>
> On Monday, January 13, 2020 at 4:45:07 PM UTC-5, adsapiforumadvisor wrote:
>>
>> Hi Michael,
>>
>> Thank you for reaching out. It looks like it’s a setup issue in which 
>> there could have been a problem with the way the client library was 
>> installed, in which it is not reading the attribute file ‘errors_pb2’ while 
>> the the attribute is being used in the script. In this case I would 
>> recommend you to re-download and install the latest version of our client 
>> library to remedy setup issues. For Google Ads Python, you can find the 
>> latest version here 
>> . Could you 
>> give that a try and let me know if you still run into issues with attaching 
>> the shared keyword set to your video campaign, as they should be able to 
>> have shared sets?
>>
>> Thank you,
>> Bryan, Google Ads API Team
>>
>>
>> ref:_00D1U1174p._5001USwM6Y: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 
"AdWords API and Google Ads 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/9ab32c50-aee6-4e5e-a434-1f0324f369af%40googlegroups.com.


Re: Unable to create and attach shared keywords in Google Ads API python client

2020-01-13 Thread Michael Xue
Hi Bryan,

Thanks for getting back to me. I tried running the same file but with an 
older version (4.0.0) of the client and got this exception:

Request with ID "zHpKD9RV14iyrt3TsCd2Hg" failed with status 
"INVALID_ARGUMENT" and includes the following errors:
Request made: ClientCustomerId: 7887825568, Host: 
googleads.googleapis.com:443, Method: 
/google.ads.googleads.v2.services.CampaignSharedSetService/MutateCampaignSharedSets,
 
RequestId: zHpKD9RV14iyrt3TsCd2Hg, IsFault: True, FaultMessage: The error 
code is not in this version.
Error with message "The error code is not in this version.".
On field: operations


I can confirm the same error when I make an API call using curl with 
https://googleads.googleapis.com/v2/customers/{obfuscated}/campaignSharedSets:mutate.
Here's the JSON body:
{
"operations": [
{
"create": {
"campaign": {
"value": "customers/{obfuscated}/campaigns/{obfuscated}"
},
"shared_set": {
"value": 
"customers/{obfuscated}/sharedSets/{obfuscated}"
}
}
}
]
}

I get the following response 

{
  "error": {
"code": 400,
"message": "Request contains an invalid argument.",
"status": "INVALID_ARGUMENT",
"details": [
  {
"@type": 
"type.googleapis.com/google.ads.googleads.v2.errors.GoogleAdsFailure",
"errors": [
  {
"errorCode": {
  "requestError": "UNKNOWN"
},
"message": "The error code is not in this version.",
"trigger": {
  "int64Value": "4"
},
"location": {
  "fieldPathElements": [
{
  "fieldName": "operations",
  "index": "0"
}
  ]
}
  }
]
  }
]
  }
}

Any ideas on why this is happening?

On Monday, January 13, 2020 at 4:45:07 PM UTC-5, adsapiforumadvisor wrote:
>
> Hi Michael,
>
> Thank you for reaching out. It looks like it’s a setup issue in which 
> there could have been a problem with the way the client library was 
> installed, in which it is not reading the attribute file ‘errors_pb2’ while 
> the the attribute is being used in the script. In this case I would 
> recommend you to re-download and install the latest version of our client 
> library to remedy setup issues. For Google Ads Python, you can find the 
> latest version here 
> . Could you give 
> that a try and let me know if you still run into issues with attaching the 
> shared keyword set to your video campaign, as they should be able to have 
> shared sets?
>
> Thank you,
> Bryan, Google Ads API Team
>
>
> ref:_00D1U1174p._5001USwM6Y: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 
"AdWords API and Google Ads 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/3e8674af-4bcc-45bd-b181-4d90753afda2%40googlegroups.com.


RE: Unable to create and attach shared keywords in Google Ads API python client

2020-01-13 Thread Google Ads API Forum Advisor Prod
Hi Michael,

Thank you for reaching out. It looks like it’s a setup issue in which there 
could have been a problem with the way the client library was installed, in 
which it is not reading the attribute file ‘errors_pb2’ while the the attribute 
is being used in the script. In this case I would recommend you to re-download 
and install the latest version of our client library to remedy setup issues. 
For Google Ads Python, you can find the latest version here. Could you give 
that a try and let me know if you still run into issues with attaching the 
shared keyword set to your video campaign, as they should be able to have 
shared sets?

Thank you,
Bryan, Google Ads API Team
ref:_00D1U1174p._5001USwM6Y: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 
"AdWords API and Google Ads 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/zHfzl0Q42F2P00MXT3rGxdTIi0zSuPjCR70g%40sfdc.net.


RE: get sitelinks for all adgroups for a given campaign (java)

2020-01-13 Thread Google Ads API Forum Advisor Prod
Hi Geofrey,

Thank you for reaching out to us. Unfortunately there is no way to fetch all 
sitelinks on both the campaign and ad-group level. The AdGroupFeedService will 
return a list of AdGroupFeeds, which is used to link a feed to an adgroup. 
Fields returned include feedId, adGroupId, matchingFunction, placeholderTypes, 
Status, baseCampaignId, and baseAdGroupId. Please let me know if you have 
further questions.

Thank you,
Bryan, Google Ads API Team
ref:_00D1U1174p._5001USwLxR: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 
"AdWords API and Google Ads 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/7t2DC0Q42DJ900WwkEiwWcQU-Zj0uHpzF5WQ%40sfdc.net.


Unable to create and attach shared keywords in Google Ads API python client

2020-01-13 Thread Michael Xue


When running the example create_and_attach_shared_keyword_set.py with the 
latest Python client 4.1.1 release, I'm getting the following error. I've 
also posted the issue in the Github python client issue section, but I'm 
wondering if there are limitations on what types of campaigns I can apply 
the shared keyword set to? In my case, I was trying to attach the shared 
keywords to a video campaign. Is this also the case for shared negative 
placements set? The strange thing is that it use to work but now is broken.


Created shared criterion 
"customers/{obfuscated}/sharedCriteria/{obfuscated}~{obfuscated}".
Created shared criterion 
"customers/{obfuscated}/sharedCriteria/{obfuscated}~{obfuscated}".
Request made: ClientCustomerId: {obfuscated}, Host: 
googleads.googleapis.com:443, Method: 
/google.ads.googleads.v2.services.CampaignSharedSetService/MutateCampaignSharedSets,
 RequestId: None, IsFault: True, FaultMessage: None
Traceback (most recent call last):
  File 
"/Users/{obfuscated}/Projects/google-ads-python/examples/advanced_operations/create_and_attach_shared_keyword_set.py",
 line 130, in 
main(google_ads_client, args.customer_id, args.campaign_id)
  File 
"/Users/{obfuscated}/Projects/google-ads-python/examples/advanced_operations/create_and_attach_shared_keyword_set.py",
 line 99, in main
customer_id, [campaign_set_operation]).results[0].resource_name)
  File 
"/Users/{obfuscated}/.local/share/virtualenvs/google-ads-python-ObS9Yvf7/lib/python3.7/site-packages/google/ads/google_ads/v2/services/campaign_shared_set_service_client.py",
 line 402, in mutate_campaign_shared_sets
return self._inner_api_calls['mutate_campaign_shared_sets'](request, 
retry=retry, timeout=timeout, metadata=metadata)
  File 
"/Users/{obfuscated}/.local/share/virtualenvs/google-ads-python-ObS9Yvf7/lib/python3.7/site-packages/google/api_core/gapic_v1/method.py",
 line 143, in __call__
return wrapped_func(*args, **kwargs)
  File 
"/Users/{obfuscated}/.local/share/virtualenvs/google-ads-python-ObS9Yvf7/lib/python3.7/site-packages/google/api_core/retry.py",
 line 286, in retry_wrapped_func
on_error=on_error,
  File 
"/Users/{obfuscated}/.local/share/virtualenvs/google-ads-python-ObS9Yvf7/lib/python3.7/site-packages/google/api_core/retry.py",
 line 184, in retry_target
return target()
  File 
"/Users/{obfuscated}/.local/share/virtualenvs/google-ads-python-ObS9Yvf7/lib/python3.7/site-packages/google/api_core/timeout.py",
 line 214, in func_with_timeout
return func(*args, **kwargs)
  File 
"/Users/{obfuscated}/.local/share/virtualenvs/google-ads-python-ObS9Yvf7/lib/python3.7/site-packages/google/api_core/grpc_helpers.py",
 line 57, in error_remapped_callable
return callable_(*args, **kwargs)
  File 
"/Users/{obfuscated}/.local/share/virtualenvs/google-ads-python-ObS9Yvf7/lib/python3.7/site-packages/grpc/_interceptor.py",
 line 222, in __call__
compression=compression)
  File 
"/Users/{obfuscated}/.local/share/virtualenvs/google-ads-python-ObS9Yvf7/lib/python3.7/site-packages/grpc/_interceptor.py",
 line 257, in _with_call
return call.result(), call
  File 
"/Users/{obfuscated}/.local/share/virtualenvs/google-ads-python-ObS9Yvf7/lib/python3.7/site-packages/grpc/_interceptor.py",
 line 126, in result
raise self._exception
  File 
"/Users/{obfuscated}/.local/share/virtualenvs/google-ads-python-ObS9Yvf7/lib/python3.7/site-packages/grpc/_interceptor.py",
 line 248, in continuation
compression=new_compression)
  File 
"/Users/{obfuscated}/.local/share/virtualenvs/google-ads-python-ObS9Yvf7/lib/python3.7/site-packages/grpc/_interceptor.py",
 line 272, in with_call
compression=compression)
  File 
"/Users/{obfuscated}/.local/share/virtualenvs/google-ads-python-ObS9Yvf7/lib/python3.7/site-packages/grpc/_interceptor.py",
 line 257, in _with_call
return call.result(), call
  File 
"/Users/{obfuscated}/.local/share/virtualenvs/google-ads-python-ObS9Yvf7/lib/python3.7/site-packages/grpc/_interceptor.py",
 line 126, in result
raise self._exception
  File 
"/Users/{obfuscated}/.local/share/virtualenvs/google-ads-python-ObS9Yvf7/lib/python3.7/site-packages/grpc/_interceptor.py",
 line 248, in continuation
compression=new_compression)
  File 
"/Users/{obfuscated}/.local/share/virtualenvs/google-ads-python-ObS9Yvf7/lib/python3.7/site-packages/grpc/_interceptor.py",
 line 272, in with_call
compression=compression)
  File 
"/Users/{obfuscated}/.local/share/virtualenvs/google-ads-python-ObS9Yvf7/lib/python3.7/site-packages/grpc/_interceptor.py",
 line 256, in _with_call
continuation, client_call_details, request)
  File 
"/Users/{obfuscated}/.local/share/virtualenvs/google-ads-python-ObS9Yvf7/lib/python3.7/site-packages/google/ads/google_ads/interceptors/exception_interceptor.py",
 line 139, in intercept_unary_unary
self._handle_grpc_failure(response)
  File 

Re: get sitelinks for all adgroups for a given campaign (java)

2020-01-13 Thread Geofrey F
Just to add I noticed that there is an AdGroupFeedService that can give you 
feed items for a given campaign, but not sure if this API would return 
sitelinks, and if it does, how to filter to process sitelinks only.

On Monday, 13 January 2020 15:48:54 UTC-5, Geofrey F wrote:
>
> Is there an easier way to fetch all sitelinks for a given campaign on both 
> campaign and ad-group level? 
>
> currently we're doing a few things:
> - fetch all campaign-level sitelinks using CampaignExtensionSettingService
> - fetch all adgroups for a given campaign using CampaignService
> - for each adgroup fetch sitelinks using AdgroupExtensionSettingService
>
>  just looking to see if there's a more efficient way of doing this.
>

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

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


get sitelinks for all adgroups for a given campaign (java)

2020-01-13 Thread Geofrey F
Is there an easier way to fetch all sitelinks for a given campaign on both 
campaign and ad-group level? 

currently we're doing a few things:
- fetch all campaign-level sitelinks using CampaignExtensionSettingService
- fetch all adgroups for a given campaign using CampaignService
- for each adgroup fetch sitelinks using AdgroupExtensionSettingService

 just looking to see if there's a more efficient way of doing this.

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

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


RE: Manage your API automated rules?

2020-01-13 Thread Google Ads API Forum Advisor Prod
Hi Lista,

Thank you for reaching out. I'm happy to assist you with any Google Ads API or 
AdWords API related questions. What specific questions do you have regarding 
API automation rules?

Regards,
Mitchell
Google Ads API Team
ref:_00D1U1174p._5001USwKTt: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 
"AdWords API and Google Ads 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/gy-RN0Q42BB6009qfMXr4LQru6YajEiA5I0g%40sfdc.net.


RE: I need to create an ad group and specify which time it should appear on google, can you do this via API?

2020-01-13 Thread Google Ads API Forum Advisor Prod
Hi Lista,

Thanks for reaching out. The startDate and endDate fields are currently not 
supported on the AdGroup level in the Adwords API. I have requested this 
feature for your concerns. Please keep an eye on our blog for the announcements 
and updates on the new releases.

Thanks and regards,
Xiaoming, Google Ads API Team
ref:_00D1U1174p._5001USwI4B: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 
"AdWords API and Google Ads 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/vVYCb0Q42AXC007BPVD7gYSfqBndT-gmCkxg%40sfdc.net.


RE: How to use

2020-01-13 Thread Google Ads API Forum Advisor Prod
Hi Xingguo,

Please use this code example for reference and replace GenerateForecastMetrics 
info with GenerateHistoricalMetrics info accordingly to fetch the Historical 
Metrics. Please let me know if you have any further questions.

Thanks and regards,
Xiaoming, Google Ads API Team
ref:_00D1U1174p._5001USwH4z: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 
"AdWords API and Google Ads 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/IrznS0Q429Z000bdXZon8mQZiRfEZVUfsrEw%40sfdc.net.


RE: Upload DSA Feeds - Google Ads API

2020-01-13 Thread Google Ads API Forum Advisor Prod
Hi,

Thank you for reaching out. I believe this example is similar to the one you 
shared from the AdWords API. Also, here is an example from the Google Ads API 
documentation for for creating and updating feeds. You can also take a look at 
the Services migration guide for how to map services from AdWords API to Google 
Ads API. This should be helpful for reproducing the code.

Regards,
Mitchell
Google Ads API Team
ref:_00D1U1174p._5001USwIWr: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 
"AdWords API and Google Ads 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/32Cq10Q429TX00JGBSAXT2QCKSk6dKx9U-sQ%40sfdc.net.


RE: Apply auto-created custom intent audience to ad groups with Ad Words API

2020-01-13 Thread Google Ads API Forum Advisor Prod
Hi Harry,

Thank you for reaching out. You could use the CriterionUserInterest targeting 
type via AdWords API to apply audiences to an ad group. Please see here to find 
the Criterion ID you would like to use. Similarly, you can see refer to the 
targeting criteria and perform a mutate on AdGroupCriterionService in a similar 
fashion if you are using Google Ads API. Please refer to this example for how 
to add an audience to an ad group. You need to modify this code to reflect the 
shared information. Let us know if this clarifies your concern.

Regards,
Nikisha Patel, Google Ads API Team
ref:_00D1U1174p._5001USwAoR: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 
"AdWords API and Google Ads 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/OhRoq0Q429OA00IpbxDiLkQSOJkehoZ9Ypzg%40sfdc.net.


RE: How can I update responsive search ad by Api?

2020-01-13 Thread Google Ads API Forum Advisor Prod
Hi Dmytro,

Thanks for reaching out. Please refer to the following code to update 
Responsive Search Ad with AdService.mutate() in Adwords API:

// Get the AdService.

AdGroupServiceInterface adService = adWordsServices.get(session, 
AdGroupServiceInterface.class);


// Create base class ad to avoid setting type specific fields.

Ad ad = new Ad();

ad.setId(adId);


// Here is the code to update the ad


// Create ad group ad.

AdGroupAd adGroupAd = new AdGroupAd();

adGroupAd.setAdGroupId(adGroupId);

adGroupAd.setAd(ad);


Please let me know if you have any further questions.


Thanks and regards,
Xiaoming, Google Ads API Team
ref:_00D1U1174p._5001USwG27: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 
"AdWords API and Google Ads 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/w87qu0Q428PG00WA29jui8T8aTafETVbU3kQ%40sfdc.net.


RE: Importing Analytics Goals to my Adwords account via API

2020-01-13 Thread Google Ads API Forum Advisor Prod
Hello Jimoh,

Thank you for writing to us. With regards to your concern, you need to link 
your Analytics and Google Ads accounts, and turn on auto-tagging. If you use 
the same login for both your Google Analytics account and your AdWords account, 
they are already linked. Otherwise, you'll need to manually link them according 
to these directions and import Analytics goals and transactions by following 
this guide. Let us know if you need any additional information.

Regards,
Nikisha Patel, Google Ads API Team
ref:_00D1U1174p._5001USwFZP: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 
"AdWords API and Google Ads 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/1X0DC0Q4287I00Rf9gOHHuS9u3s86EfQbV3w%40sfdc.net.


RE: How to get association for AdExtension

2020-01-13 Thread Google Ads API Forum Advisor Prod
Hello Frank,

Thank you for reaching out. If you want to see the association between a feed 
item and campaigns or ad groups, you could use the ad_group_extension_setting 
and campaign_extension_setting resources instead. If the issue persists, could 
you please share the complete report query along with the client customer id 
for further investigation?

P.S. Please use Reply privately to author option while sharing the details.

Regards,
Nikisha Patel, Google Ads API Team
ref:_00D1U1174p._5001USwA2s: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 
"AdWords API and Google Ads 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/XOpRx0Q427A400KzkGrkN3Scub8xUNPWJmYA%40sfdc.net.


RE: Google Ads Optimisation Score

2020-01-13 Thread Google Ads API Forum Advisor Prod
Hello,

Thank you for reaching out. It is not possible to get optimisation score via 
API. A feature request for your concern is already raised internally within our 
team. Please keep an eye on our blog posts for more updates on upcoming 
releases. Let us know if you need any additional information.

Regards,
Nikisha Patel, Google Ads API Team
ref:_00D1U1174p._5001USwDNR: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 
"AdWords API and Google Ads 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/sF4Qp0Q424YW00OtF4-4OYRE26IUelDlN2bg%40sfdc.net.


Re: CLICK_MISSING_CONVERSION_LABEL intermittent error

2020-01-13 Thread laura lawrie
Hi support team, 

I previously posted the issue and provided more details in a private 
response, but after back & forth, no root cause or resolution was found. We 
have more customers that we see experience this issue intermittently. In 
all cases, the offline conversion we are trying to post to does exist and 
was created well before the date of the conversion we are trying to post. 

On Wednesday, August 14, 2019 at 3:15:23 AM UTC-4, adsapiforumadvisor wrote:
>
> Hi Laura,
>
> Thank you for getting in touch with support.
>
> Regarding the CLICK_MISSING_CONVERSION_LABEL error you are encountering, 
> this indicates that the conversion type was not enabled at the time of the 
> click. To elaborate, it occurs if the *click date* of the offline 
> conversion's GCLID is before any conversions were enabled in your Google 
> Ads account. For the validations and tips to ensure successful conversion 
> uploads, you may refer to this guide 
> 
> .
>
> However, if you can confirm that the conversion type was already enabled 
> when the click occurred, could you share the detailed SOAP request and 
> response logs so I can investigate further? You may reply using the *Reply 
> privately to author* option.
>
> Best regards,
> Peter
> Google Ads API Team
>
> ref:_00D1U1174p._5001UEIzux: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 
"AdWords API and Google Ads 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/68a89e6e-c0b0-4018-8f42-eaf07dca6f9e%40googlegroups.com.


Re: Relationship between parent level criterion and its children criteria

2020-01-13 Thread Harry
My questions have been answered. Thanks! 

On Thursday, January 9, 2020 at 12:02:11 PM UTC-8, adsapiforumadvisor wrote:
>
> Hello Harry,
>
> You could reach out to them via help icon (?) on the top right corner of 
> your Google Ads account (once logged in) or via posting your concerns here 
> . Let us know 
> if you have any additional concerns.
>
> Regards,
> Nikisha Patel, Google Ads API Team
>
>
> ref:_00D1U1174p._5001UOGFTI: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 
"AdWords API and Google Ads 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/8299bdc0-01d9-4448-89b3-0ac4981c6d60%40googlegroups.com.


Manage your API automated rules?

2020-01-13 Thread Lista Mais

Are you managing your API-automated rules?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/a1b08e16-e297-4f22-8853-5b6fa1ab39b3%40googlegroups.com.


RE: Third Party Impressions Pixel

2020-01-13 Thread Google Ads API Forum Advisor Prod
Hi Joe,

Thank you for reaching out. Please see here for more information on using 
pixels. It looks like you need to submit that form in order to gain access. My 
team only deals with API related issues so if you have additional questions, I 
recommend reaching out to the Google Ads Product Team here as they will be more 
equipped to provide an answer to your question.

Regards,
Mitchell
Google Ads API Team
ref:_00D1U1174p._5001USwIAB: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 
"AdWords API and Google Ads 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/Wq_4Q0Q41ZKC00G3R6cPOCT0e-xtm1l5U16w%40sfdc.net.


Re: segments not working

2020-01-13 Thread Mason Digital
I figured it out, thanks for your help.

I was querying the wrong report objects. Didn't realize there was another 
layer. Also Phone_Calls is a metric that cannot be extracted at the 
user-location level.

On Friday, January 10, 2020 at 4:27:40 PM UTC-5, adsapiforumadvisor wrote:
>
> Hi Mason,
>
> Thanks for reaching out to us. Could you please confirm if my 
> understanding is correct that you’re not receiving errors, but the report 
> query you run in python does not return any data? If so, could you please 
> first check on your end if the data you’re trying to query exists in the 
> Google Ads UI? If the data does not exist in your account in the UI then it 
> will not appear in the report. Please let me know if you run into further 
> issues.
> Thank you,
> Bryan, Google Ads API Team
>
> ref:_00D1U1174p._5001USw6xe:ref
>

-- 
CONFIDENTIALITY NOTICE: This e-mail and any files transmitted with it are 
confidential and intended solely for the use of the individual or entity to 
whom they are addressed. If you have received this e-mail in error, please 
delete it from your system. 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 
"AdWords API and Google Ads 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/c94aedcc-97f6-4fab-9e7a-f86bda649f58%40googlegroups.com.


Re: [Google Ads API] Adding account billing setup using existing paymentAccountId

2020-01-13 Thread Google Ads API Forum Advisor Prod
Hi Alok,

I was able to reproduce your error on my end. It appears to be an issue with 
the client library. Please post an issue on the GitHub page here and let them 
know that it should be updated so that the resource is expecting the payments 
account ID without dashes.

In the meantime, if this issue is urgent, you will have to hard-code the dashes 
into the StringValue before passing it to the PaymentsAccount resource or use 
the AdWords API instead.

Regards,
Mitchell
Google Ads API Team
ref:_00D1U1174p._5001USw5MD: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 
"AdWords API and Google Ads 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/0Pg-E0Q41X9V00Vqf_R4EpQ-GeJe2Nc2suCw%40sfdc.net.


Upload DSA Feeds - Google Ads API

2020-01-13 Thread oded zapgroup4
Hey, I'm trying to update existing feeds file (located in Business Data as 
excel table) via python API.

the feeds file contains URL and a Custom Label representing this URL's 
category (StringValue type)

I found an old version (adwords) of code that *seems* to make what I need -

https://developers.google.com/adwords/api/docs/samples/python/advanced-operations#add-a-page-feed-specifying-urls-for-a-dsa-campaign


and I'm trying to reproduce this code in the new version of this api - 
Google Ads API.

is there any other way or code sample of the new api making my requirements 
(upload feeds file \ push all the feeds from this file)?

Thanks!!

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

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


Third Party Impressions Pixel

2020-01-13 Thread Joe
Is there a way to attach a third party pixel so that we can see impressions 
in real time?  I've been searching through the docs, and although it seems 
that it was supported for publishers at one time, I can't find any mention 
for advertisers wanting to attach a third party tracking pixel to their ads 
through AdWords or now Google Ads.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/1975bdcb-62ee-4880-af63-6e6545007589%40googlegroups.com.


I need to create an ad group and specify which time it should appear on google, can you do this via API?

2020-01-13 Thread Lista Mais
I know that by API's to specify the time the campaign is going to appear on 
google, plus I need to do this by ad group. I want to go through API the 
start time and end time for the ad group appears on google!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/36f27804-fba4-455a-8181-a3f99d8a4710%40googlegroups.com.


How to use KeywordPlanService.GenerateHistoricalMetrics by Rest API

2020-01-13 Thread Xingguo Sun
I have read the documentation for Google Ads API, but still can't figure 
out how to implement it. (Getting the search volume specifically)

I need to use this API in our add-ons, so I have to use the rest API(Google 
Ads API) in the app scripts.

For example, 
*how to use KeywordPlanService.GenerateHistoricalMetrics by Rest API*

[image: postGoogleAds.png]


BTW, I think I know what should I add on the header.



[image: wx20200113-131...@2x.png]

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/c5b08626-f6d0-4e97-ac0e-ee9dcc7485bd%40googlegroups.com.


How to use

2020-01-13 Thread Xingguo Sun
I have read the documentation for Google Ads API, but still can't figure 
out how to implement it. (Getting the search volume specifically)

I need to use this API in our add-ons, so I have to use the rest api(Google 
Ads API) in the app scripts.

For example, 
*how to use KeywordPlanService.GenerateHistoricalMetrics*

BTW, I think I know what should I add on the header.

[image: wx20200113-131...@2x.png]

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/ef1b45a9-0d44-44aa-b2b9-460f129dfabd%40googlegroups.com.


Re: [Google Ads API] Adding account billing setup using existing paymentAccountId

2020-01-13 Thread alok
 Hi Mitchell,

As I mentioned above, I am trying to use an EXISTING paymentAccountID which 
is in --- format. According to billingsetup 

 
document, I should be setting payments_account and not payment_account_info 
as payment_account_info is used to signup with new payments accounts.

payments_account (StringValue) 

 

The resource name of the payments account associated with this billing 
setup. Payments resource names have the form:

customers/{customer_id}/paymentsAccounts/{payments_account_id} * When 
setting up billing, this is used to signup with an existing payments 
account (and then payments_account_info should not be set). * When getting 
a billing setup, this and payments_account_info will be populated.

payments_account_info (PaymentsAccountInfo) 

 

The payments account information associated with this billing setup. *When 
setting up billing, this is used to signup with a new payments account (and 
then payments_account should not be set).* When getting a billing setup, 
this and payments_account will be populated. 


*Approach 1)* Now assuming, I have to use payments_account resource name 
(as I am using existing payments_account), *the java client doesn't support* 
ResourceNames.paymentsAccount(long custonerID,*String payment_accountId*) 
but only supports ResourceNames.paymentsAccount(long customerId,*long 
payment_accountId*)



BillingSetup billingSetup = BillingSetup.newBuilder()
// BUG: Google Ads api accepts only long PaymentsAccountId 
while
// creating ResourceNames.paymentsAccount, but requires 
String
// in format "---"

.setPaymentsAccount(StringValue.of(ResourceNames.paymentsAccount(anAccountID, 
Long.valueOf(aBilling.getPaymentsAccountId()

*Approach 2)* lets try the approach of setting payment_accountInfo, it 
throws error message INVALID_PAYMENTS_ACCOUNT as payments_account_name is 
mandatory to set, which I don't want to overwrite as I am using existing 
payment_accountId which already has a predefined name which I might have 
access to. *If I go ahead and set a payments_account_name in below request, 
the request is successful but It creates a new payment_accountId which 
obviously I don't want, as whole intention is to use same payment_accountId* 

Request
---
MethodName: 
google.ads.googleads.v2.services.BillingSetupService/MutateBillingSetup
Endpoint: googleads.googleapis.com:443
Headers: {developer-token=REDACTED, login-customer-id=a, 
x-goog-api-client=gl-java/1.8.0_201 gapic/ gax/1.45.0 grpc/1.21.0}
Body: customer_id: "bb"
operation {
  create {
start_time_type: NOW
payments_account_info {
  payments_account_id {
value: "---"
  }
  payments_profile_id {
value: "--"
  }
}
end_time_type: FOREVER
  }
}


Response

Headers: 
Metadata(content-type=application/grpc,request-id=H8OHfex_fwh3PV-IQQvyUw,date=Mon,
 
13 Jan 2020 10:03:59 GMT,alt-svc=quic=":443"; ma=2592000; 
v="46,43",h3-Q050=":443"; ma=2592000,h3-Q049=":443"; 
ma=2592000,h3-Q048=":443"; ma=2592000,h3-Q046=":443"; 
ma=2592000,h3-Q043=":443"; ma=2592000)
Body: null
Failure message: errors {
  error_code {
billing_setup_error: INVALID_PAYMENTS_ACCOUNT
  }
  message: "The requested payments account needs either a correctly 
formatted id (---), or a non-blank name."
  location {
field_path_elements {
  field_name: "operation"
}
field_path_elements {
  field_name: "create"
}
field_path_elements {
  field_name: "payments_account_info"
}
field_path_elements {
  field_name: "payments_account_name"
}
  }
}

Any pointers would be nice??

Thanks,

Alok


On Saturday, January 11, 2020 at 3:30:44 AM UTC+5:30, adsapiforumadvisor 
wrote:
>
> Hi Alok,
>
> Thank you for reaching out. Adding the payments_account to BillingSetup 
> 
>  
> requires the payments_account_id from PaymentsAccountInfo 
> .
>  
> As you can see, this value is a string and must be passed with dashes. 
> Therefore, you need to pass the Id as a string with dashes and the error 
> message is correct.
>
> Regards,
> Mitchell
> Google Ads API Team
>
> ref:_00D1U1174p._5001USw5MD:ref
>

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

How can I update responsive search ad by Api?

2020-01-13 Thread Dmytro Vashchyshyn
How can I update responsive search ad by Api?

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

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


Re: Reports attributes behavior

2020-01-13 Thread Oksana Sulyma
And the answer for feed changes is sent privately.

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads 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/76e8cb17-10de-4414-9f57-0a3dd46a2f6b%40googlegroups.com.


Re: Reports attributes behavior

2020-01-13 Thread Oksana Sulyma
Posting here the latest info for reference: 

"Hi Oksana,

CustomAttribute0 in SHOPPING_PERFORMANCE_REPORT 

 
is an attribute and does not serve as a segment. However, I understand your 
question. I looked into the data further. I noticed your query does not 
return duplicate entries with the offerId you specified on Nov 30th, 2019, 
while it does return duplicate entries in December. Do you remember if 
there was any change in the product feed before December? Meanwhile, I have 
also filed a ticket internally for further investigation. 

As a reminder, please share any private data via "reply privately to 
author". 


Thanks,
Poki, AdWords API Team"

Thanks so much guys, we are waiting for clear answer at this topic question!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/017ab846-7ed4-444f-abb7-565387b58c4c%40googlegroups.com.


Re: ImageError.INVALID_IMAGE

2020-01-13 Thread Bonge LaBwana
Hi, 

I solved the problem by myself, 

now I am able to add display add with images, logo and text, 

But I need also to upload a video to display ad, 

is it possible to upload a video to display ads by using AdWords API?  if 
yes can you please provide me a working example?

Thanks 
Bonge

On Friday, 10 January 2020 20:51:06 UTC+1, adsapiforumadvisor wrote:
>
> Hi Bonge,
>
> Thank you for reaching out. Can you please share the complete detailed 
> request and response logs *via reply privately to author *so that I can 
> further investigate the issue? You can find information on enabling logging 
> here .
>
> Regards,
> Mitchell
> Google Ads API Team
>
> ref:_00D1U1174p._5001USw3HS: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 
"AdWords API and Google Ads 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/e8a01e7f-afc1-4e8d-a25d-fd242ce90904%40googlegroups.com.