Hi Aseem,
Thank you for your follow up.
In the Google Ads API, hotels can be partitioned into hotel listing groups. If
you wish to manage these listing groups, you can check out this related guide.
In addition, you should be able to manage these listing groups using the
AdGroupCriterionService
Hi Peter,
Thanks again for your help.
I was working on hotel campaigns and hotel ad groups and I was wondering if
I can list down the hotels present in a hotel group and also add OR remove
a hotel from a hotel group using the API?
Best Regards,
Aseem
On Tuesday, January 26, 2021 at 7:57:02 AM
Hi Aseem,
To fetch the details of the 'resource' you will need to use its respective
service (v6 > services) or view/report. For the entities / resources that you
mentioned, as an example, you can use the below services to invoke a get
request to retrieve them and their attributes :
Campaigns
Hi Ernie,
Thanks for the reply. So what I basically want is to create something where
all the resources are listed first and then if the user clicks on a
resource, the backend will fetch the details of that resource. So for
instance I want to show all the campaigns or Ads inside and Ad group to
Hi Aseem,
I am a colleague of Peter and let me provide support to your concern.
With regard to the below question, if what you want is to get the data and
metrics of specific resources, then I would suggest using Google Ads API
reporting. To give you examples, if you want to list the data and m
*reading back my code i made a huge mistake*
I meant :
foreach ($Stream->iterateAllElements() as $Element) {
// ALL Data out of the Object Campaign.
$campaign = $Element->GetCampaign('"');
// Name.
$name = $campaign->GetName();
// Status.
$status = $campaign ->?();
}
i change
Hi Peter Laurence Napa Oliquino,
Thanks for your help.
Is there a way to list resources like Campaigns, Ad Groups, Ad Group Ads,
etc using the API?
Thanks.
- Aseem
On Friday, January 22, 2021 at 8:57:22 AM UTC+5:30 adsapiforumadvisor wrote:
> Hi Aseem,
>
> Moving ads to another ad group is no
Hi Aseem,
Moving ads to another ad group is not possible via the API.
However, you should be able to get its attributes via an
AdGroupAdService.GetAdGroupAdRequest. Afterwards, you can perform a mutate
request to create a new ad to a new ad group using the details retrieved.
To construct your