Re: Replacement for the removed `XxxConstantService`s when upgrading from v9 to v10 ?

2022-03-02 Thread Zhe Lin
Hi Peter,

Thanks for your reply!
I replaced all those service names with `GoogleAdsService` in my code and 
it works fine now.

Best regards,
Zhe


On Wednesday, March 2, 2022 at 11:32:00 AM UTC+9 adsapi wrote:

> Hi Zhe Lin,
>
> Thank you for reaching out to our API support team.
>
> As per this guide 
> , 
> it states that :
>
> *get methods have been removed. Any service that exclusively had a get 
> method has been removed as well. The primary way to **retrieve objects* 
> 
>  * 
> continues to be using GoogleAdsService's search and searchStream methods.*
>
> That being said, services such as the ones you listed which only contained 
> get methods were removed in the new version. You may now use the search and 
> searchStream methods (see also streaming 
>  
> guide) instead to retrieve details of your objects / resources. You may 
> then refer to the list here 
> , for 
> which resources or reports to generate.
>
> Best regards,
>
> [image: Google Logo] 
> Peter Laurence 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2XkFSA: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/0f60dc06-fabd-4eec-91d8-26bc8e414417n%40googlegroups.com.


Replacement for the removed `XxxConstantService`s when upgrading from v9 to v10 ?

2022-02-28 Thread Zhe Lin
Good day, Google Ads API team

I 'm trying to upgrade from Google Ads API v9 to v10. I can see the 
following services are removed.

Services I'm using but missing in v10:
OperatingSystemVersionConstantService
MobileDeviceConstantService
MobileAppCategoryConstantService
UserInterestService
LanguageConstantService

However, I didn't find any instructions from the release notes. 
https://developers.google.com/google-ads/api/docs/release-notes#all_services

None of the above can be found when I tried to Ctrl+F the service name.

It would be very helpful if you can show me the replacement of them or any 
instructions to use them in v10.

Best regards,
Zhe Lin

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/26ab63c7-fae7-4b9b-bf3d-a638497c319en%40googlegroups.com.